/* =========================================
   VisiConnect Website Styles
   Version: 1.0
   ========================================= */

/* CSS Variables */
:root {
    /* Teal Palette */
    --teal-deep: #1E6464;
    --teal-dark: #226B6B;
    --teal-core: #237878;
    --teal-mid: #3AA8A8;
    --teal-light: #5DC4C4;
    --teal-pale: #B8E8E8;
    --teal-wash: #E8F7F7;
    
    /* Neutrals */
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Scroll animation */
.animate-pending {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    transition: opacity 0.6s ease, -webkit-transform 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* Skip Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--teal-core);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    padding-top: 70px;
}

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

a {
    color: var(--teal-core);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: var(--space-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--teal-core);
    color: var(--white);
    border-color: var(--teal-core);
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-core);
    border-color: var(--teal-core);
}

.btn-secondary:hover {
    background: var(--teal-wash);
    color: var(--teal-dark);
}

.btn-white {
    background: var(--white);
    color: var(--teal-core);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.logo:hover {
    color: var(--teal-core);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

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

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

.nav-buttons {
    display: flex;
    gap: var(--space-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal-wash) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-bg-shape {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--teal-pale);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

/* =========================================
   Social Proof
   ========================================= */
.social-proof {
    background: var(--gray-900);
    padding: var(--space-2xl) 0;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-light);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-top: var(--space-xs);
}

/* =========================================
   Problem Section
   ========================================= */
.problem {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.problem h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.problem-card {
    padding: var(--space-lg);
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.problem-card h3 {
    margin-bottom: var(--space-sm);
}

/* =========================================
   Features Preview
   ========================================= */
.features-preview {
    padding: var(--space-3xl) 0;
    background: var(--teal-wash);
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-core);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.features-preview h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.features-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* =========================================
   How It Works
   ========================================= */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--teal-core);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.step-arrow {
    font-size: 2rem;
    color: var(--teal-light);
    padding-top: var(--space-lg);
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--gray-100);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--teal-core);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.church-size {
    color: var(--teal-core) !important;
    font-weight: 500;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-core) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-links a {
    display: block;
    color: var(--gray-300);
    font-size: 0.875rem;
    padding: var(--space-xs) 0;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.875rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        padding: 1rem 2rem 0.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.07);
        gap: 0.75rem;
        z-index: 999;
    }

    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        padding: 0.5rem 2rem 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.07);
        gap: 0.5rem;
        z-index: 998;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .problem-grid,
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero {
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .faq-grid,
    .addon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .proof-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        text-align: center;
    }

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

    .steps {
        gap: 0;
    }

    .step {
        padding: 1rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* =========================================
   Page Header (for sub-pages)
   ========================================= */
.page-header {
    background: linear-gradient(135deg, var(--teal-wash) 0%, var(--white) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   Pricing Table
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--teal-core);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card h3 {
    margin-bottom: var(--space-sm);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

/* Billing toggle: preserve price number styling */
.price .price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price .price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.features-list {
    list-style: none;
    margin: var(--space-lg) 0;
    text-align: left;
}

.features-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal-core);
    font-weight: 700;
}

/* =========================================
   Contact Grid
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   Contact Form
   ========================================= */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal-core);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--teal-core);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--teal-core);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.form-success {
    background: var(--teal-wash);
    border: 1px solid var(--teal-core);
    color: var(--teal-deep);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* =========================================
   Blog Cards
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    grid-auto-rows: auto;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image .blog-icon {
    font-size: 3rem;
}

.blog-card-image.gradient-1 { background: linear-gradient(135deg, var(--teal-core), var(--teal-mid)); }
.blog-card-image.gradient-2 { background: linear-gradient(135deg, var(--teal-deep), var(--teal-core)); }
.blog-card-image.gradient-3 { background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid)); }
.blog-card-image.gradient-4 { background: linear-gradient(135deg, var(--teal-mid), var(--teal-light)); }
.blog-card-image.gradient-5 { background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark)); }
.blog-card-image.gradient-6 { background: linear-gradient(135deg, var(--teal-core), var(--teal-deep)); }

.blog-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-link {
    margin-top: 1rem;
    display: inline-block;
}

