/* ========================================
   AUTOVEN FINAL - Modern Premium Design
   Updated with new header and sections
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Modern Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;

    /* Accent Colors */
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --accent-gradient: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    --accent-red: #ff3b30;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 113, 227, 0.3);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== CONTAINERS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: rgba(220, 214, 208, 0.55); /* light, logo visible */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Remove any overlay effects */
.navbar::after,
.navbar::before {
    display: none !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Desktop menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: rgba(30, 41, 59, 0.95);
    transition: color var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-arrow {
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent-blue);
}

/* CTA Button */
.nav-cta {
    background: var(--accent-blue);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-semibold);
}
 .nav-item-cta {
        display: block; /* show inside dropdown */
    }

    .nav-link-cta {
        font-weight: var(--font-weight-semibold);
        color: #ffffff;
    }

.nav-cta:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

/* Logo */
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.logo-text {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1100;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ========= MOBILE ========= */
@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 1.25rem;
        background: rgba(20, 20, 30, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1050;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-item {
        width: 100%;
    }

    /* Force white text in mobile menu */
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.9rem 0;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        color: #ffffff;
        opacity: 0.85;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 0.75rem;
        margin-top: 0.25rem;
    }

    .nav-dropdown a {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .nav-dropdown a:hover {
        background: transparent;
        color: #ffffff;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
/* Hide mobile menu CTA on desktop */
.nav-item-mobile-cta {
    display: none;
}

/* Desktop CTA button */
.nav-cta {
    background: var(--accent-blue);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-semibold);
}

.nav-cta:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    /* Hide desktop CTA button on mobile */
    .nav-cta {
        display: none;
    }

    /* Show Contact Sales inside menu only on mobile */
    .nav-item-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-link-mobile-cta {
        display: block;
        width: 100%;
        padding: 0.95rem 1rem;
        color: #ffffff;
        font-weight: var(--font-weight-semibold);
        background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
        border-radius: 12px;
        text-align: center;
        border-bottom: none;
        box-shadow: 0 10px 24px rgba(0, 113, 227, 0.25);
    }

    .nav-link-mobile-cta:hover {
        color: #ffffff;
        opacity: 1;
        transform: translateY(-1px);
    }

    .nav-link-mobile-cta::after {
        display: none;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.8) 0%,
        rgba(10, 10, 15, 1) 15%,
        rgba(10, 10, 15, 1) 100%
    ),
    radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.15) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-blue);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Floating Cards */
/* Hero Visual Container */
.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

/* Floating Card Base Styles */
.home-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    min-width: 200px;
    transition: all 0.3s ease;
}

.home-floating-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 113, 227, 0.2);
}

/* Card Positioning */
.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 8%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Card Icon */
.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.3));
}

/* Card Title */
.card-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Card Value */
.card-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Trend */
.card-trend {
    font-size: 0.875rem;
    color: #34c759;
    font-weight: 600;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-trend::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #34c759;
}

/* Card Chart */
.card-chart {
    width: 100%;
    height: 60px;
    background: linear-gradient(
        to right,
        rgba(0, 113, 227, 0.3) 0%,
        rgba(0, 113, 227, 0.1) 100%
    );
    border-radius: 4px;
    margin-top: 0.75rem;
    position: relative;
    overflow: hidden;
}

.card-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 113, 227, 0.5) 20%,
        rgba(0, 113, 227, 0.8) 40%,
        rgba(0, 113, 227, 0.6) 60%,
        rgba(0, 113, 227, 0.4) 80%,
        transparent 100%
    );
    animation: chartPulse 3s ease-in-out infinite;
}

@keyframes chartPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Parallax Effect (if using JS) */
.home-floating-card[data-scroll-parallax] {
    will-change: transform;
}

/* Responsive Behavior */
@media (max-width: 1200px) {
    .home-floating-card {
        padding: 1.25rem;
        min-width: 180px;
    }

    .card-value {
        font-size: 1.75rem;
    }

    .card-1 {
        left: 5%;
    }

    .card-2 {
        right: 5%;
    }

    .card-3 {
        left: 8%;
    }
}

@media (max-width: 968px) {
    .home-floating-card {
        padding: 1rem;
        min-width: 160px;
    }

    .card-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    .card-chart {
        height: 50px;
    }
}

/* Hide on small mobile devices */
@media (max-width: 768px) {
    .hero-visual,
    .home-floating-card {
        display: none;
    }
}

/* Dark theme optimization */
@media (prefers-color-scheme: dark) {
    .home-floating-card {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .home-floating-card {
        animation: none;
    }

    .card-chart::after {
        animation: none;
    }
}

/* Additional Card Styles for Different States */
.home-floating-card.card-success .card-value {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-floating-card.card-warning .card-value {
    background: linear-gradient(135deg, #ff9500 0%, #ffb340 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-floating-card.card-error .card-value {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6961 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Negative trend */
.card-trend.negative {
    color: #ff3b30;
}

.card-trend.negative::before {
    transform: rotate(180deg);
    border-bottom-color: #ff3b30;
}

/* Loading state */
.home-floating-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

.home-floating-card.loading .card-value {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: fade-in-up 1s ease-out 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-tertiary);
    border-bottom: 2px solid var(--text-tertiary);
    transform: rotate(-45deg);
    margin: 0.5rem auto 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(10px); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== SECTIONS ========== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== PLATFORM SECTION ========== */
.platform-section {
    background: var(--bg-secondary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.platform-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.platform-link {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    transition: gap var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.platform-link:hover {
    gap: 0.5rem;
}

/* ========== FEATURE SHOWCASE ========== */
.feature-showcase {
    padding: var(--spacing-xl) 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

.feature-cta {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    font-size: 1.0625rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-cta:hover {
    gap: 1rem;
}

/* Dashboard Preview */
.dashboard-preview {
    perspective: 1000px;
}

.preview-window {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg);
    transition: transform var(--transition-slow);
}

.preview-window:hover {
    transform: rotateY(0deg);
}

.window-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.dot:nth-child(1) { background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.window-content {
    padding: 2rem;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.metric-change.positive { color: #34c759; }
.metric-change.neutral { color: var(--text-tertiary); }

/* BMS Visualization */
.bms-visualization {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.battery-cell {
    width: 60px;
    height: 200px;
    background: linear-gradient(to top, var(--accent-blue) 0%, var(--accent-blue) 70%, var(--bg-tertiary) 70%);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    position: relative;
    animation: charge 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes charge {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; box-shadow: 0 0 20px var(--accent-blue); }
}

.connection-line {
    position: absolute;
    height: 2px;
    background: var(--accent-blue);
    animation: flow 2s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    left: 10%;
    width: 80%;
}

.line-2 {
    top: 50%;
    left: 20%;
    width: 60%;
    animation-delay: 0.5s;
}

.line-3 {
    top: 70%;
    left: 15%;
    width: 70%;
    animation-delay: 1s;
}

@keyframes flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; box-shadow: 0 0 10px var(--accent-blue); }
}

/* ========== IOT VISUALIZATION ========== */
.iot-visualization {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iot-device {
    position: relative;
    width: 300px;
    height: 300px;
}

.device-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.device-center svg {
    width: 50px;
    height: 50px;
    color: var(--accent-blue);
}

.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: signal-pulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    animation-delay: 0.5s;
}

.ring-3 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

@keyframes signal-pulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.connection-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.conn-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit, 150px)) rotate(calc(-1 * var(--angle)));
    animation: float-dot 3s ease-in-out infinite;
}

@keyframes float-dot {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit, 150px)) rotate(calc(-1 * var(--angle))) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit, 150px)) rotate(calc(-1 * var(--angle))) translateY(-10px);
    }
}

/* ========== LENS PHONE MOCKUP ========== */
.lens-preview {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-secondary);
    border: 8px solid var(--bg-tertiary);
    border-radius: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: var(--bg-primary);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 40px 20px 20px;
    overflow-y: auto;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.app-time {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
}

.app-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehicle-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
}

.vehicle-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.vehicle-name {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 16px;
}

.vehicle-battery {
    display: flex;
    align-items: center;
    gap: 12px;
}

.battery-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.battery-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width var(--transition-normal);
}

.battery-percent {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.action-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.action-btn:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: var(--accent-blue);
}

/* ========== ADDITIONAL PRODUCTS SECTION ========== */
.additional-products {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    transition: all var(--transition-normal);
}

.additional-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.additional-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.additional-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.additional-card h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.additional-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.additional-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.additional-features li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.additional-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: var(--font-weight-bold);
}

/* ========== TECHNOLOGY SECTION ========== */
.technology-section {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.tech-card {
    padding: 2rem;
}

.tech-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
/* Homepage stats section */
.stats-section .stat-value {
    font-size: 2.5rem !important;
    line-height: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .stats-section .stat-value {
        font-size: 3.25rem !important;
    }
}


.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-normal);
}

