/* ============================================================
   CodePK - Deep Purple Cyberpunk Theme
   ============================================================ */

:root {
    /* ── Core Palette ── */
    --bg-primary: #0d0b1e;
    --bg-secondary: #13112a;
    --bg-tertiary: #1c1935;
    --bg-elevated: rgba(124, 58, 237, 0.06);
    --bg-card: #16143a;

    /* ── Text ── */
    --text-primary: #e8e4f3;
    --text-secondary: #a099c0;
    --text-muted: #6b6280;

    /* ── Accent: Neon Purple ── */
    --accent: #a855f7;
    --accent-2: #7c3aed;
    --accent-hover: #9333ea;
    --accent-light: rgba(168, 85, 247, 0.12);
    --accent-glow: rgba(168, 85, 247, 0.35);
    --accent-glow-strong: rgba(168, 85, 247, 0.55);

    /* ── Accent 2: Hot Pink / Magenta ── */
    --pink: #ec4899;
    --pink-light: rgba(236, 72, 153, 0.12);

    /* ── Accent 3: Cyan ── */
    --cyan: #06b6d4;
    --cyan-light: rgba(6, 182, 212, 0.12);

    /* ── CTA ── */
    --cta: #f43f5e;
    --cta-hover: #e11d48;

    /* ── Status ── */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* ── Borders ── */
    --border: rgba(168, 85, 247, 0.18);
    --border-light: rgba(168, 85, 247, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.05);

    /* ── Shadows ── */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px var(--accent-glow);
    --shadow-glow-strong: 0 0 48px var(--accent-glow-strong);

    /* ── Layout ── */
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --max-width: 1200px;
    --header-height: 68px;

    /* ── Fonts ── */
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.375rem; }

@media (min-width: 640px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
}

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

/* ── Layout ── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ── Gradient Text ── */
.grad-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.grad-text-cyan {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}
.btn-cta {
    background: linear-gradient(135deg, var(--cta), #f43f5e);
    color: #fff;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}
.btn-cta:hover {
    background: var(--cta-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.5);
}
.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Tags ── */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(168, 85, 247, 0.25);
    transition: all 0.2s;
}
.tag:hover {
    box-shadow: 0 0 12px var(--accent-glow);
}
.tag-pink {
    background: var(--pink-light);
    color: var(--pink);
    border-color: rgba(236, 72, 153, 0.25);
}
.tag-cyan {
    background: var(--cyan-light);
    color: var(--cyan);
    border-color: rgba(6, 182, 212, 0.25);
}

/* ── Section base ── */
.section {
    padding: 5rem 0;
    position: relative;
}
.section-alt {
    background: var(--bg-secondary);
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    margin-bottom: 0.6rem;
}
.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Card ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* ── Table ── */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.table th, .table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}
.table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    white-space: nowrap;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-elevated); }
.table td { color: var(--text-primary); }

/* ── Highlight ── */
.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(13, 11, 30, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}
.logo:hover { color: var(--text-primary); }
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-left: 0.6rem;
    border-left: 1px solid var(--border);
    display: none;
}
@media (min-width: 480px) { .logo-sub { display: block; } }

/* Nav */
.nav-list {
    display: none;
    list-style: none;
    gap: 0.25rem;
}
@media (min-width: 768px) {
    .nav-list { display: flex; }
}
.nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-link:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.theme-icon { width: 18px; height: 18px; }

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-primary);
}
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-menu {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}
.mobile-nav-list { list-style: none; }
.mobile-nav-link {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    background: var(--accent-light);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow-strong); }
}
.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.15;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
.hero-slogan {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.hero-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   ABOUT SECTION (NEW)
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-visual-inner {
    position: relative;
    width: 280px;
    height: 280px;
}
.about-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 12s linear infinite;
}
.about-ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(168, 85, 247, 0.3);
    animation-direction: normal;
}
.about-ring-2 {
    width: 250px;
    height: 250px;
    border-color: rgba(236, 72, 153, 0.2);
    animation-direction: reverse;
    animation-duration: 18s;
}
.about-ring-3 {
    width: 280px;
    height: 280px;
    border-color: rgba(6, 182, 212, 0.15);
    animation-duration: 24s;
}
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.about-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow-strong);
    border: 2px solid var(--border-light);
}
.about-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}
.about-orb {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}
.about-orb-1 { top: 10%; left: 50%; color: var(--accent); background: var(--accent); }
.about-orb-2 { top: 50%; right: 5%; color: var(--pink); background: var(--pink); }
.about-orb-3 { bottom: 10%; left: 30%; color: var(--cyan); background: var(--cyan); }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s;
}
.about-feature:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}
.about-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.about-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.about-feature p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   LATEST DEALS SECTION (NEW)
   ============================================================ */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.deal-card:hover {
    border-color: var(--pink);
    box-shadow: 0 0 24px rgba(236, 72, 153, 0.25);
    transform: translateY(-3px);
}
.deal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--accent));
}
.deal-platform {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.deal-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.deal-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.deal-price-main {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.deal-price-orig {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.deal-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.deal-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table .col-rank { width: 60px; }
.compare-table .col-platform { min-width: 140px; }
.compare-table .col-price { min-width: 110px; }
.compare-table .col-models { min-width: 160px; }
.compare-table .col-usage { min-width: 120px; }
.compare-table .col-highlight { min-width: 160px; }
.compare-table .col-cta { min-width: 130px; }

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.rank-badge.top {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 12px var(--accent-glow);
}
.platform-name {
    font-weight: 700;
    color: var(--text-primary);
}
.price-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
}
.price-main small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}
.price-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--pink);
    font-weight: 600;
}
.cell-link { color: var(--text-primary); }
.cell-link:hover { color: var(--accent); }
.cell-link--price .price-main { color: var(--accent); }
.usage-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.highlight-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.cta-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.cta-btn {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff !important;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}
.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    color: #fff !important;
}
.cta-btn--deal {
    background: linear-gradient(135deg, var(--cta), #f43f5e);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
}
.cta-btn--deal:hover {
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.5);
}
.cta-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
}
.compare-legend {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.legend-rank {
    color: var(--accent);
    font-weight: 700;
}
.legend-divider { color: var(--border-light); }
.legend-green { color: var(--success); }

/* ============================================================
   PLATFORM CARDS
   ============================================================ */
.platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .platforms-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .platforms-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}
.platform-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.platform-header {
    padding: 1.5rem 1.5rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}
