/* ╔══════════════════════════════════════════════════════════╗
   ║  AVANTCERT — UNIFIED STYLESHEET (single source of truth)  ║
   ║  Layer order: cert base → homepage base → design system   ║
   ╚══════════════════════════════════════════════════════════╝ */


/* ============================================================
   LAYER 1 · cert/article base (was styles.css)
   ============================================================ */
/* ============================================
   AVANTCERT BLOG LISTING - PREMIUM DESIGN
   Colors: Navy Blue (#001f3f, #003366) & Yellow (#FFD700, #FFC107)
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    --navy-dark: #001f3f;
    --navy-medium: #003366;
    --navy-light: #004080;
    --orange-primary: #fd910b;
    --orange-accent: #fd910b;
    --orange-light: #fd910b;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-dark: #212529;
    --text-light: #6c757d;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Helvetica Neue', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 31, 63, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 31, 63, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 31, 63, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 31, 63, 0.24);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Missing Variables from style.css */
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Extended Border Radius */
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Extended Shadows */
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 180px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    color: var(--orange-primary);
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
.main-content {
    padding: var(--spacing-2xl) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ============================================
   STICKY CTA SIDEBAR
   ============================================ */
.cta-sidebar {
    position: sticky;
    top: 120px;
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    animation: fadeInLeft 0.8s ease;
}

.cta-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

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

.cta-icon {
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.cta-sidebar h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-sidebar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cta-button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

.cta-features {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.cta-feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--orange-primary);
    color: var(--navy-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============================================
   LUCIDE ICON STYLES
   ============================================ */
i[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.cta-icon i[data-lucide] {
    width: 48px;
    height: 48px;
    color: var(--orange-primary);
}

.search-icon i[data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--gray-dark);
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-section {
    animation: fadeInRight 0.8s ease;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Search & Filter */
.search-filter {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-medium);
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--orange-accent);
    background: var(--orange-accent);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--navy-medium);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-medium);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-read-time {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.read-more {
    color: var(--orange-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: gap var(--transition-base);
}

.read-more:hover {
    gap: var(--spacing-sm);
}

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   PREMIUM SUPPORT SECTION
   ============================================ */
.premium-support-section {
    padding: var(--space-20) 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.premium-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    pointer-events: none;
}

.premium-support-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
}

.premium-support-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.premium-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-4);
}

.premium-support-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.premium-support-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: var(--space-2);
}

.premium-support-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange-primary);
    transform: translateY(-3px);
}

.premium-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.premium-feature-icon svg,
.premium-feature-icon i {
    width: 24px;
    height: 24px;
}

.premium-feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.premium-feature-content p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.premium-support-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-support-cta .btn {
    margin: 0 var(--space-2);
}

/* ============================================
   FOOTER - MODERN APPLE STYLE
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--orange-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo img {
        height: 120px;
    }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Glow animation for WhatsApp button */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
    }
}

/* Adjust WhatsApp button when back-to-top is visible */
.whatsapp-float.shift-left {
    right: calc(var(--space-8) + 72px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    background: var(--navy-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Remove orange outline on focus for back-to-top button */
.back-to-top:focus,
.back-to-top:focus-visible {
    outline: none;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .cta-sidebar {
        position: relative;
        top: 0;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transition: left var(--transition-base);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hide navbar buttons on mobile for perfect alignment */
    .nav-wrapper>div[style*="display: flex"] {
        display: none !important;
    }

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

    .search-filter {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-sidebar {
        padding: var(--spacing-lg);
    }

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

    .article-content {
        padding: var(--spacing-md);
    }

    .toc-card {
        padding: var(--spacing-md);
    }
}

/* ============================================
   ARTICLE PAGE SPECIFIC STYLES
   ============================================ */

/* Article Hero */
.article-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    margin-top: 80px;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--orange-primary);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
    color: var(--orange-primary);
}

.article-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.article-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Table of Contents Card */
.toc-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-light);
}

.toc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.toc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.toc-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toc-link {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--orange-accent);
    transform: translateX(5px);
}

.toc-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange-accent);
    min-width: 30px;
    height: 30px;
    /* Added height for consistency */
    display: flex;
    /* Added flex for centering */
    align-items: center;
    /* Added for centering */
    justify-content: center;
    /* Added for centering */
    background: var(--white);
    /* Added background for visual separation */
    border-radius: var(--radius-sm);
    /* Added border-radius */
    flex-shrink: 0;
}

.toc-text {
    color: var(--navy-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Article Content Layout */
.article-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Sidebar Navigation */
.sidebar {
    position: sticky;
    top: 120px;
    border-left: 2px solid var(--gray-light);
    padding-left: var(--spacing-lg);
}

.sidebar-sticky {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}

.progress-indicator {
    height: 4px;
    background: var(--gray-medium);
    border-radius: 2px;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--orange-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-md);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* Custom scrollbar for entire sidebar */
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: var(--orange-primary);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: var(--orange-accent);
}

/* Firefox scrollbar */
.sidebar-sticky {
    scrollbar-width: thin;
    scrollbar-color: var(--orange-primary) var(--gray-light);
}

.sidebar-link {
    display: block;
    padding: var(--spacing-sm);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--navy-dark);
    background: rgba(255, 215, 0, 0.08);
    border-left-color: var(--orange-accent);
    padding-left: calc(var(--spacing-sm) + 5px);
}

