/* ============================================
   TBM MAIN CSS - PROFESSIONAL REFACTORED
   Removed: 90% emojis, childish gradients, AI look
   Added: Professional typography, clean design
   ============================================ */

/* ============================================
   CSS VARIABLES - PROFESSIONAL COLOR SYSTEM
   ============================================ */
:root {
    /* Primary Brand Colors */
    --color-primary: #00a651; /* 3.19:1 on white - use ONLY for large text (18pt+/14pt+ bold), backgrounds, or borders */
    --color-primary-dark: #008a43; /* Better contrast - use for small text if needed */
    --color-primary-light: #00c263;
    --color-primary-pale: #e6f7ef;

    /* Neutral Colors */
    --color-dark: #1a1a1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #767676; /* Updated for WCAG AA contrast (was #999999) */
    --color-border: #e0e0e0;
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --color-background-light: #fafbfc;

    /* Semantic Colors */
    --color-success: #00a651;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY - PROFESSIONAL & READABLE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

strong, b {
    font-weight: 600;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container,
    .container-narrow,
    .container-wide {
        padding: 0 1.5rem;
    }
}

/* ============================================
   SECTIONS - CLEAN SPACING
   ============================================ */
section {
    padding: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   BUTTONS - PROFESSIONAL & ACCESSIBLE
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    min-height: 48px;
    min-width: 48px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.5;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    min-height: 48px; /* Ensure touch target minimum */
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* Remove emoji icons from buttons */
.btn::before,
.btn::after {
    content: none;
}

/* ============================================
   CARDS - CLEAN & PROFESSIONAL
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-header {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-body {
    color: var(--color-text-light);
    line-height: 1.7;
}

.card-footer {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

/* Remove emoji-based card icons */
.card::before,
.card-header::before,
.card-icon {
    display: none;
}

/* ============================================
   GRID SYSTEM - RESPONSIVE
   ============================================ */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   HERO SECTION - PROFESSIONAL, NOT FLASHY
   ============================================ */
.hero {
    position: relative;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Remove flashy gradient backgrounds */
.hero::before,
.hero::after {
    display: none;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: white;
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-pale);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   STATS SECTION - CLEAN, PROFESSIONAL
   ============================================ */
.stats {
    background: var(--color-background-alt);
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Remove emoji decorations */
.stat-number::before,
.stat-number::after {
    content: none;
}

/* ============================================
   TESTIMONIALS - PROFESSIONAL
   ============================================ */
.testimonials {
    background: white;
}

.testimonial-card {
    background: var(--color-background-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: var(--spacing-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.testimonial-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Remove quote emojis */
.testimonial-text::before,
.testimonial-text::after {
    content: none;
}

/* ============================================
   CTA SECTION - SUBTLE & EFFECTIVE
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-pale) 0%, white 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER - CLEAN & ORGANIZED
   ============================================ */
.footer {
    background: var(--color-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   FORMS - CLEAN & ACCESSIBLE
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    min-height: 48px; /* iOS/Android touch target minimum */
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-dark { color: var(--color-dark); }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }

.bg-primary { background: var(--color-primary); }
.bg-light { background: var(--color-background-light); }
.bg-white { background: white; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   ANIMATIONS - SUBTLE & PROFESSIONAL
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .footer,
    .btn,
    .cta-section {
        display: none;
    }

    body {
        padding-top: 0;
    }

    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* ============================================
   MODERN LEADS-SNIPER INSPIRED DESIGN
   Added: Dark hero, modern cards, trust stats
   ============================================ */

/* Google Fonts Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Update Typography Variables */
:root {
    --font-modern: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --color-dark-navy: #0a1628;
    --color-dark-navy-light: #1a2332;
}

/* Apply Modern Font */
body,
.btn,
.card,
input,
textarea,
select {
    font-family: var(--font-modern);
}

/* ============================================
   MODERN HERO SECTION - DARK GRADIENT
   ============================================ */
.hero-modern,
.modern-hero {
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, var(--color-dark-navy-light) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-modern::before,
.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0,166,81,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title-large {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
}

.hero-title-large span {
    color: var(--color-primary);
}

.hero-subtitle-large {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* ============================================
   MODERN CTA BUTTONS
   ============================================ */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-large-primary {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    border: none;
    box-shadow: 0 4px 12px rgba(0,166,81,0.3);
    cursor: pointer;
}

.btn-large-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,166,81,0.4);
    color: white;
}

.btn-large-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-large-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: white;
}

/* ============================================
   TRUST STATS BAR
   ============================================ */
.trust-stats {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ============================================
   MODERN FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-modern {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.feature-title-modern {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-dark-navy-light);
    margin-bottom: 0.75rem;
}

.feature-description-modern {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   HOW IT WORKS - 3 STEP PROCESS
   ============================================ */
.how-it-works {
    background: var(--color-background-alt);
    padding: 5rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,166,81,0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark-navy-light);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   PRICING / SERVICES CARDS - DARK SECTION
   ============================================ */
.pricing-dark,
.services-dark {
    background: linear-gradient(135deg, var(--color-dark-navy-light) 0%, var(--color-dark-navy) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(0,166,81,0.5);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: rgba(0,166,81,0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.pricing-description {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   MODERN TESTIMONIALS
   ============================================ */
.testimonial-modern {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-primary);
    transition: all var(--transition-base);
}

.testimonial-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text-modern {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    color: var(--color-dark-navy-light);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info p {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* ============================================
   ENHANCED SECTION TITLES
   ============================================ */
.section-title-modern {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle-modern {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Dark section title variations */
.pricing-dark .section-title-modern,
.services-dark .section-title-modern {
    color: white;
}

.pricing-dark .section-subtitle-modern,
.services-dark .section-subtitle-modern {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR MODERN DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-modern,
    .modern-hero {
        padding: 80px 0 60px;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-large-primary,
    .btn-large-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   SMOOTH SCROLL BEHAVIOR
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ============================================
   MOBILE TOUCH OPTIMIZATIONS
   ============================================ */

/* Form inputs - mobile friendly */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px; /* Prevents iOS zoom */
    -webkit-appearance: none;
    appearance: none;
}

/* Phone number click-to-call optimization */
a[href^="tel:"] {
    display: inline-block;
    min-height: 48px; /* Updated to meet WCAG touch target minimum */
    padding: 10px 14px;
    margin: -10px -14px;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
}

a[href^="tel:"]:hover {
    color: var(--color-primary-dark);
    transform: scale(1.02);
}

/* Form validation styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input.error,
textarea.error,
select.error {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: var(--color-background-alt);
}

/* Touch feedback for all interactive elements */
button,
a,
input[type="submit"],
input[type="button"] {
    -webkit-tap-highlight-color: rgba(0, 166, 81, 0.1);
}

/* Ensure minimum touch targets on mobile */
@media (max-width: 768px) {
    .navbar-menu a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 16px;
    }

    .btn-large {
        min-height: 56px;
        padding: 16px 32px;
        font-size: 1.125rem;
    }
}
