/* ========================================
   Landing Page — Hero
   ======================================== */
.landing-hero {
    background: #e9ecef;
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
}

/* Falling Logos */
.falling-logos-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.falling-logo {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 8px;
    pointer-events: none;
}

.falling-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-header, .hero-laptop-container {
    position: relative;
    z-index: 1;
}

.hero-header {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #212529;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons .btn-lg {
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.0625rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #495057;
}

.hero-feature i {
    font-size: 1rem;
    color: #34c38f;
}

.hero-laptop-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
}

.hero-laptop {
    width: 100%;
    filter: drop-shadow(0 -10px 60px rgba(0,0,0,0.15));
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

/* ========================================
   Bento Features Grid
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    border-radius: 20px;
    padding: 2rem 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s cubic-bezier(.22,.61,.36,1);
}

.bento-card:hover {
    transform: translateY(-4px);
}

/* Large hero card — spans 2 columns */
.bento-card--hero {
    grid-column: span 2;
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 50%, #dbeafe 100%);
    padding: 2.5rem 2.5rem 2.25rem;
    border: 1px solid #c7d2fe;
}
.bento-card--hero:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12);
    border-color: #a5b4fc;
}
.bento-card--hero .bento-icon-wrap {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}
.bento-card--hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Accent card */
.bento-card--accent {
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}
.bento-card--accent:hover {
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.1);
    border-color: #7dd3fc;
}
.bento-card--accent .bento-icon-wrap {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}
.bento-card--accent::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Light cards */
.bento-card--light {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.bento-card--light:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

/* Warm card */
.bento-card--warm {
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}
.bento-card--warm:hover {
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.12);
    border-color: #fcd34d;
}
.bento-card--warm .bento-icon-wrap {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

/* Green card */
.bento-card--green {
    background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}
.bento-card--green:hover {
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.12);
    border-color: #6ee7b7;
}
.bento-card--green .bento-icon-wrap {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}

/* Icon */
.bento-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.bento-card--light .bento-icon-wrap {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
}

/* Label */
.bento-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.bento-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Decorative mini-chart in hero card */
.bento-visual {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-top: 1.5rem;
    height: 48px;
    position: relative;
    z-index: 1;
}
.bento-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: rgba(99, 102, 241, 0.15);
    transition: height 0.6s cubic-bezier(.22,.61,.36,1);
}
.bento-bar--up {
    background: linear-gradient(to top, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.5));
}
.bento-bar--down {
    background: linear-gradient(to top, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.35));
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 1.05rem;
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card--hero {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card--hero {
        grid-column: span 1;
    }
}

/* ========================================
   Steps
   ======================================== */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover .step-icon-wrap {
    transform: translateY(-3px);
}

.step-icon--indigo {
    background: linear-gradient(145deg, #eef2ff, #e0e7ff);
    color: #4f46e5;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}
.step-card:hover .step-icon--indigo {
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.2);
}

.step-icon--sky {
    background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
    color: #0284c7;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
}
.step-card:hover .step-icon--sky {
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
}

.step-icon--emerald {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    color: #059669;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
}
.step-card:hover .step-icon--emerald {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.step-num::before {
    content: 'ШАГ ';
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.step-text a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}
.step-text a:hover {
    text-decoration: underline;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 28px;
    color: #cbd5e1;
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .steps-row {
        flex-direction: column;
        gap: 2rem;
    }
    .step-connector {
        display: none;
    }
    .step-card {
        padding: 0;
    }
}

/* ========================================
   Stats strip
   ======================================== */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 0;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
}

@media (max-width: 767.98px) {
    .stats-strip {
        gap: 1.5rem;
    }
    .stat-value {
        font-size: 1.25rem;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 50%, #dbeafe 100%);
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
}

.cta-text {
    font-size: 1.2rem;
    color: #475569;
}

/* ========================================
   Navbar Landing
   ======================================== */
.navbar-landing {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar-landing .nav-link {
    color: #495057 !important;
}

.navbar-landing .nav-link:hover {
    color: #1e293b !important;
}

.navbar-landing .navbar-logo span {
    color: #212529 !important;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.bg-light-subtle {
    background-color: #f8f9fa !important;
}

/* ========================================
   Landing Mobile
   ======================================== */
@media (max-width: 767.98px) {
    /* Hero */
    .landing-hero {
        padding-top: 56px;
    }
    .hero-header {
        padding: 2rem 0 1.5rem;
    }
    .hero-title {
        font-size: 1.625rem;
        margin-bottom: 1.25rem;
    }
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero-buttons .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.875rem;
    }
    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
        margin-bottom: 0.5rem;
    }
    .hero-feature {
        font-size: 0.8125rem;
    }
    .hero-laptop-container {
        padding-top: 1rem;
    }

    /* Скрываем падающие логотипы — отвлекают на маленьком экране */
    .falling-logos-container {
        display: none;
    }

    /* Sections — компактнее вертикально */
    #features > .container,
    #how-it-works > .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9375rem;
    }

    /* Bento grid */
    .bento-grid {
        padding: 0 4px;
    }
    .bento-card {
        padding: 1.25rem;
    }
    .bento-card--hero {
        padding: 1.5rem;
    }
    .bento-title {
        font-size: 1.1rem;
    }
    .bento-desc {
        font-size: 0.8125rem;
    }
    .bento-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 18px;
        margin-bottom: 0.75rem;
    }

    /* Stats strip */
    .stats-strip {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        padding: 2rem 1rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0;
    }
    .cta-title {
        font-size: 1.5rem;
    }
    .cta-text {
        font-size: 1rem;
    }

    /* Navbar landing — mobile menu */
    .navbar-landing .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .navbar-landing .navbar-collapse {
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        padding: 12px 16px 16px;
        margin: 0 -12px;
    }
    .navbar-landing .navbar-nav {
        gap: 0;
    }
    .navbar-landing .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 0.9375rem;
        border-bottom: 1px solid #f0f0f0;
    }
    .navbar-landing .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-landing .ms-lg-4 {
        flex-direction: column;
        gap: 8px !important;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e9ecef;
    }
    .navbar-landing .ms-lg-4 .btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}