.stat-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-box:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.45);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.stat-display {
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: clamp(3.2rem, 5.5vw, 5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: -0.03em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-label {
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.75rem 1.25rem;
    }

    .stat-value {
        font-size: clamp(2.75rem, 10vw, 3.5rem);
    }

    .stat-label {
        font-size: 1.05rem;
        letter-spacing: 0.04em;
    }
}
.stat-display {
    margin-bottom: 1rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(220, 214, 208, 0.80); /* warm light grey, slightly more solid than header */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
    padding: 4rem 0 2rem;
    color: rgba(30, 41, 59, 0.9);
}

/* Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Logo + tagline */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: rgba(15, 23, 42, 0.95);
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45)); /* pop the logo */
    transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-logo:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.footer-tagline {
    color: rgba(55, 65, 81, 0.95); /* slightly darker text */
    margin-bottom: 1.5rem;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(55, 65, 81, 0.9);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: #0066ff; /* electric blue accent */
}

/* Columns & links */
.footer-col h4 {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: rgba(15, 23, 42, 0.95);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(55, 65, 81, 0.95);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: #0066ff;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(75, 85, 99, 0.95);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(75, 85, 99, 0.95);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #0066ff;
}


/* ========== ANIMATIONS ========== */
[data-scroll-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

[data-scroll-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
}

[data-scroll-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-counter] {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

[data-scroll-counter].visible {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 2rem 3rem;
    }

    .floating-card {
        display: none;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .iot-device {
        width: 250px;
        height: 250px;
    }

    .device-body {
        width: 100px;
        height: 100px;
    }

    .ring-1 {
        width: 130px;
        height: 130px;
    }

    .ring-2 {
        width: 170px;
        height: 170px;
    }

    .ring-3 {
        width: 210px;
        height: 210px;
    }

    .conn-dot {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .additional-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .has-dropdown .nav-dropdown {
        transform: none;
    }

    .nav-dropdown a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .iot-visualization {
        height: 350px;
    }

    .iot-device {
        width: 200px;
        height: 200px;
    }

    .device-body {
        width: 80px;
        height: 80px;
    }

    .device-center svg {
        width: 35px;
        height: 35px;
    }

    .ring-1 {
        width: 110px;
        height: 110px;
    }

    .ring-2 {
        width: 140px;
        height: 140px;
    }

    .ring-3 {
        width: 170px;
        height: 170px;
    }

    .conn-dot {
        width: 40px;
        height: 40px;
        font-size: 18px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
    }

    .lens-preview {
        height: 400px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
        border-width: 6px;
        border-radius: 30px;
    }

    .phone-screen {
        padding: 30px 15px 15px;
    }

    .app-title {
        font-size: 16px;
    }

    .vehicle-name {
        font-size: 18px;
    }

    .additional-card {
        padding: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 2rem;
    }

    .container,
    .container-wide {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== UTILITY CLASSES ========== */
.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

/* ========== SELECTION ========== */
::selection {
    background: var(--accent-blue);
    color: var(--text-primary);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}




/* ========================================
   PLATFORM PAGE ADDITIONAL STYLES
   ======================================== */

/* Product Hero Variation */
.product-hero {
    min-height: 80vh;
    padding-top: 10rem;
}

/* Benefits Grid */
.business-excellence-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Service Management Section */
.service-management-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.service-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.service-feature h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.service-feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Design Pillars Section */
.design-pillars-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    transition: all var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pillar-icon.smart {
    background: linear-gradient(135deg, #0071e3 0%, #00a3ff 100%);
}

.pillar-icon.secure {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
}

.pillar-icon.scalable {
    background: linear-gradient(135deg, #ff9500 0%, #ff3b30 100%);
}

.pillar-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.pillar-card h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pillar-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-features li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.pillar-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.25rem;
}

/* Platform Tools Section */
.platform-tools-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.tools-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 4rem;
}

.tool-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tool-card.lens-tool {
    direction: rtl;
}

.tool-card.lens-tool > * {
    direction: ltr;
}

.tool-visual {
    position: relative;
}

.tool-content {
    max-width: 600px;
}

.tool-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 20px;
}

.tool-content h3 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.tool-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tool-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tool-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

.tool-link {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    font-size: 1.0625rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-link:hover {
    gap: 1rem;
}

/* Responsive for Platform Page */
@media (max-width: 1024px) {
    .product-hero {
        min-height: 70vh;
        padding-top: 8rem;
    }

    .tool-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tool-card.lens-tool {
        direction: ltr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-hero {
        min-height: 60vh;
        padding-top: 7rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar-card {
        padding: 2rem;
    }

    .tool-content h3 {
        font-size: 1.75rem;
    }

    .tools-showcase {
        gap: 3rem;
    }
}

/* ========================================
   UPDATED PLATFORM PAGE SECTIONS 2 & 3
   New Distinct Designs
   ======================================== */

/* ========== SECTION 2: BUSINESS EXCELLENCE - LARGE CARDS ========== */
.business-excellence-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.business-excellence-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.benefit-card-large {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.benefit-card-large:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.benefit-card-large:hover::before {
    transform: scaleX(1);
}

.benefit-number {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.3;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-icon-large {
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon-large svg {
    width: 30px;
    height: 30px;
    color: var(--accent-blue);
}

.benefit-card-large h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========== SECTION 3: SERVICE MANAGEMENT - TIMELINE ========== */
.service-management-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.service-timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

/* Central vertical line */
.service-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--accent-blue) 20%, 
        var(--accent-blue) 80%, 
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Left-aligned items */
.timeline-item.left .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item.left .timeline-dot {
    grid-column: 2;
}

/* Right-aligned items */
.timeline-item.right .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item.right .timeline-dot {
    grid-column: 2;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.timeline-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.timeline-badge {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.timeline-item.left .timeline-badge {
    float: right;
}

.timeline-badge svg {
    width: 30px;
    height: 30px;
    color: white;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline-item.left .timeline-tags {
    justify-content: flex-end;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--accent-blue);
}

/* Timeline dot in center */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    position: relative;
    margin: 2rem auto;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* ========== RESPONSIVE FOR NEW DESIGNS ========== */
@media (max-width: 1024px) {
    .benefits-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-card-large {
        flex-direction: column;
        padding: 2.5rem;
    }

    .benefit-number {
        font-size: 3rem;
    }

    /* Timeline becomes single column */
    .service-timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        grid-column: 1;
    }

    .timeline-item.left .timeline-badge {
        float: none;
    }

    .timeline-item.left .timeline-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .benefit-card-large {
        padding: 2rem;
        gap: 1.5rem;
    }

    .benefit-number {
        font-size: 2.5rem;
    }

    .benefit-card-large h3 {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-badge {
        width: 50px;
        height: 50px;
    }

    .timeline-badge svg {
        width: 24px;
        height: 24px;
    }

    .service-timeline::before {
        left: 25px;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .benefit-card-large {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}
/* ========================================
   UPDATED PLATFORM PAGE SECTIONS 2 & 3
   New Distinct Designs
   ======================================== */

/* ========== SECTION 2: BUSINESS EXCELLENCE - LARGE CARDS ========== */
.business-excellence-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.business-excellence-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.benefit-card-large {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.benefit-card-large:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.benefit-card-large:hover::before {
    transform: scaleX(1);
}

.benefit-number {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.3;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-icon-large {
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon-large svg {
    width: 30px;
    height: 30px;
    color: var(--accent-blue);
}

.benefit-card-large h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========== SECTION 3: SERVICE MANAGEMENT - TIMELINE ========== */
.service-management-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.service-timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

/* Central vertical line */
.service-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--accent-blue) 20%, 
        var(--accent-blue) 80%, 
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Left-aligned items */
.timeline-item.left .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item.left .timeline-dot {
    grid-column: 2;
}

/* Right-aligned items */
.timeline-item.right .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item.right .timeline-dot {
    grid-column: 2;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.timeline-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.timeline-badge {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.timeline-item.left .timeline-badge {
    float: right;
}

.timeline-badge svg {
    width: 30px;
    height: 30px;
    color: white;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline-item.left .timeline-tags {
    justify-content: flex-end;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--accent-blue);
}

/* Timeline dot in center */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    position: relative;
    margin: 2rem auto;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* ========== RESPONSIVE FOR NEW DESIGNS ========== */
@media (max-width: 1024px) {
    .benefits-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-card-large {
        flex-direction: column;
        padding: 2.5rem;
    }

    .benefit-number {
        font-size: 3rem;
    }

    /* Timeline becomes single column */
    .service-timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        grid-column: 1;
    }

    .timeline-item.left .timeline-badge {
        float: none;
    }

    .timeline-item.left .timeline-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .benefit-card-large {
        padding: 2rem;
        gap: 1.5rem;
    }

    .benefit-number {
        font-size: 2.5rem;
    }

    .benefit-card-large h3 {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-badge {
        width: 50px;
        height: 50px;
    }

    .timeline-badge svg {
        width: 24px;
        height: 24px;
    }

    .service-timeline::before {
        left: 25px;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .benefit-card-large {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}



/* ========================================
   FIXED SECTION 3: SERVICE MANAGEMENT
   Simpler, More Reliable Timeline
   ======================================== */

.service-management-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.service-features-list {
    max-width: 900px;
    margin: 4rem auto 0;
}

.service-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
    position: relative;
    z-index: 2;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.service-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--accent-blue) 0%, rgba(0, 113, 227, 0.2) 100%);
    margin-top: 1rem;
}

.service-item:last-child .service-line {
    display: none;
}

.service-content {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.service-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--accent-blue);
    transition: all var(--transition-fast);
}

.service-tag:hover {
    background: rgba(0, 113, 227, 0.2);
    border-color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .service-item {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon svg {
        width: 30px;
        height: 30px;
    }

    .service-content {
        padding: 2rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-content:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .service-item {
        gap: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }
}



/* ========================================
   AV CLUSTER PAGE STYLES
   Unique Section Designs
   ======================================== */

/* ========== FOLD 2: PRODUCT OVERVIEW - SPLIT LAYOUT ========== */
.product-overview-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.overview-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.overview-visual {
    position: relative;
}

.cluster-image-wrapper {
    position: relative;
    padding: 3rem;
}

.cluster-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.cluster-display {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.cluster-screen {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2.5rem;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cluster-dashboard {
    width: 100%;
    text-align: center;
}

.cluster-top {
    margin-bottom: 2rem;
}

.cluster-speed {
    font-size: 5rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.cluster-unit {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.cluster-battery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.battery-icon {
    width: 80px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    border-radius: 6px;
    padding: 4px;
    position: relative;
}

.battery-icon::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 0 2px 2px 0;
}

.battery-level {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 1s ease;
}

.battery-pct {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
}

.cluster-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.overview-content {
    max-width: 600px;
}

.overview-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.overview-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    border-color: var(--accent-blue);
}

.spec-icon {
    font-size: 1.75rem;
}

.spec-text {
    font-weight: var(--font-weight-semibold);
    font-size: 1.0625rem;
}

/* ========== FOLD 3: HARDWARE FEATURES - ICON GRID ========== */
.hardware-features-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hardware-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.hardware-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.hw-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.hardware-card:hover .hw-icon {
    background: var(--accent-gradient);
}

.hw-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-blue);
    transition: all var(--transition-normal);
}

.hardware-card:hover .hw-icon svg {
    color: white;
}

.hardware-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.hardware-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ========== FOLD 4: DISPLAY EXCELLENCE - SPLIT WITH MOCKUP ========== */
.display-excellence-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.excellence-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.excellence-content {
    max-width: 600px;
}

.excellence-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.excellence-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-check {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.excellence-visual {
    position: relative;
}

.display-mockup {
    position: relative;
    padding: 2rem;
}

.display-frame {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 113, 227, 0.3);
}

.display-content {
    text-align: center;
}

.speed-display {
    margin-bottom: 2rem;
}

.speed-num {
    font-size: 6rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.speed-label {
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.5rem;
}

.display-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.indicator {
    font-size: 2rem;
    opacity: 0.3;
    transition: all var(--transition-fast);
}

.indicator.active {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

/* ========== FOLD 5: VCU - CENTERED CARD DESIGN ========== */
.vcu-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.vcu-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.vcu-header {
    margin-bottom: 3rem;
}

.vcu-icon-large {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.4);
}

.vcu-icon-large svg {
    width: 50px;
    height: 50px;
    color: white;
}

.vcu-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.vcu-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.vcu-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.vcu-bullet {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 0.375rem;
}

.vcu-bullet svg {
    color: var(--accent-blue);
}

.vcu-text h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

.vcu-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== FOLD 6: I/O - COMPACT CARDS GRID ========== */
.io-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.io-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.io-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.io-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.io-card:hover::before {
    transform: scaleX(1);
}

.io-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.io-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(0, 163, 255, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.io-card:hover .io-icon-wrapper {
    background: var(--accent-gradient);
    transform: rotateY(360deg);
}

.io-icon-wrapper svg {
    width: 35px;
    height: 35px;
    color: var(--accent-blue);
    transition: all var(--transition-normal);
}

.io-card:hover .io-icon-wrapper svg {
    color: white;
}

.io-card h3 {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.io-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ========== FOLD 7: CLOUD CONNECTED - BANNER STYLE ========== */
.cloud-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.cloud-banner {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, rgba(0, 163, 255, 0.05) 100%);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cloud-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cloud-banner-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.cloud-icon {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.4);
}

.cloud-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.cloud-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 1rem;
}

.cloud-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.cloud-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.cloud-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.cloud-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.cloud-feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-blue);
}

.cloud-feature h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cloud-feature p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== RESPONSIVE - CLUSTER PAGE ========== */
@media (max-width: 1024px) {
    .overview-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .excellence-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .excellence-visual {
        order: -1;
    }

    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vcu-features-list {
        grid-template-columns: 1fr;
    }

    .io-grid {
        grid-template-columns: 1fr;
    }

    .cloud-features-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cluster-speed {
        font-size: 4rem;
    }

    .speed-num {
        font-size: 4rem;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .vcu-card {
        padding: 2.5rem;
    }

    .cloud-banner {
        padding: 2.5rem;
    }

    .cloud-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cloud-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .cluster-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .vcu-card {
        padding: 2rem;
    }

    .cloud-banner {
        padding: 2rem;
    }

    .overview-specs {
        gap: 0.75rem;
    }
}


/* ========================================
   LOGO STYLES
   For Header & Footer Logo Integration
   ======================================== */

/* Logo Image Base Styles */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-fast);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

/* Logo Hover Effect */
.nav-logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));

}

/* Navigation Logo Container */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.85;
}

/* Logo Text (if showing alongside logo) */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Hide logo icon emoji (since we're using image) */
.logo-icon {
    display: none;
}

/* Footer Logo Styles */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 35px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Mobile Responsive Logo */
@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .footer-logo .logo-img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1.125rem;
    }
}

/* Optional: Logo Only (Hide Text) */
/* Uncomment these lines if your logo already includes the company name */
.logo-text {
    display: none;
}


/* Optional: White Logo for Dark Sections */
/* If you have a white version of your logo for dark backgrounds */

.dark-section .logo-img {
    filter: brightness(0) invert(1);
}

/* ========================================
   DASHBOARD PAGE STYLES
   ======================================== */

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.dashboard-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.dashboard-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.dashboard-hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.dashboard-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Dashboard Mockup */
.dashboard-mockup {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1.6s ease-out 0.8s both;
}

.mockup-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.mockup-content {
    display: flex;
    min-height: 400px;
}

.mock-sidebar {
    width: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: linear-gradient(135deg, #0071e3, #00d4ff);
}

.sidebar-item:hover {
    background: rgba(0, 113, 227, 0.2);
}

.mock-main {
    flex: 1;
    padding: 24px;
}

.mock-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mock-stat-card {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: shimmer 2s infinite;
}

.mock-chart-area {
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.mock-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 113, 227, 0.3) 0%, 
        rgba(0, 113, 227, 0.1) 50%, 
        rgba(0, 113, 227, 0) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.mock-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.3) 25%,
        rgba(0, 113, 227, 0.3) 50%,
        rgba(0, 212, 255, 0.3) 75%,
        transparent 100%);
    animation: chartWave 3s ease-in-out infinite;
}

@keyframes chartWave {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(0, 0, 51, 0.8) 0%, transparent 100%);
}

/* Operational Efficiency Section */
.dashboard-efficiency {
    padding: 100px 0;
    background: #0a0a0a;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

.efficiency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 32px;
}

.efficiency-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.efficiency-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 113, 227, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 16px;
    margin-bottom: 24px;
    color: #0071e3;
}

.efficiency-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.efficiency-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Insights Dashboard Section */
.dashboard-insights {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.insights-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 20px;
}

.insights-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.insights-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.insight-card.large {
    grid-column: span 2;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-4px);
}

.insight-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    color: #0071e3;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.insight-card.large .insight-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
}

.insight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.insight-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #0071e3;
    margin-top: 16px;
}

/* Management Dashboard Section */
.dashboard-management {
    padding: 100px 0;
    background: #0a0a0a;
}

.management-header {
    text-align: center;
    margin-bottom: 60px;
}

.management-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.management-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 32px;
}

.management-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.management-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.card-icon-wrapper {
    margin-bottom: 24px;
}

.management-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    border-radius: 12px;
    color: #ffffff;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.management-card:hover .management-icon {
    transform: scale(1.1) rotate(5deg);
}

.management-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.management-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* OTA Dashboard Section */
.dashboard-ota {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.ota-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ota-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.ota-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ota-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ota-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.ota-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 10px;
    color: #0071e3;
    flex-shrink: 0;
}

.ota-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.ota-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.ota-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ota-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.ota-mockup-body {
    padding: 32px;
}

.ota-status-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.success {
    background: #27c93f;
    animation: pulse 2s infinite;
}

.status-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.status-version {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0071e3;
}

.ota-progress {
    margin-bottom: 24px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #00d4ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.ota-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.schedule-icon {
    font-size: 1.25rem;
}

/* Features Summary Section */
.dashboard-features-summary {
    padding: 100px 0;
    background: #0a0a0a;
}

.features-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 32px;
}

.summary-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.summary-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.summary-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.summary-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.dashboard-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #000033 0%, #0a0a0a 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 20px;
    color: #0071e3;
    margin: 0 auto 32px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary-large, .btn-secondary-large {
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary-large:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary-large:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .dashboard-hero-title {
        font-size: 3.5rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-card.large {
        grid-column: span 1;
        flex-direction: column;
    }

    .ota-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mockup-content {
        flex-direction: column;
        min-height: auto;
    }

    .mock-sidebar {
        width: 100%;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mock-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard-hero {
        padding: 100px 0 60px;
    }

    .dashboard-hero-title {
        font-size: 2.5rem;
    }

    .dashboard-hero-tagline {
        font-size: 1.125rem;
    }

    .dashboard-hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .efficiency-grid,
    .management-grid,
    .features-summary-grid {
        grid-template-columns: 1fr;
    }

    .mock-stats-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }
}

/* ========================================
   LENS PAGE STYLES - FIXED RESPONSIVE
   ======================================== */

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section - FIXED */
.lens-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.lens-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.lens-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.lens-hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lens-hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.hero-feature-item svg {
    color: #0071e3;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* App Store Badges */
.app-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out 0.8s both;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-2px);
}

.app-badge svg {
    color: #0071e3;
    width: 24px;
    height: 24px;
}

.badge-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.badge-store {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

/* Phone Mockup - FIXED */
.lens-hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.8s ease-out 1s both;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.phone-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 2;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.screen-status {
    display: flex;
    gap: 6px;
    font-size: 0.875rem;
}

.screen-content {
    padding: 20px;
}

.app-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.battery-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.battery-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.battery-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: #0071e3;
}

.battery-range {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
}

.stat-mini-icon {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.stat-mini-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(0, 0, 51, 0.8) 0%, transparent 100%);
}