.blog-category {
    font-size: 0.875rem;
    color: var(--teal-core);
    font-weight: 600;
}

.blog-card-body h3 {
    font-size: 1.125rem;
    margin: var(--space-xs) 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--teal-core);
    font-weight: 600;
}

.blog-newsletter {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    max-width: 500px;
    margin: var(--space-lg) auto 0;
}

.blog-newsletter-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--white);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
}

.blog-newsletter-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.blog-newsletter-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
}

/* =========================================
   Pricing Page
   ========================================= */
.pricing-section {
    padding: var(--space-2xl) 0;
    background: var(--gray-100);
}

.pricing-card {
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: var(--teal-core);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    margin-bottom: var(--space-sm);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.faq-section {
    padding: var(--space-2xl) 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.addons-section {
    padding: var(--space-2xl) 0;
    background: var(--gray-100);
}

.addons-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.addon-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.addon-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.addon-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.addon-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-core);
}

@media (max-width: 1024px) {
    .addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-newsletter {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .addon-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Features Detail Section (features.html)
   ========================================= */
.features-detail {
    padding: var(--space-2xl) 0;
}

/* =========================================
   Feature Detail Rows (features.html)
   ========================================= */
.feature-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--gray-300);
}
.feature-detail-row:last-child {
    border-bottom: none;
}
.feature-detail-row.reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.feature-detail-row.reverse > *:first-child {
    order: 2;
}
.feature-detail-row.reverse > *:last-child {
    order: 1;
}
.feature-detail-text,
.feature-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.feature-detail-text h2,
.feature-detail-content h2 {
    text-align: left;
}
.feature-detail-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.feature-list li {
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal-core);
    font-weight: 700;
}
.feature-detail-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-sm);
}
.stat-item {
    text-align: center;
}
.stat-item .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-core);
}
.stat-item .stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}
@media (max-width: 768px) {
    .feature-detail-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-detail-row.reverse {
        direction: ltr;
    }
    .feature-detail-stats {
        gap: var(--space-md);
    }
}

/* Form error state */
.field-error { border-color: #c0392b !important; }

/* Partnership callout */
.partnership-callout {
    background: var(--teal-wash);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

/* Teal text utility */
.text-teal { color: var(--teal-core); }

/* Legal Pages */
.legal-header {
    text-align: center;
    padding: 2rem 0 3rem;
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-core) 100%);
    color: white;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.legal-header p {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.legal-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--teal-deep);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal-wash);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--teal-core);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, 
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content a {
    color: var(--teal-core);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Mobile responsive for legal pages */
@media (max-width: 768px) {
    .legal-header {
        padding: 3rem 0 2rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 2rem 0;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1rem;
    }
}

/* ============================================================
   ROI Frame
   ============================================================ */
.roi-frame {
    background: var(--teal-wash);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--teal-pale);
}
.roi-statement {
    text-align: center;
    font-size: 1.05rem;
    color: var(--teal-deep);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   Billing Toggle
   ============================================================ */
.billing-toggle-section {
    padding: 2rem 0 0;
}
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.billing-label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-700);
}
#monthly-label { font-weight: 700; }
.annual-badge {
    background: var(--teal-core);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    vertical-align: middle;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 999px;
    transition: 0.3s;
}
.toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked + .toggle-slider { background: var(--teal-core); }
input:checked + .toggle-slider:before { transform: translateX(24px); }

/* ============================================================
   Demo CTA
   ============================================================ */
.demo-cta-section {
    padding: 3rem 0 1rem;
}
.demo-cta-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    border: 2px solid var(--teal-pale);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.demo-cta-icon {
    font-size: 2.5rem;
    color: var(--teal-core);
    flex-shrink: 0;
}
.demo-cta-content h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.demo-cta-content p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }
.demo-btn { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 600px) {
    .demo-cta-card { flex-direction: column; text-align: center; }
}

/* ============================================================
   Founder Section
   ============================================================ */
