/* =============================================
   冷凍弁当データアナリスト - Design System
   Dark theme with data-science aesthetic
   ============================================= */

/* Base & Reset */
:root {
    /* Colors - Dark data analyst theme */
    --clr-bg-deep: #050a18;
    --clr-bg-primary: #0a0f1e;
    --clr-bg-secondary: #111827;
    --clr-bg-card: #1a2235;
    --clr-bg-card-hover: #1f2a40;
    --clr-bg-elevated: rgba(26, 34, 53, 0.8);

    /* Accent colors */
    --clr-teal: #14b8a6;
    --clr-teal-dark: #0d9488;
    --clr-teal-light: #5eead4;
    --clr-emerald: #10b981;
    --clr-cyan: #06b6d4;
    --clr-amber: #f59e0b;
    --clr-rose: #f43f5e;
    --clr-purple: #a78bfa;
    --clr-blue: #3b82f6;

    /* Neutral */
    --clr-white: #f0f4f8;
    --clr-gray-100: #e2e8f0;
    --clr-gray-200: #cbd5e1;
    --clr-gray-300: #94a3b8;
    --clr-gray-400: #64748b;
    --clr-gray-500: #475569;
    --clr-gray-600: #334155;
    --clr-gray-700: #1e293b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--clr-teal), var(--clr-emerald));
    --gradient-hero: linear-gradient(135deg, var(--clr-teal), var(--clr-cyan));
    --gradient-accent: linear-gradient(135deg, var(--clr-amber), var(--clr-rose));
    --gradient-card: linear-gradient(145deg, var(--clr-bg-card), var(--clr-bg-secondary));
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(20, 184, 166, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(20, 184, 166, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(20, 184, 166, 0.4);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-gray-100);
    background-color: var(--clr-bg-deep);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-hero {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-teal { color: var(--clr-teal); }
.text-emerald { color: var(--clr-emerald); }
.text-amber { color: var(--clr-amber); }
.text-rose { color: var(--clr-rose); }
.text-purple { color: var(--clr-purple); }

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-secondary {
    background-color: var(--clr-bg-secondary);
}

/* Data glow line decoration */
.glow-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-pill);
    margin: 0 auto 2rem;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

/* Affiliate Disclosure Bar (Compliance) */
.ad-disclosure {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: #0f172a;
    color: var(--clr-gray-400);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.02em;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--clr-bg-deep);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    filter: brightness(110%);
}

.btn-secondary {
    background-color: var(--clr-bg-card);
    color: var(--clr-teal-light);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.btn-secondary:hover {
    background-color: var(--clr-bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--clr-teal);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-gray-500);
    color: var(--clr-gray-200);
}

.btn-outline:hover {
    border-color: var(--clr-teal);
    color: var(--clr-teal);
    background-color: rgba(20, 184, 166, 0.05);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.25rem 2.75rem;
    font-size: 1.2rem;
}

.btn-block { width: 100%; }

.shadow-glow { box-shadow: var(--shadow-glow); }

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: var(--shadow-glow-strong); }
}

/* ============ HEADER ============ */
.glass-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    transition: var(--transition);
}

.glass-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    background: rgba(10, 15, 30, 0.95);
    border-bottom-color: rgba(20, 184, 166, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-bg-deep);
    font-size: 1.1rem;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--clr-gray-300);
    font-size: 0.9rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--clr-teal-light);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-gray-200);
    cursor: pointer;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    background: var(--clr-bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    z-index: 1;
}

/* Grid BG effect */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 12s infinite ease-in-out alternate;
}

.shape-1 {
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--clr-teal);
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--clr-cyan);
    animation-delay: -6s;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: var(--clr-purple);
    animation-delay: -3s;
    opacity: 0.15;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.05); }
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(20, 184, 166, 0.1);
    color: var(--clr-teal-light);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(20, 184, 166, 0.25);
    backdrop-filter: blur(8px);
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--clr-white);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--clr-gray-300);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--clr-gray-400);
    font-weight: 500;
}

/* ============ SECTION HEADERS ============ */
.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-pill);
    color: var(--clr-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.section-desc {
    color: var(--clr-gray-400);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ============ COMPARISON TABLE ============ */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 184, 166, 0.15);
    background: var(--clr-bg-card);
    box-shadow: var(--shadow-lg);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 700px;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(6, 182, 212, 0.1));
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--clr-teal-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(20, 184, 166, 0.2);
    white-space: nowrap;
}