/* About Section */
.lens-about {
    padding: 100px 0;
    background: #0a0a0a;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.about-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Feature Cards Stack */
.feature-cards-stack {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-small {
    position: absolute;
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card-small:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.3);
}

.card-1 {
    top: 20px;
    left: 0;
    transform: rotate(-8deg);
}

.card-2 {
    top: 140px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    z-index: 2;
}

.card-3 {
    top: 260px;
    right: 0;
    transform: rotate(8deg);
}

.card-icon-mini {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card-title-mini {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Trips Section */
.lens-trips {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 32px;
}

.trip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.trip-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.trip-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 16px;
    margin: 0 auto 24px;
    color: #0071e3;
}

.trip-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.trip-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Charging Section */
.lens-charging {
    padding: 100px 0;
    background: #0a0a0a;
}

.charging-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.charging-visual {
    display: flex;
    justify-content: center;
}

.charging-phone {
    width: 100%;
    max-width: 280px;
}

.charging-screen {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.charging-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.charging-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.charging-status {
    padding: 4px 12px;
    background: rgba(39, 201, 63, 0.2);
    border: 1px solid rgba(39, 201, 63, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #27c93f;
}

.charging-progress-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.charge-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: #27c93f;
}

.charging-stats {
    display: flex;
    justify-content: space-around;
}

.charge-stat {
    text-align: center;
}

.charge-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.charge-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.charging-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.charging-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.charging-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.charging-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.charging-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 10px;
    color: #0071e3;
    flex-shrink: 0;
}

.charging-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.charging-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Service Section */
.lens-service {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.service-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.service-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.service-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.service-stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.service-stats-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
}

.stat-large {
    text-align: center;
    margin-bottom: 32px;
}

.stat-large-value {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-large-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 4px;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.satisfaction-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.satisfaction-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #00d4ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Additional Features Section */
.lens-additional {
    padding: 100px 0;
    background: #0a0a0a;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 32px;
}

.additional-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.additional-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.additional-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    color: #0071e3;
    margin: 0 auto 20px;
}

.additional-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.additional-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* CTA Section */
.lens-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #000033 0%, #0a0a0a 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 20px;
    color: #0071e3;
    margin: 0 auto 32px;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large, .btn-secondary-large {
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary-large:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary-large:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN - CRITICAL FIXES
   ======================================== */

@media (max-width: 1200px) {
    .lens-hero-wrapper {
        grid-template-columns: 1fr 0.8fr;
    }

    .phone-frame {
        max-width: 280px;
    }
}

@media (max-width: 968px) {
    .lens-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .lens-hero-content {
        order: 2;
    }

    .lens-hero-mockup {
        order: 1;
    }

    .hero-features {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .app-badges {
        justify-content: center;
    }

    .about-wrapper,
    .charging-wrapper,
    .service-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-frame {
        max-width: 300px;
    }

    .feature-cards-stack {
        height: 300px;
    }

    .feature-card-small {
        width: 160px;
        height: 100px;
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .lens-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-buttons,
    .app-badges,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, 
    .btn-secondary,
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        text-align: center;
    }

    .app-badge {
        width: 100%;
        justify-content: center;
    }

    .trips-grid,
    .additional-grid {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        max-width: 280px;
    }

    .stat-mini-value {
        font-size: 0.75rem;
    }

    .quick-stats {
        gap: 8px;
    }

    .stat-mini {
        padding: 10px 6px;
    }

    .feature-cards-stack {
        height: 280px;
    }

    .feature-card-small {
        width: 140px;
        height: 90px;
        padding: 12px;
    }

    .card-icon-mini {
        font-size: 1.5rem;
    }

    .card-title-mini {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        max-width: 240px;
    }

    .screen-content {
        padding: 16px;
    }

    .battery-widget {
        padding: 16px;
    }

    .battery-percentage {
        font-size: 1.5rem;
    }

    .stat-mini-icon {
        font-size: 1rem;
    }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FLOATING CARDS POSITION FIX - ULTRA SPECIFIC
   Added to fix card positioning issues
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Override all previous card positioning with maximum specificity */
.hero .hero-visual .home-floating-card.card-1 {
    position: absolute !important;
    top: 25% !important;
    left: 5% !important;
    right: auto !important;
    bottom: auto !important;
    animation-delay: 0s;
}

.hero .hero-visual .home-floating-card.card-2 {
    position: absolute !important;
    top: 45% !important;
    right: 5% !important;
    left: auto !important;
    bottom: auto !important;
    animation-delay: 2s;
}

.hero .hero-visual .home-floating-card.card-3 {
    position: absolute !important;
    top: 65% !important;
    left: 5% !important;
    right: auto !important;
    bottom: auto !important;
    animation-delay: 4s;
}

/* Ensure proper display */
.hero .hero-visual {
    display: block !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    pointer-events: none;
}

.hero .home-floating-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Ensure hero content stays on top */
.hero .container {
    position: relative !important;
    z-index: 5 !important;
}

.hero .hero-content {
    position: relative !important;
    z-index: 10 !important;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IOT PAGE STYLES
   Modern, animated IoT device page
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* IoT Hero Section */
.iot-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 2rem 80px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.9) 0%,
        rgba(10, 10, 15, 1) 20%,
        rgba(10, 10, 15, 1) 100%
    );
}

.iot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(0, 113, 227, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.iot-hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.iot-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.iot-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* IoT Device Visualization */
.iot-device-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
}

.device-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.device-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(0, 113, 227, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-blue);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 113, 227, 0.4);
    z-index: 10;
    animation: device-float 4s ease-in-out infinite;
}

@keyframes device-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

.device-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.6));
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: pulse-expand 3s ease-out infinite;
}