.cta-box {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--navy-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.cta-box h4 {
    color: var(--orange-primary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

/* Article Content */
.article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
}

.content-section {
    margin-bottom: var(--spacing-2xl);
    scroll-margin-top: 100px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--orange-accent);
    display: inline-block;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-text strong {
    color: var(--navy-dark);
    font-weight: 600;
}

/* Highlight Boxes */
.key-point {
    padding: var(--spacing-lg);
    background: rgba(255, 215, 0, 0.06);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange-accent);
    transition: all var(--transition-base);
    margin: var(--spacing-lg) 0;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.highlight-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Principles/Benefits Grid */
.principles-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.principle-card,
.benefit-card {
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.principle-card:hover,
.benefit-card:hover {
    border-color: var(--orange-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.principle-icon,
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

/* Override for SVG icon containers */
.principle-icon.icon-container,
.benefit-icon.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: rgba(255, 215, 0, 0.08);
    /* Changed from gradient to solid */
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-icon.icon-container .svg-icon,
.benefit-icon.icon-container .svg-icon {
    width: 40px;
    height: 40px;
    stroke: var(--orange-accent);
    fill: none;
}

.principle-card:hover .principle-icon.icon-container,
.benefit-card:hover .benefit-icon.icon-container {
    background: rgba(255, 215, 0, 0.12);
    /* Changed from gradient to solid */
    border-color: var(--orange-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.principle-card:hover .svg-icon,
.benefit-card:hover .svg-icon {
    stroke: var(--orange-primary);
}

.principle-card h3,
.benefit-card h4 {
    color: var(--navy-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.principle-card p,
.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-accent);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--navy-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.benefit-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Process Diagram */
.process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--orange-accent);
    border-radius: var(--radius-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.process-step h4 {
    color: var(--navy-dark);
    margin-bottom: var(--spacing-xs);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--orange-accent);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--spacing-xl) - 6px);
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--orange-accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--orange-accent);
}

.timeline-content {
    padding: var(--spacing-lg);
    background: var(--gray-light);
    border-radius: var(--radius-md);
}

.timeline-content h4 {
    color: var(--navy-dark);
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Info Banner */
.info-banner {
    padding: var(--spacing-lg);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.info-banner p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.info-banner strong {
    color: var(--orange-primary);
}

/* Article CTA Section */
.article-cta {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

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

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--orange-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
}

/* WhatsApp Button Style */
.btn-whatsapp {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: var(--white);
}

/* Responsive for Article Pages */
@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .article-hero-title {
        font-size: 2.2rem;
    }

    .article {
        padding: var(--spacing-lg);
    }

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

    .process-diagram {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   PREMIUM ICON STYLES
   ============================================ */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all var(--transition-base);
}

.icon-lg {
    width: 48px;
    height: 48px;
}

.icon-xl {
    width: 64px;
    height: 64px;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255, 215, 0, 0.08);
    transition: all var(--transition-base);
}

.icon-container:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* SVG Icon Styles */
.svg-icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: all var(--transition-base);
}

.icon-primary {
    color: var(--orange-accent);
}

.icon-secondary {
    color: var(--navy-medium);
}

.icon-white {
    color: var(--white);
}

/* Icon Animations */
@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-rotate:hover {
    animation: iconRotate 0.6s ease-in-out;
}

/* ============================================
   PREMIUM ENHANCEMENTS
   ============================================ */

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth Hover Lift */
.hover-lift {
    transition: all var(--transition-base);
}

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

/* Gradient Text */
.gradient-text-premium {
    color: var(--orange-primary);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Premium Button Styles */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

/* Skeleton Loading */
.skeleton {
    background: #f0f0f0;
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
*:focus-visible {
    outline: 3px solid var(--orange-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Premium Card Hover */
.premium-card {
    position: relative;
    transition: all var(--transition-base);
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.04);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: inherit;
}

.premium-card:hover::after {
    opacity: 1;
}

/* Text Selection */
::selection {
    background: var(--orange-accent);
    color: var(--navy-dark);
}

::-moz-selection {
    background: var(--orange-accent);
    color: var(--navy-dark);
}

/* ============================================================
   LAYER 2 · homepage base (was style.css) — wins shared selectors
   ============================================================ */
/* ============================================
   AVANTCERT - PREMIUM WEBSITE DESIGN
   Navy Blue + Orange | Apple-Inspired Aesthetics
   ============================================ */

/* ============================================
   CSS VARIABLES - DESIGN TOKENS
   ============================================ */
:root {
    /* Navy Blue Palette */
    --navy-dark: #001f3f;
    --navy-medium: #003366;
    --navy-light: #004080;
    --navy-lighter: #0059b3;

    /* Orange Palette */
    --orange-primary: #fd910b;
    --orange-accent: #fd910b;
    --orange-light: #fd910b;
    --orange-lighter: #fd910b;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Helvetica Neue', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* 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);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 180px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    position: relative;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-20) var(--space-6);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
    font-weight: 400;
}

.gradient-text {
    color: var(--orange-primary);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 1000;
    /* Using a high z-index, assuming var(--z-fixed) is not defined */
    background-color: #25D366;
    /* WhatsApp green */
    color: var(--white);
    border-radius: var(--radius-full);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    /* For an icon */
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: #1DA851;
    /* Slightly darker green on hover */
}

/* Back-to-top button positioning adjustment (if it exists and conflicts) */
/* Assuming a back-to-top button might be positioned similarly,
   adjust its 'right' property if needed to avoid overlap with .whatsapp-float.
   For example, if .back-to-top is also 'right: var(--space-8);',
   you might change it to 'right: calc(var(--space-8) + 70px);' or similar.
   This is a placeholder as the back-to-top button styles are not provided. */

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--orange-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #25D366;
    transform: translateY(-2px);
}

/* WhatsApp Button - Green Text */
.btn-whatsapp {
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--space-20) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.service-card {
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-light);
}

/* Service Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-icon svg,
.service-icon i {
    width: 40px;
    height: 40px;
    color: var(--orange-primary);
    stroke-width: 2;
}

/* Lucide Icon Base Styles */
i[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Icon Styles */
.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Lucide Icon Styles */
i[data-lucide] {
    display: inline-block;
    width: 20px;
    height: 20px;
    stroke-width: 2;
    vertical-align: middle;
}

.icon-container i[data-lucide] {
    width: 48px;
    height: 48px;
}

.principle-icon i[data-lucide] {
    width: 24px;
    height: 24px;
    color: var(--orange-primary);
}

.svg-icon {
    width: 40px;
    height: 40px;
}

.step-icon i[data-lucide] {
    width: 32px;
    height: 32px;
}

.service-icon i[data-lucide] {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-4);
}

.service-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--orange-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: var(--space-3);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
}

.feature-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: var(--space-4);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.process-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.step-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--navy-dark);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.step-icon svg {
    width: 36px;
    height: 36px;
}

.step-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
    background: var(--navy-dark);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.05);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
    line-height: 1.6;
}

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

/* ============================================
   PREMIUM SUPPORT SECTION
   ============================================ */
.premium-support-section {
    padding: var(--space-20) 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.premium-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    pointer-events: none;
}

.premium-support-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
}