.platform-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}
.platform-title h3 { font-size: 1.1rem; }
.platform-highlight {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.platform-models {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.platform-models h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.models-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.plans-section {
    padding: 1.25rem 1.5rem;
}
.plans-section h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.plans-list { display: flex; flex-direction: column; gap: 0.75rem; }
.plan-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    position: relative;
    transition: all 0.2s;
}
.plan-item:hover { border-color: var(--border); }
.plan-recommended {
    border-color: var(--accent);
    background: var(--accent-light);
}
.recommended-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 0.15rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    letter-spacing: 0.04em;
}
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}
.plan-name { font-size: 0.875rem; font-weight: 700; }
.plan-price {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--accent);
}
.plan-price .first-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pink);
}
.plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.plan-discount {
    color: var(--success);
    font-weight: 600;
}
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.plan-features li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}
.plan-features li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.platform-footer {
    padding: 1rem 1.5rem 1.5rem;
}
.affiliate-tip {
    background: var(--pink-light);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: var(--radius);
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    text-align: center;
}

/* ============================================================
   TOOLS MATRIX
   ============================================================ */
.tools-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--cyan-light);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: left;
}
.notice-icon { flex-shrink: 0; font-size: 1rem; }
.tools-table .platform-col { min-width: 110px; text-align: center; }
.tool-cell { min-width: 160px; }
.tool-name { display: block; font-weight: 700; font-size: 0.875rem; }
.tool-desc { display: block; font-size: 0.72rem; color: var(--text-muted); }
.compatibility-cell { text-align: center; }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.tools-summary {
    margin-top: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.tools-summary h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
}
.summary-name { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.summary-count { font-size: 0.875rem; font-weight: 800; color: var(--accent); }
.summary-total { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); }

/* ============================================================
   RECOMMENDATIONS
   ============================================================ */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.recommendation-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}
.recommendation-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.scenario-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(168, 85, 247, 0.2);
    margin-bottom: 0.5rem;
}
.recommendation-content h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.recommendation-price {
    font-size: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.recommendation-reason {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ============================================================
   UPDATE TIMELINE (NEW)
   ============================================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--pink), var(--cyan));
    border-radius: 1px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.timeline-item:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 1.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 8px var(--accent-glow);
}
.timeline-date {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.timeline-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.timeline-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: var(--bg-elevated); }
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 900;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(168, 85, 247, 0.2);
    flex-shrink: 0;
}
.faq-text { flex: 1; }
.faq-chevron {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    padding: 0.75rem 1.25rem 1.25rem 3.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
}
.footer-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}
.footer-col h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 1.5rem;
}
.footer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.update-time { display: flex; align-items: center; gap: 0.3rem; }
.footer-bottom {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.footer-disclaimer {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 0.6rem 1rem;
    margin-bottom: 0.75rem;
}
.footer-disclaimer strong { color: var(--text-secondary); }
.footer-support {
    margin-bottom: 0.4rem;
}
.footer-copyright a {
    color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================================
   ANIMATIONS & HELPERS
   ============================================================ */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 8px var(--accent-glow); }
    50% { box-shadow: 0 0 24px var(--accent-glow-strong), 0 0 48px var(--accent-glow); }
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
@media (max-width: 767px) {
    .table th, .table td { padding: 0.75rem 0.85rem; }
    .section { padding: 3.5rem 0; }
    .hero { padding: 7rem 0 4rem; }
}

/* Dark mode overrides for any future light theme use */
