/* ============================================
   ANTIROT.ORG — Design System
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(220, 38, 38, 0.3);
    --text-primary: #f5f5f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-red: #dc2626;
    --accent-red-dim: #991b1b;
    --accent-orange: #ea580c;
    --accent-amber: #d97706;
    --glow-red: rgba(220, 38, 38, 0.15);
    --glow-orange: rgba(234, 88, 12, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Ambient Background --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-bg::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, var(--glow-red) 0%, transparent 70%);
    animation: ambientDrift 20s ease-in-out infinite;
}

.ambient-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, var(--glow-orange) 0%, transparent 70%);
    animation: ambientDrift 25s ease-in-out infinite reverse;
}

@keyframes ambientDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 3%) scale(1.05); }
    66% { transform: translate(-3%, -5%) scale(0.95); }
}

/* --- Grid Overlay --- */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 100%);
}

/* --- Layout --- */
.page-wrapper {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 10, 11, 0.7);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.nav-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-red);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

#visitor-count {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-red);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-sans);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-glass);
    transform: translateY(-1px);
}

/* --- Download Buttons Group --- */
.hero-downloads-wrapper {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.45s forwards;
    opacity: 0;
}

.hero-download-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-download-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.btn-download:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-download-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(234, 88, 12, 0.15));
    border: 1px solid rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-download:hover .btn-download-icon-wrap {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(234, 88, 12, 0.25));
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.btn-download-icon {
    flex-shrink: 0;
    color: #e5e5e5;
    transition: color 0.3s ease;
}

.btn-download:hover .btn-download-icon {
    color: #fff;
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.btn-download-sub {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.btn-download:hover .btn-download-sub {
    color: var(--text-primary);
}

.btn-download-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.btn-download-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-4px);
}

.btn-download:hover .btn-download-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--text-secondary);
}



/* --- Hero Visual --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.coach-image-wrapper {
    position: relative;
    width: 420px;
    height: 480px;
}

.coach-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, var(--glow-red) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: coachGlow 4s ease-in-out infinite;
}

@keyframes coachGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.coach-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    mix-blend-mode: lighten;
}

/* Floating quote bubbles around the coach */
.coach-quote {
    position: absolute;
    padding: 12px 18px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    animation: floatBubble 6s ease-in-out infinite;
}

.coach-quote.q1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.coach-quote.q2 {
    bottom: 25%;
    left: -15%;
    animation-delay: 2s;
}

.coach-quote.q3 {
    top: 45%;
    right: -20%;
    animation-delay: 4s;
}

.coach-quote .quote-accent {
    color: var(--accent-red);
    font-weight: 700;
}

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

/* --- Ticker / Social Proof --- */
.ticker-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.ticker-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
    gap: 60px;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.ticker-item:hover {
    color: rgba(255, 255, 255, 0.2);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Coach Quote Section --- */
.coach-says {
    padding: 120px 0;
    text-align: center;
}

.coach-says-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.big-quote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    position: relative;
    padding: 0 40px;
}

.big-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-red);
    opacity: 0.3;
    line-height: 1;
}

.big-quote .highlight {
    color: var(--accent-red);
}

.coach-attribution {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Features Section --- */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-red);
    opacity: 0.4;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glow-red);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Chat Demo Section --- */
.chat-demo {
    padding: 120px 0;
}

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

.chat-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.chat-status {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.chat-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.chat-messages {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 340px;
}

.msg {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: msgAppear 0.4s ease forwards;
}

.msg.coach {
    align-self: flex-start;
}

.msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.msg.coach .msg-avatar {
    background: var(--accent-red-dim);
    color: white;
}

.msg.user .msg-avatar {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.5;
}

.msg.coach .msg-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.msg.user .msg-bubble {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--text-primary);
}

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

/* --- How It Works --- */
.how-it-works {
    padding: 120px 0;
}

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

.step-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    counter-increment: step;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(220, 38, 38, 0.15);
    margin-bottom: 16px;
    line-height: 1;
    font-family: var(--font-mono);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(234, 88, 12, 0.05) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

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

/* --- Auth Page --- */
.auth-page {
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 72px;
    align-items: center;
}

.auth-copy {
    max-width: 620px;
}

.auth-title {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.auth-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
}

.auth-notes {
    display: grid;
    gap: 14px;
    margin-top: 36px;
}

.auth-notes div {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.auth-notes strong {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.auth-notes span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-card {
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.auth-card-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-red);
}

.auth-card h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

.auth-actions {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.auth-provider {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font: inherit;
    text-align: left;
}

.auth-provider:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.provider-mark {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-weight: 800;
}

.provider-state {
    color: var(--accent-amber);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 18px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--border-subtle);
}

.auth-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 28px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.auth-primary {
    width: 100%;
    justify-content: center;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-downloads-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-download-label {
        justify-content: center;
    }

    .hero-download-label::after {
        display: none;
    }

    .hero-downloads-container {
        justify-content: center !important;
    }

    .hero-visual {
        order: -1;
    }

    .coach-image-wrapper {
        width: 300px;
        height: 340px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chat-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .coach-quote.q1,
    .coach-quote.q2,
    .coach-quote.q3 {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-downloads-container {
        flex-direction: column;
        width: 100%;
    }

    .btn-download {
        width: 100%;
    }

    .btn-download-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .cta-card {
        padding: 48px 24px;
    }

    .auth-shell {
        padding-top: 110px;
    }

    .auth-card {
        padding: 24px;
    }

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