.premium-support-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.premium-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-4);
}

.premium-support-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.premium-support-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: var(--space-2);
}

.premium-support-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange-primary);
    transform: translateY(-3px);
}

.premium-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.premium-feature-icon svg,
.premium-feature-icon i {
    width: 24px;
    height: 24px;
}

.premium-feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.premium-feature-content p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.premium-support-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-support-cta .btn {
    margin: 0 var(--space-2);
}

/* ============================================
   FOOTER - MODERN APPLE STYLE
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--orange-primary);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Glow animation for WhatsApp button */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
    }
}

/* Adjust WhatsApp button when back-to-top is visible */
.whatsapp-float.shift-left {
    right: calc(var(--space-8) + 72px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    background: var(--navy-dark);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-8);
        gap: var(--space-6);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hide navbar buttons on mobile for perfect alignment */
    .nav-wrapper>div[style*="display: flex"] {
        display: none !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .hero-content {
        padding: var(--space-8) var(--space-4) !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-content {
        padding: var(--space-6) var(--space-3) !important;
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

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

/* ============================================
   COMPLIANCE FRAMEWORKS SECTION
   ============================================ */
.compliance-section {
    padding: var(--space-20) 0;
    background: var(--white);
    text-align: center;
}

.compliance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-12);
    margin: var(--space-12) 0;
}

.compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 120px;
}

.compliance-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy-dark);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
    text-align: center;
    padding: var(--space-2);
    /* For long text like ISO 27001 */
}

/* Specific colors for placeholder "logos" to make them look distinct */
.compliance-item:nth-child(1) .compliance-circle {
    color: #4285F4;
    border-color: #4285F4;
    background: #e8f0fe;
}

.compliance-item:nth-child(2) .compliance-circle {
    color: #0F9D58;
    border-color: #0F9D58;
    background: #e6f4ea;
}

.compliance-item:nth-child(3) .compliance-circle {
    color: #DB4437;
    border-color: #DB4437;
    background: #fce8e6;
}

.compliance-item:nth-child(4) .compliance-circle {
    color: #F4B400;
    border-color: #F4B400;
    background: #fef7e0;
}

.compliance-item:nth-child(5) .compliance-circle {
    color: #ab47bc;
    border-color: #ab47bc;
    background: #f3e5f5;
}

.compliance-item:nth-child(6) .compliance-circle {
    color: #00acc1;
    border-color: #00acc1;
    background: #e0f7fa;
}

.compliance-item:nth-child(7) .compliance-circle {
    color: #3949ab;
    border-color: #3949ab;
    background: #e8eaf6;
}

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

.compliance-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.compliance-cta {
    margin-top: var(--space-10);
}

/* ============================================
   HERO SUPPORT PILL
   ============================================ */
.hero-support-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
    border-radius: 60px;
    margin-bottom: var(--space-8);
    max-width: 100%;
    overflow-x: auto;
    /* In case of very small screens */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-support-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.hero-support-icons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--navy-dark);
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Coloring specific icons to match branding, reusing colors from compliance section but scaled */
.hero-pill-icon.soc2 {
    color: #4285F4;
    background: #e8f0fe;
    border-color: #4285F4;
}

.hero-pill-icon.iso {
    color: #0F9D58;
    background: #e6f4ea;
    border-color: #0F9D58;
}

.hero-pill-icon.hipaa {
    color: #DB4437;
    background: #fce8e6;
    border-color: #DB4437;
}

.hero-pill-icon.gdpr {
    color: #F4B400;
    background: #fef7e0;
    border-color: #F4B400;
}

.hero-pill-icon.nist {
    color: #ab47bc;
    background: #f3e5f5;
    border-color: #ab47bc;
}

.hero-more-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    white-space: nowrap;
    transition: background var(--transition-base);
}

.hero-support-pill:hover .hero-more-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   CLIENT SCROLL SECTION
   ============================================ */
.client-scroll-section {
    padding: var(--space-12) 0;
    background: var(--white);
    overflow: hidden;
    /* Ensure content doesn't spill out */
}

.client-scroll-title {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: var(--space-8);
}

.scroll-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Mask the overflow */
    padding: var(--space-4) 0;
}

.scroll-container::before,
.scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.scroll-track {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    /* Space between logos */
    animation: scroll 40s linear infinite;
    /* Slow, continuous scroll */
    width: max-content;
    /* Ensure it wraps contents */
}

/* Pause animation on hover for user interaction */
.scroll-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 60px;
    /* Premium fixed height */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all var(--transition-base);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - var(--space-8)));
        /* Move half way (since we duplicate content) */
    }
}

/* ============================================================
   LAYER 3 · design system (navy+orange tokens, components, overrides) — wins all
   ============================================================ */
/* ============================================================
   AVANTCERT DESIGN SYSTEM  ·  v1 (Phase 0)
   Navy + Orange · derived from the ISO-CRM marketing layer.
   Loaded AFTER style.css / styles.css so tokens & the new
   .ac-* components take precedence. CRM folder = reference only.
   ============================================================ */

