:root {
    /* Brand Colors */
    --primary: #059669;
    /* Kauri Emerald */
    --primary-dark: #064E3B;
    /* Deep Emerald */
    --primary-light: #10B981;
    /* Bright Emerald */
    --secondary: #D4AF37;
    /* Kauri Gold */
    --secondary-light: #FCD34D;
    /* Light Gold */
    --accent: #F59E0B;
    /* Amber Accent */

    /* Neutrals */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-card: #1e293b;
    /* Slate 800 */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-premium: linear-gradient(135deg, #059669 0%, #d4af37 100%);
}

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

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

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

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

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--secondary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 50%);
    padding-top: 80px;
    /* Nav height */
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
    font-size: 2rem;
    color: white;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Phone Frame */
.phone-frame {
    position: relative;
    width: 300px;
    /* Adjust based on image ratio */
    height: 600px;
    background: black;
    border-radius: 40px;
    border: 8px solid #333;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #000;
    /* Fallback */
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain */
}

/* Notch / Dynamic Island */
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: black;
    border-radius: 15px;
    z-index: 10;
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.hero-image-container {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(5, 150, 105, 0.3));
}

@keyframes float {

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

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

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

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

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

/* About Page Specific Styles */
.about-hero {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.25) 0%, transparent 70%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

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

    to {
        transform: rotate(360deg);
    }
}

.feature-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.feature-sidebar {
    position: sticky;
    top: 100px;
}

.sticky-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-link {
    padding: 0.8rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.side-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.side-link.active {
    background: var(--primary);
    color: white;
}

.feature-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-section {
    scroll-margin-top: 120px;
}

.feature-icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon-header i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-section h2 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.feature-section h3 {
    font-size: 1.3rem;
    margin: 1rem 0 1.5rem;
    font-weight: 600;
}

.feature-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
}

.tip-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(5, 150, 105, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.tip-box.gold {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--secondary);
}

.tip-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tip-box.gold i {
    color: var(--secondary);
}

.tip-box p {
    color: var(--text-main);
    font-size: 1rem;
    margin: 0;
}

.future-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    font-size: 0.85rem !important;
    color: var(--secondary) !important;
    margin-top: 1rem;
}

.conclusion-box {
    margin-top: 6rem;
    padding: 5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.conclusion-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

/* Responsive About */
@media (max-width: 1024px) {
    .feature-layout {
        grid-template-columns: 1fr;
        padding-top: 60px;
        /* Space for mobile sticky nav */
    }

    .feature-sidebar {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        z-index: 100;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sticky-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        background: transparent;
        border: none;
        padding: 0 1rem;
        scrollbar-width: none;
    }

    .sticky-nav::-webkit-scrollbar {
        display: none;
    }

    .side-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .about-hero {
        padding: 10rem 0 4rem;
    }

    .feature-scroll-content {
        gap: 5rem;
    }

    .conclusion-box {
        padding: 3rem 2rem;
    }
}

/* Features Grid */
.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.icon-box.gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary);
}

/* How It Works */
.how-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: white;
}

/* App Showcase */
.showcase-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
}

.showcase-scroll::-webkit-scrollbar {
    display: none;
}

/* Download Section */
.download-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #062c22 100%);
    text-align: center;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.store-btn {
    background: black;
    color: white;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    text-decoration: none;
}

.store-btn:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.small-text {
    font-size: 0.7rem;
    display: block;
    opacity: 0.8;
}

.big-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Language Switch */
.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 4px 12px;
    border-radius: 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-btn.active {
    background: white;
    color: black;
}

/* Footer Links */
.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: white;
    }

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

    .hero-image-container {
        margin-top: 2rem;
    }
}