/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Brand Colors — Deep Crimson (Bold & Premium) */
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: rgba(220, 38, 38, 0.08);
    --primary-glow: rgba(220, 38, 38, 0.15);
    
    /* UI Colors — Pure White */
    --bg-body: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F9FAFB;
    
    /* Status Colors */
    --success: #10B981;
    --success-light: rgba(16, 185, 129, 0.08);
    --danger: #EF4444;
    --danger-light: rgba(239, 68, 68, 0.08);
    --warning: #F59E0B;
    --warning-light: rgba(245, 158, 11, 0.08);
    --purple: #8B5CF6;
    --purple-light: rgba(139, 92, 246, 0.08);
    
    /* Text Colors */
    --text-main: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    /* Structure */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 48px rgba(220, 38, 38, 0.08), 0 8px 16px rgba(15, 23, 42, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-surface);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-blue { color: var(--primary); }
.text-primary { color: var(--primary); }
.text-green { color: var(--success); }
.text-orange { color: var(--warning); }
.text-purple { color: var(--purple); }
.text-red { color: var(--danger); }
.text-white { color: #fff; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }

.bg-light { background-color: var(--bg-body); }
.bg-white { background-color: var(--bg-surface); }
.bg-blue { background-color: #0F172A; }

.bg-blue-light { background-color: var(--primary-light); }
.bg-green-light { background-color: var(--success-light); }
.bg-orange-light { background-color: var(--warning-light); }
.bg-red-light { background-color: var(--danger-light); }
.bg-purple-light { background-color: var(--purple-light); }

.mt-4 { margin-top: 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
    border-bottom: 1px solid #F1F5F9;
}

.section-padding:last-of-type,
.cta.section-padding,
.app-download-section.section-padding {
    border-bottom: none;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid #E5E7EB;
    padding: 10px 24px;
}

.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: #D1D5DB;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--text-muted);
    padding: 10px 16px;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #F3F4F6;
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand i {
    color: var(--primary);
    font-size: 28px;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.brand span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

.nav-link-active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 80px 0 48px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-body) 100%);
    border-bottom: 1px solid #F1F5F9;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Hero Stats Row */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 4px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-composite-img {
    max-width: 560px;
    width: 100%;
    transition: transform 0.5s ease;
}

.hero-composite-img:hover {
    transform: scale(1.02);
}

/* Trusted By Section */
.trusted-by-section {
    background: var(--bg-body);
    padding: 64px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.trusted-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

.trusted-text {
    flex: 1;
}

.trusted-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.trusted-text p {
    color: var(--text-muted);
    font-size: 16px;
}

.trusted-logos {
    flex: 1;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

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

/* ==========================================================================
   Feature Showcase (5-block alternating layout)
   ========================================================================== */
.feature-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid #F0F0F0;
}

.feature-showcase:last-child {
    border-bottom: none;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.feature-showcase-content {
    flex: 1;
}

.feature-showcase-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #DC2626;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.12);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.feature-showcase-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.feature-showcase-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-showcase-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-showcase-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-showcase-points li i {
    color: #16A34A;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    line-height: 1;
}

.feature-showcase-points li strong {
    color: var(--text-main);
    font-weight: 600;
}

.feature-showcase-points li span {
    flex: 1;
}

.feature-showcase-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-elevated-img {
    max-width: 460px;
    width: 100%;
    transition: transform 0.5s ease;
}

.feature-elevated-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column;
        gap: 32px;
        padding: 40px 0;
    }

    .feature-showcase-content h3 {
        font-size: 22px;
    }

    .feature-elevated-img {
        max-width: 100%;
        width: 100%;
    }
}
.showcase-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.showcase-container.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.showcase-content > p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.benefit-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    transition: transform 0.3s ease;
}