/* ── Tokens ── */
:root {
  /* Brand · Navy */
  --ac-navy-900:#001F3F; --ac-navy-800:#002A52; --ac-navy-700:#003366;
  --ac-navy-600:#004080; --ac-navy-500:#0059B3; --ac-navy-400:#2B7BD6;
  --ac-navy-100:#E4EEF8; --ac-navy-50:#F2F7FC;

  /* Brand · Orange (CTA / accent) */
  --ac-orange-700:#C76C00; --ac-orange-600:#E07F00; --ac-orange-500:#FD910B;
  --ac-orange-400:#FFA733; --ac-orange-100:#FFE9CC; --ac-orange-50:#FFF6EA;

  /* Ink / text */
  --ac-ink-900:#0B1F3A; --ac-ink-700:#2C3E5A; --ac-ink-500:#5B6B82; --ac-ink-400:#8A97A8;

  /* Surfaces */
  --ac-surface-0:#FFFFFF; --ac-surface-50:#FAFBFC; --ac-surface-100:#F4F5F7;
  --ac-border:#E3E7EC; --ac-border-strong:#C9D0DA;

  /* Pipeline stage tints */
  --ac-amber-100:#FFF3D6; --ac-amber-700:#9A6A00;
  --ac-green-100:#DCF5EA; --ac-green-700:#1F7A53;

  /* Radius */
  --ac-r-xs:4px; --ac-r-sm:6px; --ac-r-md:10px; --ac-r-lg:16px; --ac-r-pill:9999px;

  /* Shadow (navy-tinted = premium) */
  --ac-sh-xs:0 1px 2px rgba(11,31,58,.06);
  --ac-sh-sm:0 1px 3px rgba(11,31,58,.08),0 1px 2px rgba(11,31,58,.06);
  --ac-sh-md:0 4px 12px rgba(11,31,58,.10);
  --ac-sh-lg:0 12px 32px rgba(11,31,58,.12);
  --ac-sh-hero:0 24px 64px rgba(11,31,58,.18);

  /* Gradients */
  --ac-grad-dark:#001F3F; /* solid — no gradients */
  --ac-grad-text:#FD910B; /* solid — no gradients */

  --ac-ease:cubic-bezier(.22,1,.36,1);
}

/* ── Base (Inter everywhere) ── */
body{
  font-family:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6{
  font-family:'Inter',ui-sans-serif,system-ui,sans-serif;
  letter-spacing:-.02em; color:var(--ac-ink-900);
}

/* ── Navbar polish (minimal override of style.css) ── */
.navbar .logo img{height:52px!important;width:auto!important;display:block!important;}
.navbar .nav-link{font-weight:500;}

/* ── Layout ── */
.ac-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px;}

/* ── Components ── */
.ac-eyebrow{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ac-navy-600);background:var(--ac-navy-100);
  padding:6px 12px;border-radius:var(--ac-r-pill);
}
.ac-grad-text{ color:var(--ac-orange-500); }
.ac-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;
  padding:13px 20px;border-radius:var(--ac-r-sm);border:1px solid transparent;
  transition:transform .18s var(--ac-ease),box-shadow .18s var(--ac-ease),background .18s var(--ac-ease);
  text-decoration:none;
}
.ac-btn--primary{background:var(--ac-orange-500);color:#fff;box-shadow:0 2px 10px rgba(253,145,11,.32);}
.ac-btn--primary:hover{background:var(--ac-orange-600);transform:translateY(-2px);box-shadow:0 6px 20px rgba(253,145,11,.42);}
.ac-btn--navy{background:var(--ac-navy-700);color:#fff;}
.ac-btn--navy:hover{background:var(--ac-navy-800);transform:translateY(-2px);}
.ac-btn--ghost{background:transparent;color:var(--ac-ink-700);border-color:var(--ac-border-strong);}
.ac-btn--ghost:hover{border-color:var(--ac-navy-500);color:var(--ac-navy-600);}
.ac-btn--block{width:100%;}

/* ============================================================
   HERO
   ============================================================ */
.ac-hero{
  position:relative;overflow:hidden;background:#fff;
  padding:calc(72px + clamp(2rem,5vw,4rem)) 0 clamp(3rem,6vw,5rem);
}
.ac-hero__bg{position:absolute;inset:0;pointer-events:none;z-index:0;}
.ac-blob{position:absolute;border-radius:50%;filter:blur(64px);opacity:.85;}
.ac-blob--navy{
  width:560px;height:560px;top:-200px;right:-140px;
  background:rgba(0,89,179,.06);
  animation:ac-drift 22s ease-in-out infinite alternate;
}
.ac-blob--orange{
  width:480px;height:480px;bottom:-180px;left:-120px;
  background:rgba(253,145,11,.06);
  animation:ac-drift 26s ease-in-out infinite alternate-reverse;
}
.ac-grid-lines{ display:none; }
.ac-hero__inner{position:relative;z-index:1;}
.ac-hero__head{max-width:760px;margin:0 auto clamp(2rem,4vw,3rem);text-align:center;}
.ac-hero__title{
  font-size:clamp(34px,6vw,60px);font-weight:800;line-height:1.06;
  margin:18px 0 16px;
}
.ac-hero__sub{
  font-size:clamp(16px,2vw,19px);line-height:1.6;color:var(--ac-ink-500);
  max-width:620px;margin:0 auto 22px;
}
.ac-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:0;padding:0;list-style:none;}
.ac-trust li{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--ac-ink-500);font-weight:500;}
.ac-trust svg{width:16px;height:16px;color:var(--ac-green-700);}

.ac-hero__panel{
  display:grid;grid-template-columns:1.35fr 1fr;gap:28px;align-items:start;
  max-width:1120px;margin:0 auto;
}
.ac-hero__visual-cap{margin:12px 2px 0;font-size:12.5px;color:var(--ac-ink-400);text-align:center;}

