/* ============================================
   YZOMS - Complete Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #1a1a1a;
    --bg-4: #222222;
    --card: #161616;
    --card-hover: #1c1c1c;
    --border: #2a2a2a;
    --border-light: #333333;
    --fg: #f0f0f0;
    --fg-2: #b0b0b0;
    --fg-3: #707070;
    --accent: #FF6B35;
    --accent-hover: #FF8255;
    --accent-glow: rgba(255, 107, 53, 0.15);
    --accent-glow-strong: rgba(255, 107, 53, 0.3);
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --max-width: 1200px;
    --header-h: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 12px; }
p { margin-bottom: 16px; color: var(--fg-2); }
ul { list-style: none; }

/* --- Container --- */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 6px 24px var(--accent-glow-strong);
    transform: translateY(-1px);
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #e85d2c);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow-strong);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
    color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s;
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fg);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}
.nav-logo:hover { color: var(--fg); }
.logo-svg { flex-shrink: 0; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: var(--fg-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--fg); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 20px 60px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-gradient-1 {
    position: absolute;
    width: 800px; height: 800px;
    top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
    animation: floatSlow 20s ease-in-out infinite;
}
.hero-gradient-2 {
    position: absolute;
    width: 600px; height: 600px;
    bottom: -150px; left: -150px;
    background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
    animation: floatSlow 25s ease-in-out infinite reverse;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-float {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.06;
    z-index: 0;
}
.hero-float-1 { width: 300px; height: 300px; top: 15%; left: 5%; animation: floatSlow 18s ease-in-out infinite; }
.hero-float-2 { width: 200px; height: 200px; bottom: 20%; right: 10%; animation: floatSlow 22s ease-in-out infinite 3s; }
.hero-float-3 { width: 150px; height: 150px; top: 40%; right: 25%; animation: floatSlow 15s ease-in-out infinite 6s; }

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    width: 100%;
}
.hero-title {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--fg) 0%, var(--fg-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--fg-2);
    margin-bottom: 12px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.hero-note {
    font-size: 14px;
    color: var(--fg-3);
    margin-bottom: 36px;
}

/* --- Search Box --- */
.hero-search-box {
    max-width: 520px;
    margin: 0 auto;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 6px 6px 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-icon {
    width: 20px; height: 20px;
    color: var(--fg-3);
    flex-shrink: 0;
    margin-right: 12px;
}
.search-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 16px;
    padding: 10px 0;
    min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--fg-3); }
.search-input-wrap .btn { flex-shrink: 0; border-radius: var(--radius-sm); padding: 12px 24px; }
.search-error {
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--radius-sm);
    color: var(--error);
    font-size: 14px;
}