.founder-section {
    padding: 4rem 0;
    background: var(--gray-100);
}
.founder-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}
.founder-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    max-width: 820px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.founder-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-deep), var(--teal-core));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}
.founder-bio h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.founder-title { color: var(--teal-core); font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.founder-bio p { color: var(--gray-700); line-height: 1.75; margin-bottom: 0.75rem; font-size: 0.975rem; }
.founder-credentials { font-size: 0.85rem !important; color: var(--gray-500) !important; }

@media (max-width: 600px) {
    .founder-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   Pricing Page Mobile Responsiveness
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .demo-cta-card {
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Pricing grid stacks */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: scale(1);
        order: -1; /* Show Most Popular first on mobile */
    }

    /* Pricing card sizing */
    .pricing-card {
        padding: var(--space-lg);
    }

    .price .price-amount {
        font-size: 2.5rem;
    }

    /* ROI frame */
    .roi-statement {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    /* Billing toggle */
    .billing-toggle {
        gap: 0.75rem;
    }

    .billing-label {
        font-size: 0.9rem;
    }

    /* Demo CTA */
    .demo-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .demo-btn {
        width: 100%;
        text-align: center;
    }

    /* Add-ons grid stacks */
    .addon-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    /* FAQ grid stacks */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Founder card */
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .founder-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
    .pricing-grid,
    .addon-grid {
        max-width: 100%;
    }

    .price .price-amount {
        font-size: 2.25rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .billing-toggle-section {
        padding: 1.5rem 0 0;
    }

    .annual-badge {
        display: block;
        margin: 0.25rem 0 0 0;
    }

    .demo-cta-section {
        padding: 2rem 0 0.5rem;
    }

    .roi-frame {
        padding: 1.25rem 0;
    }
}

/* ============================================================
   Networks / Partners / Switch Pages
   ============================================================ */
.network-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--teal-wash) 0%, white 100%);
    text-align: center;
}
.network-hero h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.network-hero .hero-subtitle {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Network contact form */
.network-form-wrapper {
    max-width: 680px;
    margin: 2.5rem auto 0;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.network-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.network-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.network-contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}
.network-contact-form input,
.network-contact-form select,
.network-contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.95);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
}
.network-contact-form textarea { resize: vertical; }

/* Commission table */
.commission-table-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    overflow-x: auto;
}
.commission-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.commission-table th {
    background: var(--teal-deep);
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
}
.commission-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-700);
}
.commission-table tr:last-child td { border-bottom: none; }
.highlighted-row td { background: var(--teal-wash); }
.table-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* Program terms grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.terms-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.terms-item h4 {
    color: var(--teal-deep);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.terms-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Switcher tabs */
.switcher-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.switcher-tab {
    padding: 0.65rem 1.5rem;
    border: 2px solid var(--teal-core);
    border-radius: 999px;
    background: white;
    color: var(--teal-core);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.switcher-tab:hover,
.switcher-tab.active {
    background: var(--teal-core);
    color: white;
}

/* Compare grid */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 860px;
    margin: 2rem auto;
}
.compare-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.visiconnect-card {
    border: 2px solid var(--teal-core);
}
.competitor-card {
    border: 2px solid var(--gray-300);
}
.compare-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-300);
}
.visiconnect-card .compare-logo { color: var(--teal-deep); }
.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.compare-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}
.compare-list li:last-child { border-bottom: none; }
.compare-list li.pro::before { content: '✅'; position: absolute; left: 0; }
.compare-list li.con::before { content: '❌'; position: absolute; left: 0; }
.compare-list li.neutral::before { content: '⚪'; position: absolute; left: 0; }

.switch-bottom-note {
    max-width: 700px;
    margin: 2rem auto 0;
    background: white;
    border-left: 4px solid var(--teal-core);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .network-hero h1 { font-size: 1.75rem; }
    .network-contact-form .form-row { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .competitor-card { display: none; } /* Show VisiConnect card only on small screens */
    .terms-grid { grid-template-columns: 1fr; }
    .switcher-tabs { gap: 0.5rem; }
    .switcher-tab { font-size: 0.8rem; padding: 0.5rem 1rem; }
}

@media (max-width: 480px) {
    .network-hero { padding: 5rem 0 3rem; }
    .network-hero h1 { font-size: 1.5rem; }
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: white;
    z-index: 9999;
    padding: 1rem 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.5;
}
.cookie-banner a { color: var(--teal-mid); }
.cookie-banner-btns { flex-shrink: 0; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.875rem; }

@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .cookie-banner-btns { width: 100%; }
    .cookie-banner-btns .btn { width: 100%; text-align: center; }
}

