/* Base & Reset */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #0a0a0a;
    --primary-sky: #0ea5e9;
    --primary-sky-hover: #0284c7;
    --cta-orange: #f97316;
    --cta-orange-hover: #ea580c;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --font-heading: 'Poppins', system-ui, sans-serif;
    --font-body: 'Poppins', system-ui, sans-serif;

    /* Background Images */
    --bg-hero: url('hero_bg_9x12.png');
    --bg-graffiti: url('https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6983a65797942a9b7bd84dee/b246082bb_IMG_1131.jpeg');

    /* Z-Index scale per UX rules */
    --z-nav: 50;
    --z-modal: 100;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    background-image: var(--bg-graffiti);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 48rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.pt-12 {
    padding-top: 3rem;
}

.text-cyan {
    color: var(--primary-sky);
}

.text-orange {
    color: var(--cta-orange);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-muted {
    color: var(--text-muted);
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.ml-2 {
    margin-left: 0.5rem;
}

.opacity-75 {
    opacity: 0.75;
}

.relative {
    position: relative;
}

.hover-underline a {
    text-decoration: none;
    color: inherit;
}

.hover-underline a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sticky Nav for higher conversion */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo strong {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-light);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-sky);
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--cta-orange);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

.btn-primary:hover {
    background-color: var(--cta-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary-sky);
    color: var(--primary-sky);
}

.full-width {
    width: 100%;
}

/* Pulse animation for CTA */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.pulse-animation {
    animation: pulse-ring 2.5s infinite;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.badge-cyan {
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--primary-sky);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-gold {
    background-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Sections Common */
.section {
    padding: 6rem 0;
    position: relative;
    background-color: rgba(15, 23, 42, 0.95);
    /* slate-900 with opacity */
    backdrop-filter: blur(10px);
    margin: 4rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: var(--bg-hero);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(10, 10, 10, 0.95));
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    /* offset for sticky nav */
}

.hero-headline {
    font-size: clamp(3.5rem, 8vw, 6rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: #e2e8f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 20;
    margin-top: -2rem;
    /* Pull up over hero slightly */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-sky);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}

/* Trusted By Section / Social Proof */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.logo-item:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Postcard Showcase */
.postcard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* 3D Interactive Postcards */
.postcard-interactive-wrapper {
    perspective: 1500px;
    height: 100%;
    cursor: pointer;
}

.postcard-3d-card {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    height: 100%;
    border-radius: 12px;
}

.postcard-interactive-wrapper:hover .postcard-3d-card {
    transform: rotateX(5deg) rotateY(-5deg) scale(1.05);
    box-shadow: 20px 30px 50px -15px rgba(0, 0, 0, 0.7);
}

.postcard-front {
    backface-visibility: hidden;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.postcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.postcard-hover-hint {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: bottom 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.postcard-interactive-wrapper:hover .postcard-hover-hint {
    bottom: 20px;
    opacity: 1;
}

/* Live Ad Card Section */
.ad-card-section {
    background: var(--bg-dark);
}

.canva-embed-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding-top: 0;
    aspect-ratio: 12 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(14, 165, 233, 0.2);
}

.canva-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

.canva-nav-hint {
    margin-top: 0.85rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Animated Testimonial */
.testimonial-section {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(0, 0, 0, 0));
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin: 2rem 0;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.author-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1.125rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    min-width: 100px;
}

.countdown-item span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.countdown-item small {
    font-size: 0.875rem;
    color: var(--primary-sky);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Pricing Section */
.pricing-toggle {
    display: inline-flex;
    background-color: #1e293b;
    border-radius: 9999px;
    padding: 0.5rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--primary-sky);
    color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #1e293b;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--primary-sky);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-sky);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.features-list i {
    color: var(--primary-sky);
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.req-card {
    background-color: #1e293b;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.req-card:hover {
    background-color: #2a374a;
}

.req-icon {
    background-color: rgba(14, 165, 233, 0.15);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-sky);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.req-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.req-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Founder Section */
.founder-card {
    background-color: #1e293b;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
}

.avatar {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-sky);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.founder-title {
    font-size: 1.5rem;
}

.founder-role {
    color: var(--primary-sky);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.founder-bio {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer & Form */
.footer {
    padding: 6rem 1.5rem 4rem;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.95);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.input-icon-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-icon-wrapper input:focus {
    outline: none;
    border-color: var(--primary-sky);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.copyright {
    color: #475569;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {

    .stats-grid,
    .postcard-grid,
    .pricing-cards,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .stat-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.hamburger-btn:hover {
    color: var(--primary-sky);
}

@media (max-width: 900px) {
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: calc(var(--z-nav) + 10);
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #0f172a;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: var(--text-light);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mobile-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-sky);
    padding-left: 1.5rem;
}

.mobile-menu-cta {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
}