.ring-1 {
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.ring-2 {
    width: 240px;
    height: 240px;
    animation-delay: 1s;
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

@keyframes pulse-expand {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.7);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.data-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: node-float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.data-node:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.node-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.node-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.node-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 3s;
}

@keyframes node-float {
    0%, 100% { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(0px); }
    50% { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(-10px); }
}

.node-1 { --tx: -50%; --ty: 0; }
.node-2 { --tx: 0; --ty: -50%; }
.node-3 { --tx: -50%; --ty: 0; }
.node-4 { --tx: 0; --ty: -50%; }

.node-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 6px rgba(0, 113, 227, 0.3));
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Target Audiences Section */
.iot-audiences {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.audience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.audience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.3));
}

.audience-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.audience-tagline {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.audience-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.audience-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-benefits li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.audience-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

/* Features Section */
.iot-features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-gradient);
    transform: scale(1.1);
}

.feature-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.3));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Impact Section */
.iot-impact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.impact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-30px);
}

.impact-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.impact-number {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.3;
}

.impact-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.impact-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.impact-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.impact-content li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.impact-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: var(--font-weight-bold);
}

/* Problems Section */
.iot-problems {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.problem-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 59, 48, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 59, 48, 0.15);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 59, 48, 0.3));
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.problem-pain {
    color: rgba(255, 59, 48, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 59, 48, 0.05);
    border-left: 3px solid var(--accent-red);
    border-radius: 4px;
}

.problem-solution {
    color: rgba(52, 199, 89, 0.9);
    line-height: 1.7;
    padding: 1rem;
    background: rgba(52, 199, 89, 0.05);
    border-left: 3px solid #34c759;
    border-radius: 4px;
}

/* Specifications Section */
.iot-specs {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.spec-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.9);
}

.spec-card.visible {
    opacity: 1;
    transform: scale(1);
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.3));
}