/* ============================================================
   ANIMATED PIPELINE MOCKUP
   ============================================================ */
.acp-frame{
  background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-md);
  box-shadow:var(--ac-sh-hero);overflow:hidden;
}
.acp-chrome{
  display:flex;align-items:center;gap:8px;padding:11px 14px;
  background:var(--ac-surface-100);border-bottom:1px solid var(--ac-border);
}
.acp-dot{width:11px;height:11px;border-radius:50%;background:#D7DCE3;}
.acp-dot:nth-child(1){background:#FF5F56;}.acp-dot:nth-child(2){background:#FFBD2E;}.acp-dot:nth-child(3){background:#27C93F;}
.acp-url{
  margin-left:8px;flex:1;text-align:center;font-size:11px;color:var(--ac-ink-400);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-xs);padding:4px 10px;
}
.acp-board{padding:16px;background:var(--ac-surface-50);}
.acp-board-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.acp-board-title{font-size:14px;font-weight:700;color:var(--ac-ink-900);}
.acp-new{font-size:11px;font-weight:600;color:#fff;background:var(--ac-navy-700);padding:6px 10px;border-radius:var(--ac-r-xs);}
.acp-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.acp-col{min-height:210px;}
.acp-col-head{display:flex;align-items:center;gap:6px;margin-bottom:10px;}
.acp-stage{font-size:10px;font-weight:700;padding:3px 8px;border-radius:var(--ac-r-pill);white-space:nowrap;}
.acp-stage--gap{color:var(--ac-navy-700);background:var(--ac-navy-100);}
.acp-stage--impl{color:var(--ac-orange-700);background:var(--ac-orange-100);}
.acp-stage--audit{color:var(--ac-amber-700);background:var(--ac-amber-100);}
.acp-stage--cert{color:var(--ac-green-700);background:var(--ac-green-100);}
.acp-count{font-size:11px;font-weight:600;color:var(--ac-ink-400);}
.acp-cards{display:flex;flex-direction:column;gap:8px;}
.acp-card{
  background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-sm);
  padding:9px 10px;box-shadow:var(--ac-sh-xs);cursor:default;
  will-change:transform;
}
.acp-card__name{font-size:12px;font-weight:700;color:var(--ac-ink-900);margin-bottom:4px;}
.acp-card__row{display:flex;align-items:center;justify-content:space-between;}
.acp-card__std{font-size:10.5px;color:var(--ac-ink-400);}
.acp-card__tag{font-size:10px;font-weight:700;color:var(--ac-navy-600);}
.acp-card--cert .acp-card__tag{color:var(--ac-green-700);}

/* ============================================================
   READINESS FORM (3-step lead capture)
   ============================================================ */
.acf{
  background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-md);
  box-shadow:var(--ac-sh-lg);padding:22px;align-self:stretch;
}
.acf-head h3{font-size:18px;font-weight:700;margin:8px 0 4px;line-height:1.25;}
.acf-head p{font-size:13px;color:var(--ac-ink-500);margin:0;}
.acf-tag{
  display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ac-green-700);
  background:var(--ac-green-100);padding:4px 9px;border-radius:var(--ac-r-pill);
}
.acf-progress{display:flex;gap:6px;margin:16px 0 14px;}
.acf-progress span{height:4px;flex:1;border-radius:var(--ac-r-pill);background:var(--ac-border);transition:background .3s var(--ac-ease);}
.acf-progress span.is-active{background:var(--ac-orange-500);}
.acf-step{display:none;animation:ac-rise .35s var(--ac-ease) both;}
.acf-step.is-active{display:block;}
.acf-label{display:block;font-size:13px;font-weight:600;color:var(--ac-ink-700);margin-bottom:9px;}
.acf-select,.acf-input{
  width:100%;font:inherit;font-size:14px;color:var(--ac-ink-900);
  padding:12px 12px;border:1px solid var(--ac-border-strong);border-radius:var(--ac-r-sm);background:#fff;
  transition:border-color .15s,box-shadow .15s;
}
.acf-select:focus,.acf-input:focus{outline:none;border-color:var(--ac-navy-500);box-shadow:0 0 0 3px rgba(0,89,179,.14);}
.acf-options{display:flex;flex-direction:column;gap:8px;}
.acf-opt{
  display:flex;align-items:center;gap:10px;cursor:pointer;
  border:1px solid var(--ac-border-strong);border-radius:var(--ac-r-sm);padding:11px 12px;
  font-size:13.5px;color:var(--ac-ink-700);transition:border-color .15s,background .15s;
}
.acf-opt:hover{border-color:var(--ac-navy-400);background:var(--ac-navy-50);}
.acf-opt input{accent-color:var(--ac-navy-600);width:16px;height:16px;}
.acf-opt.is-sel{border-color:var(--ac-navy-500);background:var(--ac-navy-50);}
.acf-nav{display:flex;gap:8px;margin-top:16px;}
.acf-back{background:none;border:none;color:var(--ac-ink-400);font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:13px 6px;}
.acf-back:hover{color:var(--ac-ink-700);}
.acf-spacer{flex:1;}
.acf-success{display:none;text-align:center;padding:14px 6px;}
.acf-success.is-active{display:block;animation:ac-rise .4s var(--ac-ease) both;}
.acf-success svg{width:44px;height:44px;color:var(--ac-green-700);margin-bottom:8px;}
.acf-success h3{font-size:17px;margin:0 0 6px;}
.acf-success p{font-size:13.5px;color:var(--ac-ink-500);margin:0;}

/* ── Entrance reveal + keyframes ── */
.ac-reveal{opacity:0;animation:ac-rise .6s var(--ac-ease) forwards;animation-delay:var(--d,0s);}
@keyframes ac-rise{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:none;}}
@keyframes ac-drift{from{transform:translate(0,0) scale(1);}to{transform:translate(26px,30px) scale(1.06);}}

