:root {
    --primary: #00D700;
    /* Re-Volt Green Accent */
    --primary-hover: #00b300;
    --secondary: #00d4ff;
    --accent-yellow: #FFD700;
    /* Golden Yellow Accent */
    --accent-yellow-light: #FFF3B0;
    /* Light Yellow for subtle touches */
    --accent-yellow-glow: rgba(255, 215, 0, 0.3);
    --bg-dark: #fbfbfd;
    /* Apple Off-White */
    --bg-card: #ffffff;
    /* Pure White */
    --text-main: #1d1d1f;
    /* Apple Dark */
    --text-muted: #86868b;
    /* Apple Grey */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    position: relative;
}

/* Modern Background with Yellow & Green Accents */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 30%, rgba(0, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 10% 70%, rgba(0, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 90% 85%, rgba(255, 215, 0, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255, 243, 176, 0.04) 0%, transparent 60%);
}

/* Animated Floating Orbs Background */
.modern-bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 243, 176, 0.2));
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 215, 0, 0.25), rgba(0, 180, 0, 0.15));
    top: 20%;
    right: -8%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 200, 0, 0.15));
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    bottom: -5%;
    right: 15%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.orb-5 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 243, 176, 0.3), rgba(255, 215, 0, 0.2));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -7s;
    animation-duration: 18s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(40px, 20px) scale(1.02);
    }
}

/* Yellow Highlight Class */
.highlight-yellow {
    color: var(--accent-yellow);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* ===== ELECTRIC EFFECT FOR HERO BATTERY ===== */
.battery-electric-container {
    position: relative;
    display: inline-block;
}

.hero-battery {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
    animation: battery-pulse 3s ease-in-out infinite;
}

@keyframes battery-pulse {

    0%,
    100% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
    }
}

/* Electric Glow Behind Battery */
.electric-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.4) 0%, rgba(0, 215, 0, 0.2) 40%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Lightning Bolts */
.electric-bolt {
    position: absolute;
    font-size: 2.5rem;
    color: var(--accent-yellow);
    z-index: 3;
    opacity: 0;
    animation: bolt-flash 1.5s ease-in-out infinite;
    text-shadow:
        0 0 10px var(--accent-yellow),
        0 0 20px var(--accent-yellow),
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6);
}

.bolt-1 {
    top: 5%;
    right: -10%;
    animation-delay: 0s;
}

.bolt-2 {
    bottom: 15%;
    left: -8%;
    animation-delay: 0.7s;
    font-size: 2rem;
}

@keyframes bolt-flash {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }

    10%,
    30% {
        opacity: 1;
        transform: scale(1.2) rotate(5deg);
    }

    20% {
        opacity: 0.5;
        transform: scale(1) rotate(-5deg);
    }

    40% {
        opacity: 0;
        transform: scale(0.9) rotate(0deg);
    }
}

/* Electric Sparks */
.electric-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 50%;
    z-index: 4;
    box-shadow:
        0 0 6px var(--accent-yellow),
        0 0 12px var(--accent-yellow),
        0 0 18px rgba(255, 215, 0, 0.8);
    animation: spark-fly 2s ease-out infinite;
}

.spark-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.spark-2 {
    top: 30%;
    left: 5%;
    animation-delay: 0.5s;
}

.spark-3 {
    bottom: 20%;
    right: 8%;
    animation-delay: 1s;
}

.spark-4 {
    bottom: 40%;
    left: 10%;
    animation-delay: 1.5s;
}

@keyframes spark-fly {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(var(--spark-x, 30px), var(--spark-y, -40px)) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translate(var(--spark-x-end, 50px), var(--spark-y-end, -60px)) scale(0);
    }
}

.spark-1 {
    --spark-x: 40px;
    --spark-y: -30px;
    --spark-x-end: 60px;
    --spark-y-end: -50px;
}

.spark-2 {
    --spark-x: -35px;
    --spark-y: -25px;
    --spark-x-end: -55px;
    --spark-y-end: -45px;
}

.spark-3 {
    --spark-x: 30px;
    --spark-y: 20px;
    --spark-x-end: 50px;
    --spark-y-end: 35px;
}

.spark-4 {
    --spark-x: -40px;
    --spark-y: 15px;
    --spark-x-end: -60px;
    --spark-y-end: 25px;
}