.comparison-table td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-gray-200);
    vertical-align: middle;
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: rgba(20, 184, 166, 0.05);
}

.comparison-table .service-name {
    font-weight: 700;
    color: var(--clr-white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-table .rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.rank-1 { background: var(--gradient-primary); color: var(--clr-bg-deep); }
.rank-2 { background: linear-gradient(135deg, var(--clr-amber), #f97316); color: var(--clr-bg-deep); }
.rank-3 { background: linear-gradient(135deg, var(--clr-blue), var(--clr-purple)); color: #fff; }
.rank-4 { background: var(--clr-gray-600); color: var(--clr-gray-200); }

.price-highlight {
    color: var(--clr-teal-light);
    font-weight: 700;
    font-size: 1.05rem;
}

.tag-good {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.15);
    color: var(--clr-emerald);
}

.tag-ok {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.15);
    color: var(--clr-amber);
}

.tag-warn {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(244, 63, 94, 0.15);
    color: var(--clr-rose);
}

/* ============ CSS BAR CHART ============ */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    width: 120px;
    font-size: 0.85rem;
    color: var(--clr-gray-300);
    flex-shrink: 0;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-bg-deep);
    min-width: 40px;
    transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bar-fill.amber { background: linear-gradient(90deg, var(--clr-amber), #f97316); }
.bar-fill.rose { background: linear-gradient(90deg, var(--clr-rose), #e11d48); color: #fff; }
.bar-fill.blue { background: linear-gradient(90deg, var(--clr-blue), var(--clr-cyan)); }
.bar-fill.purple { background: linear-gradient(90deg, var(--clr-purple), #8b5cf6); color: #fff; }

.bar-value {
    width: 60px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-white);
    text-align: left;
}

/* ============ FLOWCHART ============ */
.flowchart {
    max-width: 750px;
    margin: 0 auto;
}

.flow-question {
    text-align: center;
    padding: 2rem;
    background: var(--clr-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(20, 184, 166, 0.2);
    margin-bottom: 1.5rem;
    position: relative;
}

.flow-question h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
}

.flow-question p {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
}

.flow-connector {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.flow-connector i {
    color: var(--clr-teal);
    font-size: 1.25rem;
}

.flow-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.flow-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.flow-option:hover {
    border-color: var(--clr-teal);
    background: var(--clr-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.flow-option-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flow-option-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--clr-teal-light); }
.flow-option-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--clr-amber); }
.flow-option-icon.rose { background: rgba(244, 63, 94, 0.15); color: var(--clr-rose); }
.flow-option-icon.purple { background: rgba(167, 139, 250, 0.15); color: var(--clr-purple); }

.flow-option h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.25rem;
}

.flow-option p {
    font-size: 0.8rem;
    color: var(--clr-gray-400);
}

/* ============ RANKING CARDS ============ */
.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ranking-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ranking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.ranking-card.rank-1-card::before { background: var(--gradient-primary); }
.ranking-card.rank-2-card::before { background: linear-gradient(90deg, var(--clr-amber), #f97316); }
.ranking-card.rank-3-card::before { background: linear-gradient(90deg, var(--clr-blue), var(--clr-cyan)); }
.ranking-card.rank-4-card::before { background: linear-gradient(90deg, var(--clr-purple), #8b5cf6); }

.ranking-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(20, 184, 166, 0.15);
}

.ranking-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ranking-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ranking-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-white);
}

.ranking-card-header .sub-name {
    font-size: 0.8rem;
    color: var(--clr-gray-400);
    font-weight: 400;
}

.ranking-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-label {
    font-size: 0.85rem;
    color: var(--clr-gray-400);
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
}

/* ============ AUTHOR PROFILE ============ */
.author-profile {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--clr-bg-card);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--clr-bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--clr-white);
}

.author-info p {
    font-size: 0.95rem;
    color: var(--clr-gray-300);
    line-height: 1.8;
}

/* ============ BLOG CARDS ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(20, 184, 166, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(10, 15, 30, 0.8);
    color: var(--clr-teal-light);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--clr-white);
}

.blog-title a:hover {
    color: var(--clr-teal-light);
}

.blog-excerpt {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    line-height: 1.7;
}

.blog-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-teal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-card:hover .read-more {
    color: var(--clr-teal-light);
    gap: 0.75rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: var(--clr-bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--clr-gray-400);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--clr-bg-primary);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-desc {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
}

.footer ul a:hover {
    color: var(--clr-teal-light);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-gray-500);
    font-size: 0.8rem;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: var(--clr-bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============ ANIMATIONS ============ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

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

/* ============ BREADCRUMBS ============ */
.breadcrumb-nav {
    padding: 1rem 0;
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--clr-gray-400);
}

.breadcrumb a {
    color: var(--clr-teal);
}

.breadcrumb a:hover {
    color: var(--clr-teal-light);
}

.breadcrumb li.current {
    color: var(--clr-gray-300);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
    font-weight: 600;
}

/* ============ ARTICLE PAGE ============ */
.article-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    position: relative;
    background: var(--clr-bg-primary);
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
}

.article-header {
    position: relative;
    z-index: 10;
}

.article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--clr-gray-400);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.article-meta i {
    margin-right: 0.4rem;
}

.article-body {
    padding: 3rem 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(20, 184, 166, 0.2);
    color: var(--clr-white);
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--clr-teal-light);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--clr-gray-200);
    line-height: 1.9;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--clr-gray-200);
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

