/* ==========================================================================
   OsaniRank — Ultra-Fast Responsive & White Theme Design System
   Mobile-First & Desktop Optimized, Zero-Layout-Shift, Pure Performance
   ========================================================================== */

:root {
    /* Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-subtle: #f3f4f6;
    --bg-blue-tint: #f0f7ff;
    
    --border-light: #e5e7eb;
    --border-subtle: #f1f5f9;
    --border-blue: #bfdbfe;
    --border-focus: #2563eb;
    
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --primary-light: #3b82f6;
    --primary-subtle: #eff6ff;
    
    --text-heading: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-subtle: #9ca3af;
    
    --accent-green: #059669;
    --accent-green-bg: #ecfdf5;
    --accent-amber: #f59e0b;
    
    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;
    
    /* Subtle Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-white);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Navigation Bar & Mobile Drawer
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    flex-shrink: 0;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.brand-icon svg {
    width: 18px;
    height: 18px;
}

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

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 2px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-login {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-login:hover {
    color: var(--primary);
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 7px 9px;
    cursor: pointer;
    color: var(--text-heading);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-toggle-btn:hover {
    background: var(--bg-subtle);
}

.mobile-nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-heading);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 50px 0 25px;
    text-align: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d1fae5;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.badge-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text-heading);
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .highlight-blue {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 28px;
    font-weight: 450;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
    padding: 12px 28px;
    font-size: 0.98rem;
}

.hero-micro-copy {
    color: var(--text-subtle);
    font-size: 0.86rem;
    font-weight: 500;
    margin-bottom: 36px;
}

/* ==========================================================================
   Browser Window Mockup & Injected SERP Bar
   ========================================================================== */
.browser-mockup-wrapper {
    margin: 20px auto 45px;
    max-width: 1060px;
    width: 100%;
}

.browser-mockup {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    text-align: left;
}

.browser-mockup-header {
    background: #f3f4f6;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address-bar {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.browser-address-bar span.url-query {
    color: var(--text-heading);
    font-weight: 600;
}

.browser-live-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.browser-live-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.browser-content {
    padding: 20px;
    background: #ffffff;
}

/* Injected Toolbar (Dark Navy Bar Matching Chrome Extension) */
.injected-bar-container {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    overflow-x: auto;
}

.injected-bar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    font-size: 0.74rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 6px;
}

.injected-bar-title {
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.injected-metrics-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(80px, 1fr));
    gap: 10px;
    min-width: 580px;
}