/* Responsive adjustments for electric effect */
@media (max-width: 768px) {
    .electric-bolt {
        font-size: 1.5rem;
    }

    .bolt-2 {
        font-size: 1.2rem;
    }

    .electric-glow {
        filter: blur(20px);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.highlight {
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: -0.01em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-transform: none;
    white-space: nowrap;
}

.btn-primary {
    background: #1d1d1f;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid #d2d2d7;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: #1d1d1f;
    background: rgba(0, 0, 0, 0.03);
    color: #000;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.5);
    /* More opaque */
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 0;
    /* Shadow for readability on transparent bg */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 5px 0;
    /* Even smaller when scrolled */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-top: -30px;
    margin-bottom: -30px;
    position: relative;
    z-index: 1002;
    /* Ensure logo stays on top if it overflows */
}

/* Removed text based logo styles */

.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 30px;
    }

    .nav-desktop a {
        font-weight: 500;
        font-size: 0.95rem;
        opacity: 0.8;
    }

    .nav-desktop a:hover {
        opacity: 1;
        color: var(--primary);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}

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

/* Mobile Header Optimizations */
@media (max-width: 768px) {
    .logo-img {
        height: 80px;
        /* Reduced from 120px */
        margin-top: -20px;
        margin-bottom: -20px;
    }

    .header-actions {
        gap: 10px;
        /* Reduced gap */
    }

    .header-actions .btn {
        padding: 8px 16px;
        /* Smaller button */
        font-size: 0.85rem;
    }

    .mobile-toggle {
        font-size: 1.3rem;
        /* Slightly smaller menu icon */
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-menu .btn {
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}


/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg spline-viewer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Removed filter to show original animation 3D colors */
}

.hero-bg img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--bg-dark));
    /* Adjusted gradient so image is visible */
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: flex-start;
    /* Align left */
}

.hero-text-side {
    text-align: left;
    max-width: 500px;
    margin-left: 5%;
    /* Spacing from left edge */
}

.hero-text-side h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-text-side p {
    font-size: 1.5rem;
    color: #444;
}

@media (max-width: 768px) {
    .hero-text-side h1 {
        font-size: 3rem;
    }

    .hero-content-overlay {
        justify-content: center;
    }

    .hero-text-side {
        margin-left: 0;
        text-align: center;
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 5rem;
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-offset {
    background: #ffffff;
    /* Explicit White */
}

/* If body bg is off-white (#f8f9fa), this section will pop if it's white, or vice-versa.
   Let's ensure alternating backgrounds. 
*/

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 30px;
    border: none;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-icon {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f5f5f7;
    border-radius: 50%;
    box-shadow: none;
    border: none;
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: #1d1d1f;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* New Features Layout */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 10px;
}

.mb-5 {
    margin-bottom: 3rem;
}

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

/* Bento Grid Layout */
.features-layout {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 250px);
    }

    .item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .item-tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .item-std {
        grid-column: span 1;
        grid-row: span 1;
        background: #F5F5F7;
        /* Premium light grey */
        box-shadow: none;
        /* Flat look */
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Subtle border */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


.bento-item {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Changed from space-between to center for better vertical alignment */
    align-items: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.item-std:hover {
    transform: none;
    box-shadow: none;
}

.main-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
    align-items: flex-start;
    /* Keep main feature left-aligned if preferred, or remove to center all */
    text-align: left;
}

.main-feature h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.bento-icon-lg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(0, 215, 0, 0.1);
    /* Touch of green */
    transform: rotate(-15deg);
}

.cables-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    /* Green accent */
    opacity: 1;
    /* Increased visibility */
    margin-top: 20px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cables-feature:hover .cables-visual {
    transform: scale(1.15);
}

.icon-float {
    font-size: 2.5rem;
    color: var(--primary);
    /* Green icon */
    margin-bottom: 15px;
    display: inline-block;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.item-std:hover .icon-float {
    transform: scale(1.15);
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1d1d1f;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Partner Section Redesign */
.partner-section {
    position: relative;
    background: #ffffff;
    color: var(--text-main);
    overflow: hidden;
    padding: 120px 0;
}

.partner-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.text-white {
    color: #ffffff !important;
}

.text-gray {
    color: rgba(255, 255, 255, 0.6) !important;
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f7;
    color: #1d1d1f;
    border: none;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .partner-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: #ffffff;
    border: none;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #f5f5f7;
    border-radius: 20px;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Glass Sheen Effect Removed */
.benefit-icon::after {
    display: none;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1d1d1f;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.partner-cta {
    text-align: center;
}

.partner-cta .btn {
    min-width: 250px;
    justify-content: center;
}

.small-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Background Glow */
.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 215, 0, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}



/* Footer Modernization */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 40px 0 20px;
    /* Reduced top padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 30px;
    /* Reduced margin */
}

@media (min-width: 900px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-img-sm {
    height: 120px;
    /* Increased from 80px */
    width: auto;
    /* filter: brightness(0) invert(1); */
    /* Removed filter to show original logo colors */
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (min-width: 600px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.link-group h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    /* Squircle */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.socials a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 215, 0, 0.4);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
}

.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.lang-flag {
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
    text-decoration: none;
}

.lang-flag:hover {
    transform: scale(1.2);
    opacity: 1;
}

.lang-flag.active {
    opacity: 1;
}

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

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .lang-flag {
        font-size: 1rem;
    }

    .footer-bottom .container {
        gap: 10px;
    }
}

/* Animations */
/* Modern Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 215, 0, 0);
    }
}

@keyframes title-reveal {
    from {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Interactive Hover States */
.step-card:hover .step-icon i,
.benefit-card:hover .benefit-icon i {
    animation: float 3s ease-in-out infinite;
    color: #fff;
}

.step-card:hover .step-icon,
.benefit-card:hover .benefit-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1) rotate(-5deg);
}

/* QR Code Icon Hover Effect */
.step-icon img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.step-card:hover .step-icon img {
    filter: brightness(0) invert(1);
    animation: float 3s ease-in-out infinite;
}


/* Hero Title Animation */
h1.fade-in {
    animation: title-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* App Mockup Image */
.app-img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 4px solid #333;
    transition: transform 0.5s ease;
}

.app-img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
    /* Ensure animation doesn't spill out */
}