/* Info box (for data insights) */
.info-box {
    background: rgba(20, 184, 166, 0.08);
    border-left: 4px solid var(--clr-teal);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--clr-teal-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.warning-box {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--clr-amber);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h4 {
    color: var(--clr-amber);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: var(--clr-gray-400);
    margin-bottom: 1.5rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(16px);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .section {
        padding: 4rem 0;
    }

    .hero-title br {
        display: none;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .comparison-table-wrapper {
        margin: 0 -1rem;
        border-radius: var(--radius-md);
    }

    .flow-options {
        grid-template-columns: 1fr 1fr;
    }

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

    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .flow-options {
        grid-template-columns: 1fr;
    }

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

    .bar-label {
        width: 80px;
        font-size: 0.75rem;
    }

    .bar-value {
        width: 50px;
        font-size: 0.8rem;
    }
}

/* Force visible on mobile for intersection observer fallback */
@media (max-width: 768px) {
    .fade-in-up,
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============ REVIEW PAGE SPECIFIC ============ */
.review-hero {
    padding-top: 120px;
    padding-bottom: 4rem;
    position: relative;
    background: var(--clr-bg-primary);
    overflow: hidden;
}

.review-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
}

.review-header {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.review-score-card {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.score-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.score-label {
    font-size: 0.75rem;
    color: var(--clr-gray-400);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--clr-teal-light);
}

.score-max {
    font-size: 0.8rem;
    color: var(--clr-gray-500);
}

/* ============ PRIVACY / ABOUT PAGES ============ */
.page-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--clr-bg-primary);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
}

.page-hero h1 {
    position: relative;
    z-index: 10;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--clr-white);
}

.page-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--clr-white);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.15);
}

.page-content p {
    margin-bottom: 1.25rem;
    color: var(--clr-gray-300);
    line-height: 1.8;
}

.page-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--clr-gray-300);
}

/* ============ CVR OPTIMIZATION COMPONENTS ============ */

/* 1. Micro Copy for CTA Buttons */
.micro-copy {
    display: inline-block;
    background: var(--clr-bg-card);
    color: var(--clr-teal-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(20, 184, 166, 0.4);
    margin-bottom: 0.5rem;
    position: relative;
    box-shadow: var(--shadow-glow);
    text-align: center;
}

.micro-copy::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(20, 184, 166, 0.4) transparent transparent transparent;
}

/* 2. Pros and Cons Box (Recommend/Not Recommend) */
.pros-cons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-cons-box {
    flex: 1;
    min-width: 250px;
    background: var(--clr-bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.pros-box {
    border-top: 4px solid var(--clr-emerald);
}

.cons-box {
    border-top: 4px solid var(--clr-rose);
}

.pros-cons-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pros-box h4 {
    color: var(--clr-emerald);
}

.cons-box h4 {
    color: var(--clr-rose);
}

.pros-cons-box ul {
    list-style: none;
    padding: 0;
}

.pros-cons-box li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-gray-200);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pros-box li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--clr-emerald);
}

.cons-box li::before {
    content: '\f00d'; /* FontAwesome xmark */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--clr-rose);
}

/* 3. Category Filter Buttons */
.category-filter-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-gray-600);
    color: var(--clr-gray-300);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--clr-teal);
    color: var(--clr-teal-light);
}

.filter-btn.active {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--clr-teal);
    color: var(--clr-teal-light);
}

/* Setup for shortcut navigation */
.shortcut-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0 2rem;
}

.shortcut-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.shortcut-item:hover {
    border-color: var(--clr-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.shortcut-item i {
    color: var(--clr-teal);
}
