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

/* ==============================
   Design Tokens
   ============================== */
:root {
    --bg-primary: #0F0A06;
    --bg-secondary: #1A1008;
    --bg-card: #1E140A;
    --bg-card-hover: #271A0E;

    --orange: #FF6B35;
    --orange-light: #FF8C5A;
    --orange-glow: rgba(255, 107, 53, 0.15);
    --amber: #FFB347;
    --amber-light: #FFC875;
    --cream: #FFF5E6;
    --cream-muted: #D4B896;

    --text-primary: #FFF5E6;
    --text-secondary: #C8A882;
    --text-muted: #8A6E52;

    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FFB347 50%, #FF8C5A 100%);
    --gradient-card: linear-gradient(145deg, #1E140A 0%, #271A0E 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.2) 0%, transparent 70%);

    --stroke: #FF6B35;
    --stroke-subtle: rgba(255, 107, 53, 0.2);
    --border-width: 1px;

    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 107, 53, 0.1);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-btn: 0 4px 20px rgba(255, 107, 53, 0.4);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;

    --transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 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)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ==============================
   Layout
   ============================== */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ==============================
   Header / Nav
   ============================== */
header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 10, 6, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke-subtle);
    margin: 0 -2rem;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    letter-spacing: 0.2px;
}

nav a:hover {
    color: var(--orange-light);
}

nav a.nav-cta {
    background: var(--gradient-hero);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-btn);
}

nav a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.55);
    color: white;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    padding: 6rem 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-glow);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange-light);
    width: fit-content;
    letter-spacing: 0.5px;
}

.hero-badge::before {
    content: '✦';
    font-size: 0.75rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
}

h1 .highlight {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gradient-hero);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-btn);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid var(--stroke-subtle);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange-light);
    background: var(--orange-glow);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stroke-subtle);
    margin-top: 0.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Hero image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow), 0 24px 64px rgba(0,0,0,0.7);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0.5deg); }
    50% { transform: translateY(-12px) rotate(-0.5deg); }
}

/* ==============================
   Section Titles
   ============================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}

/* ==============================
   Features Section
   ============================== */
#features {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--stroke-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 107, 53, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 30px rgba(255, 107, 53, 0.12);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Large feature card */
.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #1E140A 0%, #2A1A0D 50%, #1A1008 100%);
    border-color: rgba(255, 107, 53, 0.25);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--orange-glow);
    border: 1px solid rgba(255, 107, 53, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

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

.feature-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    background: var(--orange-glow);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

/* ==============================
   How It Works Section
   ============================== */
#how-it-works {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: steps;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--stroke-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.step-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* ==============================
   AI Safety Section
   ============================== */
#safety {
    padding: 5rem 0;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.safety-card {
    background: var(--gradient-card);
    border: 1px solid var(--stroke-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.safety-card:hover {
    border-color: rgba(255, 107, 53, 0.25);
    transform: translateY(-2px);
}

.safety-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.safety-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

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

/* ==============================
   CTA / Download Section
   ============================== */
#download {
    padding: 6rem 0;
}

.cta-card {
    background: linear-gradient(135deg, #1E140A 0%, #2A1A0D 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==============================
   Footer
   ============================== */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--stroke-subtle);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--orange-light);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==============================
   Content Pages (Privacy, Terms)
   ============================== */
.content-page {
    padding: 4rem 0 6rem;
    max-width: 780px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-page .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.content-block {
    background: var(--gradient-card);
    border: 1px solid var(--stroke-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.content-block:hover {
    border-color: rgba(255, 107, 53, 0.2);
}

.content-block h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.content-block h2 .block-icon {
    font-size: 1.1rem;
}

.content-block p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.content-block ul li {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.65;
    padding-left: 1.25rem;
    position: relative;
}

.content-block ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

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

.content-block a {
    color: var(--orange-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.content-block a:hover {
    color: var(--amber);
}

.disclaimer-box {
    background: rgba(255, 107, 53, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.disclaimer-box::before {
    content: '⚠️  ';
}

/* Contact section on content pages */
.contact-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-card);
    border: 1px solid var(--stroke-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-img {
        max-width: 340px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.featured {
        grid-column: span 1;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }
