@font-face {
    font-family: 'Inter';
    src: url('/fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

/* ───── Variables ───── */
:root {
    --bg: #0A0A10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text: #F5F0EB;
    --text-muted: #8A8494;
    --coral: #FF6B4A;
    --amber: #FFAA40;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 107, 74, 0.25);
    --glow-coral: rgba(255, 107, 74, 0.12);
    --glow-amber: rgba(255, 170, 64, 0.08);
    --radius: 14px;
    --radius-lg: 20px;
}

/* ───── Reset ───── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ───── Scroll Progress ───── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--coral), var(--amber));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ───── Background Effects ───── */
.stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    top: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--glow-coral) 0%, transparent 70%);
    animation: drift1 24s ease-in-out infinite;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, var(--glow-amber) 0%, transparent 70%);
    animation: drift2 28s ease-in-out infinite;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.06) 0%, transparent 70%);
    animation: drift3 32s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8vw, 6vh) scale(1.08); }
}
@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6vw, -4vh) scale(1.1); }
}
@keyframes drift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8vw, 3vh) scale(1.05); }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ───── Navigation ───── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    padding: 0.85rem 2rem;
}

.nav-logo img {
    display: block;
    height: 26px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-instagram {
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-instagram:hover {
    color: var(--text);
}

/* ───── Hero ───── */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-content {
    max-width: 720px;
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    background: var(--bg-card);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255, 107, 74, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--coral), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* ───── Signup Form (shared) ───── */
.signup-form {
    display: flex;
    gap: 0;
    max-width: 460px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form:focus-within {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.06), 0 0 80px rgba(255, 170, 64, 0.03);
}

.signup-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

.signup-form input::placeholder {
    color: var(--text-muted);
}

.signup-form button {
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--coral), var(--amber));
    color: #0A0A10;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.signup-form button:hover { opacity: 0.9; }
.signup-form button:active { transform: scale(0.97); }

.hero-form-success,
.cta-form-success {
    display: none;
    background: linear-gradient(135deg, var(--coral), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.hero-form-success.show,
.cta-form-success.show {
    display: block;
    animation: fadeUp 0.5s ease forwards;
}

.form-privacy {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.6;
    text-align: center;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.form-privacy a:hover {
    color: var(--text);
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    color: var(--text-muted);
    opacity: 0.4;
    animation: bobDown 2.5s ease-in-out infinite;
}

@keyframes bobDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ───── Section Shared ───── */
section {
    position: relative;
    z-index: 2;
}

.section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* ───── Audiences ───── */
.audiences {
    padding: 5rem 0;
}

.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    max-width: 700px;
    margin: 0 auto;
}

.audience-pill {
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.audience-pill:hover {
    border-color: var(--border-hover);
    background: rgba(255, 107, 74, 0.05);
}

.pill-more {
    color: var(--text-muted);
    font-style: italic;
    border-style: dashed;
}

/* ───── Features ───── */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.feature-card {
    flex: 0 1 calc(50% - 0.625rem);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(255, 107, 74, 0.06);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(255, 170, 64, 0.08));
    color: var(--coral);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ───── Steps ───── */
.steps {
    padding: 6rem 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.step-connector {
    width: 60px;
    min-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--border), var(--border-hover), var(--border));
    margin-top: 28px;
    align-self: flex-start;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 1.2rem;
    font-weight: 700;
    background-image: linear-gradient(135deg, var(--coral), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-number {
    border-color: var(--border-hover);
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.1);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ───── CTA ───── */
.cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 107, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cta .section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
}

.cta-form {
    margin-top: 0;
}

/* ───── Footer ───── */
.footer {
    position: relative;
    z-index: 2;
    padding: 2.5rem 0;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    display: block;
    height: 22px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(138, 132, 148, 0.6);
}

.footer-bottom a {
    color: rgba(138, 132, 148, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom .heart {
    vertical-align: -0.1em;
    color: var(--coral);
}

.footer-dot {
    opacity: 0.4;
}

/* ───── Language Switcher ───── */
.lang-switcher {
    position: relative;
}

.lang-current {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-current:hover {
    color: var(--text);
    border-color: var(--border-hover);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 15, 24, 0.95);
    border: 1px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    min-width: 48px;
    z-index: 110;
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.4rem 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-align: center;
    transition: color 0.15s ease, background 0.15s ease;
}

.lang-option:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.lang-option.active {
    color: var(--coral);
}

/* ───── Modal ───── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;
    padding: 4rem 2rem;
}

.modal-overlay.open {
    display: block;
}

.modal-content {
    position: relative;
    background: rgba(15, 15, 24, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
    color: var(--text);
    border-color: var(--border-hover);
}

/* ───── Legal Content ───── */
.legal-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.legal-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.legal-content ul li {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.legal-content ul li::before {
    content: '\2013';
    position: absolute;
    left: 0;
    color: var(--coral);
}

.legal-content a {
    color: var(--coral);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.8;
}

.legal-updated {
    margin-top: 3rem;
    font-size: 0.82rem;
    color: rgba(138, 132, 148, 0.5);
    font-style: italic;
}

/* ───── Reveal Animations ───── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.15s; }

.steps-grid .step-card:nth-child(3) { transition-delay: 0.1s; }
.steps-grid .step-card:nth-child(5) { transition-delay: 0.2s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
    .nav { padding: 1rem 1.25rem; }
    .nav.scrolled { padding: 0.75rem 1.25rem; }
    .container { padding: 0 1.25rem; }

    .hero { padding: 5rem 1.25rem 3rem; min-height: 100svh; }
    .hero-title { margin-bottom: 1.25rem; }
    .hero-subtitle { margin-bottom: 2rem; }

    .signup-form {
        flex-direction: column;
        border-radius: var(--radius);
    }
    .signup-form input {
        text-align: center;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    .signup-form button { padding: 1rem; }

    .feature-card {
        flex: 0 1 100%;
    }

    .features-grid {
        gap: 1rem;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .step-connector {
        width: 1px;
        height: 32px;
        min-width: 1px;
        margin-top: 0;
        background: linear-gradient(180deg, var(--border), var(--border-hover), var(--border));
    }

    .step-card { padding: 0; }
    .audiences { padding: 3.5rem 0; }
    .features, .steps, .cta { padding: 4rem 0; }

    .hero-scroll-hint { display: none; }
    .modal-overlay { padding: 2rem 1rem; }
    .modal-content { padding: 2rem 1.5rem; }
}

@media (max-width: 420px) {
    .hero-badge { font-size: 0.72rem; padding: 0.4rem 0.85rem 0.4rem 0.65rem; }
    .audience-pill { font-size: 0.82rem; padding: 0.45rem 0.9rem; }
    .feature-card { padding: 1.5rem; }
}