.bar-metric-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bar-metric-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.bar-metric-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.bar-metric-val.vol-val { color: #38bdf8; }
.bar-metric-val.cpc-val { color: #34d399; }
.bar-metric-val.comp-val { color: #fbbf24; }
.bar-metric-val.val-val { color: #a78bfa; }

/* Mock Google Result inside browser */
.mock-serp-inner {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.mock-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mock-google-logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.mock-search-input {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 0.88rem;
    color: var(--text-heading);
    font-weight: 500;
    width: 380px;
    max-width: 100%;
}

.mock-result-box {
    margin-top: 12px;
}

.mock-url {
    font-size: 0.82rem;
    color: #202124;
    margin-bottom: 4px;
    word-break: break-all;
}

.mock-title {
    font-size: 1.22rem;
    color: #1a0dab;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.35;
}

.mock-snippet {
    font-size: 0.88rem;
    color: #4d5156;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Injected Moz/Ahrefs authority bar under snippet */
.injected-authority-chips {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chip-tag {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.chip-moz { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.chip-ahrefs { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.chip-backlinks { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.chip-age { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }

/* ==========================================================================
   Stat Counters (4 Cards in Row)
   ========================================================================== */
.stats-section {
    padding: 25px 0 45px;
}

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

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: left;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-card-num {
    font-size: clamp(1.85rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-card-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: 55px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.section-tag::before {
    content: "·";
    font-size: 1.3rem;
    line-height: 1;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 660px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==========================================================================
   Section: Four Steps to Keyword Clarity (1, 2, 3, 4)
   ========================================================================== */
.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: left;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.step-card.active-step {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.08);
}

.step-number-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.step-card.active-step .step-number-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.step-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   Section: Never Count a Keyword Credit Ever Again (Large Split Card)
   ========================================================================== */
.no-credits-wrapper {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 5vw, 48px);
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 36px;
    align-items: center;
    margin: 25px 0;
}

.no-credits-left {
    text-align: left;
}

.no-credits-left h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.no-credits-left p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
}

.link-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-with-arrow:hover {
    color: var(--primary-hover);
    gap: 10px;
}

.no-credits-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-mini-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.feature-mini-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.feature-mini-card h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

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

/* ==========================================================================
   Section: Fast, Private, and Yours to Export (4 Horizontal Cards)
   ========================================================================== */
.built-in-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.built-in-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.built-in-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.built-in-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--bg-subtle);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.built-in-icon svg {
    width: 18px;
    height: 18px;
}

.built-in-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.built-in-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Section: Dedicated Tools for Deep Research (7 Tool Cards)
   ========================================================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.tool-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tool-category-badge {
    display: inline-block;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    width: fit-content;
}

.tool-card h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.tool-explore-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Section: Side by Side — How OsaniRank Compares
   ========================================================================== */
.comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    width: 100%;
}

.comp-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.comp-table th {
    background: #ffffff;
    color: var(--text-heading);
    font-weight: 800;
    font-size: 0.95rem;
}

.comp-table th.col-osanirank,
.comp-table td.col-osanirank {
    background: var(--bg-blue-tint);
    border-left: 1px solid var(--border-blue);
    border-right: 1px solid var(--border-blue);
}

.comp-table th.col-osanirank {
    color: var(--primary);
    font-weight: 800;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.check-green {
    color: #10b981;
    font-weight: 800;
    margin-right: 6px;
}

.dash-grey {
    color: #9ca3af;
    font-weight: 600;
    margin-right: 6px;
}

.comp-footer-link {
    margin-top: 16px;
    text-align: left;
}

/* ==========================================================================
   Section: Verified Feedback — Trusted by Growth Teams & SEOs
   ========================================================================== */
.testimonials-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-quote {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 450;
}

.testimonial-author h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-heading);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Section: Common Questions — Everything You Need to Know
   ========================================================================== */
.faq-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    margin-top: 20px;
    align-items: flex-start;
}

.faq-left h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.faq-left p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-left a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--text-heading);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.faq-accordion-body {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-accordion-item.active .faq-accordion-body {
    display: block;
}

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

/* ==========================================================================
   Pre-Footer CTA Card (Start with a 7-day free trial)
   ========================================================================== */
.pre-footer-cta {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 44px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 50px 0 35px;
    text-align: left;
}

.cta-text-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}

.cta-text-left p {
    font-size: 0.96rem;
    color: var(--text-muted);
    max-width: 580px;
}

.cta-buttons-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 50px 0 30px;
    background: #ffffff;
    font-size: 0.88rem;
    width: 100%;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand-col p {
    color: var(--text-muted);
    margin: 12px 0 18px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-col h5 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-disclaimers {
    border-top: 1px solid var(--border-light);
    padding-top: 22px;
    color: var(--text-subtle);
    font-size: 0.76rem;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright {
    margin-top: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   Ultra-Comprehensive Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .no-credits-wrapper { grid-template-columns: 1fr; gap: 28px; }
    .built-in-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid-3 { grid-template-columns: 1fr; }
    .faq-split-layout { grid-template-columns: 1fr; gap: 24px; }
    .pre-footer-cta { flex-direction: column; text-align: center; }
    .cta-buttons-right { justify-content: center; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-login { display: none; }
    .mobile-toggle-btn { display: inline-flex; }
    .hero-cta-group { width: 100%; }
    .hero-cta-group a { width: 100%; }
    .browser-mockup-header { gap: 8px; }
    .browser-live-badge { display: none; }
    .no-credits-right-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .stats-grid-4 { grid-template-columns: 1fr; }
    .steps-grid-4 { grid-template-columns: 1fr; }
    .built-in-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .browser-content { padding: 12px; }
    .injected-bar-container { padding: 10px 12px; }
    .cta-buttons-right { width: 100%; flex-direction: column; }
    .cta-buttons-right a { width: 100%; text-align: center; }
}