.contact-bg-animation {
    display: none;
}

/* Footer Animation */
.footer {
    position: relative;
    overflow: hidden;
    /* Crop the extra height to hide watermark */
}

.footer-bg-animation {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: calc(100% + 40px);
    /* Extend height to push watermark out */
    z-index: 0;
    opacity: 0.2;
    /* Subtle background */
    pointer-events: none;
}

.footer-bg-animation spline-viewer {
    width: 100%;
    height: 100%;
    filter: hue-rotate(-60deg) saturate(1.2) brightness(1.1);
    /* Keep Yellow theme */
}

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 1;
    /* Ensure content is above animation */
}

/* Jet-Style Contact Form */
.contact-card-wrapper {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: visible;
    /* Let the card float out */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (min-width: 900px) {
    .contact-card-wrapper {
        flex-direction: row;
        min-height: 500px;
    }
}

.contact-visual {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80') center/cover no-repeat;
    position: relative;
    border-radius: 24px 24px 0 0;
    min-height: 300px;
}

@media (min-width: 900px) {
    .contact-visual {
        border-radius: 24px 0 0 24px;
        flex: 0 0 40%;
    }
}

.contact-floating-info {
    position: absolute;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 85%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 900px) {
    .contact-floating-info {
        width: 260px;
        left: unset;
        right: -80px;
        /* Float over the boundary */
        top: 50%;
        transform: translateY(-50%);
    }
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: #f0f2f5; */
    color: var(--primary);
    /* Green like the site */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-row h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.info-row p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.contact-form-area {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 900px) {
    .contact-form-area {
        padding: 60px 80px 60px 100px;
        /* Extra padding left for the floating card overlap */
    }
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.jet-style-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-jet {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-jet label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}

.form-group-jet input,
.form-group-jet textarea {
    width: 100%;
    background: #f5f5f7;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1rem;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.form-group-jet input:focus,
.form-group-jet textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.btn-jet-submit {
    background: #1d1d1f;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 980px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-jet-submit:hover {
    transform: translateY(-2px);
    background: #000000;
}


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

/* --- New Styles for Subpages --- */

/* Subpage Hero */
.hero-sm {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 200px;
    position: relative;
    color: #fff;
}

.hero-sm-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-sm-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-sm-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    /* Light overlay for dark nav text */
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    gap: 15px;
}

/* Mobile adjustments for FAQ questions */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.9rem;
        padding: 16px 12px;
        gap: 10px;
        align-items: flex-start;
        white-space: normal;
        line-height: 1.4;
    }

    .faq-question i {
        flex-shrink: 0;
        font-size: 0.85rem;
        min-width: 16px;
        margin-top: 2px;
    }
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
    color: #1d1d1f;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}

/* Product Cards (Powerstations) */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #ccc;
    font-size: 3rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-card .btn {
    margin-top: auto;
}

/* Text Block Sections */
.text-block {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.text-block p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* =========================================
   Apple-Style Premium Contact Page
   ========================================= */

.apple-contact-main {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: #fbfbfd;
    /* Apple-like off-white */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.apple-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.apple-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.015em;
    margin-bottom: 15px;
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #86868b;
    font-weight: 400;
}

.apple-form-section {
    padding: 0 20px;
}

.apple-card {
    background: #ffffff;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.apple-input {
    width: 100%;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 1.05rem;
    color: #1d1d1f;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: none;
}

.apple-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 215, 0, 0.1);
}

.apple-input::placeholder {
    color: #86868b;
}

.apple-btn {
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    background: #1d1d1f;
    color: #ffffff;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.apple-btn:hover {
    background: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 215, 0, 0.3);
}