.benefit-row:hover {
    transform: translateX(8px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-text p {
    color: var(--text-muted);
    font-size: 15px;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rounded-shadow {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
    max-width: 320px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-image:hover .rounded-shadow {
    transform: scale(1.02);
    box-shadow: 0 32px 64px rgba(220, 38, 38, 0.12);
}

.showcase-phone-img {
    max-width: 480px;
    width: 100%;
    transition: transform 0.5s ease;
}

.showcase-phone-img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.why-us-section {
    background: url('why-us-bg.png') center bottom / contain no-repeat;
    background-color: #FFFFFF;
    position: relative;
    padding-bottom: 120px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(220, 38, 38, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.15);
}

.why-us-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px auto;
}

.why-us-card h3 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1;
    letter-spacing: -2px;
}

.why-us-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-us-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-us-section {
        background-size: 100% auto;
        padding-bottom: 80px;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.review-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.review-header h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.backlink {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.stars {
    color: var(--warning);
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.review-card p {
    color: var(--text-main);
    font-style: italic;
    font-size: 15px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #D1D5DB;
}

.faq-question {
    padding: 24px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   Trust Avatars
   ========================================================================== */
.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -12px;
}

.trust-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-body);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 1;
}

/* ==========================================================================
   App Download Section
   ========================================================================== */
.app-download-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.app-download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: #FFF8F0;
    border: 1px solid rgba(220, 38, 38, 0.08);
    border-radius: 32px;
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.app-download-content {
    position: relative;
    z-index: 1;
}

.app-download-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.app-download-content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.app-download-buttons {
    display: flex;
    gap: 16px;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #FFFFFF;
    color: var(--text-main);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.app-store-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.15);
}

.app-store-btn i {
    font-size: 28px;
}

.app-btn-small {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.app-btn-big {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.app-download-image {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.app-download-img {
    max-width: 480px;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.app-download-img:hover {
    transform: scale(1.03) translateY(-10px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #FFFFFF;
    color: var(--text-main);
    padding: 100px 0 60px 0;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.3fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.footer-legal-inline {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-inline li a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-inline li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.22);
}

.footer-app-btn i {
    font-size: 16px;
}

.footer-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.32);
}

.footer-link-all {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    color: var(--primary) !important;
}

.footer-link-all:hover {
    color: var(--primary-dark) !important;
}

.footer-brand-col p {
    color: var(--text-secondary);
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 24px;
}

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

.footer-links-col h4 {
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 16px;
}

.footer-links-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Hero — rating badge, trust line, platform chips
   ========================================================================== */
.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #F59E0B;
    font-size: 14px;
    line-height: 1;
}

.hero-rating-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-rating-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.hero-trust-line {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-platforms {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

/* App Store + Google Play buttons inside the hero */
.hero-app-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-app-buttons .app-store-btn {
    padding: 8px 18px;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
}

.hero-app-buttons .app-store-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}

.hero-app-buttons .app-store-btn i {
    font-size: 24px;
}

.hero-app-buttons .app-btn-small {
    font-size: 9px;
    opacity: 0.85;
}

.hero-app-buttons .app-btn-big {
    font-size: 15px;
}

/* Platform chips (also used in workflow section) */
.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-subtle);
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.platform-chip i {
    font-size: 16px;
    color: var(--text-main);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Audience strip
   ========================================================================== */
.audience-strip {
    background: var(--bg-subtle);
    padding: 40px 0;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.audience-strip-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.audience-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.audience-chip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.audience-chip:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.audience-chip i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.audience-chip span {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    font-size: 13px;
    color: var(--text-muted);
}

.audience-chip span strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

/* ==========================================================================
   Workflow section — numbered cards (desktop) / progress timeline (mobile)
   ========================================================================== */
.workflow-section {
    overflow: hidden;
}

@keyframes workflowGloss {
    0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: translateX(220%) skewX(-12deg); opacity: 0; }
}

@keyframes workflowGlowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.30); }
    60%  { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12); }
}

/* Desktop — horizontal timeline, no cards */
.workflow-flow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 48px;
    position: relative;
    padding: 0;
}

/* Horizontal track — left/right/top set via JS to align with icon centers */
.workflow-progress-track {
    display: block;
    position: absolute;
    height: 2px;
    background: #E5E7EB;
    border-radius: 2px;
    z-index: 0;
}

.workflow-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.45);
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: none;
    animation: none;
}

.workflow-step:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.workflow-step::before,
.workflow-step::after {
    display: none;
    content: none;
}

.workflow-step-num {
    display: none;
}

