/* ============================================================
   ReviewLogic AI — Public Website Styles
   Design: Apple-inspired, clean, elegant
   Brand: #1a2e44 (navy) from logo
   ============================================================ */

:root {
    --brand: #1a2e44;
    --brand-light: #2a4a6b;
    --brand-lighter: #e8edf3;
    --brand-dark: #0f1c2e;
    --accent: #3b82f6;
    --accent-light: #dbeafe;
    --green: #22c55e;
    --green-light: #dcfce7;
    --orange: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: 0.2s ease;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ─── Container ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header / Navigation ───────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: background var(--transition);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    display: flex;
    align-items: center;
}
.site-logo img {
    height: 32px;
    width: auto;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
}
.site-nav a:hover {
    color: var(--brand);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-nav-login {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.btn-nav-login:hover {
    background: var(--brand-lighter);
}
.btn-nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--white) !important;
    background: var(--brand);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    border: none;
    transition: background var(--transition), transform var(--transition);
}
.btn-nav-cta:hover {
    background: var(--brand-light);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--brand);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--brand-lighter);
    color: var(--brand);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 span {
    color: var(--accent);
}
.hero-sub {
    font-size: 20px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all var(--transition);
}
.btn-hero-primary {
    background: var(--brand);
    color: var(--white);
}
.btn-hero-primary:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-hero-secondary {
    background: var(--white);
    color: var(--brand);
    border: 1.5px solid var(--gray-200);
}
.btn-hero-secondary:hover {
    border-color: var(--brand);
    background: var(--brand-lighter);
}
.hero-note {
    font-size: 13px;
    color: var(--gray-400);
}
.hero-visual {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── Logos / Social Proof ──────────────────────────── */
.social-proof {
    padding: 48px 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}
.social-proof p {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.proof-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.proof-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: proofScroll 30s linear infinite;
}
.proof-track span {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.proof-track span:hover {
    opacity: 0.8;
}
@keyframes proofScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.proof-slider:hover .proof-track {
    animation-play-state: paused;
}

/* ─── Section Shared ────────────────────────────────── */
.section {
    padding: 96px 0;
}
.section-gray {
    background: var(--gray-50);
}
.section-brand {
    background: var(--brand);
    color: var(--white);
}
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-brand .section-label {
    color: rgba(255,255,255,0.6);
}
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-brand .section-title {
    color: var(--white);
}
.section-sub {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.6;
}
.section-brand .section-sub {
    color: rgba(255,255,255,0.7);
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-sub {
    margin: 0 auto;
}

/* ─── Features Grid ─────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
    border-color: var(--brand-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
}
.feature-icon.blue { background: var(--accent-light); color: var(--accent); }
.feature-icon.navy { background: var(--brand-lighter); color: var(--brand); }
.feature-icon.green { background: var(--green-light); color: var(--green); }
.feature-icon.orange { background: #fef3c7; color: var(--orange); }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.rose { background: #ffe4e6; color: #e11d48; }
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ─── How It Works ──────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.step-item {
    position: relative;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 8px;
}
.step-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ─── Pricing ───────────────────────────────────────── */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.pricing-toggle span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}
.pricing-toggle span.active {
    color: var(--brand);
    font-weight: 600;
}
.toggle-switch {
    width: 48px;
    height: 26px;
    background: var(--gray-300);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    border: none;
    transition: background var(--transition);
}
.toggle-switch.active {
    background: var(--brand);
}
.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.active::after {
    transform: translateX(22px);
}
.pricing-save {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    padding: 2px 8px;
    border-radius: 4px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.price-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.price-card.popular {
    border-color: var(--brand);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.price-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}
.price-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 16px;
    border-radius: 12px;
    white-space: nowrap;
}
.price-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 8px;
}
.price-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}
.price-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}
.price-amount .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-600);
}
.price-amount .value {
    font-size: 48px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -2px;
    line-height: 1;
}
.price-amount .period {
    font-size: 15px;
    color: var(--gray-400);
    margin-left: 4px;
}
.price-annual-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 24px;
    display: none;
}
.price-features {
    margin-bottom: 28px;
}
.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    padding: 7px 0;
}
.price-features li svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}
.btn-price {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--brand);
    transition: all var(--transition);
}
.btn-price:hover {
    border-color: var(--brand);
    background: var(--brand-lighter);
}
.btn-price-primary {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
.btn-price-primary:hover {
    background: var(--brand-light);
    border-color: var(--brand-light);
}

/* ─── Testimonials ──────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}
.testimonial-stars svg {
    width: 16px;
    height: 16px;
}
.testimonial-stars svg.star-filled {
    fill: #facc15;
    color: #facc15;
}
.testimonial-stars svg.star-empty {
    fill: var(--gray-200);
    color: var(--gray-200);
}
.testimonial-card blockquote {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: normal;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand);
}
.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
}
.testimonial-role {
    font-size: 12px;
    color: var(--gray-400);
}

/* ─── FAQ ───────────────────────────────────────────── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--brand-light); }
.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.open .faq-question svg {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ─── CTA Section ───────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 96px 0;
}
.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--brand);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all var(--transition);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ─── Footer ────────────────────────────────────────── */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-col a:hover {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}
.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }
.footer-links {
    display: flex;
    gap: 24px;
}

