:root {
    /* Color Palette - Derived from AppColors.swift */
    --primary: #0099B3;        /* Deep Teal (Dark Mode) */
    --primary-dark: #005566;
    --accent: #FFC033;         /* Amber (Dark Mode) */
    --background: #0D0D0D;     /* Dark Background */
    --surface: #1A1A1A;        /* Card Background */
    --text-primary: #F2F2F2;
    --text-secondary: #A0A0A0;
    --success: #4CD964;
    --danger: #FF3B30;
    --border: #333333;
    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-download-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-primary) !important;
    transition: background 0.2s;
}

.btn-download-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.8) 0%,
        rgba(13, 13, 13, 0.6) 50%,
        rgba(0, 153, 179, 0.1) 100%
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-section {
    max-width: 600px;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 153, 179, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-badge {
    background: rgba(0, 153, 179, 0.15);
    color: var(--primary);
    animation: pulse 2s infinite;
}

.floating-badge {
    background: rgba(255, 193, 51, 0.1);
    color: var(--accent);
    border-color: rgba(255, 193, 51, 0.3);
    align-self: flex-start;
    margin-left: 40px;
}

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

.hero-text-section h1 {
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: 0;
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 153, 179, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-app-store::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-app-store:hover::before {
    left: 100%;
}

.btn-app-store:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 153, 179, 0.4);
}

.btn-app-store i {
    font-size: 32px;
    margin-right: 14px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text .small {
    font-size: 0.8rem;
    opacity: 0.9;
}

.btn-text .large {
    font-size: 1.3rem;
    font-weight: 700;
}

.hero-visual-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-stats-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

.hero-app-preview {
    position: relative;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-5deg); }
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scan Animation - Hero */
.scan-circle {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(76, 217, 100, 0.3);
    border-radius: 50%;
    position: absolute;
}

