/* ============================================
   CryptoMind AI — Landing Page Styles
   ============================================ */

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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --surface: #16161f;
    --border: #1e1e2e;
    --border-light: #2a2a3e;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-text: linear-gradient(135deg, #818cf8, #06b6d4, #818cf8);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 60px rgba(99,102,241,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s;
}

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

img { max-width: 100%; }

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99,102,241,0.05);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 2px;
}

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

.logo-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 6px;
}

.logo-accent { color: var(--primary-light); }

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

/* --- Language Toggle --- */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
    margin-left: 8px;
}

.lang-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    background: transparent;
    color: var(--text-dim);
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.lang-btn.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25);
}

.lang-btn:hover:not(.active) {
    color: var(--text);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

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

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Hero trust row */
.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg);
    margin-right: -8px;
}

.hero-trust-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-left: 8px;
}

.hero-trust-text strong {
    color: var(--text);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.hero-stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* --- Trading Card (Hero Visual) --- */
.hero-visual {
    display: flex;
    justify-content: center;
}

.trading-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

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

.trading-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.trading-pair { font-weight: 700; font-size: 1.1rem; }

.trading-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trading-status.live {
    background: rgba(16,185,129,0.15);
    color: var(--success);
}

.trading-chart {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(99,102,241,0.02);
}

.chart-svg { width: 100%; height: auto; }

.chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.trading-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.price-value { font-size: 1.5rem; font-weight: 700; }

.trading-change {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.trading-change.positive {
    color: var(--success);
    background: rgba(16,185,129,0.1);
}

.trading-actions-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.ai-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
}

.ai-action.buy {
    background: rgba(16,185,129,0.08);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.15);
}

.ai-action.analyze {
    background: rgba(99,102,241,0.08);
    color: var(--primary-light);
    border: 1px solid rgba(99,102,241,0.15);
}

.action-icon { font-size: 0.9rem; }

.action-time {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-dim);
}

.trading-card-cta {
    margin-top: 4px;
    font-size: 0.9rem !important;
    padding: 12px !important;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.trust-item:hover { color: var(--text); }

.crypto-icon { flex-shrink: 0; }

/* --- CTA Banner --- */
.cta-banner {
    padding: 48px 0;
    background: var(--surface);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cta-banner-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cta-banner-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Large CTA Banner */
.cta-banner-large {
    background: var(--bg);
    padding: 80px 0;
}

.cta-banner-large-inner {
    position: relative;
    padding: 64px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
}

.cta-bg-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-large-content {
    position: relative;
    z-index: 1;
}

.cta-large-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-large-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-large-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-dim);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    border-radius: 100px;
    border: 1px solid rgba(99,102,241,0.15);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Section CTA (after each section) --- */
.section-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-cta-note {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.faq-cta-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-large svg {
    max-width: 100px;
    max-height: 100px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* --- How It Works --- */
.how-it-works {
    padding: 120px 0;
    background: var(--surface);
}

.steps-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.step-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step-illustration svg {
    max-width: 200px;
    height: auto;
}

.step-number {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-light);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.step-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.step-link:hover {
    color: var(--accent);
}

/* --- AI Advantage Section --- */
.ai-advantage {
    padding: 120px 0;
}

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

.advantage-visual {
    display: flex;
    justify-content: center;
}

.advantage-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.advantage-content .section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.advantage-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.advantage-content > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.advantage-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.advantage-item-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.advantage-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Performance --- */
.performance {
    padding: 120px 0;
    background: var(--surface);
}

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

.perf-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.perf-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.perf-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.perf-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.perf-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.perf-bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.perf-bar-fill.animated {
    width: var(--fill);
}

/* --- Comparison Section --- */
.comparison {
    padding: 120px 0;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.comparison-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.comparison-header > div {
    padding: 16px 24px;
    font-weight: 700;
    font-size: 0.9rem;
}

.comparison-human {
    text-align: center;
    color: var(--text-dim);
}

.comparison-ai {
    text-align: center;
    color: var(--primary-light);
}

.comparison-row {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(99,102,241,0.03);
}

.comparison-row > div {
    padding: 16px 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.comparison-row .comparison-feature {
    font-weight: 600;
}

.comparison-row .comparison-human,
.comparison-row .comparison-ai {
    justify-content: center;
}

.comp-bad {
    color: var(--danger);
    opacity: 0.8;
    font-size: 0.85rem;
}

.comp-good {
    color: var(--success);
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: var(--surface);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* --- Pricing --- */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.04);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dim);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- Signup Section --- */
.signup-section {
    padding: 120px 0;
    background: var(--surface);
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.signup-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.signup-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.signup-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.signup-illustration {
    margin-top: 16px;
}

.signup-illustration svg {
    max-width: 100%;
    height: auto;
}

.signup-form-wrapper {
    display: flex;
    justify-content: center;
}

.signup-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.signup-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-subtitle {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a { color: var(--primary-light); }

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 16px;
}

/* --- FAQ --- */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active { border-color: var(--border-light); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--text-dim);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Sticky CTA Bar --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sticky-cta-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 16px;
    max-width: 500px;
}

.footer-cta {
    margin-top: 20px;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 24px 0 80px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.risk-warning {
    margin-top: 12px;
    font-size: 0.72rem !important;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.7;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 440px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(16,185,129,0.15);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-trust-row { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-visual { grid-template-columns: repeat(2, 1fr); }
    .steps-visual .step-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
    .performance-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: 1fr; text-align: center; }
    .advantage-content { order: 1; }
    .advantage-visual { order: 2; }
    .advantage-list { align-items: center; }
    .advantage-item { text-align: left; }
    .advantage-content .btn { margin: 0 auto; }
    .signup-wrapper { grid-template-columns: 1fr; text-align: center; }
    .signup-benefits { align-items: center; }
    .signup-illustration { display: flex; justify-content: center; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .lang-toggle { margin-left: auto; margin-right: 12px; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .section-header h2 { font-size: 1.8rem; }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .steps-visual { grid-template-columns: 1fr; }
    .steps-visual .step-card:last-child { max-width: none; }
    .performance-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { max-width: none; transform: none; }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .comparison-header > div, .comparison-row > div { padding: 12px 12px; font-size: 0.78rem; }
    .footer-links-group { grid-template-columns: 1fr; text-align: center; }
    .cta-banner-large-inner { padding: 40px 24px; }
    .cta-large-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .performance-grid { grid-template-columns: 1fr; }
    .signup-form { padding: 28px 20px; }
    .advantage-content h2 { font-size: 1.8rem; }
    .signup-info h2 { font-size: 1.8rem; }
}

/* --- Integrated Images --- */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.advantage-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.section-header-img {
    display: block;
    max-width: 280px;
    margin: 24px auto 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.signup-img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cta-bg-img {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    opacity: 0.2;
    pointer-events: none;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .section-header-img { max-width: 200px; }
    .cta-bg-img { display: none; }
}

/* --- Animations (scroll reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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