.workflow-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transform: scale(0.78);
    opacity: 0.55;
    transition:
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.workflow-step.is-visible .workflow-step-icon {
    transform: scale(1);
    opacity: 1;
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow:
        0 0 0 5px rgba(220, 38, 38, 0.14),
        0 6px 16px rgba(220, 38, 38, 0.32);
}

.workflow-step h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--text-main);
    line-height: 1.25;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.workflow-step p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
    max-width: 130px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.workflow-step.is-visible h4,
.workflow-step.is-visible p {
    opacity: 1;
    transform: translateY(0);
}

/* Workflow closer — extras + platforms in unified band */
.workflow-closer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
}

.workflow-closer-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.workflow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.workflow-pill i {
    font-size: 18px;
}

.workflow-closer-divider {
    width: 60px;
    height: 1px;
    background: #E5E7EB;
}

.workflow-closer-platforms {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.workflow-closer-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-right: 4px;
}

/* ==========================================================================
   Pricing teaser
   ========================================================================== */
.pricing-teaser-section {
    background: var(--bg-body);
}

.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--bg-subtle);
    padding: 4px;
    border-radius: 100px;
    border: 1px solid #E5E7EB;
}

.pricing-toggle-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pricing-toggle-btn.active {
    background: var(--bg-surface);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.save-badge {
    background: var(--success);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.10);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.pricing-card-header {
    margin-bottom: 24px;
}

.pricing-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-audience {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.pricing-price {
    margin-bottom: 24px;
    min-height: 60px;
}

.pricing-grid.monthly .price-yearly,
.pricing-grid.yearly .price-monthly {
    display: none;
}

.pricing-grid.monthly .price-monthly,
.pricing-grid.yearly .price-yearly {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pricing-features li i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    padding: 12px 24px !important;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
}

/* ==========================================================================
   Login page — Coming Soon state
   ========================================================================== */
.login-page {
    background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 60%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-navbar {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 80px 0;
}

.login-container {
    width: 100%;
    max-width: 520px;
}

.login-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(220, 38, 38, 0.04);
}

.login-illustration {
    display: flex;
    justify-content: center;
    margin: -8px auto 24px auto;
    max-width: 280px;
}

.login-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Status tag — pulsing dot */
.login-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.10);
    color: #B45309;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.login-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F59E0B;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    animation: loginPulse 1.6s ease-out infinite;
}

@keyframes loginPulse {
    0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}

.login-card h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 12px 0;
}

.login-lede {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 28px 0;
}

/* Form fields */
.login-form {
    margin-bottom: 28px;
}

.login-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.login-input-row {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-subtle);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.login-input-row:focus-within {
    border-color: var(--primary);
    background: var(--bg-surface);
}

.login-country-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    border-right: 1.5px solid #E5E7EB;
}

.login-country-code i {
    font-size: 16px;
    color: var(--primary);
}

.login-input-row input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    outline: none;
    font-family: inherit;
}

.login-input-row input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.login-input-row input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.login-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px !important;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

.login-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-submit:disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--primary);
}

.login-submit i {
    font-size: 18px;
}

.login-disabled-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 12px 0 0 0;
    font-style: italic;
}

.login-disabled-note i {
    color: var(--text-light);
    font-size: 14px;
}

/* Waitlist */
.login-waitlist {
    padding: 24px 0 0 0;
    border-top: 1px solid #F1F5F9;
}

.login-waitlist h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--text-main);
}

.notify-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.10);
    color: #047857;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 0 0;
}

.notify-success i {
    font-size: 16px;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 20px 0;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #F1F5F9;
}

.login-divider span {
    flex-shrink: 0;
}

/* App buttons */
.login-app-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.login-app-btn {
    flex: 1;
    padding: 10px 16px;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    justify-content: center;
}

.login-app-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.login-app-btn i {
    font-size: 22px;
}

.login-app-btn .app-btn-small {
    font-size: 9px;
    opacity: 0.85;
}

.login-app-btn .app-btn-big {
    font-size: 14px;
}

.login-foot-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.login-foot-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.login-foot-note a:hover {
    text-decoration: underline;
}

/* Compact login footer */
.login-footer {
    padding: 24px 0;
    border-top: 1px solid #F1F5F9;
    background: var(--bg-surface);
}

