:root {
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --primary-color: #00C853;
    --secondary-color: #FF6D00;
    --accent-color: #00E5FF;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(30, 30, 30, 0.65);

    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Layer */
#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-logo-watermark {
    width: 70vmin;
    max-width: none;
    height: auto;
    opacity: 0.04;
    filter: grayscale(100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: -2;
    pointer-events: none;
    /* Fix random interaction */
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: 10%;
    right: 10%;
    animation: float 12s infinite ease-in-out reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Typography & Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.text-white {
    color: #FFFFFF !important;
}

.btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    color: #FFFFFF;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* Ensure clicks pass through */
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    /* Subtle visibility */
    filter: saturate(0) brightness(1.2) contrast(1.1);
    /* Grayscale & high contrast for structure */
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    transform: scale(1.05);
    /* Slight zoom */
}

.hero-overlay {
    /* Deprecated: We use mask-image now for better blending, but keeping a subtle gradient for safety */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 120%);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
}

.store-badges {
    display: flex;
    gap: 1rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    width: 220px;
    height: 64px;
}

.store-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.store-btn div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.store-btn small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-btn span {
    font-weight: 700;
    font-size: 1.2rem;
}

.store-btn i {
    width: 32px;
    height: 32px;
}

/* Waitlist UI */
.waitlist-section {
    margin-top: 2rem;
    max-width: 460px;
    /* Match combined width of store buttons + gap roughly */
    position: relative;
}

.waitlist-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00C853;
    border-radius: 50%;
    box-shadow: 0 0 8px #00C853;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.waitlist-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.waitlist-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    flex-grow: 1;
    font-family: var(--font-main);
    outline: none;
}

.btn-autopilot {
    background: linear-gradient(135deg, #FF6D00, #00C853);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-autopilot:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

/* Hero Visual (Mockup) */
.phone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #222;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    margin: 0 auto;
}

.screen-content-img {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-content {
    background: var(--bg-color);
    height: 100%;
    padding: 20px;
    position: relative;
}

.app-header {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.app-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
}

.app-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.food-img {
    height: 120px;
    background: #333;
    border-radius: 12px;
    margin-bottom: 12px;
    background-image: linear-gradient(45deg, #333, #444);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Features Grid */
.features-section {
    padding: 120px 0;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
}

/* Pricing */
.pricing-section {
    padding: 120px 0;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.vat-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: -5px;
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pro-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
}

.pro-card {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.1);
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tier-features li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-outline {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.full-width {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.8rem;
    margin-top: auto;
    text-decoration: none;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
    background: rgba(18, 18, 18, 0.95);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.linkss {
    align-items: flex-end;
}

.linkss a {
    color: var(--text-secondary);
    text-decoration: none;
}

.linkss a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .store-badges {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
        /* Add JS toggle later */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        /* Slightly larger on mobile */
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .store-btn {
        width: 100%;
        /* Full width buttons on mobile */
        justify-content: center;
    }
}