/* ── Responsive ── */
@media (max-width:920px){
  .ac-hero__panel{grid-template-columns:1fr;max-width:560px;}
  .ac-hero__form{order:-1;}            /* form first on mobile (CRO) */
  .ac-hero__visual{order:1;}
}
@media (max-width:560px){
  .acp-cols{grid-template-columns:repeat(2,1fr);gap:8px;}
  .acp-col{min-height:auto;}
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion:reduce){
  .ac-reveal{opacity:1;animation:none;}
  .ac-blob{animation:none;}
  .acp-card{transition:none!important;}
}

/* ============================================================
   PHASE 2 · Homepage re-skin (overrides legacy style.css)
   Loaded after style.css, so these win on equal specificity.
   ============================================================ */

/* ── Shared section headings ── */
.section-title{font-family:'Inter',sans-serif;color:var(--ac-ink-900);font-weight:800;letter-spacing:-.02em;}
.section-subtitle{color:var(--ac-ink-500);font-weight:400;}

/* ── Buttons (refine legacy .btn) ── */
.btn{border-radius:var(--ac-r-sm);font-family:'Inter',sans-serif;}
.btn-large{border-radius:var(--ac-r-sm);}
.btn-secondary{background:#fff;color:var(--ac-navy-700);border:1px solid var(--ac-border-strong);backdrop-filter:none;}
.btn-secondary:hover{background:#fff;color:var(--ac-navy-600);border-color:var(--ac-navy-500);}

/* ── Stats ── */
.stats-section{background:var(--ac-surface-50);border-top:1px solid var(--ac-border);border-bottom:1px solid var(--ac-border);}
.stat-card{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-md);box-shadow:var(--ac-sh-sm);transition:transform .18s var(--ac-ease),box-shadow .18s var(--ac-ease);}
.stat-card:hover{transform:translateY(-2px);box-shadow:var(--ac-sh-md);}
.stat-number{color:var(--ac-navy-700);font-weight:800;}
.stat-label{color:var(--ac-ink-400);}

/* ── Compliance grid ── */
.compliance-section{background:#fff;}
.compliance-item{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-md);padding:18px 12px;box-shadow:var(--ac-sh-xs);transition:transform .18s var(--ac-ease),box-shadow .18s var(--ac-ease);}
.compliance-item:hover{transform:translateY(-3px);box-shadow:var(--ac-sh-md);}
.compliance-label{color:var(--ac-ink-700);font-weight:600;}

/* ── Client marquee ── */
.client-scroll-section{background:var(--ac-surface-50);}
.client-scroll-title{color:var(--ac-ink-400);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:13px;}
.client-logo{filter:grayscale(1);opacity:.6;transition:filter .2s,opacity .2s;}
.client-logo:hover{filter:none;opacity:1;}

/* ── Services ── */
.services-section{background:#fff;}
.service-card{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);transition:transform .2s var(--ac-ease),box-shadow .2s var(--ac-ease);}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--ac-sh-lg);}
.service-card::before{display:none;}
.service-icon{background:var(--ac-orange-50)!important;border-radius:var(--ac-r-md);color:var(--ac-orange-600);}
.service-icon i,.service-icon svg{color:var(--ac-orange-600)!important;}
.service-card h3{color:var(--ac-ink-900);}
.service-card p{color:var(--ac-ink-500);}
.service-link{color:var(--ac-navy-600);font-weight:600;}
.service-link:hover{color:var(--ac-orange-600);}

/* ── Features ── */
.features-section{background:var(--ac-surface-50);}
.feature-card{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);transition:transform .2s var(--ac-ease),box-shadow .2s var(--ac-ease);}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--ac-sh-lg);}
.feature-number{color:var(--ac-navy-700);font-weight:800;}
.feature-card h3{color:var(--ac-ink-900);}
.feature-card p{color:var(--ac-ink-500);}