.login-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.login-footer p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Mobile adjustments */
@media (max-width: 520px) {
    .login-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .login-card h1 {
        font-size: 24px;
    }

    .login-app-buttons {
        flex-direction: column;
    }

    .login-navbar .btn-text {
        display: none;
    }
}

/* ==========================================================================
   Client Portal — split view (owner vs client)
   ========================================================================== */
.client-portal-section {
    background: var(--bg-body);
}

.portal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.portal-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.15);
}

.portal-corner-svg {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.portal-card:hover .portal-corner-svg {
    opacity: 0.9;
    transform: translateY(-2px) rotate(-2deg);
}

.portal-owner .portal-corner-svg {
    color: var(--primary);
}

.portal-client .portal-corner-svg {
    color: #10B981;
}

.portal-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.portal-owner .portal-card-tag {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary);
}

.portal-client .portal-card-tag {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.portal-card-tag i {
    font-size: 16px;
}

.portal-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-main);
    letter-spacing: -0.4px;
}

.portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.portal-list li i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--success);
}

.portal-owner .portal-list li i {
    color: var(--primary);
}

.portal-list li.portal-list-x i {
    color: var(--success);
}

.portal-list li.portal-list-x {
    font-weight: 600;
    color: #047857;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.portal-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: max-content;
    display: flex;
    justify-content: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.portal-note i {
    color: var(--success);
    font-size: 18px;
}

/* ==========================================================================
   Free Tools showcase
   ========================================================================== */
.free-tools-section {
    background: var(--bg-body);
}

.free-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.tool-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.18);
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    transition: all 0.25s ease;
}

.tool-card:hover .tool-card-icon {
    background: var(--primary);
    color: white;
}

.tool-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
    line-height: 1.3;
}

.tool-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.free-tools-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.free-tools-microcopy {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Trusted-By CTA button
   ========================================================================== */
.trusted-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
}

.trusted-cta i {
    font-size: 18px;
    color: var(--primary);
}

.trusted-cta:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   Studios page — hero + timeline
   ========================================================================== */
.studios-hero {
    padding: 100px 0 60px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 100%);
    border-bottom: 1px solid #F1F5F9;
}

.studios-hero h1 {
    font-size: 48px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 16px 0 16px 0;
}

.studios-hero-lede {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 40px auto;
    line-height: 1.55;
}

.studios-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.studios-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.studios-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.studios-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Timeline */
.studios-timeline-section {
    background: var(--bg-body);
}

.studios-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.studios-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg, var(--primary-light) 0%, #E5E7EB 50%, var(--primary-light) 100%);
    z-index: 0;
}

.timeline-year {
    position: relative;
    text-align: center;
    margin: 24px 0 32px;
    z-index: 2;
}

.timeline-year span {
    display: inline-block;
    padding: 8px 24px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}

.timeline-entry {
    position: relative;
    width: calc(50% - 40px);
    margin-bottom: 40px;
    z-index: 1;
}

.timeline-entry.left {
    margin-right: auto;
    padding-right: 40px;
    text-align: right;
}

.timeline-entry.right {
    margin-left: auto;
    padding-left: 40px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.10);
    z-index: 3;
}

.timeline-entry.left .timeline-dot {
    right: -48px;
}

.timeline-entry.right .timeline-dot {
    left: -48px;
}

.timeline-entry.founding .timeline-dot.founding-dot {
    background: var(--primary);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.18), 0 0 16px rgba(220, 38, 38, 0.5);
}

.timeline-date {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: left;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.15);
}