.spec-card h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.spec-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* IoT CTA Section */
.iot-cta {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.iot-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive Design for IoT Page */
@media (max-width: 1200px) {
    .iot-device-visual {
        display: none;
    }

    .device-container {
        width: 300px;
        height: 300px;
    }

    .device-core {
        width: 100px;
        height: 100px;
    }

    .data-node {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .iot-hero {
        padding: 100px 1rem 60px;
    }

    .audiences-grid,
    .features-grid,
    .impact-grid,
    .problems-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .impact-card {
        gap: 1rem;
    }

    .impact-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .audience-card,
    .feature-card,
    .impact-card,
    .problem-card,
    .spec-card {
        padding: 1.5rem;
    }
}

/* ========================================
   BMS PAGE STYLES - UPDATED WITH SCROLL ANIMATIONS
   ======================================== */

/* Scroll Reveal Base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.bms-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.bms-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.bms-hero .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.bms-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bms-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Battery Animation */
.battery-visual {
    margin-top: 60px;
    animation: fadeInUp 1.4s ease-out 0.8s both;
}

.battery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.battery-body {
    position: relative;
    width: 300px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(0, 113, 227, 0.3);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.battery-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 87%;
    background: linear-gradient(180deg, #00d4ff 0%, #0071e3 100%);
    animation: batteryCharge 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes batteryCharge {
    0%, 100% { height: 87%; opacity: 0.8; }
    50% { height: 92%; opacity: 1; }
}

.battery-cells {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 12px;
    z-index: 2;
}

.cell {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: cellPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes cellPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.battery-terminal {
    width: 20px;
    height: 60px;
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.5), rgba(0, 212, 255, 0.5));
    border-radius: 0 6px 6px 0;
    border: 2px solid rgba(0, 113, 227, 0.3);
    border-left: none;
}

.battery-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(0, 0, 51, 0.8) 0%, transparent 100%);
}

/* Overview Section */
.bms-overview {
    padding: 100px 0;
    background: #0a0a0a;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 32px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.overview-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 16px;
    margin-bottom: 24px;
    color: #0071e3;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.overview-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #0071e3;
}

/* Technology Section */
.bms-technology {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.tech-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
    opacity: 0;
}

.tech-item:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 113, 227, 0.1);
    line-height: 1;
    min-width: 100px;
}

.tech-content {
    flex: 1;
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.tech-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.tech-item:nth-child(even) .tech-content:hover {
    transform: translateX(-8px);
}

.tech-icon-wrapper {
    flex-shrink: 0;
}

.tech-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    border-radius: 12px;
    color: #ffffff;
}

.tech-text h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.tech-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Customization Section */
.bms-customization {
    padding: 100px 0;
    background: #0a0a0a;
}

.customization-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 20px;
}

.customization-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.custom-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.custom-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 10px;
    color: #0071e3;
    flex-shrink: 0;
}

.custom-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.custom-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-dots {
    display: flex;
    gap: 6px;
}

.visual-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.visual-dots span:nth-child(1) { background: #ff5f56; }
.visual-dots span:nth-child(2) { background: #ffbd2e; }
.visual-dots span:nth-child(3) { background: #27c93f; }

.visual-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.config-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.config-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.config-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.config-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0071e3;
}

.config-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #0071e3;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27c93f;
    animation: pulse 2s infinite;
}

/* Additional Features */
.bms-additional {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 32px;
}

.additional-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.additional-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.additional-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    color: #0071e3;
    margin: 0 auto 20px;
}

.additional-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.additional-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Estimations Section */
.bms-estimations {
    padding: 100px 0;
    background: #0a0a0a;
}

.estimations-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.estimation-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.display-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #27c93f;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #27c93f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.estimation-metrics {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.metric-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.value-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.value-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.metric-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #00d4ff);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.estimation-info {
    display: flex;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.info-item svg {
    color: #0071e3;
}

.estimation-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    gap: 20px;
}

.point-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.point-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* CTA Section */
.bms-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #000033 0%, #0a0a0a 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 20px;
    color: #0071e3;
    margin: 0 auto 32px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary-large, .btn-secondary-large {
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary-large:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary-large:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .bms-hero-title {
        font-size: 3rem;
    }

    .customization-wrapper,
    .estimations-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-item:nth-child(even) {
        flex-direction: row;
    }

    .battery-container {
        flex-direction: column;
    }

    .battery-body {
        width: 250px;
        height: 120px;
    }

    .battery-stats {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .bms-hero {
        padding: 100px 0 60px;
    }

    .bms-hero-title {
        font-size: 2.25rem;
    }

    .bms-hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .overview-grid,
    .additional-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-item:nth-child(even) {
        flex-direction: column;
    }

    .tech-number {
        font-size: 2.5rem;
    }

    .battery-body {
        width: 200px;
        height: 100px;
    }

    .battery-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .metric-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }
}

/* ========================================
   LENS PAGE STYLES - FIXED RESPONSIVE
   ======================================== */

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section - FIXED */
.lens-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.lens-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.lens-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.lens-hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lens-hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.hero-feature-item svg {
    color: #0071e3;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* App Store Badges */
.app-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out 0.8s both;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-2px);
}

.app-badge svg {
    color: #0071e3;
    width: 24px;
    height: 24px;
}

.badge-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.badge-store {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

/* Phone Mockup - FIXED */
.lens-hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.8s ease-out 1s both;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.phone-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 2;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.screen-status {
    display: flex;
    gap: 6px;
    font-size: 0.875rem;
}

.screen-content {
    padding: 20px;
}

.app-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.battery-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.battery-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.battery-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: #0071e3;
}

.battery-range {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
}

.stat-mini-icon {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.stat-mini-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(0, 0, 51, 0.8) 0%, transparent 100%);
}

/* About Section */
.lens-about {
    padding: 100px 0;
    background: #0a0a0a;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #0071e3;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.about-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Feature Cards Stack */
.feature-cards-stack {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-small {
    position: absolute;
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card-small:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.3);
}

.lens-card-1 {
    top: 20px;
    left: 0;
    transform: rotate(-8deg);
}

.lens-card-2 {
    top: 140px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    z-index: 2;
}

.lens-card-3 {
    top: 260px;
    right: 0;
    transform: rotate(8deg);
}

/* Stacked cards layout: evenly spaced diagonal fan, balanced inside the column.
   Percent offsets so it scales with the stack height at every breakpoint. */
.feature-cards-stack {
    height: 460px;
}

.feature-card-small {
    width: 240px;
    height: 140px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.feature-card-small .card-icon-mini {
    margin-bottom: 0;
    font-size: 2.25rem;
    line-height: 1;
}

.feature-card-small .card-title-mini {
    font-size: 1.125rem;
}

.feature-card-small.card-1 {
    top: 4%;
    left: 6%;
    right: auto;
    bottom: auto;
}

.feature-card-small.card-2 {
    top: 35%;
    left: 50%;
    right: auto;
    bottom: auto;
}

.feature-card-small.card-3 {
    top: 66%;
    left: auto;
    right: 6%;
    bottom: auto;
}

/* Stacked hero cards: keep each card's base tilt/offset while hovering,
   otherwise the hover transform drops it and the card jumps from under the cursor */
.feature-card-small.card-1:hover {
    transform: translateY(-8px) scale(1.05) rotate(-8deg);
}

.feature-card-small.card-2:hover {
    transform: translateX(-50%) translateY(-8px) scale(1.05) rotate(2deg);
}

.feature-card-small.card-3:hover {
    transform: translateY(-8px) scale(1.05) rotate(8deg);
}

/* Lifting cards: invisible strip under the card keeps :hover active at the
   bottom edge after the card moves up, preventing hover flicker */
.trip-card,
.additional-card {
    position: relative;
}

.feature-card-small::after,
.trip-card::after,
.additional-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 12px;
}

.card-icon-mini {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card-title-mini {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Trips Section */
.lens-trips {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 32px;
}

.trip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.trip-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.trip-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 16px;
    margin: 0 auto 24px;
    color: #0071e3;
}

.trip-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.trip-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Charging Section */
.lens-charging {
    padding: 100px 0;
    background: #0a0a0a;
}

.charging-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.charging-visual {
    display: flex;
    justify-content: center;
}

.charging-phone {
    width: 100%;
    max-width: 280px;
}

.charging-screen {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.charging-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.charging-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.charging-status {
    padding: 4px 12px;
    background: rgba(39, 201, 63, 0.2);
    border: 1px solid rgba(39, 201, 63, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #27c93f;
}

.charging-progress-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.charge-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: #27c93f;
}

.charging-stats {
    display: flex;
    justify-content: space-around;
}

.charge-stat {
    text-align: center;
}

.charge-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.charge-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.charging-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.charging-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.charging-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.charging-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.charging-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 10px;
    color: #0071e3;
    flex-shrink: 0;
}

.charging-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.charging-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Service Section */
.lens-service {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.service-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.service-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.service-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.service-stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.service-stats-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
}

.stat-large {
    text-align: center;
    margin-bottom: 32px;
}

.stat-large-value {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-large-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 4px;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.satisfaction-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.satisfaction-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #00d4ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Additional Features Section */
.lens-additional {
    padding: 100px 0;
    background: #0a0a0a;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 32px;
}

.additional-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.additional-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

.additional-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    color: #0071e3;
    margin: 0 auto 20px;
}

.additional-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.additional-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* CTA Section */
.lens-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #000033 0%, #0a0a0a 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 20px;
    color: #0071e3;
    margin: 0 auto 32px;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large, .btn-secondary-large {
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.btn-primary-large:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: #0071e3;
    border: 2px solid #0071e3;
}

.btn-secondary-large:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN - CRITICAL FIXES
   ======================================== */

@media (max-width: 1200px) {
    .lens-hero-wrapper {
        grid-template-columns: 1fr 0.8fr;
    }

    .phone-frame {
        max-width: 280px;
    }
}

@media (max-width: 968px) {
    .lens-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .lens-hero-content {
        order: 2;
    }

    .lens-hero-mockup {
        order: 1;
    }

    .hero-features {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .app-badges {
        justify-content: center;
    }

    .about-wrapper,
    .charging-wrapper,
    .service-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-frame {
        max-width: 300px;
    }

    .feature-cards-stack {
        height: 300px;
    }

    .feature-card-small {
        width: 160px;
        height: 100px;
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .lens-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-buttons,
    .app-badges,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, 
    .btn-secondary,
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        text-align: center;
    }

    .app-badge {
        width: 100%;
        justify-content: center;
    }

    .trips-grid,
    .additional-grid {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        max-width: 280px;
    }

    .stat-mini-value {
        font-size: 0.75rem;
    }

    .quick-stats {
        gap: 8px;
    }

    .stat-mini {
        padding: 10px 6px;
    }

    .feature-cards-stack {
        height: 280px;
    }

    .feature-card-small {
        width: 140px;
        height: 90px;
        padding: 12px;
    }

    .card-icon-mini {
        font-size: 1.5rem;
    }

    .card-title-mini {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        max-width: 240px;
    }

    .screen-content {
        padding: 16px;
    }

    .battery-widget {
        padding: 16px;
    }

    .battery-percentage {
        font-size: 1.5rem;
    }

    .stat-mini-icon {
        font-size: 1rem;
    }
}


/* ═══════════════════════════════════════════════════════════════
   RESOURCES PAGE STYLES
   Blog, Case Studies, and Knowledge Hub
   ═══════════════════════════════════════════════════════════════ */

/* Resources Hero Section */
.resources-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 2rem 80px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.9) 0%,
        rgba(10, 10, 15, 1) 30%,
        rgba(10, 10, 15, 1) 100%
    );
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(0, 113, 227, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.resources-hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.resources-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.resources-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Search Bar */
.resources-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-normal);
}