/* ========================================
   Pricing — Hero
   ======================================== */
.pr-hero {
    text-align: center;
    padding: 40px 0 36px;
}
.pr-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--if-slate-800, #1e293b);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.pr-hero-sub {
    font-size: 0.9375rem;
    color: var(--if-slate-500, #64748b);
    margin-bottom: 28px;
}

/* Period toggle — uses if-tabs from custom.css */
.pr-period-tabs {
    display: inline-flex;
    width: auto;
}
.pr-period-tabs .if-tab {
    flex: none;
    padding: 10px 28px;
}
.pr-save-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--if-profit, #22c55e);
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
}

/* ========================================
   Pricing — Plans Grid
   ======================================== */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 780px;
    margin: 0 auto 56px;
}

/* ========================================
   Pricing — Plan Card
   ======================================== */
.pr-card {
    background: #f8fafc;
    border: 1px solid var(--if-slate-200, #e2e8f0);
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}
.pr-card:hover {
    border-color: var(--if-slate-300, #cbd5e1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Featured card — indigo accent */
.pr-card--featured {
    background: #fff;
    border-color: var(--if-accent, #6366f1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}
.pr-card--featured:hover {
    border-color: var(--if-accent, #6366f1);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.16);
}

/* Popular badge */
.pr-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--if-slate-800, #1e293b);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

.pr-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--if-slate-800, #1e293b);
    margin-bottom: 6px;
    text-align: center;
}
.pr-card-desc {
    font-size: 0.8125rem;
    color: var(--if-slate-400, #94a3b8);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
    text-align: center;
}

/* Price */
.pr-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
}
.pr-price-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--if-slate-900, #0f172a);
    line-height: 1;
}
.pr-price-currency {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: var(--if-slate-400, #94a3b8);
}
.pr-price-period {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: var(--if-slate-400, #94a3b8);
}

/* CTA Button */
.pr-cta {
    display: block;
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    margin-bottom: 24px;
}
.pr-cta--primary {
    background: var(--if-slate-800, #1e293b);
    color: #fff;
}
.pr-cta--primary:hover {
    background: var(--if-slate-700, #334155);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}
.pr-cta--secondary {
    background: #fff;
    color: var(--if-slate-600, #475569);
    border: 1px solid var(--if-slate-200, #e2e8f0);
}
.pr-cta--secondary:hover {
    border-color: var(--if-slate-300, #cbd5e1);
    color: var(--if-slate-800, #1e293b);
    background: var(--if-slate-50, #f8fafc);
}
.pr-cta--current {
    background: var(--if-slate-100, #f1f5f9);
    color: var(--if-slate-400, #94a3b8);
    cursor: default;
    pointer-events: none;
}

/* Features list */
.pr-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pr-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.8125rem;
    color: var(--if-slate-600, #475569);
}
.pr-feat-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
}
.pr-feat-icon--yes {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.pr-feat-icon--no {
    background: var(--if-slate-100, #f1f5f9);
    color: var(--if-slate-300, #cbd5e1);
}

/* ========================================
   Pricing — Comparison Table
   ======================================== */
.pr-comp {
    max-width: 780px;
    margin: 0 auto 56px;
}
.pr-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--if-slate-800, #1e293b);
    text-align: center;
    margin-bottom: 20px;
}
.pr-comp-wrap {
    background: var(--if-slate-50, #f8fafc);
    border: 1px solid var(--if-slate-200, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pr-comp-table {
    width: 100%;
    border-collapse: collapse;
}
.pr-comp-table th,
.pr-comp-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--if-slate-200, #e2e8f0);
    font-size: 0.8125rem;
}
.pr-comp-table th {
    background: var(--if-slate-100, #f1f5f9);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--if-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pr-comp-table th:not(:first-child) {
    text-align: center;
    min-width: 130px;
}
.pr-comp-table td:not(:first-child) {
    text-align: center;
}
.pr-comp-table tr:last-child td {
    border-bottom: none;
}
.pr-comp-table td:first-child {
    color: var(--if-slate-500, #64748b);
}

/* ========================================
   Pricing — FAQ
   ======================================== */
.pr-faq {
    max-width: 680px;
    margin: 0 auto 48px;
}
.pr-faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pr-faq-item {
    background: var(--if-slate-50, #f8fafc);
    border: 1px solid var(--if-slate-200, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.pr-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--if-slate-700, #334155);
    cursor: pointer;
    transition: background 0.15s;
}
.pr-faq-q:hover {
    background: var(--if-slate-100, #f1f5f9);
}
.pr-faq-q i {
    transition: transform 0.2s;
    color: var(--if-slate-300, #cbd5e1);
    font-size: 11px;
}
.pr-faq-item.open .pr-faq-q i {
    transform: rotate(180deg);
}
.pr-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 20px;
    font-size: 0.8125rem;
    color: var(--if-slate-500, #64748b);
    line-height: 1.6;
}
.pr-faq-item.open .pr-faq-a {
    max-height: 200px;
    padding: 0 20px 16px;
}

/* ========================================
   Pricing — Responsive
   ======================================== */
@media (max-width: 767px) {
    .pr-hero { padding: 24px 0 20px; }
    .pr-hero-title { font-size: 1.375rem; }
    .pr-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
    .pr-card { padding: 24px 20px; }
    .pr-price-amount { font-size: 1.75rem; }

    /* Comparison table — compact mobile */
    .pr-comp { margin-bottom: 36px; }
    .pr-comp-wrap {
        overflow: visible;
        border-radius: 10px;
    }
    .pr-comp-table th:not(:first-child) {
        min-width: auto;
    }
    .pr-comp-table th,
    .pr-comp-table td {
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    .pr-comp-table th {
        font-size: 0.625rem;
    }
    .pr-comp-table td:first-child,
    .pr-comp-table th:first-child {
        padding-left: 12px;
    }

    /* FAQ compact */
    .pr-faq-q { padding: 12px 14px; font-size: 0.8125rem; }
    .pr-faq-item.open .pr-faq-a { padding: 0 14px 14px; }
}

/* ========================================
   Landing Pricing Overrides (Tariffs page)
   ======================================== */
.landing-pricing {
    padding-top: 100px;
    padding-bottom: 60px;
    background: #fff;
    min-height: 100vh;
}

.landing-pricing .pr-hero-title {
    font-size: 2.5rem;
    color: #212529;
}

.landing-pricing .pr-hero-sub {
    font-size: 1.125rem;
    color: #6c757d;
}

/* if-tabs for landing (no custom.css vars) */
.landing-pricing .if-tabs {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
}
.landing-pricing .if-tab {
    background: transparent;
    border: none;
    padding: 10px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.landing-pricing .if-tab.active {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.landing-pricing .pr-card {
    background: #f8fafc;
}
.landing-pricing .pr-card--featured {
    background: #fff;
}

.landing-pricing .pr-section-title {
    color: #212529;
}

.landing-pricing .if-settings-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 4rem 0;
    color: #6c757d;
}

@media (max-width: 767.98px) {
    .landing-pricing {
        padding-top: 80px;
    }
    .landing-pricing .pr-hero-title {
        font-size: 2rem;
    }
}

/* ========================================
   Footer
   ======================================== */
.lf-footer {
    background-color: #F2F2F5;
    color: #64748b;
    padding: 80px 0 40px;
}
.lf-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
/* Fluid: brand takes more space, links columns are compact and right-aligned */
.lf-top--fluid {
    grid-template-columns: 1fr auto auto auto;
    gap: 4rem;
}
.lf-top--fluid .lf-brand-desc {
    max-width: 460px;
}
.lf-brand-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 320px;
}
.lf-social {
    display: flex;
    gap: 10px;
}
.lf-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 15px;
    transition: all 0.25s;
    text-decoration: none;
}
.lf-social a:hover {
    background: rgba(0,0,0,0.08);
    color: #1e293b;
    transform: translateY(-2px);
}
.lf-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
    margin-bottom: 1.25rem;
}
.lf-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lf-links li { margin-bottom: 0.75rem; }
.lf-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    white-space: nowrap;
}
.lf-links a:hover {
    color: #0f172a;
}
.lf-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin: 0;
}
.lf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.lf-copy {
    font-size: 0.8125rem;
    color: #64748b;
}
.lf-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.lf-bottom-links a {
    font-size: 0.8125rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.lf-bottom-links a:hover {
    color: #0f172a;
}
@media (max-width: 991.98px) {
    .lf-top, .lf-top--fluid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 575.98px) {
    .lf-footer {
        padding: 40px 0 28px;
    }
    .lf-top, .lf-top--fluid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }
    .lf-top > div:first-child {
        grid-column: span 2;
    }
    .lf-brand-desc {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    .lf-col-title {
        margin-bottom: 0.75rem;
    }
    .lf-links li {
        margin-bottom: 0.5rem;
    }
    .lf-links a {
        font-size: 0.8125rem;
        white-space: normal;
    }
    .lf-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .lf-bottom-links {
        gap: 0.75rem;
    }
    .lf-bottom-links a {
        font-size: 0.75rem;
    }
}
