:root {
    --bg-dark: #11141f;
    --text-main: #ffffff;
    --text-muted: #666666;
    --accent: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --ease-cred: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Texture/Noise for that "Film Grain" premium feel */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48ZmlsdGVyIGlkPSJnoiPjGZ1dHVyZT0idXJsKCNuKSIgb3BhY2l0eT0iLjA1Ii8+PC9zdmc+');
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.single-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Stack content and tagline */
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    gap: 3rem;
    /* Space between main part and tagline */
    padding-bottom: 100px;
    /* Ensure tagline stays above fixed footer */
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    /* Horizontal by default */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    gap: 5rem;
    padding: 2rem;
}

.col-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.col-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align content */
    text-align: left;
    gap: 2.5rem;
    /* Consistent spacing between blocks */
}

/* HERO VISUAL - The "Artifact" */
.hero-visual {
    position: relative;
    width: 400px;
    /* Larger image in horizontal */
    height: 400px;
    border-radius: 40px;
    /* Spotlight effect behind the image */
}

.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.main-char {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    /* Soft shadow to lift it off the deep black */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: block;
}

/* TYPOGRAPHY - BOLD, CRED STYLE */
h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    /* Increased from 1.05 to fix 'g' clipping */
    text-align: left;
    margin-bottom: 0;
    /* Handled by gap */
    padding-bottom: 0.1em;
    /* Extra safety for descenders */
    color: #fff;
    /* Subtle gradient on text to look metallic */
    background: linear-gradient(180deg, #FFFFFF 0%, #AAAAAA 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
    margin-top: -1.5rem;
    /* Pull it closer to the H1 */
    text-align: left;
    max-width: 600px;
}

/* VALUE POINTS */
.value-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Left align */
    gap: 1.5rem;
    margin-bottom: 0;
    /* Handled by gap */
    width: 100%;
}

.value-points li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.value-points .bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* DEMO ANIMATION */
.demo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align */
    margin-bottom: 0;
    /* Handled by gap */
    width: 100%;
}