.search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 113, 227, 0.3);
}

.search-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

/* Animated Background Particles */
.particles-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 40%;
    animation-delay: 3s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 6s;
}

.particle:nth-child(4) {
    left: 80%;
    top: 60%;
    animation-delay: 9s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 12s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* Filter Tabs */
.resources-filters {
    padding: 3rem 0 2rem;
    background: var(--bg-primary);
    position: sticky;
    top: 70px;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Featured Resources Section */
.resources-featured {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.featured-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.featured-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-main {
    grid-row: span 2;
}

.featured-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.featured-main .featured-image {
    height: 350px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2) 0%, rgba(0, 163, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.featured-card:hover .image-placeholder {
    transform: scale(1.05);
}

.placeholder-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.4));
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 113, 227, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.featured-content {
    padding: 2rem;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-item {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-main .featured-content h3 {
    font-size: 2rem;
}

.featured-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Resources Grid Section */
.resources-grid-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.resource-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.resource-card.hidden {
    display: none;
}

.resource-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.resource-card:hover .image-placeholder {
    transform: scale(1.08);
}

.resource-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.875rem;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-badge {
    background: rgba(0, 163, 255, 0.9);
    color: var(--text-primary);
}

.case-study-badge {
    background: rgba(52, 199, 89, 0.9);
    color: var(--text-primary);
}

.technical-badge {
    background: rgba(255, 149, 0, 0.9);
    color: var(--text-primary);
}

.whitepaper-badge {
    background: rgba(175, 82, 222, 0.9);
    color: var(--text-primary);
}

.resource-content {
    padding: 1.5rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.meta-date,
.meta-read {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.resource-content h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.resource-content > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.resource-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: var(--font-weight-medium);
}

.resource-link {
    color: var(--accent-blue);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-link:hover {
    gap: 1rem;
}

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter Section */
.resources-newsletter {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.newsletter-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.4));
}

.newsletter-card h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all var(--transition-normal);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.newsletter-input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-privacy {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* Resources CTA Section */
.resources-cta {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.resources-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-main {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .resources-hero {
        padding: 100px 1rem 60px;
        min-height: 70vh;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .featured-image {
        height: 200px;
    }

    .featured-main .featured-image {
        height: 250px;
    }

    .featured-content,
    .resource-content {
        padding: 1.25rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }
}

/* Animation delays for staggered effects */
.resource-card:nth-child(1) { transition-delay: 0.1s; }
.resource-card:nth-child(2) { transition-delay: 0.2s; }
.resource-card:nth-child(3) { transition-delay: 0.3s; }
.resource-card:nth-child(4) { transition-delay: 0.4s; }
.resource-card:nth-child(5) { transition-delay: 0.5s; }
.resource-card:nth-child(6) { transition-delay: 0.6s; }
.resource-card:nth-child(7) { transition-delay: 0.7s; }
.resource-card:nth-child(8) { transition-delay: 0.8s; }
.resource-card:nth-child(9) { transition-delay: 0.9s; }




/* ═══════════════════════════════════════════════════════════════
   CONTACT US PAGE STYLES
   Modern, Dark Theme with Glassmorphism
   ═══════════════════════════════════════════════════════════════ */

/* Contact Hero */
.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #000033 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Contact Main Section */
.contact-main {
    padding: 80px 0;
    background: #0a0a0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM (LEFT SIDE)
   ═══════════════════════════════════════════════════════════════ */

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.125rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* Submit Button */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.contact-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-form .btn svg {
    transition: transform 0.3s ease;
}

.contact-form .btn:hover svg {
    transform: translateX(4px);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Form Success/Error States */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
    display: block;
}

.form-message.error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT INFO (RIGHT SIDE)
   ═══════════════════════════════════════════════════════════════ */

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 113, 227, 0.15);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    color: #0071e3;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.contact-link {
    display: block;
    color: #0071e3;
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #00a3ff;
}

.contact-link:last-child {
    margin-bottom: 0;
}

/* Info Boxes */
.info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.info-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

/* Office Hours */
.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9375rem;
}

.hours-list li span:first-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hours-list li span:last-child {
    color: rgba(255, 255, 255, 0.6);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: #0071e3;
    color: #0071e3;
    transform: translateX(4px);
}

.social-link svg {
    flex-shrink: 0;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 10px;
    color: #0071e3;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #0071e3;
    border-color: #0071e3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 113, 227, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-map {
    padding: 0;
    background: #0a0a0a;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(1) invert(0.9) contrast(0.85);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-faq {
    padding: 100px 0;
    background: #0a0a0a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 113, 227, 0.15);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-cta {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000033 100%);
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 113, 227, 0.3);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    .contact-main {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto;
    }

    .info-box {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-form-wrapper,
.contact-info-wrapper {
    animation: slideInUp 0.6s ease-out;
}

/* Loading State for Form Submit */
.contact-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.contact-form.loading .btn {
    position: relative;
}

.contact-form.loading .btn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Zoho Form Custom Styling */
   #zoho-webform-wrapper {
       width: 100%;
       background: #000003 !important;
   }

   #crmWebToEntityForm {
       max-width: 100%;
   }

   /* Match Zoho form to your existing design */
   #crmWebToEntityForm input[type="text"],
   #crmWebToEntityForm input[type="email"],
   #crmWebToEntityForm input[type="tel"],
   #crmWebToEntityForm select,
   #crmWebToEntityForm textarea {
       width: 100% !important;
       padding: 14px 16px !important;
       border: 1px solid rgba(255, 255, 255, 0.1) !important;
       border-radius: 8px !important;
       background: transparent !important;
       color: #ffffff !important;
       font-size: 15px !important;
       font-family: 'Inter', sans-serif !important;
       transition: all 0.3s ease !important;
       box-sizing: border-box !important;
   }

   #crmWebToEntityForm input:focus,
   #crmWebToEntityForm select:focus,
   #crmWebToEntityForm textarea:focus {
       outline: none !important;
       border-color: #0071e3 !important;
       background: transparent !important;
   }

   #crmWebToEntityForm label {
       color: rgba(255, 255, 255, 0.9) !important;
       font-size: 14px !important;
       font-weight: 500 !important;
       margin-bottom: 8px !important;
       display: block !important;
   }

   #crmWebToEntityForm input[type="submit"] {
       background: linear-gradient(135deg, #0071e3, #00a8ff) !important;
       color: #ffffff !important;
       padding: 16px 48px !important;
       border: none !important;
       border-radius: 8px !important;
       font-size: 16px !important;
       font-weight: 600 !important;
       cursor: pointer !important;
       transition: all 0.3s ease !important;
       width: auto !important;
       margin-top: 16px !important;
   }

   #crmWebToEntityForm input[type="submit"]:hover {
       transform: translateY(-2px) !important;
       box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3) !important;
   }

   /* Hide Zoho branding (optional) */
   #crmWebToEntityForm .zf-templateWidth {
       background: transparent !important;
   }

   /* reCAPTCHA styling */
   .g-recaptcha {
       margin: 20px 0 !important;
   }


/* ═══════════════════════════════════════════════════════════════════
   ZOHO SUBMIT BUTTON - COMPLETE FIX
   ═══════════════════════════════════════════════════════════════════ */