.privacy-note {
    font-size: 0.85rem;
    color: #86868b;
    text-align: center;
    margin-top: 5px;
}

.error-hint {
    display: block;
    color: #ff3b30;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    transition: opacity 0.3s ease;
}

.input-group {
    margin-bottom: 5px;
}


.minimal-contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f5f5f7;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contact-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    font-weight: 600;
}

.contact-item .value {
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a.value:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .apple-hero h1 {
        font-size: 2.5rem;
    }

    .apple-card {
        padding: 30px;
    }

    .apple-contact-main {
        padding-top: 100px;
    }

    .minimal-contact-info {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   Apple-Style App Download Page
   ========================================= */

.apple-app-main {
    padding-top: 120px;
    /* Slightly reduced to bring content up */
    padding-bottom: 100px;
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
}

.apple-app-hero {
    text-align: center;
    max-width: 1200px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apple-app-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #1d1d1f;
    max-width: 800px;
}

.apple-app-hero .hero-subtext {
    font-size: 1.35rem;
    /* Slightly refined size */
    line-height: 1.45;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 50px;
    /* More space before image */
    font-weight: 400;
}

/* Premium App Mockup Animation Container */
.app-preview-container {
    margin-bottom: 50px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    overflow: visible;
}

/* Main App Mockup with Premium Animations */
.app-mockup-premium {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.15));
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation:
        appFloatIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        appFloat 4s ease-in-out 1.2s infinite;
    position: relative;
    z-index: 1;
}

/* Entry Animation - Phone floats up and fades in */
@keyframes appFloatIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9) rotateX(15deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Continuous Floating Animation */
@keyframes appFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-15px) rotateX(2deg);
    }
}

/* Hover Effect - 3D Tilt with Enhanced Shadow */
.app-mockup-premium:hover {
    animation-play-state: paused;
    transform: translateY(-20px) rotateX(-5deg) rotateY(5deg) scale(1.03);
    filter: drop-shadow(0 60px 100px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 60px rgba(0, 215, 0, 0.15));
}

/* Shimmer/Glow Effect Behind the Phone */
.app-preview-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 500px;
    background: radial-gradient(ellipse at center,
            rgba(0, 215, 0, 0.15) 0%,
            rgba(0, 215, 0, 0.05) 40%,
            transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 3s ease-in-out infinite;
    opacity: 0;
    animation-delay: 1.2s;
    animation-fill-mode: forwards;
}

/* Subtle Glow Pulsing */
@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Shimmer Light Effect */
.app-preview-container::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -100%;
    width: 60%;
    height: 80%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
    animation: shimmerPass 4s ease-in-out 2s infinite;
    opacity: 0;
}

/* Shimmer Animation - Light sweeps across */
@keyframes shimmerPass {
    0% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 150%;
        opacity: 1;
    }

    60%,
    100% {
        left: 150%;
        opacity: 0;
    }
}

.app-buttons-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 100px;
    /* Clear separation from features */
    flex-wrap: wrap;
}

.apple-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #ffffff;
    border-radius: 12px;
    /* Smoother corners */
    padding: 12px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 190px;
    height: 60px;
    gap: 14px;
    border: 1px solid transparent;
}

.apple-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #333;
}