.timeline-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.timeline-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.timeline-card-head h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.timeline-city {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.timeline-city i {
    font-size: 14px;
    color: var(--primary);
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.timeline-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.timeline-link i {
    font-size: 14px;
}

/* Update-type tags (used in updates.html timeline cards) */
.update-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tag-feature {
    background: rgba(220, 38, 38, 0.10);
    color: var(--primary);
}

.tag-improvement {
    background: rgba(59, 130, 246, 0.10);
    color: #2563EB;
}

.tag-mobile {
    background: rgba(139, 92, 246, 0.10);
    color: #7C3AED;
}

.tag-web {
    background: rgba(16, 185, 129, 0.10);
    color: #059669;
}

.tag-integration {
    background: rgba(245, 158, 11, 0.10);
    color: #D97706;
}

.timeline-logo i {
    font-size: 22px;
}

.studios-load-more {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px dashed #E5E7EB;
}

.studios-more-note {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

/* ==========================================================================
   Pricing page — hero + comparison table
   ========================================================================== */
.pricing-hero {
    padding: 100px 0 40px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 100%);
}

.pricing-hero h1 {
    font-size: 48px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 16px 0 16px 0;
}

.pricing-hero-lede {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 12px auto;
    line-height: 1.55;
}

.pricing-hero .hero-trust-line {
    margin-top: 12px;
}

.comparison-section {
    background: var(--bg-subtle);
}

.comparison-table-wrap {
    overflow-x: auto;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E5E7EB;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 720px;
}

.comparison-table thead th {
    text-align: center;
    padding: 20px 16px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-subtle);
    border-bottom: 2px solid #E5E7EB;
    font-size: 15px;
}

.comparison-table thead th:first-child {
    text-align: left;
    width: 32%;
}

.comparison-table thead th.th-popular {
    color: var(--primary);
    background: var(--primary-light);
}

.comparison-table tbody td {
    padding: 14px 16px;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: 1px solid #F1F5F9;
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: var(--text-main);
    font-weight: 500;
}

.comparison-table tbody td i.ph-fill.ph-check {
    color: var(--success);
    font-size: 18px;
}

.comparison-table .row-group td {
    background: var(--bg-subtle);
    color: var(--text-main);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    padding: 16px 16px 12px 16px;
}

/* ==========================================================================
   Security / Trust section
   ========================================================================== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.security-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.25s ease;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.2);
}

.security-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
}

.security-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--success) !important;
    margin-bottom: 0 !important;
}

.security-card-tag i {
    font-size: 16px;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 36px 32px;
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    text-align: center;
}

.security-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.security-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.security-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page .contact-hero {
    padding-top: 80px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 100%);
}

.contact-page-intro {
    max-width: 640px;
    margin-bottom: 56px;
}

.contact-page-intro h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.contact-app-card {
    margin-bottom: 48px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.contact-app-card-grid {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 280px);
    gap: 40px;
    align-items: start;
}

.contact-app-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-app-card-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.contact-app-card-lead {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.contact-app-steps {
    margin: 0 0 28px 1.1em;
    padding: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.contact-app-steps li {
    margin-bottom: 10px;
}

.contact-app-steps li:last-child {
    margin-bottom: 0;
}

.contact-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.contact-chip i {
    font-size: 18px;
    opacity: 0.85;
}

.contact-chip-active {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #1D4ED8;
}

.contact-app-fields {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-app-fields-label {
    color: var(--text-main);
    font-weight: 600;
}

.contact-app-aside-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-app-aside-card > i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.contact-app-aside-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-app-aside-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-panel {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-panel-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-panel-lead {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

a.contact-detail-value {
    color: var(--text-main);
    font-weight: 600;
}

a.contact-detail-value:hover {
    color: var(--primary);
}

.contact-detail-multiline {
    max-width: 320px;
}

.contact-visual {
    position: sticky;
    top: 100px;
}

.contact-figure {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-illustration-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    /* Lets flat white / light matting in the PNG fall away into the page background */
    mix-blend-mode: multiply;
}

.contact-visual-caption {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .contact-app-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-visual {
        position: static;
        order: -1;
    }

    .contact-page-intro h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .contact-page-intro h1 {
        font-size: 28px;
    }

    .contact-panel {
        padding: 28px 24px;
    }

    .contact-app-card {
        padding: 24px 20px;
    }

    .contact-app-card-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   The Problem Section
   ========================================================================== */
.problem-section {
    background: linear-gradient(180deg, #FFFBFB 0%, #FFF 50%, #F8FAFC 100%);
}

.problem-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid #F1F5F9;
}

.problem-block:last-of-type {
    border-bottom: none;
}

.problem-block.reverse {
    direction: rtl;
}

.problem-block.reverse > * {
    direction: ltr;
}

.problem-number {
    font-size: 14px;
    font-weight: 700;
    color: #DC2626;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.problem-block-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.problem-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.problem-points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.problem-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.problem-points li i {
    color: #DC2626;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    background: #FEF2F2;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition:
        opacity 0.6s ease 0.35s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.fade-in-up.is-visible .problem-stat {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: problemStatPulse 1.1s ease-out 0.45s 1;
}

@keyframes problemStatPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.25); }
    60%  { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08); }
}