/* Target ALL possible Zoho submit button selectors */
#crmWebToEntityForm input[type="submit"],
#crmWebToEntityForm button[type="submit"],
#crmWebToEntityForm input[type="button"],
#crmWebToEntityForm .zcwf_button,
#crmWebToEntityForm input[value*="Submit"],
#crmWebToEntityForm input[value*="Send"],
form[name*="WebToLeads"] input[type="submit"],
form[action*="WebToLeadForm"] input[type="submit"] {
    /* CRITICAL: Remove width constraints */
    width: auto !important;
    min-width: 200px !important;
    max-width: 100% !important;

    /* CRITICAL: Fix text display */
    white-space: nowrap !important;
    text-overflow: clip !important;
    overflow: visible !important;

    /* Padding for proper text display */
    padding: 16px 48px !important;
    padding-left: 48px !important;
    padding-right: 48px !important;

    /* Colors */
    background: linear-gradient(135deg, #0071e3, #00a8ff) !important;
    color: #ffffff !important;
    border: none !important;

    /* Typography - CRITICAL for text display */
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    line-height: 1.5 !important;

    /* Text alignment */
    text-align: center !important;
    vertical-align: middle !important;

    /* Border & Radius */
    border-radius: 8px !important;

    /* Display */
    display: inline-block !important;
    box-sizing: border-box !important;

    /* Effects */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3) !important;

    /* Layout */
    margin-top: 24px !important;
    margin-bottom: 0 !important;

    /* Force button to respect content */
    height: auto !important;
    min-height: 50px !important;
}

/* Submit button hover state */
#crmWebToEntityForm input[type="submit"]:hover,
#crmWebToEntityForm button[type="submit"]:hover,
#crmWebToEntityForm input[type="button"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(0, 113, 227, 0.5) !important;
    background: linear-gradient(135deg, #0052cc, #0088dd) !important;
}

/* Submit button active/pressed state */
#crmWebToEntityForm input[type="submit"]:active,
#crmWebToEntityForm button[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3) !important;
}

/* Submit button focus state */
#crmWebToEntityForm input[type="submit"]:focus,
#crmWebToEntityForm button[type="submit"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.3), 0 4px 15px rgba(0, 113, 227, 0.3) !important;
}

/* If button is in a table cell */
#crmWebToEntityForm td input[type="submit"],
#crmWebToEntityForm td button[type="submit"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Force button container to not constrain width */
#crmWebToEntityForm .zcwf_row.wfrm_fld_dpNn {
    text-align: center !important;
    width: 100% !important;
}

/* Fix button wrapper if it exists */
#crmWebToEntityForm .zcwf_button_wrapper,
#crmWebToEntityForm div[class*="button"] {
    width: 100% !important;
    text-align: center !important;
    overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE - Submit Button
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    #crmWebToEntityForm input[type="submit"],
    #crmWebToEntityForm button[type="submit"] {
        width: 100% !important;
        min-width: auto !important;
        padding: 18px 32px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF SUBMIT BUTTON FIX
   ═══════════════════════════════════════════════════════════════════ */

/* ========================================
   CLUSTER PAGE ANIMATIONS
   Hero entrance + scroll reveal + card/button hover.
   Hidden states only apply once JS adds .cl-reveal, so the page
   stays fully visible if scripts fail.
   ======================================== */

@keyframes cl-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes cl-glow-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes cl-glow-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, -30px) scale(1.1); }
}

@keyframes cl-text-shine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Hero: staggered entrance */
.cluster-hero .container > div > * {
    animation: cl-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cluster-hero .container > div > *:nth-child(1) { animation-delay: 0.1s; }
.cluster-hero .container > div > *:nth-child(2) { animation-delay: 0.25s; }
.cluster-hero .container > div > *:nth-child(3) { animation-delay: 0.4s; }
.cluster-hero .container > div > *:nth-child(4) { animation-delay: 0.55s; }

/* Hero: drifting background glows */
.cluster-hero::before,
.cluster-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.cluster-hero::before {
    width: 420px;
    height: 420px;
    top: -80px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.35), transparent 70%);
    animation: cl-glow-drift-a 14s ease-in-out infinite;
}

.cluster-hero::after {
    width: 480px;
    height: 480px;
    bottom: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%);
    animation: cl-glow-drift-b 18s ease-in-out infinite;
}

/* Hero title: slow gradient sweep */
.cluster-hero h1 .gradient-text {
    background-size: 200% auto !important;
    animation: cl-text-shine 4s ease-in-out infinite alternate;
}

/* Scroll reveal */
.cl-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.cl-reveal.cl-in {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover (cards are marked .cl-card by the page script) */
.cl-reveal.cl-in.cl-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.5) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.2);
}

/* Buttons */
.cluster-hero .btn,
.cta-section a[class*="btn-"] {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.cluster-hero .btn:hover,
.cta-section a[class*="btn-"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 113, 227, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .cluster-hero .container > div > *,
    .cluster-hero::before,
    .cluster-hero::after,
    .cluster-hero h1 .gradient-text {
        animation: none;
    }

    .cl-reveal {
        opacity: 1;
        transform: none;
        transition: none !important;
    }
}

/* ========================================
   HEADER & FOOTER REFRESH
   Both bars stay light so the navy/red logo shows as designed (no chip, no
   recolor), but crisp white with blue accents instead of dull translucent grey.
   ======================================== */

/* Header */
.navbar {
    background: rgba(234, 243, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(0, 113, 227, 0.4);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(234, 243, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.2);
}

@media (min-width: 769px) {
    .nav-link {
        color: #0f172a;
        font-weight: var(--font-weight-semibold);
    }

    .nav-link:hover {
        color: var(--accent-blue);
    }
}

.nav-toggle span {
    background: #0f172a;
}

.nav-cta {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.nav-cta:hover {
    background: var(--accent-gradient);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #ffffff 0%, #e8f1ff 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 3px solid var(--accent-blue);
    box-shadow: 0 -8px 40px rgba(0, 113, 227, 0.2);
    color: #334155;
}

.footer-logo,
.footer-col h4 {
    color: #0f172a;
}

.footer-tagline,
.footer-col ul li a,
.footer-bottom,
.footer-links a {
    color: #475569;
}

.footer-social a {
    color: #334155;
}

.footer-social a:hover,
.footer-col ul li a:hover,
.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 113, 227, 0.2);
}

/* ========================================
   FAQ ACCORDION (shared by bms, cluster, dashboard, iot, lens, platform)
   Scoped to .faq-section so the contact page's static FAQ cards are untouched.
   .active is toggled by each item's onclick.
   ======================================== */
.faq-section .faq-item {
    padding: 0;
    background: transparent;
    transform: none;
    box-shadow: none;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.faq-section .faq-question {
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-section .faq-question > span {
    display: inline-block;
    flex-shrink: 0;
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.faq-section .faq-item:hover {
    border-color: rgba(0, 113, 227, 0.55) !important;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.18);
}

.faq-section .faq-item:hover .faq-question {
    background: rgba(0, 113, 227, 0.1) !important;
}

.faq-section .faq-item.active {
    border-color: #0071e3 !important;
    box-shadow: 0 10px 32px rgba(0, 113, 227, 0.3), inset 3px 0 0 #0071e3;
}

.faq-section .faq-item.active .faq-question {
    background: rgba(0, 113, 227, 0.18) !important;
    color: #7fc0ff !important;
}

.faq-section .faq-item.active .faq-question > span {
    transform: rotate(45deg);
    color: #00a3ff;
}

.faq-section .faq-item.active .faq-answer {
    background: rgba(0, 113, 227, 0.06);
    border-top: 1px solid rgba(0, 113, 227, 0.25);
}

/* ========================================
   FOOTER SOCIAL ICONS
   ======================================== */
.footer-social {
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.35);
    background: rgba(0, 113, 227, 0.08);
    color: #0f172a;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social a svg {
    display: block;
}

.footer-social a:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.4);
}

/* ========================================
   RESPONSIVE & DEVICE OPTIMIZATIONS
   Phones (<=480), large phones/small tablets (<=768), tablets (<=1024),
   laptops/desktops, large and ultra-wide screens; touch + notch support.
   Appended last so it wins over the older per-page rules above.
   ======================================== */

/* --- All devices --- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img, video, svg, canvas, iframe {
    max-width: 100%;
}

img {
    height: auto;
}

/* Long words/URLs never push the page wider than the screen */
h1, h2, h3, h4, p, li, a, td, th {
    overflow-wrap: break-word;
}

/* Grid/flex children may shrink below their content width */
.feature-row > *,
.about-wrapper > *,
.charging-wrapper > *,
.service-wrapper > *,
.lens-hero-wrapper > *,
.tech-content > *,
.legal-layout > *,
.footer-grid > * {
    min-width: 0;
}

/* Wide tables scroll inside their own box instead of widening the page */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.table-scroll > table {
    margin: 0;
    min-width: 520px;
}

/* Decorative glow never wider than the screen */
.phone-glow {
    max-width: 100%;
}

/* Mobile browsers: 100vh includes the hidden URL bar, svh does not */
@supports (min-height: 100svh) {
    .hero,
    .lens-hero,
    .cluster-hero {
        min-height: 100svh;
    }

    .cluster-hero {
        min-height: 90svh !important;
    }
}

/* Notch / rounded-corner safe areas (needs viewport-fit=cover) */
.navbar {
    padding-top: env(safe-area-inset-top);
}