/* ── Process stepper (echoes hero pipeline stages) ── */
.process-section{background:#fff;}
.step-icon{background:var(--ac-navy-700)!important;color:#fff;border-radius:var(--ac-r-md);}
.step-icon i,.step-icon svg{color:#fff!important;}
.step-content h3{color:var(--ac-ink-900);}
.step-content p{color:var(--ac-ink-500);}

/* ── CTA band (dark navy gradient) ── */
.cta-section{background:var(--ac-grad-dark)!important;}
.cta-background{display:none;}
.cta-content h2{color:#fff;}
.cta-content p{color:rgba(255,255,255,.85);}
.cta-section .btn-secondary{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.4);}
.cta-section .btn-secondary:hover{background:rgba(255,255,255,.22);color:#fff;border-color:#fff;}

/* ── Premium support ── */
.premium-support-section{background:var(--ac-surface-50);}
.premium-support-card{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-md);}
.premium-badge{background:var(--ac-navy-100);color:var(--ac-navy-600);font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:var(--ac-r-pill);}
.premium-support-title{color:var(--ac-ink-900);}
.premium-support-subtitle{color:var(--ac-orange-600);}
.premium-support-description{color:var(--ac-ink-500);}
.premium-feature-icon{background:var(--ac-navy-50)!important;color:var(--ac-navy-600);border-radius:var(--ac-r-md);}
.premium-feature-icon i,.premium-feature-icon svg{color:var(--ac-navy-600)!important;}
.premium-feature-content h4{color:var(--ac-ink-900);}
.premium-feature-content p{color:var(--ac-ink-500);}

/* ── Footer (navy) ── */
.footer{background:var(--ac-navy-900)!important;}
.footer-logo img{filter:brightness(0) invert(1);height:40px;width:auto;}
.footer-section h3,.footer-section h4{color:#fff;}
.footer-section p,.footer-section li,.footer-section a{color:rgba(255,255,255,.72);}
.footer-section a:hover{color:var(--ac-orange-400);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);}
.footer-bottom p{color:rgba(255,255,255,.6);}

/* ============================================================
   New GEO sections (comparison + FAQ)
   ============================================================ */
.ac-section{padding:clamp(3rem,6vw,5rem) 0;background:#fff;}
.ac-section--surface{background:var(--ac-surface-50);}
.ac-container--narrow{max-width:820px;}
.ac-section__head{text-align:center;max-width:680px;margin:0 auto clamp(2rem,4vw,3rem);}
.ac-section__title{font-size:clamp(26px,4vw,38px);font-weight:800;color:var(--ac-ink-900);letter-spacing:-.02em;margin:14px 0 12px;}
.ac-section__sub{font-size:16px;color:var(--ac-ink-500);line-height:1.6;margin:0;}

/* Comparison table */
.ac-table-wrap{overflow-x:auto;border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);background:#fff;-webkit-overflow-scrolling:touch;}
.ac-table{width:100%;border-collapse:collapse;min-width:660px;}
.ac-table th,.ac-table td{padding:15px 20px;text-align:left;font-size:14.5px;border-bottom:1px solid var(--ac-border);}
.ac-table thead th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ac-ink-400);font-weight:700;}
.ac-table td:first-child{font-weight:600;color:var(--ac-ink-900);}
.ac-table td{color:var(--ac-ink-500);}
.ac-table__hl{background:var(--ac-navy-50);}
.ac-table thead th.ac-table__hl,.ac-table td.ac-table__hl{color:var(--ac-navy-700);font-weight:600;}
.ac-table tbody tr:last-child td{border-bottom:none;}
.ac-check{color:var(--ac-green-700);font-weight:800;margin-right:6px;}
.ac-x{color:var(--ac-ink-400);font-weight:700;margin-right:6px;}

/* FAQ accordion (native details/summary — no JS, GEO-friendly) */
.ac-faq{display:flex;flex-direction:column;gap:10px;}
.ac-faq__item{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-md);overflow:hidden;transition:box-shadow .18s;}
.ac-faq__item[open]{box-shadow:var(--ac-sh-sm);}
.ac-faq__item summary{list-style:none;cursor:pointer;padding:16px 18px;font-weight:600;font-size:15px;color:var(--ac-ink-900);display:flex;justify-content:space-between;align-items:center;gap:12px;}
.ac-faq__item summary::-webkit-details-marker{display:none;}
.ac-faq__item summary::after{content:'+';font-size:22px;line-height:1;color:var(--ac-navy-500);font-weight:300;flex-shrink:0;}
.ac-faq__item[open] summary::after{content:'–';}
.ac-faq__a{padding:0 18px 16px;}
.ac-faq__a p{color:var(--ac-ink-500);font-size:14.5px;line-height:1.65;margin:0;}
.ac-faq__a a{color:var(--ac-navy-600);font-weight:600;text-decoration:underline;text-underline-offset:2px;}
.ac-faq__a a:hover{color:var(--ac-orange-600);}

/* ============================================================
   PHASE 4 · Cert/article template re-skin (45 styles.css pages)
   Targets cert-only classes + recolors leftover gold accents
   (rgba(255,215,0,…)) to the navy+orange system. Homepage classes
   above don't appear on these pages, so no scoping needed.
   ============================================================ */

/* ── Article hero → navy gradient ── */
.article-hero{background:var(--ac-grad-dark)!important;}
.article-hero::before{opacity:.12;}
.article-hero-title{font-family:'Inter',sans-serif;letter-spacing:-.02em;font-weight:800;}
.breadcrumb a:hover,.breadcrumb span:last-child{color:var(--ac-orange-400);}

/* ── Table of contents ── */
.toc-section{background:var(--ac-surface-50);}
.toc-card{border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);}
.toc-title{color:var(--ac-ink-900);}
.toc-link{background:var(--ac-surface-50);border-radius:var(--ac-r-sm);}
.toc-link:hover{background:var(--ac-navy-50);border-left-color:var(--ac-orange-500);}
.toc-number{color:var(--ac-orange-600);}
.toc-text{color:var(--ac-ink-700);}

/* ── Sticky sidebar nav ── */
.sidebar-sticky{border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);}
.sidebar-title{color:var(--ac-ink-900);}
.sidebar-link{color:var(--ac-ink-500);}
.sidebar-link:hover,.sidebar-link.active{color:var(--ac-navy-700);background:var(--ac-navy-50);border-left-color:var(--ac-orange-500);}
.progress-bar{background:var(--ac-orange-500);}
.sidebar-sticky::-webkit-scrollbar-thumb{background:var(--ac-orange-500);}
.sidebar-sticky{scrollbar-color:var(--ac-orange-500) var(--ac-surface-100);}

/* ── Sticky CTA sidebar + CTA box ── */
.cta-sidebar{background:var(--ac-grad-dark)!important;}
.cta-sidebar::before{display:none;}
.cta-icon{background:var(--ac-orange-500);box-shadow:0 4px 16px rgba(253,145,11,.3);}
.cta-icon i[data-lucide]{color:#fff;}
.cta-button{background:var(--ac-orange-500);border-radius:var(--ac-r-sm);box-shadow:0 4px 16px rgba(253,145,11,.3);}
.cta-button:hover{background:var(--ac-orange-600);box-shadow:0 6px 24px rgba(253,145,11,.4);}
.cta-feature::before{background:var(--ac-orange-500);color:#fff;}
.cta-box{background:var(--ac-navy-800);border-radius:var(--ac-r-md);}
.cta-box h4{color:var(--ac-orange-400);}

/* ── Article body ── */
.article{border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);box-shadow:var(--ac-sh-sm);}
.content-section .section-title{border-bottom-color:var(--ac-orange-500);}
.section-text{color:var(--ac-ink-700);line-height:1.8;}
.section-text strong{color:var(--ac-ink-900);}
.key-point{background:var(--ac-orange-50);border-left-color:var(--ac-orange-500);}
.highlight-content h4{color:var(--ac-ink-900);}
.highlight-content p{color:var(--ac-ink-700);}

/* ── No-gradient flatten: remove legacy marquee edge fades (linear-gradient) ── */
.scroll-container::before,.scroll-container::after{display:none!important;}

/* ── CRM lead-capture embed (crm.avantcert.com) ── */
.ac-crm-embed{width:100%;min-height:140px;}
.acf .ac-crm-embed{margin-top:6px;}
.ac-crm-embed iframe{width:100%!important;border:0;}
.ac-crm-embed input,.ac-crm-embed select,.ac-crm-embed textarea{width:100%;font-family:inherit;}

/* ============================================================
   main.html — Services listing cards (on-brand)
   ============================================================ */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;}