.problem-stat .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #DC2626;
    line-height: 1;
}

.problem-stat .stat-label {
    font-size: 14px;
    color: #7F1D1D;
    line-height: 1.4;
}

/* Elevated Mockup Image */
.problem-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-mockup-img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.problem-mockup-img:hover {
    transform: scale(1.03) translateY(-8px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .showcase-container, .showcase-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* Mobile/tablet hero order: rating badge → eyebrow → H1 → image → subhead → stats → buttons → trust → platforms */
    .hero-content {
        display: contents;
    }

    .hero-content > .hero-rating { order: 1; margin-bottom: 0; }
    .hero-content > .badge        { order: 2; margin-bottom: 0; }
    .hero-content > h1            { order: 3; margin-bottom: 4px; }
    .hero-visual                  { order: 4; margin: 4px 0; }
    .hero-content > p:not(.hero-trust-line) { order: 5; margin-bottom: 0; }
    .hero-content > .hero-stats   { order: 6; margin-bottom: 0; }
    .hero-content > .hero-app-buttons { order: 7; margin-top: 0; }
    .hero-content > .hero-trust-line { order: 8; margin-top: 0; }

    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-buttons,
    .hero-app-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-composite-img {
        max-width: 440px;
    }

    .trusted-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .trusted-logos {
        display: flex;
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid, .stats-grid, .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-block,
    .problem-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 0;
        direction: ltr;
    }

    .problem-mockup-img {
        max-width: 360px;
    }
    
    .benefit-row {
        text-align: left;
    }

    .app-download-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-download-buttons {
        justify-content: center;
    }

    .app-download-img {
        max-width: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    /* Pricing & security collapse 4-col → 2-col at tablet */
    .pricing-grid,
    .security-grid,
    .free-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Client Portal still 2-col at tablet — fits */
    .portal-card {
        padding: 28px 24px;
    }

    .portal-card h3 {
        font-size: 20px;
    }

    /* Workflow at tablet — keep horizontal but hide descriptions, shrink icons */
    .workflow-flow {
        gap: 6px;
    }

    .workflow-step-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
        margin-bottom: 12px;
    }

    .workflow-step h4 {
        font-size: 13px;
    }

    .workflow-step p {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-text {
        display: none;
    }
    
    .feature-grid, .stats-grid, .review-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-stat-item {
        align-items: center;
        text-align: center;
    }

    .hero-stat-num {
        font-size: 24px;
    }

    .hero-stat-text {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-rating {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-rating-text {
        font-size: 12px;
    }

    .problem-block-content h3 {
        font-size: 22px;
    }

    .problem-block-image {
        order: -1;
    }

    .problem-mockup-img {
        max-width: 280px;
    }

    .app-download-content h2 {
        font-size: 28px;
    }

    .app-download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-image img[style*="absolute"] {
        display: none;
    }

    /* Hero buttons stack on mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-platforms {
        justify-content: center;
    }

    /* Audience strip → compact 3-col mini-grid (icon + label only) */
    .audience-chips {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .audience-chip {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 14px 8px;
    }

    .audience-chip i {
        font-size: 22px;
    }

    .audience-chip span strong {
        font-size: 13px;
    }

    .audience-chip span {
        font-size: 11px;
        line-height: 1.25;
    }

    /* Workflow → connected timeline: line through icon centers, circles expand on scroll */
    .workflow-flow {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 0;
        max-width: 320px;
        margin: 0 auto 32px auto;
        position: relative;
    }

    /* Hide only the step numbers on mobile (keep label + description) */
    .workflow-step-num {
        display: none;
    }

    /* Vertical track — runs through center of icon column */
    .workflow-progress-track {
        display: block;
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 23px;
        right: auto;
        width: 2px;
        height: auto;
        background: #E5E7EB;
        border-radius: 2px;
        z-index: 0;
    }

    .workflow-progress-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
        border-radius: 2px;
        transition: height 0.45s ease-out;
        box-shadow: 0 0 8px rgba(220, 38, 38, 0.45);
    }

    .workflow-step {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 20px;
        row-gap: 4px;
        align-items: center;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        overflow: visible;
        opacity: 1;
        transform: none;
        transition: none;
        box-shadow: none;
        animation: none;
        position: relative;
        z-index: 1;
    }

    .workflow-step.is-visible {
        background: transparent;
        border: none;
        box-shadow: none;
        animation: none;
        transform: none;
    }

    /* Cancel inherited card decorations */
    .workflow-step::before,
    .workflow-step::after,
    .workflow-step.is-visible::before,
    .workflow-step.is-visible::after {
        display: none;
    }

    /* Icon circle — small/muted by default, expands & fills red when active */
    .workflow-step-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--bg-surface);
        border: 2px solid #E5E7EB;
        color: var(--primary);
        font-size: 22px;
        margin: 0;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
        box-shadow: var(--shadow-sm);
        grid-row: 1 / span 2;
        grid-column: 1;
        align-self: center;
        transform: scale(0.78);
        opacity: 0.55;
        transition:
            transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
            opacity 0.4s ease,
            background 0.4s ease,
            border-color 0.4s ease,
            color 0.4s ease,
            box-shadow 0.4s ease;
    }

    .workflow-step.is-visible .workflow-step-icon {
        transform: scale(1);
        opacity: 1;
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        box-shadow:
            0 0 0 5px rgba(220, 38, 38, 0.14),
            0 6px 16px rgba(220, 38, 38, 0.32);
    }

    /* Label (top right) — slides in from right when active */
    .workflow-step h4 {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        color: var(--text-main);
        line-height: 1.25;
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Description (below label) — slides in slightly delayed for stagger effect */
    .workflow-step p {
        display: block;
        font-size: 13px;
        font-weight: 400;
        color: var(--text-muted);
        line-height: 1.4;
        margin: 0;
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.55s ease 0.1s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
        position: relative;
        z-index: auto;
    }

    .workflow-step.is-visible h4,
    .workflow-step.is-visible p {
        opacity: 1;
        transform: translateX(0);
    }

    .workflow-closer {
        padding: 20px 16px;
        gap: 14px;
    }

    .workflow-closer-pills,
    .workflow-closer-platforms {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Pricing → single column */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.popular {
        margin-top: 14px;
    }

    /* Studios timeline → single-column layout on mobile */
    .studios-hero h1 {
        font-size: 32px;
    }

    .studios-stats {
        gap: 28px;
    }

    .studios-stat-num {
        font-size: 28px;
    }

    .studios-timeline {
        padding: 0 8px;
    }

    .studios-timeline-line {
        left: 16px;
        transform: none;
    }

    .timeline-year {
        text-align: left;
        margin-left: 4px;
    }

    .timeline-entry,
    .timeline-entry.left,
    .timeline-entry.right {
        width: calc(100% - 40px);
        margin-left: 40px;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .timeline-entry.left .timeline-dot,
    .timeline-entry.right .timeline-dot {
        left: -32px;
        right: auto;
    }

    .timeline-card {
        padding: 18px 20px;
    }

    .timeline-card-head h3 {
        font-size: 16px;
    }

    /* Security → 2-col grid on mobile (was 1-col) */
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Client Portal → single column on mobile */
    .portal-split {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .portal-card {
        padding: 24px 20px;
    }

    .portal-card h3 {
        font-size: 19px;
    }

    .portal-list li {
        font-size: 14px;
    }

    .portal-note {
        font-size: 12px;
        padding: 10px 16px;
        text-align: center;
        line-height: 1.4;
    }

    /* Free Tools → 2-col on mobile (compact) */
    .free-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tool-card {
        padding: 20px 16px;
        gap: 8px;
    }

    .tool-card-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .tool-card h4 {
        font-size: 14px;
    }

    .tool-card p {
        font-size: 12px;
    }

    .security-card {
        padding: 22px 18px;
    }

    .security-card-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .security-card h3 {
        font-size: 16px;
    }

    .security-card p {
        font-size: 13px;
    }

    .security-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 24px 16px;
    }

    .security-stat-num {
        font-size: 22px;
    }

    .security-stat-label {
        font-size: 12px;
    }
}

/* ==========================================================================
   Calculator pages — shared styles
   ========================================================================== */
.calc-hero {
    padding: 100px 0 40px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 100%);
    text-align: center;
}
.calc-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.calc-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.calc-breadcrumb a:hover { color: var(--primary); }
.calc-breadcrumb .sep { color: var(--text-light); }
.calc-hero h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.calc-hero .lede {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.calc-main { padding: 48px 0 80px 0; }
.calc-layout {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calc-form, .calc-result {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.calc-form h2, .calc-result h2 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.calc-form h2 i, .calc-result h2 i { color: var(--primary); font-size: 22px; }

.calc-field { margin-bottom: 18px; }
.calc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.calc-input, .calc-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #E5E7EB;
    background: var(--bg-surface);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.2s;
    outline: none;
}
.calc-input:focus, .calc-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.calc-result { background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-surface) 100%); }
.calc-output {
    text-align: center;
    padding: 24px 0;
}
.calc-output .calc-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 6px;
}
.calc-output .calc-num small { font-size: 20px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.calc-output .calc-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.calc-breakdown {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 20px;
}
.calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
}
.calc-breakdown-row:last-child { border-bottom: none; font-weight: 700; color: var(--text-main); }
.calc-breakdown-row span:first-child { color: var(--text-muted); }
.calc-breakdown-row span:last-child { color: var(--text-main); font-weight: 600; }

.calc-info { padding: 60px 0; background: var(--bg-subtle); }
.calc-info-inner { max-width: 880px; margin: 0 auto; }
.calc-info h2 { font-size: 28px; letter-spacing: -1px; margin-bottom: 16px; }
.calc-info h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; color: var(--text-main); }
.calc-info p, .calc-info li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.calc-info ol, .calc-info ul { padding-left: 24px; margin-bottom: 16px; }
.calc-info ol li, .calc-info ul li { margin-bottom: 6px; }
.calc-info strong { color: var(--text-main); font-weight: 600; }
.calc-info .formula {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    border-left: 3px solid var(--primary);
}

.calc-faq { padding: 60px 0; }
.calc-faq-inner { max-width: 800px; margin: 0 auto; }
.calc-faq h2 { font-size: 28px; letter-spacing: -1px; margin-bottom: 28px; text-align: center; }
.calc-faq-item {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--bg-surface);
    overflow: hidden;
}
.calc-faq-item summary {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calc-faq-item summary::-webkit-details-marker { display: none; }
.calc-faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    transition: transform 0.3s;
}
.calc-faq-item[open] summary::after { transform: rotate(45deg); }
.calc-faq-item .answer {
    padding: 0 22px 18px 22px;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
}

.related-calcs { padding: 60px 0; background: var(--bg-subtle); }
.related-calcs h2 { font-size: 28px; letter-spacing: -1px; text-align: center; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.related-card {
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
}
.related-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.related-card .ric {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--primary-light); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.related-card h4 { font-size: 14px; margin-bottom: 2px; }
.related-card p { font-size: 12px; color: var(--text-muted); margin: 0; }

.calc-app-cta { padding: 64px 0; text-align: center; background: linear-gradient(135deg, #0F172A 0%, var(--primary-dark) 100%); color: white; }
.calc-app-cta h2 { color: white; font-size: 28px; letter-spacing: -1px; margin-bottom: 12px; }
.calc-app-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

.ref-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: var(--bg-surface);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.ref-table th, .ref-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #E5E7EB;
}
.ref-table th { background: var(--bg-subtle); font-weight: 700; color: var(--text-main); }
.ref-table tr:last-child td { border-bottom: none; }
.ref-table tr:nth-child(even) { background: var(--bg-subtle); }

@media (max-width: 768px) {
    .calc-hero { padding: 80px 0 32px 0; }
    .calc-hero h1 { font-size: 28px; letter-spacing: -1px; }
    .calc-layout { grid-template-columns: 1fr; gap: 24px; }
    .calc-form, .calc-result { padding: 24px; }
    .calc-output .calc-num { font-size: 38px; }
    .related-grid { grid-template-columns: 1fr; }
    .calc-info h2, .calc-faq h2, .related-calcs h2 { font-size: 22px; }
}