.nav-container {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
}

.footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

/* --- Touch devices: bigger targets, no sticky hover effects --- */
@media (pointer: coarse) {
    .nav-link,
    .footer-col ul li a,
    .footer-links a,
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-primary-large,
    .btn-secondary-large,
    .nav-cta,
    button {
        min-height: 44px;
    }

    .footer-col ul li a,
    .footer-links a {
        display: inline-flex;
        align-items: center;
        padding: 0.35rem 0;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }
}

@media (hover: none) {
    .trip-card:hover,
    .additional-card:hover,
    .impact-card:hover,
    .cl-reveal.cl-in.cl-card:hover,
    .tech-content:hover,
    .tech-item:nth-child(even) .tech-content:hover {
        transform: none;
    }
}

/* --- Large desktops / TVs: keep line lengths and layouts from sprawling --- */
@media (min-width: 1600px) {
    .container {
        max-width: 1320px;
    }

    .container-wide,
    .nav-container {
        max-width: 1600px;
    }
}

@media (min-width: 2200px) {
    html {
        font-size: 18px;
    }
}

/* --- Tablets and small laptops --- */
@media (max-width: 1024px) {
    .container,
    .container-wide {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* --- Large phones / portrait tablets --- */
@media (max-width: 768px) {
    /* Inline two-column layouts collapse to one column */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 260px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Inline-padded sections get a smaller gutter and tighter vertical rhythm */
    section[style*="padding: 100px 20px"] {
        padding: 64px 16px !important;
    }

    .tech-content {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
    }

    .tech-number {
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }

    .nav-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* --- Phones --- */
@media (max-width: 480px) {
    .container,
    .container-wide {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Inline-sized headings on product pages */
    [style*="font-size: 2.5rem"] {
        font-size: clamp(1.6rem, 7vw, 2.5rem) !important;
    }

    /* Hero action buttons stack full width */
    .cluster-hero .btn,
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .feature-card-small {
        width: 130px;
        height: 86px;
        padding: 10px;
    }
}

/* --- Tiny phones (320px) --- */
@media (max-width: 360px) {
    .logo-img {
        height: 32px;
    }

    .nav-cta {
        padding: 0.4rem 0.9rem;
        font-size: 0.875rem;
    }
}

/* --- Landscape phones: short viewports shouldn't force 100vh heroes --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero,
    .lens-hero,
    .cluster-hero {
        min-height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }
}

/* Connectivity orbit shrinks on small phones so its icons stay on screen */
@media (max-width: 400px) {
    .conn-dot {
        --orbit: 105px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

.stat-item {
    min-width: 0;
}

@media (max-width: 360px) {
    .stat-item {
        padding: 10px 6px;
    }
}

/* Minimum readable size for small badges/labels (legal pages) */
.legal-section-number,
.cookie-badge {
    font-size: 0.75rem !important;
}

/* FAQ answers: key terms stand out in white semi-bold (no background or underline) */
.faq-section .faq-answer strong {
    color: #ffffff;
    font-weight: 600;
    background: none;
    padding: 0;
    text-decoration: none;
}

/* Lens page store badges are display-only (no link yet): no pointer cursor, no hover lift */
.app-badge.app-badge-static {
    cursor: default;
}

.app-badge.app-badge-static:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

/* Text-heavy legal tables get enough width that cells don't wrap into very tall rows on phones */
.table-scroll > .cookie-table,
.table-scroll > .def-table {
    min-width: 720px;
}

.table-scroll > .cookie-table td,
.table-scroll > .def-table td {
    vertical-align: top;
}


/* ===== Accessibility fixes (focus ring, skip link, reduced motion) ===== */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100000;
    padding: 10px 16px;
    background: #0071e3;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
:focus-visible {
    outline: 2px solid #4da3ff;
    outline-offset: 3px;
}
.footer :focus-visible,
.navbar :focus-visible,
.site-header :focus-visible {
    outline-color: #0071e3;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-scroll-fade] { opacity: 1 !important; transform: none !important; }
}

/* Contrast: brand blue #0071e3 is 3.5-4.2:1 on dark surfaces; use a lighter tint for blue TEXT on dark (fills and borders unchanged) */
.btn-secondary,
.btn-secondary-large,
.feature-tag,
.config-value,
.config-status,
.hero-badge span,
.service-tag,
.tool-link,
.feature-badge,
.status-version,
.audience-tagline {
    color: #4da3ff;
}
.problem-pain {
    color: #ff6b61;
}
a.btn-secondary-large,
a.btn.btn-secondary {
    color: #4da3ff !important;
}
.feature-label,
.platform-link,
.feature-cta,
.section-label {
    color: #4da3ff;
}
.scroll-indicator span {
    color: #8a8a8a;
}


/* Hero emphasis: keep the <strong> phrases but make them medium weight so they do not all shout */
.hero-subtitle strong,
.bms-hero-subtitle strong,
.dashboard-hero-subtitle strong,
.iot-hero-subtitle strong,
.hero p strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

/* Header nav: larger click area on desktop (visual size unchanged) */
@media (pointer: fine) {
    .nav-link {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* Inline SVG icons (replaced emoji): sized by the surrounding font-size, coloured by the text colour */
.ic {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: none;
    vertical-align: -0.125em;
    stroke: currentColor;
}
.placeholder-icon { color: #4da3ff; }

/* Cluster page: repeated inline styles moved into classes (!important keeps the old inline precedence) */
.cl-u1 { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 16px !important; padding: 2rem !important; }
.cl-u2 { font-size: 1.25rem !important; font-weight: 600 !important; color: #fff !important; margin-bottom: 0.75rem !important; }
.cl-u3 { font-size: 1.125rem !important; font-weight: 600 !important; color: #fff !important; margin-bottom: 0.5rem !important; }
.cl-u4 { max-width: 1200px !important; margin: 0 auto !important; }
.cl-u5 { color: rgba(255,255,255,0.7) !important; font-size: 0.9375rem !important; }
.cl-u6 { text-align: center !important; margin-bottom: 4rem !important; }
.cl-u7 { font-size: 1.125rem !important; color: rgba(255,255,255,0.7) !important; }
.cl-u8 { color: rgba(255,255,255,0.7) !important; line-height: 1.6 !important; }
.cl-u9 { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 12px !important; padding: 1.5rem !important; }
.cl-u10 { font-size: 2rem !important; margin-bottom: 1rem !important; }
.cl-u11 { color: rgba(255,255,255,0.6) !important; font-size: 0.9375rem !important; }
.cl-u12 { width: 100% !important; padding: 1.5rem !important; background: rgba(255,255,255,0.05) !important; color: #fff !important; text-align: left !important; font-size: 1.1rem !important; font-weight: 600 !important; border: none !important; cursor: pointer !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.cl-u13 { font-size: 1.5rem !important; transition: transform 0.3s !important; }
.cl-u14 { display: none !important; padding: 1.5rem !important; color: rgba(255,255,255,0.8) !important; line-height: 1.8 !important; }
.cl-u15 { font-size: 1.25rem !important; font-weight: 600 !important; color: #fff !important; margin-bottom: 1rem !important; }
.cl-u16 { color: rgba(255,255,255,0.7) !important; line-height: 1.7 !important; }
.cl-u17 { margin-bottom: 1.5rem !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 12px !important; overflow: hidden !important; }
.cl-u18 { text-align: center !important; }
.cl-u19 { font-size: 2rem !important; font-weight: 700 !important; color: #0071e3 !important; margin-bottom: 0.5rem !important; }
.cl-u20 { font-size: 0.875rem !important; color: rgba(255,255,255,0.6) !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
.cl-u21 { font-size: 1.5rem !important; font-weight: 600 !important; color: #fff !important; margin-bottom: 1rem !important; }
.cl-u22 { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 16px !important; padding: 2rem !important; text-align: center !important; }
.cl-u23 { font-size: 3rem !important; margin-bottom: 1rem !important; }
.cl-u24 { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 16px !important; padding: 2rem !important; transition: all 0.3s !important; }
.cl-u25 { color: rgba(255,255,255,0.7) !important; margin-bottom: 1rem !important; }
.cl-u26 { list-style: none !important; padding: 0 !important; color: rgba(255,255,255,0.8) !important; line-height: 2 !important; }
.cl-u27 { display: flex !important; gap: 1rem !important; }
.cl-u28 { width: 48px !important; height: 48px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: rgba(0,113,227,0.2) !important; border-radius: 12px !important; color: #0071e3 !important; flex-shrink: 0 !important; font-size: 1.5rem !important; }

/* Current page in the main navigation */
.nav-link[aria-current="page"] {
    color: #0071e3;
    font-weight: 600;
}
.nav-link[aria-current="page"]::after {
    width: 100%;
}

/* Consistent rhythm: one heading size and one vertical padding for regular content sections (hero, FAQ and CTA keep their own) */
main > section:not([class*="hero"]):not([class*="cta"]):not(.faq-section):not([style*="padding"]) {
    padding-top: clamp(64px, 8vw, 96px);
    padding-bottom: clamp(64px, 8vw, 96px);
}
main section .section-title {
    font-size: clamp(1.75rem, 3.6vw + 0.5rem, 2.5rem);
    line-height: 1.2;
}
