/* ===========================================
   NEXUS - Professional Premium Design
   =========================================== */

/* --- CSS Variables --- */
:root {
    /* Colors - Premium Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(180deg, #0f0c29 0%, #302b63 50%, #24243e 100%);

    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-card: rgba(255, 255, 255, 0.03);

    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #6b7a99;

    --accent-blue: #4facfe;
    --accent-purple: #667eea;
    --accent-pink: #f093fb;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.3);

    /* Glow Effects */
    --glow-blue: 0 0 40px rgba(79, 172, 254, 0.4);
    --glow-purple: 0 0 40px rgba(102, 126, 234, 0.4);
    --glow-pink: 0 0 40px rgba(240, 147, 251, 0.4);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background with Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: bgShift 20s ease-in-out infinite;
}

/* Floating Particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(79, 172, 254, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(102, 126, 234, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(240, 147, 251, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 100px 100px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: -1;
    animation: particleFloat 60s linear infinite;
    opacity: 0.4;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-100px) translateX(50px);
    }
}

@keyframes bgShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    33% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }

    66% {
        opacity: 0.9;
        transform: scale(1.05) rotate(-2deg);
    }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover::before {
    width: 60%;
}

.download-nav {
    background: var(--accent-gradient) !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 50px !important;
    box-shadow: var(--glow-blue);
    position: relative;
    overflow: hidden;
}

.download-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-nav:hover::before {
    left: 100%;
}

.download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.5);
}

/* --- Hero Section --- */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8c5d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content .highlight {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.hero-content p {
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.action-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(79, 172, 254, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(79, 172, 254, 0.1);
    transform: translateY(-4px);
}

.trust-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-list i {
    color: var(--accent-blue);
}

/* --- Hero Media (Phones) --- */
.hero-mobile-frames {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    perspective: 1200px;
}

.phone {
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #1a1f3a, #0f1428);
    border-radius: 32px;
    border: 8px solid #2a2f4a;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #0a0e1f;
    border-radius: 24px 24px 0 0;
    z-index: 10;
}

.phone::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 11;
}

.phone-1 {
    transform: rotateY(-20deg) translateX(20px);
    z-index: 1;
}

.phone-2 {
    transform: scale(1.1);
    z-index: 2;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        var(--glow-blue);
}

.phone-3 {
    transform: rotateY(20deg) translateX(-20px);
    z-index: 1;
}

.phone:hover {
    transform: rotateY(0) scale(1.05) translateY(-10px);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.6),
        var(--glow-blue);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.phone-img.active {
    opacity: 1;
}

/* --- Sections --- */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: var(--glow-blue);
}

/* --- Cards (Universal) --- */
.install-card,
.f-card,
.dl-card,
.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.install-card::before,
.f-card::before,
.dl-card::before,
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.install-card:hover,
.f-card:hover,
.dl-card:hover,
.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        var(--glow-blue);
}

.install-card:hover::before,
.f-card:hover::before,
.dl-card:hover::before,
.contact-card:hover::before {
    opacity: 1;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.f-card {
    text-align: center;
}

.f-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Individual Icon Colors */
.f-card:nth-child(1) i {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-card:nth-child(2) i {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-card:nth-child(3) i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-card:nth-child(4) i {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-card:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(79, 172, 254, 0.5));
}

.f-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.f-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- Installation Section --- */
.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.install-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.install-card ol,
.install-card ul {
    padding-left: 1.5rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}

.install-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.install-gallery {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb-btn {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.thumb-btn:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

.thumb-btn img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    display: block;
}

/* --- Download Section --- */
.download-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dl-card {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.dl-card.active {
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
}

.dl-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spec-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.spec-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-list i {
    color: var(--accent-blue);
}

.dl-button {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.windows {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.3);
}

.windows:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 120, 212, 0.5);
}

.android {
    background: linear-gradient(135deg, #3ddc84, #32b36b);
    color: #000;
    box-shadow: 0 8px 24px rgba(61, 220, 132, 0.3);
}

.android:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(61, 220, 132, 0.5);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Gradient Border Effect */
.contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(79, 172, 254, 0.5),
            rgba(102, 126, 234, 0.5),
            rgba(240, 147, 251, 0.5));
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::after {
    opacity: 1;
}

/* Animated Background Glow */
.contact-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.contact-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual Card Icon Gradients */
.contact-card:nth-child(1) i {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card:nth-child(2) i {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card:nth-child(3) i {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card:nth-child(4) i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card:hover i {
    transform: scale(1.3) rotate(-5deg);
    filter: drop-shadow(0 8px 20px rgba(79, 172, 254, 0.6));
}

.contact-card h3 {
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(102, 126, 234, 0.2));
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(102, 126, 234, 0.3));
    border-color: rgba(79, 172, 254, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
}

.contact-link i {
    font-size: 1rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(4px) scale(1);
}

/* Support Badge Styling */
.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.2), rgba(56, 249, 215, 0.2));
    color: #43e97b;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(67, 233, 123, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.support-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #43e97b;
    border-radius: 50%;
    animation: badgeDot 2s ease-in-out infinite;
    box-shadow: 0 0 10px #43e97b;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(67, 233, 123, 0);
    }
}

@keyframes badgeDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* --- Footer --- */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 39, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* --- Scroll Progress Bar --- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10000;
    box-shadow: var(--glow-blue);
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--glow-blue);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 172, 254, 0.5);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.opacity-0 {
    opacity: 0;
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(79, 172, 254, 0.3);
    border-color: rgba(79, 172, 254, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Image counter */
.lightbox-content::after {
    content: attr(data-counter);
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* --- Utility Classes --- */
.text-cyan {
    color: var(--accent-blue) !important;
}

.text-purple {
    color: var(--accent-purple) !important;
}

.text-orange {
    color: #ff8c00 !important;
}

.text-green {
    color: #22c55e !important;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: var(--accent-blue);
    color: #000;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .action-btns {
        justify-content: center;
    }

    .trust-list {
        justify-content: center;
    }

    .phone-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
    }

    nav.scrolled {
        padding: 0.75rem 4%;
    }

    .nav-links {
        display: none;
    }

    header {
        padding: 6rem 4% 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 4%;
    }

    .install-grid {
        grid-template-columns: 1fr;
    }

    .phone {
        width: 160px;
        height: 320px;
    }

    .feature-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .action-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-list {
        flex-direction: column;
        gap: 0.75rem;
    }
}