        :root {
            --primary: #4CAF50;
            --primary-light: #66BB6A;
            --primary-dark: #388E3C;
            --secondary: #FF6B35;
            --accent: #FFC107;
            --text-dark: #212121;
            --text-light: #757575;
            --text-muted: #9E9E9E;
            --white: #FFFFFF;
            --gray-50: #FAFAFA;
            --gray-100: #F5F5F5;
            --gray-200: #EEEEEE;
            --gray-900: #212121;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden; /* Prevent horizontal scroll */
            width: 100%;
            max-width: 100vw;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            width: 100%;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            width: 100%;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .logo img {
            height: 32px;
            margin-right: 0.5rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .cta-btn {
            background: var(--primary);
            color: white !important;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .cta-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }

        /* Mobile Menu */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            z-index: 999;
            padding: 1rem 0;
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }

        .mobile-nav.active {
            /*transform: translateY(0);*/
            display: contents;
        }

        .mobile-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav li {
            text-align: center;
            padding: 0.75rem 0;
        }

        .mobile-nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 1.1rem;
        }

        .mobile-nav .cta-btn {
            display: inline-block;
            margin-top: 1rem;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
            position: relative;
            overflow: hidden;
            padding-top: 5rem;
            width: 100%;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            width: 100%;
        }

        .hero-text h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: var(--text-dark);
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-text p {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .hero-features {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2.5rem;
        }

        .hero-feature {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.8);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.9rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(76, 175, 80, 0.1);
        }

        .hero-feature i {
            color: var(--primary);
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .btn-secondary {
            background: white;
            color: var(--primary);
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid var(--primary);
            display: inline-block;
        }

        .btn-secondary:hover {
            background: var(--primary);
            color: white;
        }

        .store-badges {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .store-badge {
            height: 3rem;
            transition: transform 0.3s ease;
        }

        .store-badge:hover {
            transform: translateY(-2px);
        }

        .social-proof {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .user-avatars {
            display: flex;
        }

        .user-avatar {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            border: 2px solid white;
            margin-left: -0.5rem;
            background: var(--gray-200);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--primary);
            overflow: hidden;
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-avatar:first-child {
            margin-left: 0;
        }

        .user-avatar.count {
            background: var(--primary);
            color: white;
        }

        .rating-info {
            display: flex;
            flex-direction: column;
        }

        .stars {
            color: var(--accent);
            margin-bottom: 0.25rem;
        }

        .rating-text {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* Interactive Demo */
        .demo-container {
            position: relative;
            perspective: 1000px;
        }

        .phone-mockup {
            width: 280px;
            height: 580px;
            background: #000;
            border-radius: 36px;
            padding: 8px;
            box-shadow: var(--shadow-xl);
            transform: rotateY(-10deg) rotateX(5deg);
            transition: transform 0.5s ease;
            margin: 0 auto;
        }

        .phone-mockup:hover {
            transform: rotateY(0deg) rotateX(0deg);
        }

        .phone-screen {
            width: 100%;
            height: 100%;
            background: white;
            border-radius: 28px;
            overflow: hidden;
            position: relative;
        }

        .app-demo {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .app-screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .app-screen.active {
            opacity: 1;
            transform: translateX(0);
        }

        .app-header {
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
            background: white;
            border-bottom: 1px solid var(--gray-200);
        }

        .app-title {
            font-weight: 600;
            color: var(--primary);
            font-size: 1.1rem;
        }

        .back-btn {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 1.2rem;
            cursor: pointer;
        }

        .app-content {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
        }

        .demo-summary {
            background: var(--gray-50);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1rem;
        }

        .demo-calories {
            display: flex;
            align-items: baseline;
            margin-bottom: 1rem;
        }

        .calorie-count {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
        }

        .calorie-target {
            color: var(--text-light);
            margin-left: 0.5rem;
        }

        .macro-bars {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .macro-bar {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .macro-label {
            width: 60px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .macro-progress {
            flex: 1;
            height: 6px;
            background: var(--gray-200);
            border-radius: 3px;
            overflow: hidden;
        }

        .macro-fill {
            height: 100%;
            transition: width 1s ease;
        }

        .macro-fill.protein { background: #E57373; }
        .macro-fill.carbs { background: #81C784; }
        .macro-fill.fat { background: #FFB74D; }

        .macro-value {
            width: 40px;
            text-align: right;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .camera-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 2rem auto 0;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
            100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
        }

        /* Updated Camera Preview with Salmon Meal Background */
        .camera-preview {
            flex: 1;
            background: #000 url('/img/food/salmon-meal.jpg') center/cover no-repeat;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Optional: Add a subtle overlay to maintain viewfinder visibility */
        .camera-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* Ensure viewfinder stays above the overlay */
        .viewfinder {
            border: 2px dashed rgba(255, 255, 255, 0.9);
            border-radius: 8px;
            width: 80%;
            height: 60%;
            position: relative;
            z-index: 2;
        }

        /* Keep the scan line visible */
        .scan-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            animation: scan 2s ease-in-out infinite;
            z-index: 3;
        }

        /* Ensure the instruction text is visible */
        .camera-preview > div[style*="position: absolute"] {
            z-index: 3;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        }

        @keyframes scan {
            0% { top: 0; }
            100% { top: calc(100% - 2px); }
        }

        .analysis-content {
            padding: 1rem;
            overflow-y: auto;
        }

        .food-image {
            width: 100%;
            height: 200px;
            border-radius: 12px;
            object-fit: cover;
            margin-bottom: 1rem;
        }

        .loading-state {
            text-align: center;
            padding: 2rem;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--gray-200);
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .identified-foods {
            margin-bottom: 1.5rem;
        }

        .food-item {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--gray-200);
        }

        .nutrition-summary {
            background: #E8F5E8;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .total-calories {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .macro-breakdown {
            display: flex;
            justify-content: space-around;
            margin-top: 1rem;
        }

        .macro-item {
            text-align: center;
        }

        .macro-amount {
            font-weight: 600;
            font-size: 1.1rem;
        }

        .macro-name {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .save-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
        }

        .success-screen {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
        }

        .success-icon {
            font-size: 4rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .success-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .floating-food {
            position: absolute;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: white;
            box-shadow: var(--shadow-xl);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            animation: float 6s ease-in-out infinite;
            border: 3px solid rgba(76, 175, 80, 0.1);
        }

        .floating-food:nth-child(1) { top: 10%; right: -10%; animation-delay: 0s; }
        .floating-food:nth-child(2) { bottom: 30%; right: -5%; animation-delay: 1s; }
        .floating-food:nth-child(3) { top: 40%; left: -10%; animation-delay: 2s; }
        .floating-food:nth-child(4) { bottom: 10%; left: -5%; animation-delay: 3s; }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        /* Stats Section */
        .stats-section {
            padding: 5rem 0;
            background: white;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            text-align: center;
        }

        .stat-item {
            padding: 1.5rem;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--text-light);
            font-weight: 500;
        }

        /* Features Section */
        .features-section {
            padding: 6rem 0;
            background: var(--gray-50);
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid rgba(76, 175, 80, 0.1);
            height: 100%;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .feature-description {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* How It Works Section */
        .how-it-works {
            padding: 6rem 0;
            background: white;
        }

        .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .step-card {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 20px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: relative;
        }

        .step-card::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 23px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .step-card:hover::before {
            opacity: 1;
        }

        .step-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .step-number {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .step-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .step-description {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* 3D Screenshots Section */
        .screenshots-section {
            padding: 6rem 0;
            background: var(--gray-50);
            text-align: center;
            overflow-x: hidden;
        }

        .carousel-container {
            position: relative;
            height: 600px;
            perspective: 1200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 4rem 0;
            padding: 50px 0;
            overflow: hidden;
        }

        .carousel-track {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            cursor: grab;
            user-select: none;
        }

        .carousel-track:active {
            cursor: grabbing;
        }

        .carousel-slide {
            position: absolute;
            left: 50%;
            top: 50%;
            transform-origin: center center;
            transition: all 0.6s ease;
            cursor: pointer;
            will-change: transform;
        }

        .screenshot-card {
            width: 260px;
            height: 480px;
            margin-left: 0px;
            margin-top: 0px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            background: var(--white);
            transition: all 0.4s ease;
        }

        .screenshot-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
        }

        /* Positioning for slides - Fixed z-index and positioning */
        .carousel-slide[data-position="0"] {
            transform: translate(-50%, -50%) scale(1.1);
            z-index: 10;
            opacity: 1;
        }
        
        .carousel-slide[data-position="1"] {
            transform: translate(-50%, -50%) translateX(200px) translateZ(-100px) rotateY(-25deg) scale(0.85);
            z-index: 5;
            opacity: 0.7;
        }
        
        .carousel-slide[data-position="-1"] {
            transform: translate(-50%, -50%) translateX(-200px) translateZ(-100px) rotateY(25deg) scale(0.85);
            z-index: 5;
            opacity: 0.7;
        }
        
        .carousel-slide[data-position="2"] {
            transform: translate(-50%, -50%) translateX(320px) translateZ(-200px) rotateY(-45deg) scale(0.7);
            z-index: 1;
            opacity: 0.4;
        }
        
        .carousel-slide[data-position="-2"] {
            transform: translate(-50%, -50%) translateX(-320px) translateZ(-200px) rotateY(45deg) scale(0.7);
            z-index: 1;
            opacity: 0.4;
        }

        .carousel-slide[data-position="3"],
        .carousel-slide[data-position="-3"] {
            opacity: 0;
            pointer-events: none;
        }

        .carousel-slide.active .screenshot-card {
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        }

        .carousel-slide:not(.active):hover .screenshot-card {
            transform: translateY(-5px);
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
        }

        .carousel-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin: 2rem 0;
        }

        .carousel-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
        }

        .carousel-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }

        .carousel-btn i {
            font-size: 1.1rem;
        }

        .carousel-dots {
            display: flex;
            gap: 10px;
        }

        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(76, 175, 80, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-dot.active {
            background-color: var(--primary);
            transform: scale(1.2);
        }

        .screenshot-descriptions {
            max-width: 600px;
            margin: 2rem auto 0;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .screenshot-description {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .screenshot-description.active {
            display: block;
            opacity: 1;
        }

        .screenshot-description h3 {
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
            font-weight: 600;
        }

        .screenshot-description p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.5;
        }

        /* Testimonials Section */
        .testimonials-section {
            padding: 6rem 0;
            background: white;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .testimonial-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary);
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            overflow: hidden;
        }

        .testimonial-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .testimonial-info h4 {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .testimonial-role {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .testimonial-content {
            color: var(--text-dark);
            font-style: italic;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .testimonial-rating {
            color: var(--accent);
        }

        /* FAQ Section */
        .faq-section {
            padding: 6rem 0;
            background: var(--gray-50);
        }

        .faq-container {
            max-width: 800px;
            margin: 3rem auto 0;
        }

        .faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 1rem;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            padding: 1.5rem;
            text-align: left;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: var(--gray-50);
        }

        .faq-icon {
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
        }

        .faq-answer-content {
            padding: 0 1.5rem 1.5rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Download Section */
        .download-section {
            padding: 6rem 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
        }

        .download-content h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .download-content p {
            font-size: 1.25rem;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        .download-badges {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .download-badge {
            height: 4rem;
            transition: transform 0.3s ease;
        }

        .download-badge:hover {
            transform: translateY(-3px);
        }

        .premium-offer {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 2rem;
            max-width: 500px;
            margin: 0 auto;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .offer-badge {
            background: var(--accent);
            color: var(--text-dark);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: inline-block;
        }

        .offer-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .offer-description {
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .offer-btn {
            background: white;
            color: var(--primary);
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .offer-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        /* Footer */
        .footer {
            background: var(--gray-900);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            text-decoration: none;
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .footer-brand img {
            height: 32px;
            margin-right: 0.5rem;
        }

        .footer-description {
            color: #CCCCCC;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

        .footer-section h4 {
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: #CCCCCC;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid #444;
            padding-top: 2rem;
            text-align: center;
            color: #CCCCCC;
        }

        /* Scroll to Top */
        .scroll-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* Background Elements */
        .bg-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.05;
            z-index: -1;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            filter: blur(100px);
            z-index: -1;
        }

        .bg-circle-1 {
            width: 400px;
            height: 400px;
            top: -200px;
            right: -200px;
            opacity: 0.1;
        }

        .bg-circle-2 {
            width: 300px;
            height: 300px;
            bottom: -150px;
            left: -150px;
            opacity: 0.1;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }
            
            .hero-text {
                order: 2;
            }
            
            .demo-container {
                order: 1;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: contents;
            }

            .mobile-nav {
                display: none;
            }
            
            .hero {
                padding-top: 6rem; /* Increased padding for mobile */
            }
            
            .hero-text h1 {
                font-size: 2.5rem;
            }
            
            .hero-actions {
                flex-direction: row; /* Keep buttons in same row */
                justify-content: center;
                flex-wrap: wrap;
                gap: 0.75rem;
            }

            .btn-primary,
            .btn-secondary {
                padding: 0.875rem 1.5rem; /* Slightly smaller padding */
                font-size: 0.95rem;
                flex: 1;
                min-width: 140px;
                max-width: 160px;
            }
            
            .store-badges {
                flex-direction: row; /* Keep badges in same row */
                justify-content: center;
                gap: 1rem;
            }

            .store-badge {
                height: 2.75rem; /* Slightly smaller on mobile */
            }
            
            .features-grid,
            .steps-container,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
                gap: 2rem;
            }
            
            .phone-mockup {
                transform: none;
                width: 250px;
                height: 520px;
            }

            .section-title {
                font-size: 2rem;
            }
            
            .section-subtitle {
                margin-bottom: 2rem;
            }

            .carousel-container {
                height: 400px;
                perspective: 800px;
                margin: 3rem 0;
                padding: 40px 0;
            }

            .screenshot-card {
                width: 160px;
                height: 300px;
                margin-left: 0px;
                margin-top: 0px;
            }

            .carousel-slide[data-position="1"] {
                transform: translate(-50%, -50%) translateX(120px) translateZ(-80px) rotateY(-20deg) scale(0.8);
            }
            
            .carousel-slide[data-position="-1"] {
                transform: translate(-50%, -50%) translateX(-120px) translateZ(-80px) rotateY(20deg) scale(0.8);
            }

            .carousel-slide[data-position="2"],
            .carousel-slide[data-position="-2"] {
                opacity: 0;
                pointer-events: none;
            }

            .carousel-btn {
                width: 45px;
                height: 45px;
            }

            .carousel-controls {
                gap: 1.5rem;
            }

            .download-badges {
                flex-direction: row; /* Keep badges in same row */
                justify-content: center;
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .hero-text h1 {
                font-size: 2rem;
            }

            .hero-actions {
                flex-direction: column; /* Stack vertically on very small screens */
                align-items: center;
            }

            .btn-primary,
            .btn-secondary {
                width: 100%;
                max-width: 280px;
                min-width: auto;
            }
            
            .stats-grid {
                grid-template-columns: 1fr; /* Single column on very small screens */
                gap: 2rem;
            }
            
            .store-badges {
                flex-direction: column; /* Stack vertically on very small screens */
                align-items: center;
                gap: 0.75rem;
            }

            .download-badges {
                flex-direction: column; /* Stack vertically on very small screens */
                align-items: center;
                gap: 0.75rem;
            }

            .carousel-container {
                height: 350px;
                margin: 2rem 0;
                padding: 30px 0;
            }

            .screenshot-card {
                width: 140px;
                height: 260px;
                margin-left: 0px;
                margin-top: 0px;
            }

            .carousel-slide[data-position="1"] {
                transform: translate(-50%, -50%) translateX(100px) translateZ(-60px) rotateY(-15deg) scale(0.75);
            }
            
            .carousel-slide[data-position="-1"] {
                transform: translate(-50%, -50%) translateX(-100px) translateZ(-60px) rotateY(15deg) scale(0.75);
            }

            .carousel-controls {
                gap: 1rem;
            }

            .carousel-btn {
                width: 40px;
                height: 40px;
            }

            .screenshot-descriptions {
                min-height: 120px;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.6s ease;
        }

        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.6s ease;
        }

        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.6s ease;
        }

        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }



/* Language switcher */
.language-switcher {
    position: relative;
}

.language-switcher-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

.language-switcher-current:hover { 
    background-color: rgba(0,0,0,0.05); 
}

.language-switcher-current i { 
    transition: transform 0.3s ease; 
}

.language-switcher:hover .language-switcher-current i { 
    transform: rotate(180deg); 
}

.language-switcher-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s linear;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 360px;
    max-height: 400px;
    overflow-y: auto;
}

.language-switcher:hover .language-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.language-option img { 
    width: 20px; 
    height: auto; 
    border-radius: 2px; 
}

.language-option:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.language-option.selected {
    font-weight: 600;
    color: var(--primary);
}

/* Scrollbar styling */
.language-switcher-dropdown::-webkit-scrollbar {
    width: 8px;
}

.language-switcher-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.language-switcher-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Mobile Controls Container */
.mobile-controls-container {
    display: none;
}

@media (max-width: 992px) {
    .mobile-controls-container {
        display: flex;
        align-items: center;
    }
    
    .mobile-language-switcher {
        display: block;
        margin-right: 15px;
    }
    
    .mobile-language-switcher .language-switcher-current {
        padding: 6px;
        font-size: 0.9rem;
    }
    
    .mobile-language-switcher .language-switcher-dropdown {
        right: 0;
        top: 100%;
        z-index: 2000;
        max-height: 300px;
        grid-template-columns: 1fr;
        min-width: 180px;
    }
    
    /* Hide original language switcher in nav menu */
    .nav-links .language-switcher {
        display: none;
    }
}

@media (max-width: 576px) {
    .language-switcher-dropdown {
        grid-template-columns: 1fr;
        min-width: 180px;
        right: -70px;
    }
}

/* RTL language support */
[dir="rtl"] .language-switcher-dropdown {
    left: 0;
    right: auto;
}

[dir="rtl"] .mobile-language-switcher .language-switcher-dropdown {
    right: auto;
    left: 0;
}