.spend-card {
    background: linear-gradient(135deg, #161a29 0%, #0c0e17 100%);
    border: 1px solid #333;
    padding: 1rem 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.8rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Force width */
    max-width: 290px;
    /* Reduced to compact size */
    padding: 1rem 1.5rem;
    box-sizing: border-box;
}

/* Subtle shine effect */
.spend-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.number-wrapper {
    font-size: 2.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #fff;
    display: flex;
    align-items: center;
    /* Better vertical alignment */
}

.currency {
    font-size: 2rem;
    /* Closer to number size */
    margin-right: 6px;
    color: #888;
    font-weight: 400;
    transform: translateY(-2px);
    /* Optical adjustment */
}

.label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0F0;
    /* Green tint for "Go Spend" */
    background: rgba(0, 255, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.demo-subtext {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    opacity: 0;
    /* Hidden initially */
    transform: translateY(10px);
}

.fade-in-late {
    animation: reveal 1s var(--ease-cred) forwards;
    animation-delay: 2.5s;
    /* Wait for number roll */
}

/* INPUT FIELD - The "Premium Ticket" */
.signup-container {
    width: 100%;
    /* padding removed for alignment */
}

.input-group {
    position: relative;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-cred);
}

.input-group:focus-within {
    border-color: #666666;
    background: #161616;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 1rem;
    outline: none;
}

/* WHATSAPP CTA BUTTON */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    /* Glassy dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 24px;
    /* Matches the card above */
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    /* Match width of card */
    max-width: 290px;
    /* Match spend-card 290px */
    padding: 1rem 1.5rem;
    box-sizing: border-box;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-btn .arrow {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover .arrow {
    transform: translateX(4px);
}

.success-message {
    color: #888;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* CRED Tagline Area */
.cred-tagline {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0.5;
    width: 100%;
    max-width: 900px;
    padding: 0 2rem;
}

.line {
    height: 1px;
    flex: 1;
    /* Stretch to fill space */
    background: linear-gradient(90deg, transparent, #333, transparent);
    /* Faded edges */
}

.poetic-mini {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
}

/* Footer */
/* Footer */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2.5rem;
    /* Give some breathing room from edges */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #444;
    z-index: 10;
    box-sizing: border-box;
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.fixed-footer>* {
    pointer-events: auto;
    /* Re-enable clicks on text/links */
    opacity: 0.6;
    transition: opacity 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.fixed-footer a {
    color: #666;
    text-decoration: none;
}

.fixed-footer *:hover {
    opacity: 1;
    color: #fff;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 1s var(--ease-cred) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}

/* SOCIAL PROOF TEXT */
.social-proof-text {
    color: #fff;
    font-size: 1.35rem;
    /* Increased from 1.1rem */
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    max-width: 350px;
    /* Increased max-width slightly to accommodate larger text */
    margin-left: auto;
    margin-right: auto;
}

/* TOP HEADER */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* Increased z-index */
    box-sizing: border-box;
    pointer-events: none;
    /* Pass clicks */
}

.brand {
    font-size: 2.2rem;
    /* Increased from 1.8rem */
    font-weight: 800;
    font-style: italic;
    /* Kinetic feel */
    letter-spacing: -0.05em;
    color: #fff;
    pointer-events: auto;
    background: linear-gradient(90deg, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-right {
    font-size: 1.1rem;
    /* Increased from 0.85rem */
    color: #666;
    font-weight: 500;
    letter-spacing: 0.05em;
    pointer-events: auto;
    text-transform: lowercase;
    /* "your money your rules" */
}

/* RESPONSIVE DESIGN (Mobile) */
@media (max-width: 768px) {

    /* 1. Layout Stacking */
    .single-view {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 120px;
        /* Clearance for fixed footer */
        gap: 2rem;
        /* Reduce gap on mobile */
        height: auto;
        overflow: visible;
    }

    .content-wrapper {
        flex-direction: column;
        /* CRITICAL FIX: Stack columns */
        gap: 3rem;
        /* Reduce gap from 5rem */
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    .col-visual,
    .col-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
        /* Center everything */
    }

    .col-content {
        align-items: center;
        gap: 1.5rem;
        /* Tighter spacing on mobile */
        /* Force center alignment for content */
        padding: 0 1.5rem;
    }

    /* 2. Visual Adjustments */
    /* 2. Visual Adjustments */
    .hero-visual {
        width: 280px;
        /* Fixed width */
        height: 280px;
        /* Fixed height to prevent collapse */
        border-radius: 20px;
        margin: 0 auto;
        /* Ensure centering */
        flex-shrink: 0;
        /* Don't shrink */
    }

    /* 3. Typography Scaling */
    .hero-text {
        font-size: 2.5rem;
        align-items: center;
    }

    .social-proof-text {
        font-size: 1.1rem !important;
        /* Revert to original size on mobile */
        max-width: 300px;
        /* Restore original max-width */
    }

    .poetic-mini {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    /* 4. Interactive Elements */
    .spend-card,
    .whatsapp-btn {
        max-width: 100%;
        width: 100%;
    }

    /* 5. Footer Adjustments */
    .fixed-footer {
        padding: 1rem 1.5rem;
        font-size: 0.7rem;
        background: rgba(17, 20, 31, 0.95);
        /* readable bg */
        backdrop-filter: blur(10px);
    }

    /* 6. Header Adjustments */
    .top-nav {
        padding: 1rem 1.5rem;
        background: rgba(17, 20, 31, 0.95);
        /* readable bg */
        backdrop-filter: blur(10px);
    }

    .brand {
        font-size: 1.4rem;
    }

    .tagline-right {
        font-size: 0.7rem;
    }

    .value-points {
        display: flex;
        /* Ensure flex behavior */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        width: 100%;
        margin-top: 1rem;
    }

    .value-points li {
        justify-content: center;
        /* Center content of li */
    }

    .spend-card {
        justify-content: center;
        /* Center content inside card */
    }

    .demo-subtext {
        text-align: center;
        /* Center the subtext */
    }

    .demo-container {
        align-items: center;
        /* Override flex-start to center "Less rules" text */
    }

    .signup-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }


    /* Allow scrolling on mobile */
    body {
        overflow-y: auto !important;
        height: auto !important;
        display: block;
        /* Remove flex constraint that might lock height */
    }
}