:root {
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-primary: #FF2E63;
    --accent-secondary: #08D9D6;
    --font-main: 'Outfit', sans-serif;
    --spacing-container: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Typography */
h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-primary), #ff5757);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 46, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 46, 99, 0.6);
}

/* ========================================
   HERO SECTION - Ken Burns Slideshow
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
    will-change: opacity, transform;
}

.hero-slideshow .slide.active {
    opacity: 1;
    animation: kenBurns 2.2s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.12) translate(0, 0);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Alternate Ken Burns directions */
.hero-slideshow .slide:nth-child(2).active {
    animation: kenBurns2 2.2s ease-out forwards;
}

.hero-slideshow .slide:nth-child(4).active {
    animation: kenBurns2 2.2s ease-out forwards;
}

.hero-slideshow .slide:nth-child(6).active {
    animation: kenBurns2 2.2s ease-out forwards;
}

@keyframes kenBurns2 {
    0% {
        transform: scale(1.12) translate(3%, 2%);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(10, 10, 10, 0.95));
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding: 2rem 0;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.hero .form-intro {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.signup-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    gap: 0.5rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.legal-check {
    width: 100%;
    margin-top: 1.2rem;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.legal-check:hover {
    color: #ccc;
}

.legal-check a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #444;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    top: 2px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.legal-check input[type="checkbox"]:checked {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.legal-check input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    left: 3px;
    top: -1px;
}

.legal-check input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 5px rgba(8, 217, 214, 0.3);
}

.signup-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #333;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: border-color 0.3s;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--accent-secondary);
}

@media (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    .form-container {
        flex-direction: row;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.5rem;
        border-radius: 60px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .form-container input {
        flex: 1;
        border: none;
        background: transparent;
    }

    .form-container button {
        flex-shrink: 0;
    }
}

/* ========================================
   SCROLLING IMAGE STRIP
   ======================================== */
.image-strip-section {
    padding: 2rem 0;
    background: var(--bg-dark);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.image-strip {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.strip-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollStrip 30s linear infinite;
    width: max-content;
}

.strip-track:hover {
    animation-play-state: paused;
}

@keyframes scrollStrip {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.strip-item {
    flex-shrink: 0;
    width: 250px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.strip-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 46, 99, 0.3);
}

.strip-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    transition: filter 0.3s;
}

.strip-item:hover img {
    filter: brightness(1);
}

/* Labels removed - strip shows images only */

/* ========================================
   PROBLEM INLINE (inside hero)
   ======================================== */
.problem-inline {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.problem-inline h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.problem-inline p {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.highlight-box {
    border-left: 4px solid var(--accent-secondary);
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.highlight-box p {
    margin-bottom: 0.5rem;
    color: #eee;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-card);
    text-align: center;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.step-card:hover::before {
    transform: translateX(100%);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-secondary);
    color: var(--bg-dark);
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-card:nth-child(2) .step-icon {
    background: var(--accent-primary);
    color: white;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Word-by-word text reveal (Antigravity style) */
.text-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(35px);
    filter: blur(4px);
    animation: wordReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* h1 words use clean white - no per-word gradient */
h1.text-reveal .word {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ========================================
   PAPER PLANE ANIMATION
   ======================================== */
.paper-plane {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: 9999;
    pointer-events: none;
    filter: drop-shadow(0 0 10px var(--accent-secondary));
    will-change: offset-path, transform;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050505;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer-socials {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-socials a svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-secondary);
}

.footer-socials a:hover svg {
    transform: translateY(-3px) scale(1.1);
    color: var(--accent-secondary);
}

.footer-socials a span {
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

footer p {
    color: #444;
    font-size: 0.85rem;
    margin-bottom: 0;
}