/* ============================================================
   Consent Checkboxes
   ============================================================ */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal-core);
    width: 16px;
    height: 16px;
}
.checkbox-label--light { color: rgba(255,255,255,0.85); }
.consent-group { margin-bottom: 1.25rem; }

.newsletter-consent {
    margin-top: 0.75rem;
    text-align: left;
}

/* ============================================================
   Blog Post Pages
   ============================================================ */
.blog-post-wrapper {
    min-height: 100vh;
}

.blog-post-header {
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-core) 100%);
    color: white;
    padding: 5rem 0 3rem;
}

.blog-post-header .back-link {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-post-header .back-link:hover { color: white; }

.blog-post-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-header h1 {
    font-size: 2.25rem;
    color: white;
    line-height: 1.25;
    margin-bottom: 1rem;
    max-width: 780px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    flex-wrap: wrap;
}
.blog-separator { opacity: 0.5; }
.blog-author { font-weight: 600; color: rgba(255,255,255,0.95); }

/* Blog post body */
.blog-post-content {
    padding: 3rem 0 4rem;
    background: white;
}

.blog-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}
.blog-body h2 {
    font-size: 1.5rem;
    color: var(--teal-deep);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
.blog-body h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.blog-body p { margin-bottom: 1.25rem; }
.blog-body ul, .blog-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.blog-body li { margin-bottom: 0.5rem; }
.blog-body em { font-style: italic; color: var(--gray-600); }
.blog-body strong { color: var(--gray-900); }
.blog-body hr { border: none; border-top: 1px solid var(--gray-300); margin: 2rem 0; }

/* Share bar */
.blog-share {
    max-width: 780px;
    margin: 3rem auto 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.blog-share a {
    color: var(--teal-core);
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border: 1.5px solid var(--teal-core);
    border-radius: 999px;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.blog-share a:hover { background: var(--teal-core); color: white; }

/* Blog post CTA */
.blog-post-cta {
    max-width: 780px;
    margin: 2.5rem auto 0;
    background: linear-gradient(135deg, var(--teal-deep), var(--teal-core));
    color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}
.blog-post-cta h3 { color: white; font-size: 1.35rem; margin-bottom: 0.75rem; }
.blog-post-cta p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Related posts */
.related-posts {
    max-width: 780px;
    margin: 3rem auto 0;
}
.related-posts h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.related-post-card {
    display: block;
    padding: 1.25rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s;
}
.related-post-card:hover {
    border-color: var(--teal-core);
    box-shadow: var(--shadow-sm);
}
.related-cat {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-core);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.related-post-card h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.related-read {
    font-size: 0.8rem;
    color: var(--teal-core);
    font-weight: 600;
}

/* Blog listing: read time */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
}

/* Mobile */
@media (max-width: 768px) {
    .blog-post-header h1 { font-size: 1.6rem; }
    .blog-post-header { padding: 4.5rem 0 2rem; }
    .related-posts-grid { grid-template-columns: 1fr; }
    .blog-share { gap: 0.6rem; }
}
@media (max-width: 480px) {
    .blog-post-header h1 { font-size: 1.35rem; }
    .blog-body { font-size: 1rem; }
}

/* ============================================================
   Blog Card SVG Patterns
   ============================================================ */
.blog-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.blog-card-image svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Ensure old emoji spans are hidden if any remain */
.blog-card-image span { display: none; }

/* ============================================================
   Blog Pagination
   ============================================================ */
.blog-pagination {
    text-align: center;
    padding: 2rem 0 1rem;
}

/* Blog listing section */
.blog-listing-section {
    padding: 4rem 0;
    background: var(--white);
}

/*** VisiConnect Logo & Tagline Styles ***/
.logo-tagline {
    font-size: 10px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6B7B8A;
    text-decoration: none;
    margin-left: 16px;
    align-self: center;
    font-weight: 500;
}
.brand-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6B7B8A;
    margin: 12px 0 0 0;
    font-weight: 500;
}
.navbar .logo-tagline {
    display: none;
}
@media (min-width: 768px) {
    .navbar .logo-tagline {
        display: inline;
    }
}
