:root {
    /* Colors - Dual Theme Ready (Default Dark for Premium) */
    --color-bg: #050507;
    --color-bg-alt: #0a0a0e;
    /* Slightly lighter dark background for sections */
    --color-bg-light: #f8f9fa;
    /* For alternating light sections */
    --color-text: #e0e0e0;
    --color-text-dark: #1f2937;
    /* For text on light backgrounds */
    --color-text-muted: #9ca3af;
    --color-primary: #ffffff;

    /* Brand Colors */
    --color-accent: #3b82f6;
    /* Electric Blue */
    --color-cta: #f59e0b;
    /* Amber/Orange for Primary Calls to Action */
    --color-cta-hover: #d97706;

    --color-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    /* UI */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

    --transition: all 0.3s ease;
}

/* Base Reset */
* {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 1rem;
}

html {
    scroll-behavior: smooth;
}

/* Global Changes for Readability */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 18px;
    /* Increased body size */
    line-height: 1.7;
}

/* Line-length control only for long-form text (legal pages, articles) */
.section-light p,
.section-light li,
.section-light blockquote {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Focus States - Accessibility */
a:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.faq-question:focus-visible,
.mobile-menu-toggle:focus-visible,
.dropdown-toggle:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Hierarchy & Typography */
h1,
h2,
h3,
h4 {
    color: var(--color-primary);
    line-height: 1.1;
    margin-top: 0;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Layout Utilities (CRITICAL - RESTORED) */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

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

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

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

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-accent {
    color: var(--color-accent);
}

/* Sections */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.section-full {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.section-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--color-text-dark);
}

.section-light p {
    color: #4b5563;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 7, 0.85);
    /* Slightly more opaque */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 5px;
}

.nav-link[aria-current="page"] {
    color: var(--color-accent);
}

/* Phone Header */
.header-phone {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-cta);
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    text-decoration: none;
}
@media (min-width: 1025px) {
    .header-phone { display: flex; }
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

/* Primary CTA - High Visibility Orange/Amber */
.btn-primary {
    background: var(--color-cta);
    color: #000;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.23);
}

/* Secondary CTA */
.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

.section-light .btn-secondary {
    color: var(--color-text-dark);
    border-color: rgba(0, 0, 0, 0.2);
}

.section-light .btn-secondary:hover {
    border-color: var(--color-text-dark);
    background: rgba(0, 0, 0, 0.05);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Cards */
.card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    transition: var(--transition);
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
    flex-grow: 1;
    background: linear-gradient(to bottom, rgba(10, 10, 14, 0.8), var(--color-bg-alt));
}

/* Portfolio Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-dark);
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Stats Section */
.stats-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 6rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-light .stats-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.section-light .stat-label {
    color: #4b5563;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.portfolio-content h3 {
    color: white !important;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.section-light .card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

/* Logos Grid */
.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.8;
}



/* FAQ Accordion */
.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.section-light .faq-item {
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.faq-answer {
    margin-top: 1rem;
    display: none;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-answer.open {
    display: block;
}

.section-light .faq-answer {
    color: #666;
}

/* Footer specific */
.footer {
    background-color: #020203;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
}

.footer-heading {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: var(--color-accent);
    color: white;
}

/* CTA Box (Final Section) */
.cta-box {
    background: radial-gradient(circle at top right, #1e1e24 0%, #050507 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) 2rem;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 900px;
}

.check-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.check-icon {
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Utilities */
.section-light .text-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero enhancements */
.hero-content {
    padding-right: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        text-align: center;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

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

    .cta-group {
        justify-content: center;
    }

    .logos-grid {
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 2000;
        position: relative;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        transform: translateY(-100%);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        font-size: 1.5rem;
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0a0a0e;
    min-width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-radius: 0;
    white-space: nowrap;
    text-align: left;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding-left: 1.75rem;
}

/* Mobile Dropdown Override */
@media (max-width: 1024px) {
    .dropdown {
        flex-direction: column;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        /* JS toggle preferably or CSS hover substitution */
        padding: 0;
        text-align: center;
        min-width: 100%;
        margin-top: 1rem;
        border-radius: var(--radius-sm);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu .nav-link {
        font-size: 1.1rem;
        /* Smaller than main links */
        padding: 0.75rem 0;
        text-align: center;
    }

    .dropdown-menu .nav-link:hover {
        padding-left: 0;
        background: transparent;
        color: var(--color-accent);
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Comparative Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-dark);
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .feature-col {
    text-align: left;
    font-weight: 600;
}

.check-green {
    color: #10b981;
    font-weight: bold;
}

.cross-red {
    color: #ef4444;
    font-weight: bold;
}

@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card h3 {
    color: var(--color-text-dark);
}

.pricing-card .btn-secondary {
    color: var(--color-text-dark);
    border-color: rgba(0, 0, 0, 0.2);
}

.pricing-card .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--color-text-dark);
}

.pricing-card.featured {
    border: 2px solid var(--color-accent);
    /* transform: scale(1.05); Removed to align buttons perfectly */
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
    z-index: 10;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin: 1.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
}

/* Timeline Vertical */
.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 2;
}

/* Line connector */
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -3rem;
    /* extend to next item */
    width: 2px;
    background: rgba(59, 130, 246, 0.2);
}

.timeline-content {
    padding-top: 0.5rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    text-align: center;
}
.mobile-sticky-cta .btn {
    width: 100%;
    max-width: 400px;
}
@media (max-width: 768px) {
    .mobile-sticky-cta { display: block; }
    body { padding-bottom: 80px; }
}

/* Portfolio filter */
.portfolio-card.hidden { display: none; }

/* Utility Classes */
.icon-lg { font-size: 2.5rem; margin-bottom: 1rem; }
.icon-xl { font-size: 3rem; margin-bottom: 1rem; }
.section-intro { max-width: 800px; margin: 0 auto 4rem; text-align: center; }
.glass-card { padding: 2rem; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.1); }
.flex-center-wrap { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.text-sm-muted { font-size: 0.9rem; color: var(--color-text-muted); }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 4rem; }
.breadcrumb-wrapper { padding-top: 100px; padding-bottom: 2rem; }

/* Contrast fix for muted text on light backgrounds */
.section-light .text-sm-muted,
.section-light .text-muted {
    color: #4b5563;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding-top: 100px;
    padding-bottom: 1rem;
}
.breadcrumb-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-nav li::after {
    content: ">";
    margin-left: 0.5rem;
}
.breadcrumb-nav li:last-child::after {
    content: "";
}
.breadcrumb-nav a {
    color: var(--color-text-muted);
}
.breadcrumb-nav a:hover {
    color: var(--color-accent);
}

/* Honeypot field */
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Tablet intermediate breakpoint */
@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* USER REQUESTED OVERRIDES */

/* Visual swaps for SEO/Structure */
.h1-lookalike {
    display: block;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.1;
    font-weight: 700;
}

h1.badge-lookalike {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: initial;
    margin-top: 0;
}

/* Visibility Block Enhancement */
.cta-box-enhanced {
    background: radial-gradient(circle at top right, #2d2d35 0%, #0a0a0e 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.1) !important;
}

.cta-box-enhanced h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fix button visibility in enhanced CTA box */
.cta-box-enhanced .btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.cta-box-enhanced .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
}