/* ============================================
   RESELL VPN - Main Stylesheet
   Clean, boxy, tech-style Amazon-like design
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #F3EEFE;
    --accent: #7C3AED;
    --accent-dark: #6D28D9;
    --accent-light: #F3EEFE;
    --cta: #7C3AED;
    --cta-dark: #6D28D9;
    --dark: #111827;
    --dark-2: #1F2937;
    --text: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-alt: #F3F4F6;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 4px;
    --radius-lg: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
    --header-height: 72px;
    --max-width: 100%;
    --side-padding: 50px;
    --transition: 0.2s ease;
}

/* --- 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);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; }
.small { font-size: 0.875rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--white); }
strong, .fw-bold { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--side-padding);
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 var(--side-padding); }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 var(--side-padding); }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.bg-light { background: var(--bg-light); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark p { color: var(--white); }
.bg-dark .lead { color: rgba(255,255,255,0.7); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary p { color: var(--white); }

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 0; }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}

/* --- Grid --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.gap-sm { gap: 16px; }
.gap-lg { gap: 32px; }
.gap-xl { gap: 48px; }

/* --- Flexbox --- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: all var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
}
.header-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--side-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
}
.logo:hover { color: var(--dark); }
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
}
.logo-text span {
    color: var(--primary);
}
.site-footer .logo-icon {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.site-footer .logo-text {
    color: var(--white);
}
.site-footer .logo-text span {
    color: #B794F6;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.mobile-cta { display: none; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-cta {
    background: var(--cta);
    color: var(--white);
    border-color: var(--cta);
}
.btn-cta:hover {
    background: var(--cta-dark);
    border-color: var(--cta-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-lg {
    padding: 16px 36px;
    font-size: 1.0625rem;
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}
a.btn { text-decoration: none; }
a.btn:hover { text-decoration: none; }
a.btn-primary, a.btn-primary:hover { color: var(--white); }
a.btn-outline { color: var(--primary); }
a.btn-outline:hover { color: var(--white); }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-group-center { justify-content: center; }

/* --- Badge --- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: var(--accent-light); color: var(--accent); }
.badge-dark { background: var(--dark); color: var(--white); }

/* --- Hero Section --- */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-lg { padding: 160px 0 100px; }
.hero-content { max-width: 720px; }
.hero-content.centered { margin: 0 auto; text-align: center; }
.hero-content.centered .hero-badges { justify-content: center; }
.hero-content.centered .btn-group { justify-content: center; }
.hero-content.centered .breadcrumbs { text-align: left; }
.hero-content.centered .hero-trust { justify-content: center; }
.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.hero h1 span { color: var(--primary); }
.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text-secondary);
}
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-image img {
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.hero-badges .badge {
    font-size: 0.8125rem;
    padding: 6px 14px;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.hero-trust svg { flex-shrink: 0; }

/* --- Cards --- */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}
.card-icon-accent {
    background: var(--accent-light);
    color: var(--accent);
}
.card-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.card h4 { margin-bottom: 10px; font-size: 1.125rem; }
.card p { color: var(--text-secondary); margin-bottom: 0; font-size: 0.9375rem; line-height: 1.6; }
.card-bordered { border: 2px solid var(--border); }
.card-bordered:hover { border-color: var(--primary); }
.card-flat { border: none; padding: 24px; background: var(--bg-light); }
.card-flat:hover { background: var(--white); box-shadow: var(--shadow); }
.card-highlight { border-color: var(--primary); border-width: 2px; position: relative; }
.card-highlight::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
}
.stat {
    text-align: center;
    padding: 24px;
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
}