/* ─── Blog ──────────────────────────────────────────── */
.blog-hero {
    padding: 120px 0 40px;
    text-align: center;
    background: var(--gray-50);
}
.blog-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.blog-hero p {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 56px 0 96px;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.blog-card-image {
    aspect-ratio: 16/9;
    background: var(--gray-100);
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 10px;
}
.blog-card-category {
    font-weight: 600;
    color: var(--accent);
}
.blog-card h2 {
    font-size: 17px;
    font-weight: 600;
    color: var(--brand);
    line-height: 1.4;
    margin-bottom: 8px;
}
.blog-card h2 a:hover {
    color: var(--accent);
}
.blog-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Blog Detail */
.blog-detail {
    padding: 120px 0 80px;
}
.blog-detail-header {
    text-align: center;
    margin-bottom: 48px;
}
.blog-detail-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.blog-detail-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -1px;
    line-height: 1.2;
    max-width: 720px;
    margin: 0 auto 20px;
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-400);
}
.blog-detail-image {
    max-width: 800px;
    margin: 0 auto 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--gray-100);
}
.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-body {
    max-width: 720px;
    margin: 0 auto;
}
.blog-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand);
    margin: 40px 0 16px;
    letter-spacing: -0.5px;
}
.blog-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand);
    margin: 32px 0 12px;
}
.blog-body p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}
.blog-body ul, .blog-body ol {
    margin: 0 0 20px 24px;
    list-style: disc;
}
.blog-body li {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 6px;
}
.blog-body blockquote {
    border-left: 3px solid var(--brand);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-body blockquote p {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 0;
}
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}
.blog-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: 4px;
}
.blog-empty {
    text-align: center;
    padding: 64px 0;
    color: var(--gray-400);
    font-size: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 0 80px;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.pagination .active {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-4px); }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 17px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 30px; }
    .features-grid,
    .steps-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
    .site-nav { display: none; }
    .nav-toggle { display: block; }
    .site-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 16px 24px;
        gap: 12px;
        box-shadow: var(--shadow-md);
    }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .blog-detail-header h1 { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .blog-filters { flex-direction: column; }
    .blog-search-box { max-width: 100%; }
    .blog-categories { flex-wrap: wrap; }
}

/* ─── Blog Search & Filter ───────────────────────── */
.blog-hero-search {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}
.blog-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 12px;
    padding: 12px 18px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: border-color .2s, box-shadow .2s;
}
.blog-search-box:focus-within {
    border-color: var(--brand, #0071e3);
    box-shadow: 0 0 0 3px rgba(0,113,227,.1);
}
.blog-search-box svg {
    color: var(--gray-400, #9ca3af);
    flex-shrink: 0;
}
.blog-search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 15px;
    color: var(--gray-900, #1d1d1f);
    flex: 1;
    min-width: 0;
    font-family: inherit;
}
.blog-search-box input::placeholder {
    color: var(--gray-400, #9ca3af);
}
.blog-search-clear {
    font-size: 20px;
    color: var(--gray-400, #9ca3af);
    text-decoration: none;
    line-height: 1;
    padding: 0 2px;
    transition: color .2s;
}
.blog-search-clear:hover {
    color: var(--gray-700, #374151);
}
.blog-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.blog-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--gray-600, #4b5563);
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    transition: all .2s;
}
.blog-cat-tag:hover {
    background: var(--gray-100, #f3f4f6);
    border-color: var(--gray-300, #d1d5db);
    color: var(--gray-800, #1f2937);
}
.blog-cat-tag.active {
    background: var(--brand, #0071e3);
    color: #fff;
    border-color: var(--brand, #0071e3);
}
.blog-cat-count {
    font-size: 11px;
    opacity: .7;
}
.blog-results-info {
    font-size: 14px;
    color: var(--gray-500, #6b7280);
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100, #f3f4f6);
}
.blog-results-info a {
    color: var(--brand, #0071e3);
    text-decoration: none;
}
.blog-results-info a:hover {
    text-decoration: underline;
}
