/* Baseline Website - Refined Monochrome */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --bg-void: #000000;
    --bg-elevated: #080808;
    --bg-surface: #0f0f0f;
    --bg-card: #141414;

    --text-primary: #ffffff;
    --text-secondary: #737373;
    --text-tertiary: #404040;

    --accent: #d4a574;
    --accent-dim: rgba(212, 165, 116, 0.15);

    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-dim);
    color: var(--text-primary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s var(--ease-out-quart);
}

a:hover {
    color: var(--accent);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
}

/* ============================================
   HEADER
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    pointer-events: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.header-nav a:hover {
    color: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px;
}

.hero-content {
    max-width: 720px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.1s both;
}

.hero h1 {
    font-size: clamp(48px, 11vw, 88px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 28px;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.15s both;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero .tagline {
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.25s both;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */

section {
    padding: clamp(80px, 14vh, 140px) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(56px, 9vh, 80px);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: clamp(19px, 2.8vw, 24px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background: var(--bg-void);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.feature-card {
    background: var(--bg-void);
    padding: clamp(28px, 4vw, 48px);
    transition: background 0.4s var(--ease-out-quart);
}

.feature-card:hover {
    background: var(--bg-elevated);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--accent);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.4s var(--ease-out-quart);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 28px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-tertiary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: var(--bg-void);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--border-strong);
}

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured::before {
    content: 'Best Value';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-void);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}

.pricing-period {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.pricing-amount {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.pricing-card.featured .pricing-amount {
    color: var(--accent);
}

.pricing-amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
}

.pricing-card.featured .pricing-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a574' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ============================================
   FINAL SECTION
   ============================================ */

.final {
    padding: clamp(100px, 18vh, 180px) 0;
    text-align: center;
}

.final-content {
    max-width: 520px;
    margin: 0 auto;
}

.final h2 {
    font-size: clamp(36px, 7vw, 52px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.final h2 .highlight {
    color: var(--accent);
}

.final p {
    font-size: 17px;
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

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

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-right {
    text-align: right;
}

.footer-contact {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px 100px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

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

.legal-content h1 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.legal-content .last-updated {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.legal-content > p:first-of-type {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.75;
}

.legal-content ul {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 0;
    list-style: none;
}

.legal-content li {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background: var(--text-tertiary);
    border-radius: 50%;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step-number {
        font-size: 36px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.05s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.15s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.25s; }