.scan-line {
    width: 200px;
    height: 2px;
    background: var(--success);
    position: absolute;
    box-shadow: 0 0 10px var(--success);
    animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
    0% { transform: translateY(-100px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

.result-card {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-icon {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.result-text h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.result-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 153, 179, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 193, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 153, 179, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 153, 179, 0.2);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 80px;
    position: relative;
}

.steps-timeline {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary));
    transform: translateX(-50%);
    opacity: 0.3;
}

.step-item {
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.step-item.step-1 { animation-delay: 0.2s; }
.step-item.step-2 { animation-delay: 0.4s; }
.step-item.step-3 { animation-delay: 0.6s; }

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

.step-connector {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    border: 3px solid var(--background);
    box-shadow: 0 0 20px rgba(0, 153, 179, 0.3);
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.step-item.reverse .step-content {
    direction: rtl;
}

.step-item.reverse .step-text {
    direction: ltr;
}

.step-text {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step-text:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.step-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.step-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 193, 51, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 193, 51, 0.3);
}

/* Phone Mockup Small for How It Works */
.phone-frame.small {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 40px;
    border: 8px solid #2a2a2a;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-frame.small:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow:
        0 35px 70px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Step 1: Camera Mockup */
.screen-camera {
    width: 100%;
    height: 100%;
    background: #222; /* Placeholder for camera feed */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-reticle {
    width: 180px;
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reticle-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--success);
    border-radius: 50%;
    opacity: 0.8;
}

.reticle-crosshair {
    width: 20px;
    height: 20px;
    position: relative;
}

.reticle-crosshair::before, .reticle-crosshair::after {
    content: '';
    position: absolute;
    background: var(--success);
}

.reticle-crosshair::before { width: 2px; height: 20px; left: 9px; }
.reticle-crosshair::after { width: 20px; height: 2px; top: 9px; }

.camera-overlay {
    position: absolute;
    top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.detect-badge {
    background: rgba(30, 30, 30, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.detect-badge i { color: var(--accent); }

/* Step 2: Analysis Mockup */
.screen-analysis {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.analysis-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.ingredient-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 20px;
}

.tag {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.safe { background: rgba(76, 217, 100, 0.1); color: var(--success); }
.tag.danger { background: rgba(255, 59, 48, 0.1); color: var(--danger); }

/* Step 3: Result Mockup */
.screen-result {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.result-big-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.result-big-icon.danger { color: var(--danger); }

.screen-result h2 {
    color: var(--danger);
    font-size: 2rem;
    margin-bottom: 8px;
}

.result-details {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 16px;
    width: 80%;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--danger);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 153, 179, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 51, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

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

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 179, 0.1) 0%, rgba(255, 193, 51, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 153, 179, 0.2);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 153, 179, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 153, 179, 0.2), rgba(0, 153, 179, 0.1));
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    position: relative;
    border: 2px solid rgba(0, 153, 179, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 153, 179, 0.3);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

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

/* Privacy Section */
.privacy {
    padding: 120px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(76, 217, 100, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 217, 100, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.privacy-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.privacy-text p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    padding: 20px;
    background: rgba(76, 217, 100, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(76, 217, 100, 0.1);
    transition: all 0.3s ease;
}

.privacy-list li:hover {
    background: rgba(76, 217, 100, 0.08);
    transform: translateX(8px);
}

.privacy-list i {
    color: var(--success);
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    color: rgba(76, 217, 100, 0.1);
    position: relative;
}

.privacy-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(76, 217, 100, 0.2);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left, rgba(0, 153, 179, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 24px;
    background: rgba(0, 153, 179, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    width: fit-content;
    border: 2px solid rgba(0, 153, 179, 0.2);
    margin-bottom: 16px;
}

.contact-item:hover {
    background: rgba(0, 153, 179, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 179, 0.2);
}

.contact-features {
    margin-top: 32px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-feature i {
    color: var(--accent);
    width: 16px;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 179, 0.05) 0%, rgba(255, 193, 51, 0.05) 100%);
    opacity: 0.5;
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color 0.2s;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 153, 179, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 44px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 153, 179, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 153, 179, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 153, 179, 0.3);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

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

.footer-brand h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: var(--text-primary);
    }

    /* Legal Pages Mobile */
    .legal-content h1 {
        font-size: 2.2rem;
    }

    .legal-section {
        padding: 20px;
        margin-bottom: 24px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
        margin-top: 20px;
    }

/* Legal Pages */
.legal-page {
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--background);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.effective-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    margin-top: 24px;
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-section a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-info {
    background: rgba(0, 153, 179, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 153, 179, 0.2);
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-info a {
    color: var(--primary);
}

.legal-notice {
    background: rgba(255, 193, 51, 0.1);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 51, 0.2);
    margin-top: 40px;
    text-align: center;
}

.legal-notice p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-notice strong {
    color: var(--text-primary);
}

/* Global Enhancements */
* {
    scroll-behavior: smooth;
}

/* Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .step-item {
        animation: fadeInUp 0.8s ease-out forwards;
    }

    .feature-card {
        animation: fadeInScale 0.8s ease-out forwards;
    }

    .privacy-content {
        animation: slideInLeft 1s ease-out;
    }

    .contact-form-container {
        animation: slideInRight 1s ease-out;
    }
}

/* Enhanced focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Subtle hover effects for interactive elements */
button:hover,
.btn-app-store:hover,
.contact-item:hover,
.feature-card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 16px 0;
    }

    .navbar .container {
        position: relative;
    }

    .logo {
        font-size: 1rem;
        gap: 8px;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .btn-download-nav {
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
        border-radius: 12px;
        margin-top: 20px;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text-section h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-text-section p {
        font-size: 1.1rem;
        margin: 0 auto 32px;
        max-width: 100%;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 24px;
    }

    .floating-badge {
        margin-left: 0;
        align-self: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    .btn-app-store {
        padding: 14px 28px;
    }

    .btn-app-store i {
        font-size: 28px;
        margin-right: 12px;
    }

    .btn-text .small {
        font-size: 0.75rem;
    }

    .btn-text .large {
        font-size: 1.1rem;
    }

    .hero-visual-section {
        gap: 30px;
    }

    .hero-stats-cards {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }

    .stat-card {
        padding: 16px;
        gap: 14px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .floating-elements {
        display: none; /* Hide floating elements on mobile for cleaner look */
    }

    /* Sentinel Mobile */
    .sentinel-container {
        height: 400px;
    }

    .shield-core img {
        width: 240px;
    }

    .ring-outer {
        width: 320px;
        height: 320px;
    }

    .ring-inner {
        width: 280px;
        height: 280px;
    }

    .chip-1 {
        top: 15%;
        right: 0;
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .chip-2 {
        bottom: 15%;
        left: 0;
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    /* Phone Mockup Mobile */
    .phone-mockup {
        width: 240px;
        height: 480px;
        border-radius: 30px;
        border: 6px solid #333;
    }

    .scan-circle {
        width: 150px;
        height: 150px;
    }

    .scan-line {
        width: 150px;
    }

    .result-card {
        padding: 12px;
        bottom: 30px;
        left: 15px;
        right: 15px;
    }

    .result-icon {
        width: 35px;
        height: 35px;
    }

    .result-text h3 {
        font-size: 0.9rem;
    }

    .result-text p {
        font-size: 0.75rem;
    }

    /* How It Works Mobile */
    .how-it-works {
        padding: 80px 0;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

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

    .section-header p {
        font-size: 1.1rem;
    }

    .steps-container {
        gap: 80px;
        margin-top: 60px;
    }

    .steps-timeline {
        display: none; /* Hide timeline on mobile */
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .step-connector {
        display: none; /* Hide connectors on mobile */
    }

    .step-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-text {
        padding: 30px 20px;
    }

    .step-text h3 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .step-text p {
        font-size: 1.05rem;
    }

    .step-number {
        margin: 0 auto 16px;
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .phone-frame.small {
        width: 240px;
        height: 480px;
        border-radius: 32px;
        border: 6px solid #2a2a2a;
    }

    .camera-reticle {
        width: 140px;
        height: 140px;
    }

    .detect-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .screen-result h2 {
        font-size: 1.5rem;
    }

    .result-big-icon {
        font-size: 60px;
        margin-bottom: 16px;
    }

    /* Features Mobile */
    .features {
        padding: 80px 0;
    }

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

    .section-header p {
        font-size: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* Privacy Mobile */
    .privacy {
        padding: 80px 0;
    }

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

    .privacy-content {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }

    .privacy-text h3 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .privacy-text p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .privacy-list li {
        font-size: 1rem;
        margin-bottom: 16px;
        padding: 16px;
        gap: 16px;
    }

    .privacy-list i {
        font-size: 1.3rem;
    }

    .privacy-visual {
        display: none; /* Hide visual on mobile for cleaner layout */
    }

    /* Contact Mobile */
    .contact {
        padding: 80px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h3 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .contact-info p {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

    .contact-item {
        font-size: 1rem;
        padding: 16px 20px;
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }

    .contact-features {
        margin-top: 24px;
    }

    .contact-feature {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .contact-form-container {
        padding: 32px 24px;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .btn-submit {
        padding: 16px 28px;
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-brand h3 {
        font-size: 1.1rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-text-section h1 {
        font-size: 2rem;
    }

    .hero-text-section p {
        font-size: 1rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .phone-frame.small {
        width: 180px;
        height: 360px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

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

    .step-text h3 {
        font-size: 1.25rem;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 50px;
    }

    .hero-text-section h1 {
        font-size: 3.2rem;
    }

    .hero-text-section p {
        font-size: 1.2rem;
    }

    .hero-stats-cards {
        gap: 16px;
    }

    .stat-card {
        padding: 18px;
    }

    .step-item {
        gap: 40px;
    }

    .privacy-content {
        gap: 40px;
        padding: 50px;
    }

    .contact-wrapper {
        gap: 60px;
    }
}