/* --- Result Card --- */
.hero-results { margin-top: 32px; }
.result-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.result-pic {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    background: var(--bg-3);
    flex-shrink: 0;
}
.result-username {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--fg);
}
.result-name { color: var(--fg-2); font-size: 14px; }
.result-badges { display: flex; gap: 8px; margin-top: 4px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-verified { background: rgba(59,130,246,0.15); color: #60a5fa; }
.badge-private { background: rgba(245,158,11,0.15); color: #fbbf24; }
.result-bio {
    font-size: 14px;
    color: var(--fg-2);
    margin-bottom: 20px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.result-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.result-stat {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
}
.result-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--fg);
}
.result-stat span {
    font-size: 12px;
    color: var(--fg-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.result-stat + .result-stat { border-left: 1px solid var(--border); }

/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.content-section:nth-child(odd) { background: var(--bg-2); }

/* --- Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    margin-bottom: 16px;
}

/* --- Features Grid --- */
.features-grid, .benefits-grid, .data-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.feature-card, .benefit-card, .data-feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover, .benefit-card:hover, .data-feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.feature-icon, .benefit-icon, .data-feature-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--accent);
}
.feature-icon svg, .benefit-icon svg, .data-feature-icon svg {
    width: 24px; height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- 8 Ways --- */
.ways-list { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.way-item {
    display: flex;
    gap: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s;
}
.way-item:hover { border-color: var(--accent); }
.way-number {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    border-radius: var(--radius-sm);
}
.way-content h3 { margin-bottom: 8px; }

/* --- Journey Timeline --- */
.journey-timeline { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 40px;
}
.journey-step.last { padding-bottom: 0; }
.journey-dot {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    z-index: 1;
}
.journey-dot svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-line {
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: calc(100% - 48px);
    background: linear-gradient(to bottom, var(--accent), var(--border));
}
.journey-step.last .journey-line { display: none; }
.journey-content h3 { color: var(--accent); margin-bottom: 4px; }

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--fg-3); }

/* --- Solutions Grid --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.solution-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}
.solution-card:hover { transform: translateY(-4px); }
.solution-card.primary {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(255,107,53,0.08), var(--card));
}
.solution-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}
.solution-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-3);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--fg-2);
}
.solution-card.primary .solution-icon { background: var(--accent-glow); color: var(--accent); }
.solution-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Timeline --- */
.timeline { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 36px;
    position: relative;
}
.timeline-item.last { padding-bottom: 0; }
.timeline-year {
    flex-shrink: 0;
    width: 80px;
    text-align: right;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    padding-top: 2px;
}
.timeline-line {
    flex-shrink: 0;
    width: 2px;
    min-height: 100%;
    background: var(--border);
    position: relative;
}
.timeline-line::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -4px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
}
.timeline-content { padding-top: 0; }
.timeline-content h3 { margin-bottom: 6px; }
.timeline-content p { font-size: 14px; }

/* --- Comparison Table --- */
.table-wrapper { overflow-x: auto; margin-top: 32px; -webkit-overflow-scrolling: touch; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table th {
    background: var(--bg-3);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--fg);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.comparison-table td { color: var(--fg-2); }
.comparison-table td.highlight {
    color: var(--success);
    font-weight: 600;
}
.comparison-table tr:hover td { background: var(--card); }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: var(--accent); }
.testimonial-stars { margin-bottom: 12px; color: var(--warning); display: flex; gap: 2px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--warning); stroke: none; }
.testimonial-card p { font-style: italic; font-size: 14px; margin-bottom: 16px; }
.testimonial-name { font-weight: 600; color: var(--fg); font-size: 14px; }

/* --- FAQ --- */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}
.faq-item:hover, .faq-item.open { border-color: var(--accent); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--fg);
    gap: 16px;
}
.faq-chevron {
    flex-shrink: 0;
    width: 20px; height: 20px;
    color: var(--fg-3);
    transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 24px 20px; margin: 0; font-size: 14px; }

/* --- CTA Box --- */
.cta-box {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.03));
    border: 1px solid rgba(255,107,53,0.25);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { max-width: 500px; margin: 0 auto 28px; }

/* --- Static Pages --- */
.static-page { padding-top: 100px; padding-bottom: 80px; }
.static-page h2 { margin-top: 40px; margin-bottom: 16px; }
.static-page h3 { margin-top: 28px; margin-bottom: 12px; color: var(--fg); }
.static-page p { margin-bottom: 16px; }

/* --- Contact Form --- */
.contact-form { margin-top: 40px; max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--fg);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 24px;
}
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--error); }

/* --- Article Pages --- */
.article-hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 20px 60px;
    text-align: center;
    overflow: hidden;
}
.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.article-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.article-category {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-date { font-size: 14px; color: var(--fg-3); }
.article-title { margin-bottom: 16px; }
.article-excerpt { font-size: 1.1rem; color: var(--fg-2); }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 80px;
}
.article-body h2 { margin-top: 40px; }
.article-body h3 { color: var(--fg); }
.article-body p { margin-bottom: 18px; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; color: var(--fg-2); list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.article-sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.article-sidebar h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-articles { display: flex; flex-direction: column; gap: 12px; }
.sidebar-article {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color 0.3s;
}
.sidebar-article:hover { border-color: var(--accent); }
.sidebar-article-title { font-size: 13px; font-weight: 600; color: var(--fg); line-height: 1.4; }
.sidebar-article-date { font-size: 11px; color: var(--fg-3); }

/* --- Processing Page --- */
.processing-page, .unlocked-page {
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 20px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.processing-container, .unlocked-container { max-width: 560px; width: 100%; margin-top: 40px; }
.processing-profile-card { margin-bottom: 32px; }
.processing-steps { display: flex; flex-direction: column; gap: 4px; }
.processing-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    opacity: 0.3;
    transition: opacity 0.4s, border-color 0.4s;
}
.processing-step.active { opacity: 1; border-color: var(--accent); }
.processing-step.done { opacity: 0.7; border-color: var(--success); }
.step-indicator { width: 24px; height: 24px; flex-shrink: 0; }
.spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.step-done { color: var(--success); }
.step-done svg { width: 22px; height: 22px; stroke: var(--success); fill: none; stroke-width: 2; }
.step-text { font-size: 14px; color: var(--fg-2); }
.processing-step.active .step-text { color: var(--fg); }
.processing-percent {
    text-align: center;
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

/* --- Unlocked Page --- */
.unlock-success {
    text-align: center;
    margin-bottom: 28px;
}
.unlock-success-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.1);
    border-radius: 50%;
    color: var(--success);
}
.unlock-success-icon svg { width: 32px; height: 32px; stroke: var(--success); fill: none; stroke-width: 2; }
.unlock-success h2 { margin-bottom: 8px; font-size: 1.5rem; }
.unlock-success p { font-size: 14px; }