.blog-card{background:#fff;border:1px solid var(--ac-border);border-radius:var(--ac-r-lg);overflow:hidden;box-shadow:var(--ac-sh-sm);transition:transform .18s var(--ac-ease),box-shadow .18s var(--ac-ease);display:flex;flex-direction:column;}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--ac-sh-lg);}
.blog-card .blog-image{width:100%;aspect-ratio:2/1;object-fit:cover;display:block;background:#001F3F;border-bottom:1px solid var(--ac-border);}
.blog-card .blog-content{padding:20px;display:flex;flex-direction:column;flex:1;}
.blog-card .blog-category{display:inline-block;align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--ac-orange-500);padding:5px 11px;border-radius:var(--ac-r-pill);margin-bottom:12px;}
.blog-card .blog-title{font-size:18px;font-weight:700;color:var(--ac-ink-900);margin:0 0 8px;line-height:1.3;letter-spacing:-.01em;}
.blog-card .blog-excerpt{font-size:14px;color:var(--ac-ink-500);line-height:1.6;margin:0 0 16px;flex:1;}
.blog-card .blog-meta{display:flex;gap:16px;color:var(--ac-ink-400);font-size:12.5px;align-items:center;margin-top:auto;}
.blog-card .blog-meta .icon{width:14px;height:14px;vertical-align:middle;}
.search-filter{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-bottom:28px;}
.search-box{position:relative;flex:1;min-width:240px;max-width:380px;}
.search-input{width:100%;padding:11px 14px 11px 42px;border:1px solid var(--ac-border-strong);border-radius:var(--ac-r-sm);font:inherit;font-size:14px;background:#fff;}
.search-input:focus{outline:none;border-color:var(--ac-navy-500);box-shadow:0 0 0 3px rgba(0,89,179,.14);}
.search-box .search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--ac-ink-400);display:flex;}
.search-box .search-icon svg{width:18px;height:18px;}
.filter-buttons{display:flex;flex-wrap:wrap;gap:8px;}
.filter-btn{font:inherit;font-size:13px;font-weight:600;padding:8px 14px;border-radius:var(--ac-r-pill);border:1px solid var(--ac-border-strong);background:#fff;color:var(--ac-ink-500);cursor:pointer;transition:all .15s var(--ac-ease);}
.filter-btn:hover{border-color:var(--ac-navy-400);color:var(--ac-navy-600);}
.filter-btn.active{background:var(--ac-navy-700);color:#fff;border-color:var(--ac-navy-700);}

/* ============================================================
   Article hero → LIGHT & on-brand (match homepage UI)
   Overrides the old dark-navy block on ALL cert/service pages.
   ============================================================ */
.article-hero{
  background:#ffffff !important;
  color:var(--ac-ink-900);
  min-height:auto !important;
  margin-top:0 !important;
  padding:calc(72px + 3.5rem) 0 3rem !important;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--ac-border);
}
.article-hero::before{display:none !important;}
.article-hero::after{
  content:'';position:absolute;width:540px;height:540px;top:-240px;right:-150px;
  background:rgba(0,89,179,.06);border-radius:50%;filter:blur(64px);pointer-events:none;z-index:0;
}
.article-hero-content{position:relative;z-index:1;}
.article-hero-title{color:var(--ac-ink-900) !important;font-weight:800;letter-spacing:-.02em;}
.article-hero-description{color:var(--ac-ink-500) !important;}
.breadcrumb a{color:var(--ac-ink-400);}
.breadcrumb a:hover{color:var(--ac-orange-600);}
.breadcrumb .separator{color:var(--ac-border-strong);}
.breadcrumb span:last-child{color:var(--ac-orange-600);font-weight:600;}
.article-meta,.article-meta-item{color:var(--ac-ink-400) !important;}
.article-meta-item svg,.article-meta-item i[data-lucide]{color:var(--ac-ink-400) !important;}

/* ============================================================
   main.html (Services listing) hero → LIGHT & on-brand
   ============================================================ */
.hero{
  background:#ffffff !important;
  min-height:auto !important;
  margin-top:0 !important;
  padding:calc(72px + 3.5rem) 0 3rem !important;
  position:relative; overflow:hidden;
  border-bottom:1px solid var(--ac-border);
}
.hero::before{display:none !important;}
.hero-background{display:none !important;}
.hero::after{
  content:'';position:absolute;width:540px;height:540px;top:-240px;right:-150px;
  background:rgba(0,89,179,.06);border-radius:50%;filter:blur(64px);pointer-events:none;z-index:0;
}
.hero .container{position:relative;z-index:1;}
.hero-title{color:var(--ac-ink-900) !important;}
.hero-subtitle{color:var(--ac-ink-500) !important;}
.gradient-text{color:var(--ac-orange-500) !important;-webkit-text-fill-color:var(--ac-orange-500) !important;background:none !important;}

/* center main.html hero block */
.hero .hero-content{max-width:860px;margin-left:auto !important;margin-right:auto !important;}
