:root {
    --black: #0a0a0a;
    --white: #f5f5f5;
    --gray: #1a1a1a;
    --gray-light: #2a2a2a;
    --accent: #000000;
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-mono);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    cursor: crosshair;
}

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

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

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

/* Selection */
::selection {
    background: var(--white);
    color: var(--black);
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--black);
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .time-warning {
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}

.sticky-cta .download-btn {
    background: var(--white);
    color: var(--black);
    padding: 24px 48px;
    font-family: var(--font-display);
    font-size: 16px;
    border-radius: 10px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.sticky-cta .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
}

.sticky-cta .download-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.sticky-cta .download-btn:hover::before {
    left: 100%;
}

.sticky-cta .download-btn:active {
    transform: scale(0.98);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Time decay visualization */
.time-decay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.08;
    pointer-events: none;
}

.decay-counter {
    font-family: var(--font-mono);
    font-size: clamp(80px, 20vw, 300px);
    font-weight: 700;
    letter-spacing: -0.05em;
}

/* Grain overlay */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E") repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
    max-width: 1400px;
}

.hero-logo {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 0.2s forwards;
}

.hero-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 12vw, 180px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(60px);
    animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero h1 span {
    display: block;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(12px, 1.5vw, 16px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
    margin-bottom: 60px;
}

.hero-cta {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 20px 60px;
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.15em;
    text-decoration: none;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    transition: all 0.2s ease;
    overflow: hidden;
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(86, 86, 86, 0.511);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,255,255,0.15);
}

.hero-cta:hover::after {
    width: 300px;
    height: 300px;
}

.hero-cta:active {
    transform: scale(0.96);
}

.hero-platforms {
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
    color: rgba(255,255,255,0.4);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 1s ease 2.2s forwards;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ===== FEATURES SECTION ===== */
.features {
    min-height: 100vh;
    background: var(--white);
    color: var(--black);
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.tear-transition {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--black);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
    z-index: 10;
}

.features-content {
    padding: 180px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    margin-bottom: 50px;
}

.features-header h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 100px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-header h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-text {
        order: 2;
    }
    .features-phone {
        order: 1;
    }
}

/* Left Column - Dynamic Text */
.features-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-bullets {
    list-style: none;
}

.feature-bullet {
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.feature-bullet:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.feature-bullet.active {
    opacity: 1;
}

.feature-bullet:hover {
    opacity: 0.7;
}

.feature-bullet.active:hover {
    opacity: 1;
}

.feature-bullet h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 40px);
    letter-spacing: 0.02em;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-bullet h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.feature-bullet.active h3::before {
    opacity: 1;
}

.feature-bullet p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(0,0,0,0.6);
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0;
}

.feature-bullet.active p {
    max-height: 80px;
    margin-top: 10px;
}

/* Right Column - Phone Mockup */
.features-phone {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-phone.visible {
    opacity: 1;
    transform: translateY(0);
}

.phone-frame-white {
    background: var(--black);
    border-radius: 55px;
    padding: 12px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow: 
        0 60px 120px rgba(0,0,0,0.35),
        0 0 0 1px rgba(0,0,0,0.1);
    position: relative;
}

.phone-screen-carousel {
    background: var(--black);
    border-radius: 44px;
    overflow: hidden;
    position: relative;
}

.phone-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 44px;
}

.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: var(--gray);
    border-radius: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.3);
}

.screenshot-placeholder svg {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

.screenshot-placeholder span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--black);
    width: 24px;
    border-radius: 4px;
}

/* ===== DOWNLOAD CTA SECTION ===== */
.download-cta {
    min-height: 100vh;
    background: var(--black);
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 140px 60px;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0,255,0,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    max-width: 1100px;
    z-index: 10;
}

.download-logo {
    margin-bottom: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-logo.visible {
    opacity: 1;
    transform: scale(1);
}

.download-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 24px;
}

.download-headline {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 140px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-headline.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-subtext {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.download-subtext.visible {
    opacity: 0.6;
    transform: translateY(0);
}

/* QR Codes Section */
.qr-section {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.qr-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(255,255,255,0.15);
}

.qr-code img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.qr-placeholder {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.qr-label {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.store-buttons.visible {
    opacity: 1;
    transform: translateY(0);
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    color: var(--black);
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(255,255,255,0.2);
}

.store-btn:active {
    transform: scale(0.98);
}

.store-btn svg {
    width: 36px;
    height: 36px;
}

.store-btn-text {
    text-align: left;
}

.store-btn-small {
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.store-btn-big {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .download-cta {
        padding: 100px 30px;
    }
    
    .qr-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .store-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray);
    padding: 120px 60px 180px;
    border-top: 1px solid var(--gray-light);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--white);
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.5;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    opacity: 0.4;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.4;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .footer {
        padding: 80px 40px 160px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 60px 24px 140px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sticky-cta {
        padding: 0 20px;
    }

    .sticky-cta .time-warning {
        display: none;
    }

    .sticky-cta .download-btn {
        width: 100%;
        text-align: center;
    }

    .features-content {
        padding: 140px 20px 60px;
    }

    .download-cta {
        padding: 80px 20px;
    }

    .footer {
        padding: 60px 20px 120px;
    }
}

/* ===== PAGE STYLES ===== */
.page-header {
    padding: 140px 40px 80px;
    text-align: center;
    background: var(--black);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 120px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-content {
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 24px;
    margin-top: 60px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.8;
    margin-bottom: 20px;
}

.page-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.page-content li {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 12px;
}

.page-content a {
    color: var(--white);
    text-decoration: underline;
}

.page-content a:hover {
    opacity: 0.7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    margin-bottom: 40px;
}

.back-link:hover {
    opacity: 1;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Contact Form */
.contact-form {
    margin-top: 40px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.6;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--gray);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
}

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

.submit-btn {
    background: var(--white);
    color: var(--black);
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,255,255,0.15);
}