.locked-content {
    margin-top: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
}
.lock-icon-wrap {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 50%;
    color: var(--accent);
}
.lock-icon-wrap svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 2; }
.locked-content h3 { margin-bottom: 12px; }
.locked-content > p { font-size: 14px; max-width: 400px; margin: 0 auto 28px; }

.offers-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.offer-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: var(--fg-3);
    font-size: 14px;
}
.offer-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
    color: var(--fg);
}
.offer-card:hover {
    border-color: var(--accent);
    background: var(--bg-4);
    transform: translateX(4px);
    color: var(--fg);
}
.offer-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    color: var(--accent);
}
.offer-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }
.offer-info { flex: 1; min-width: 0; }
.offer-title { font-weight: 600; font-size: 14px; color: var(--fg); margin-bottom: 2px; }
.offer-meta { font-size: 12px; color: var(--fg-3); }
.offer-arrow { flex-shrink: 0; color: var(--fg-3); }
.offer-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.offer-empty { text-align: center; padding: 24px; color: var(--fg-3); font-size: 14px; }

/* --- Tool Hero (non-home tools) --- */
.tool-hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 20px 60px;
    text-align: center;
    overflow: hidden;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}
.footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo:hover { color: var(--fg); }
.footer-desc { font-size: 14px; color: var(--fg-3); max-width: 260px; }
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 14px;
    color: var(--fg-3);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--fg-3); margin: 0; }

/* --- 404 Page --- */
.section-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Loader Button State --- */
.btn-loader svg { width: 20px; height: 20px; animation: spin 0.8s linear infinite; stroke: #fff; fill: none; stroke-width: 2; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-link { padding: 14px 0; width: 100%; font-size: 16px; }
    .nav-link.active::after { display: none; }
    .hero { padding-top: calc(var(--header-h) + 30px); min-height: auto; padding-bottom: 50px; }
    .hero-title { font-size: 2rem; }
    .search-input-wrap { flex-direction: column; gap: 10px; padding: 12px; }
    .search-input-wrap input { width: 100%; }
    .search-input-wrap .btn { width: 100%; }
    .result-header { flex-direction: column; text-align: center; }
    .result-stats { flex-direction: column; gap: 0; }
    .result-stat + .result-stat { border-left: none; border-top: 1px solid var(--border); }
    .steps-grid, .features-grid, .benefits-grid, .data-features-grid, .solutions-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .way-item { flex-direction: column; text-align: center; }
    .timeline-item { flex-direction: column; gap: 8px; }
    .timeline-year { text-align: left; }
    .timeline-line { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-box { padding: 32px 20px; }
    .content-section { padding: 60px 0; }
    .comparison-table { font-size: 12px; }
    .comparison-table th, .comparison-table td { padding: 10px 8px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; }
    .journey-step { gap: 12px; }
    .journey-dot { width: 40px; height: 40px; }
}
/* --- Articles Listing Page --- */
.articles-list-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    color: inherit;
}

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-3);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-3);
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-category {
    display: inline-block;
    width: fit-content;
    padding: 3px 12px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--fg-3);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-date {
    font-size: 12px;
    color: var(--fg-3);
}

.articles-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--fg-3);
}

.articles-empty svg {
    margin-bottom: 20px;
    opacity: 0.4;
}

.articles-empty h3 {
    color: var(--fg-2);
    margin-bottom: 8px;
}

.articles-empty p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-card-image {
        height: 180px;
    }
}