.apple-store-badge i {
    font-size: 32px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.badge-text span:first-child {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.badge-text span:last-child {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.app-features-strip {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
    /* More breathing room */
    width: 100%;
    max-width: 1000px;
    padding: 0 40px;
}

@media (min-width: 768px) {
    .apple-app-hero h1 {
        font-size: 4.5rem;
        /* Larger on desktop */
    }

    .app-features-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.app-feature-item {
    text-align: center;
    padding: 0 10px;
}

.app-feature-icon {
    font-size: 2rem;
    color: #1d1d1f;
    margin-bottom: 24px;
    background: #f5f5f7;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.app-feature-item:hover .app-feature-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 215, 0, 0.3);
}

.app-feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.app-feature-item p {
    font-size: 1.05rem;
    color: #86868b;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .apple-app-hero h1 {
        font-size: 2.5rem;
    }

    .apple-app-hero .hero-subtext {
        font-size: 1.2rem;
    }

    .app-mockup-premium {
        max-width: 260px;
        /* Reduce animation intensity on mobile */
        animation:
            appFloatIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
            appFloat 5s ease-in-out 1s infinite;
    }

    /* Smaller glow on mobile */
    .app-preview-container::before {
        width: 250px;
        height: 350px;
    }

    /* Hide shimmer on mobile for performance */
    .app-preview-container::after {
        display: none;
    }

    @keyframes appFloat {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }
}

/* Footer adjustments for whitespace */
.apple-app-main+.footer {
    border-top: 1px solid #f0f0f0;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    /* Changed from none to flex via JS, but good to have class state */
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    cursor: default;
    /* Prevent closing when clicking content if we implemented that logic */
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Split Section Styling */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.split-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.split-image img {
    max-width: 100%;
    border-radius: 20px;
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); Optional, clean look desired */
}

.split-content {
    flex: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.feature-list li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
        /* Center list items on mobile if text centered */
        text-align: left;
        /* Keep text left aligned even if container centered? */
    }

    .feature-list li {
        justify-content: flex-start;
        /* Actually better to keep list left aligned usually */
        display: inline-flex;
        /* Allow centering container but keeping list items left aligned-ish */
        width: 100%;
        max-width: 400px;
        /* Constrain width on mobile */
    }

    .feature-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-flag {
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    text-decoration: none;
    filter: grayscale(1);
}

.lang-flag:hover,
.lang-flag.active {
    transform: scale(1.2);
    opacity: 1;
    filter: grayscale(0);
}

/* Mobile Header Optimization */
@media (max-width: 400px) {
    .header-actions .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 100px;
        /* Slightly smaller logo on very small screens to make room */
    }
}

/* Reduce section padding on mobile */
@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }

    /* Add extra space between header and first section on mobile */
    main>section:first-child {
        padding-top: 80px;
    }

    .partner-section {
        padding: 30px 0;
    }

    #contact.section {
        padding-top: 0;
    }

    /* Force show image on mobile */
    #contact .split-image {
        display: flex !important;
        margin-bottom: 30px;
        /* Add some space below image */
        min-height: 300px !important;
        /* Ensure container has height for absolute positioned image */
        position: relative !important;
        /* Ensure relative positioning for absolute child */
        width: 100% !important;
        /* Fix width collapse issue - critical for absolute positioned images */
        align-self: stretch !important;
        /* Ensure container stretches to full width in flex column layout */
    }

    #contact .split-image img {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }

    /* Adjust content padding on mobile */
    #contact .split-content {
        padding-left: 0 !important;
        text-align: center;
    }

    #contact .split-content .section-title,
    #contact .split-content .section-subtitle {
        text-align: center !important;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 20px 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease;
    pointer-events: none;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-inner {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Blur effect for page content when cookie consent is pending */
body.cookie-pending::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(251, 251, 253, 0.4);
    z-index: 9999;
    pointer-events: none;
}

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

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cookie-consent-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00D700 0%, #00b300 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 215, 0, 0.25);
}

.cookie-consent-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.cookie-consent-text {
    font-size: 0.92rem;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: #00D700;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: #00b300;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 120px;
    padding: 14px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: center;
    letter-spacing: -0.01em;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00D700 0%, #00b300 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 215, 0, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 215, 0, 0.4);
}

.cookie-btn-accept:active {
    transform: translateY(0);
}

.cookie-btn-decline {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-btn-decline:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-consent {
        padding: 0 12px 12px;
    }

    .cookie-consent-inner {
        padding: 22px 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .cookie-consent-header {
        gap: 12px;
    }

    .cookie-consent-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .cookie-consent-title {
        font-size: 1.05rem;
    }

    .cookie-consent-text {
        font-size: 0.88rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Dark mode support - Force white background */
@media (prefers-color-scheme: dark) {
    .cookie-consent-inner {
        background: rgba(255, 255, 255, 0.98) !important;
        border-color: rgba(0, 0, 0, 0.06) !important;
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    }

    .cookie-consent-title {
        color: #1d1d1f !important;
    }

    .cookie-consent-text {
        color: #6e6e73 !important;
    }

    .cookie-btn-decline {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #1d1d1f !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }

    .cookie-btn-decline:hover {
        background: rgba(0, 0, 0, 0.08) !important;
    }
}