/* --- Steps --- */
.steps { counter-reset: step; }
.step {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}
.step-content h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); margin-bottom: 0; font-size: 0.9375rem; }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.comparison-table thead { background: var(--dark); color: var(--white); }
.comparison-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
}
.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-light); }
.comparison-table .check { color: var(--primary); font-weight: 700; }
.comparison-table .cross { color: #DC2626; font-weight: 700; }
.comparison-table .highlight-col { background: var(--primary-light); }
.comparison-table thead .highlight-col { background: var(--primary); }

/* --- Pricing Table --- */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}
.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 16px 0;
}
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.pricing-card .price-sub { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-features {
    text-align: left;
    margin: 24px 0;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .icon-check { color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* --- Profit Calculator --- */
.profit-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.profit-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}
.profit-row:last-child { border-bottom: none; }
.profit-row.highlight {
    background: var(--accent-light);
    font-weight: 700;
}
.profit-row .label { color: var(--text-secondary); }
.profit-row .value { font-weight: 600; color: var(--dark); }
.profit-row.highlight .value { color: var(--primary); font-size: 1.125rem; }
.profit-calc-wrap { max-width: 900px; margin: 0 auto; }
.profit-calc-wrap .profit-table, .profit-calc-wrap .grid-4, .profit-calc-wrap .grid-3 { max-width: 100%; }
.profit-note { text-align: center; color: var(--text-secondary); font-size: 0.9375rem; margin: 24px 0; line-height: 1.6; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.active { border-color: var(--primary); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    color: var(--dark);
    gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 32px; }
.cta-perks {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}
.cta-perks span { display: flex; align-items: center; gap: 6px; }
.cta-box {
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}
.cta-box p { color: var(--text); }

/* --- Device Grid --- */
.device-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.device-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
}
.device-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.device-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.device-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

/* --- Feature List --- */
.feature-list { list-style: none; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
}
.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .separator { margin: 0 8px; }

/* --- Article/Content Styles --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
}
.article-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.article-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}
.article-content p { margin-bottom: 20px; color: var(--text); }
.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    font-style: italic;
    color: var(--text-secondary);
}
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img {
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow);
}
.article-toc {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-bottom: 40px;
}
.article-toc h4 { margin-bottom: 12px; font-size: 1rem; }
.article-toc ol { list-style: decimal; padding-left: 20px; }
.article-toc li { margin-bottom: 6px; font-size: 0.9375rem; }
.article-toc a { color: var(--primary); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }

/* --- Numbered List Cards (for Top 10 etc) --- */
.ranked-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: all var(--transition);
}
.ranked-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.ranked-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.ranked-number.gold { background: #B8860B; }
.ranked-number.silver { background: #6B7280; }
.ranked-number.bronze { background: #A0522D; }
.ranked-content { flex: 1; }
.ranked-content h3 { margin-bottom: 8px; }
.ranked-content p { color: var(--text-secondary); margin-bottom: 12px; }
.ranked-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.ranked-tag {
    font-size: 0.8125rem;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 2px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Two Column Content Layout --- */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }
.content-image {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    padding: 5px 0;
    transition: all var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

.section > .container > p { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; color: var(--text-secondary); line-height: 1.7; }
/* --- Section-level centering for standalone elements --- */
.section > .container > .btn-group,
.section > .container > .text-center,
.section > .container > p.text-center,
.section > .container > div[style*="margin-top"] {
    text-align: center;
}
.section > .container > p[style*="font-size:0.875rem"],
.section > .container > p[style*="margin-top:16px"],
.section > .container > p[style*="margin-top:24px"],
.section > .container > p[style*="margin-top:32px"] {
    text-align: center;
}
.section > .container > .btn-group {
    justify-content: center;
}
.section > .container > a.btn {
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.stats-row { text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; }
.profit-table { max-width: 600px; margin-left: auto; margin-right: auto; }
.comparison-table { max-width: 900px; margin-left: auto; margin-right: auto; }
.article-toc { max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.article-content { max-width: 800px; margin-left: auto; margin-right: auto; }
.grid-2, .grid-3 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.grid-4 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.content-split { max-width: 1100px; margin-left: auto; margin-right: auto; }
.device-grid { max-width: 900px; margin-left: auto; margin-right: auto; }
.ranked-card { max-width: 900px; margin-left: auto; margin-right: auto; }
.callout { max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-box { max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- Misc --- */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.spacer-sm { height: 24px; }
.spacer { height: 48px; }
.spacer-lg { height: 80px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* --- Notice/Callout Box --- */
.callout {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}
.callout p { margin-bottom: 0; }
.callout-success {
    background: var(--accent-light);
    border-color: var(--accent);
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: var(--dark);
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: 1; }
    .content-split { grid-template-columns: 1fr; gap: 40px; }
    .content-split.reverse { direction: ltr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .device-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .section { padding: 60px 0; }
}

/* Cap all content images globally */
.hero-image img,
.content-image img,
.content-split img,
section img,
.section img {
    max-width: 460px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: none;
    border: none;
}

/* Hero badges always left */
.hero-badges {
    justify-content: flex-start;
}

/* Desktop nav buttons fix */
.nav-actions {
    flex-shrink: 0;
}
.nav-actions .btn {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    .hero { padding: 100px 0 48px; }
    .hero h1 { font-size: 2.25rem; }
    .hero .lead { font-size: 1.0625rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-image img,
    .content-image img,
    .content-split img {
        max-width: 100%;
    }
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 40px; }
    :root { --side-padding: 15px; }
    .container { padding: 0 var(--side-padding); }
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .device-grid { grid-template-columns: repeat(3, 1fr); }
    .btn-group { flex-direction: column; }
    .btn-group .btn { width: 100%; }
    .card { padding: 24px; }
    .ranked-card { flex-direction: column; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .comparison-table { font-size: 0.8125rem; overflow-x: auto; display: block; -webkit-overflow-scrolling: touch; }
    .comparison-table table { min-width: 540px; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; }

    /* Mobile Nav */
    .site-header {
        z-index: 999999 !important;
        position: fixed !important;
    }
    .nav-menu {
        display: none !important;
        position: absolute !important;
        top: var(--header-height) !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 16px 0 !important;
        gap: 0 !important;
        overflow-y: auto !important;
        z-index: 999999 !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
        border-top: 1px solid #e5e7eb !important;
        max-height: calc(100vh - var(--header-height)) !important;
    }
    .nav-menu.open {
        display: flex !important;
    }
    .nav-menu a {
        padding: 14px 24px !important;
        font-size: 1rem !important;
        border-bottom: 1px solid #f3f4f6 !important;
        color: #1f2937 !important;
    }
    .nav-menu a:hover {
        background: #f9fafb !important;
    }
    .mobile-toggle {
        display: block !important;
        z-index: 999999 !important;
    }
    .nav-actions { display: none !important; }
    .nav-menu .mobile-cta {
        display: block !important;
        padding: 16px 24px !important;
        margin-top: 8px !important;
    }
    .nav-menu .mobile-cta a.btn {
        border-bottom: 2px solid var(--primary) !important;
        padding: 12px 28px !important;
        text-align: center !important;
        border-radius: var(--radius) !important;
        margin-bottom: 8px !important;
    }
    .nav-menu .mobile-cta a.btn-outline {
        border: 2px solid var(--primary) !important;
        color: var(--primary) !important;
        background: transparent !important;
    }
    .nav-menu .mobile-cta a.btn-primary {
        border: 2px solid var(--primary) !important;
        background: var(--primary) !important;
        color: #fff !important;
    }

    /* Consistent left-align on mobile */
    .hero-badges { justify-content: flex-start; }
    .hero-content, .hero-content.centered { text-align: left; }
    .btn-group { justify-content: flex-start; }
    .section-header { text-align: left; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    .hero h1 { font-size: 1.875rem; }
    .stats-row { grid-template-columns: 1fr; }
    .device-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-value { font-size: 2rem; }
}

/* Dashboard Mockup */
.dash-mockup{background:#1a1a2e;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3);max-width:520px;width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;aspect-ratio:4/3}.dash-mockup-bar{background:#16162a;padding:10px 16px;display:flex;align-items:center;gap:8px}.dash-mockup-dot{width:10px;height:10px;border-radius:50%}.dash-mockup-dot:nth-child(1){background:#ff5f57}.dash-mockup-dot:nth-child(2){background:#ffbd2e}.dash-mockup-dot:nth-child(3){background:#28c840}.dash-mockup-bar-title{margin-left:auto;font-size:11px;color:#64748b;letter-spacing:.5px}.dash-mockup-body{padding:20px;display:flex;flex-direction:column;gap:16px}.dash-mockup-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dash-mockup-stat{background:rgba(124,58,237,.12);border:1px solid rgba(124,58,237,.2);border-radius:8px;padding:14px 12px;text-align:center}.dash-mockup-stat-val{font-size:20px;font-weight:800;color:#fff;line-height:1}.dash-mockup-stat-lbl{font-size:9px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}.dash-mockup-chart{background:rgba(255,255,255,.04);border-radius:8px;padding:16px;flex:1;display:flex;flex-direction:column}.dash-mockup-chart-title{font-size:11px;color:#94a3b8;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.dash-mockup-bars{display:flex;align-items:flex-end;gap:6px;flex:1;min-height:80px}.dash-mockup-bars span{flex:1;background:linear-gradient(to top,#7C3AED,#a78bfa);border-radius:3px 3px 0 0;min-height:8px}.dash-mockup-rows{display:flex;flex-direction:column;gap:6px}.dash-mockup-row{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.04);border-radius:6px;padding:8px 12px}.dash-mockup-row-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dash-mockup-row-line{height:8px;background:rgba(255,255,255,.08);border-radius:4px;flex:1}.dash-mockup-row-badge{font-size:9px;padding:2px 8px;border-radius:4px;font-weight:600;flex-shrink:0}@media(max-width:768px){.dash-mockup{max-width:100%}.dash-mockup-body{padding:14px;gap:12px}.dash-mockup-stat{padding:10px 8px}.dash-mockup-stat-val{font-size:16px}.dash-mockup-bars{min-height:60px}}@media(max-width:480px){.dash-mockup-stats{gap:6px}.dash-mockup-stat{padding:8px 6px}.dash-mockup-stat-val{font-size:14px}.dash-mockup-stat-lbl{font-size:8px}.dash-mockup-rows{display:none}}
