/* CSS Variables for Electric Blue & Deep Black Theme */
:root {
    --bg-main: #030305;
    --bg-surface: #0a0b10;
    --bg-surface-light: #13151f;
    --accent-blue: #00e5ff;
    --accent-blue-hover: #00b8cc;
    --accent-blue-dim: rgba(0, 229, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(0, 229, 255, 0.4);
    
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Heebo', sans-serif;
    --font-english: 'Outfit', sans-serif;

  /* ═══ Fluid Typography Scale ═══ */
  --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base:  clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.75vw, 1.375rem);
  --text-xl:    clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  --text-2xl:   clamp(1.5rem, 1rem + 2vw, 2.25rem);
  --text-3xl:   clamp(1.875rem, 1rem + 3vw, 3rem);
  --text-4xl:   clamp(2.25rem, 1rem + 4vw, 4rem);
  --text-hero:  clamp(1.8rem, 1rem + 5vw, 5rem);

  /* ═══ Fluid Spacing Scale ═══ */
  --space-xs:   clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm:   clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-md:   clamp(1rem, 0.8rem + 1vw, 2rem);
  --space-lg:   clamp(1.5rem, 1rem + 2vw, 3rem);
  --space-xl:   clamp(2rem, 1rem + 4vw, 5rem);
  --space-2xl:  clamp(3rem, 2rem + 5vw, 8rem);

  /* ═══ Fluid Border Radius ═══ */
  --radius-sm:  clamp(4px, 0.5vw, 8px);
  --radius-md:  clamp(8px, 1vw, 16px);
  --radius-lg:  clamp(12px, 1.5vw, 24px);
}

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

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

/* ── Section Spacing System ──────────────────── */
section {
    padding-top: clamp(40px, 5vw, 60px);
    padding-bottom: clamp(60px, 8vw, 100px);
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
    margin: 0;
}
.hero, .v2-hero {
    padding: 0 !important; /* Hero has its own internal padding */
}
/* Service page hero override */
.theme-facebook .hero,
.theme-google .hero,
.theme-instagram .hero,
.theme-tiktok .hero,
.theme-web .hero,
.theme-seo .hero,
.theme-social .hero {
    padding: clamp(5rem, 10vw, 8rem) clamp(16px, 4vw, 40px) clamp(3rem, 6vw, 5rem) !important;
}

/* Background Glow Effect */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Utilities */
span { color: var(--accent-blue); }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px; /* Sharp corners */
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #000;
    border: 1px solid var(--accent-blue);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ════════════════════════════════════════════════════════════════ */
/*                          NAVBAR + NAVIGATION                        */
/* ════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(3, 3, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(1rem, 3vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 1.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    z-index: 1101;
}

.logo:hover { color: var(--accent-blue); }

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    padding: 0.75rem 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button in Navbar */
.nav-cta {
    background: var(--accent-blue);
    color: #000;
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.2);
}

.nav-cta:hover {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.nav-cta::after { display: none; }

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1101;
    padding: 0;
    transition: all 0.3s ease;
}

.hamburger:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 229, 255, 0.05);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 5, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

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

.mobile-nav-overlay a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
    padding: 1rem 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-width: 200px;
}

.mobile-nav-overlay a:hover {
    color: var(--accent-blue);
    transform: scale(1.05);
}

.mobile-nav-overlay a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.mobile-nav-overlay a:hover::after {
    width: 60%;
}

/* Services Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(0, 229, 255, 0.05);
    color: var(--accent-blue);
    border-left-color: var(--accent-blue);
    padding-right: 2rem;
}

.dropdown-menu a i {
    font-size: 1.1rem;
    color: var(--accent-blue);
    width: 20px;
    text-align: center;
}

/* Mobile Dropdown in Overlay */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
    cursor: pointer;
    padding: 1rem 0;
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.mobile-dropdown-toggle:hover {
    color: var(--accent-blue);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu.active {
    display: flex;
}

.mobile-dropdown-menu a {
    font-size: 1rem !important;
    padding: 0.5rem 0 !important;
    min-width: auto !important;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections Global */
section { padding: 6rem 2rem; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-title p { color: var(--text-secondary); font-size: 1.1rem; }

/* Services Grid */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: var(--accent-blue);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.service-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 15px;
    background: var(--accent-blue-dim);
    border-radius: 8px;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-secondary); font-size: 1rem; }

/* Stats Section */
.stats { background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stats-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-item h3 { display: inline-block; font-family: var(--font-heading); font-size: 4rem; color: var(--text-primary); }
.stat-item span { font-family: var(--font-heading); font-size: 4rem; color: var(--accent-blue); }
.stat-item p { color: var(--text-secondary); font-size: 1.2rem; font-weight: 600; }

@media(max-width: 768px) { .stats-container { grid-template-columns: 1fr; gap: 3rem; } }

/* Contact Section */
.contact-wrapper { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; background: var(--bg-surface); padding: 3rem; border: 1px solid var(--border-color); border-radius: 4px; }
@media(max-width: 768px) { .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; } }

.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 2rem; }
.info-lines p { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; margin-bottom: 1rem; color: #fff;}
.info-lines i { color: var(--accent-blue); font-size: 1.2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 16px;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    color: white; font-size: 1rem;
    font-family: var(--font-body);
    border-radius: 4px; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-blue); background: rgba(0,229,255,0.02); }
.submit-btn { width: 100%; padding: 16px; font-size: 1.2rem; }

/* Footer */
footer { text-align: center; padding: 4rem 2rem; border-top: 1px solid var(--border-color); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
footer .logo { font-size: 1.8rem; }
footer p { color: var(--text-secondary); }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-color); color: white; transition: 0.3s; text-decoration: none; font-size: 1.2rem; }
.social-links a:hover { background: var(--accent-blue); color: #000; transform: translateY(-5px); border-color: var(--accent-blue); }

/* ════════════════════════════════════════════════════════════════ */
/*                        FLOATING SIDEBAR                             */
/* ════════════════════════════════════════════════════════════════ */

.floating-sidebar {
    position: fixed;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 20px 12px;
    z-index: 9999;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
                inset 0 0 20px rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-sidebar:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.sidebar-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    overflow: hidden;
}

/* Ripple Effect */
.sidebar-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.sidebar-item:hover::after {
    width: 120%;
    height: 120%;
}

.sidebar-item:hover {
    color: var(--accent-blue);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.15),
                inset 0 0 20px rgba(0, 229, 255, 0.05);
    transform: scale(1.15) translateX(8px);
}

.sidebar-item:active {
    transform: scale(1.05) translateX(4px);
    transition: transform 0.1s ease;
}

/* CTA Item (Contact) */
.sidebar-item.cta-item {
    margin-top: 16px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #00b8cc 100%);
    color: #000;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
}

.sidebar-item.cta-item:hover {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    color: #000;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
    transform: scale(1.2) translateX(12px);
}

.sidebar-item.cta-item::after {
    background: rgba(255, 255, 255, 0.2);
}

/* WhatsApp Item */
.sidebar-item.whatsapp-item {
    background: #25d366;
    color: #fff;
    animation: whatsappPulse 3s infinite;
}

.sidebar-item.whatsapp-item:hover {
    background: #128c7e;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6),
                    0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

/* Social Media Item Styles */
.sidebar-item.facebook-item:hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.sidebar-item.instagram-item:hover {
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.1), rgba(188, 24, 136, 0.1));
    color: #E4405F;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.2);
}

.sidebar-item.linkedin-item:hover {
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.2);
}

/* Enhanced Tooltip */
.sidebar-item::before {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 10001;
}

.sidebar-item::before::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.95);
}

.sidebar-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .floating-sidebar {
        display: none; /* Hidden on mobile to avoid conflicts with bottom navigation */
    }
}

/* Ultra-wide Screen Adjustments */
@media (min-width: 1600px) {
    .floating-sidebar {
        left: 40px;
    }

    .sidebar-item {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-sidebar,
    .sidebar-item,
    .sidebar-item::before,
    .sidebar-item::after {
        transition: none;
        animation: none;
    }
}

/* Focus States for Keyboard Navigation */
.sidebar-item:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

.sidebar-item:focus-visible {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-blue);
}

/* Data Dynamic Animations */
@keyframes moveDot {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
    70% { box-shadow: 0 0 0 20px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes drawCircle {
    0% { stroke-dasharray: 0, 100; }
}
@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================= */
/* WORLD-CLASS PREMIUM DESIGN UPGRADES */
/* ========================================= */

/* 1. Global Noise Texture for Matte Finish */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* 2. Custom Magnetic Cursor */
@media (pointer: fine) { 
    /* Only hide the OS cursor when the custom cursor JS is active */
    body.custom-cursor-active, 
    body.custom-cursor-active a, 
    body.custom-cursor-active button, 
    body.custom-cursor-active input { cursor: none; } 

    /* Turn off custom cursor on touch devices */
    @media (hover: none) {
        body.custom-cursor-active, 
        body.custom-cursor-active a, 
        body.custom-cursor-active button, 
        body.custom-cursor-active input { cursor: auto !important; }
        .custom-cursor, .cursor-dot { display: none !important; }
        * { cursor: auto !important; }
    }
    ::-webkit-scrollbar { width: 8px; }
}
.custom-cursor {
    position: fixed; top: 0; left: 0;
    width: 20px; height: 20px;
    border: 2px solid #7C3AED;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s;
}
.custom-cursor.hover {
    width: 40px; height: 40px;
    background: rgba(124, 58, 237, 0.15);
    border-color: transparent;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}
.cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    background: white; border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 10001;
    box-shadow: 0 0 10px white;
}

/* 3. Ambient Blurry Orbs (Background Glow) */
.ambient-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none;
    animation: floatOrb 15s infinite alternate ease-in-out; opacity: 0.6;
}
.ambient-orb-1 { width: 500px; height: 500px; background: rgba(0, 229, 255, 0.2); top: -200px; left: -100px; }
.ambient-orb-2 { width: 600px; height: 600px; background: rgba(225, 48, 108, 0.15); bottom: 10%; right: -200px; animation-delay: -5s; }
.ambient-orb-3 { width: 400px; height: 400px; background: rgba(245, 158, 11, 0.15); top: 50%; left: 30%; animation-delay: -10s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -100px) scale(1.3); }
}

/* 4. Giant Hollow Background Text (Awwwards Style) */
.mega-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 18vw; white-space: nowrap; font-family: var(--font-heading);
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.02);
    z-index: 0; pointer-events: none; user-select: none;
}

/* 5. Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: #7C3AED; z-index: 10002;
    transition: width 0.1s ease-out;
}

/* 6. Loading Intro */
.loading-intro {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #05080f; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loading-intro.hidden { opacity: 0; visibility: hidden; }
.loading-logo {
    font-size: 3rem; font-weight: 900; font-family: 'Outfit', sans-serif;
    color: white; text-shadow: 0 0 20px #7C3AED;
    animation: pulseLogo 1.5s infinite;
}
@keyframes pulseLogo { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }

/* 7. Back to Top Button */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 9998;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(124, 58, 237, 0.2); border: 1px solid rgba(124, 58, 237, 0.5);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.3s ease;
    backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #7C3AED; transform: translateY(-3px); }

/* Hover Cards Effect */
.service-card, .pricing-card { transition: all 0.3s ease !important; }
.service-card:hover, .pricing-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25) !important;
    border-color: rgba(124, 58, 237, 0.5) !important;
}

/* 5. Ultimate Glassmorphism Cards with 3D Mouse Tilt */
.glass-tilt-card {
    background: rgba(20, 22, 30, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255, 255, 255, 0.15); border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; padding: 3rem 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    position: relative; overflow: visible !important;
    min-height: 180px;
}
.glass-tilt-card::before {
    content:''; position:absolute; top:0; left:-100%; width:50%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg); transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.glass-tilt-card:hover::before { left: 150%; }
.glass-tilt-card > * { transform: translateZ(30px); }
.glass-tilt-card h3, .glass-tilt-card p {
    display: block !important;
    visibility: visible !important;
}

/* Arsenal/Bento Cards Visibility Fallback */
.bento-card,
.arsenal-card,
.glass-tilt-card,
[class*="bento"],
[class*="arsenal"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Testimonials Desktop Layout - 3 Cards in Row */
@media (min-width: 769px) {
    .testimonials-grid,
    .testimonials .grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

/* 6. Typography Refinement */
.premium-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1; margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #a0aabf 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    position: relative; z-index: 2; text-shadow: none;
}
.premium-title span { background: linear-gradient(90deg, #00f2fe, #4facfe); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Typewriter Hero Title - Custom Font Sizes */
.typewriter-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.typewriter-hero-title #typewriter-line1 {
    font-size: clamp(1.4rem, 5vw, 3.2rem);
}

.typewriter-hero-title #typewriter-line2 {
    font-size: clamp(1.2rem, 4.5vw, 2.8rem);
}

@media (max-width: 768px) {
    .typewriter-hero-title {
        font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
    }

    /* Hero Section - Only section gets padding */
    section.hero,
    .v2-hero {
        padding-top: 80px;
    }

    /* Reset all child elements to no padding-top */
    .hero .hero-overlay,
    .hero .hero-content,
    .hero h1.premium-title,
    .hero .typewriter-hero-title,
    .hero .hero-stats {
        padding-top: 0 !important;
    }

    /* Additional standalone rules for overlay and content */
    .hero-overlay,
    .hero-content {
        padding-top: 0 !important;
    }

    /* Hero Statistics Mobile Optimization */
    .hero-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: clamp(1rem, 4vw, 2rem) !important;
    }

    .hero-stats .stat-number {
        font-size: clamp(1.8rem, 6vw, 3rem) !important;
    }

    .hero-stats .stat-item {
        flex: 1 !important;
        min-width: 90px !important;
        max-width: 120px !important;
    }

    /* Mobile CTAs - Full Width */
    .btn, .btn-glow, .btn-primary, button[class*="btn"],
    a[style*="background:linear-gradient"],
    .hero [style*="display:flex"] a,
    .cta-item, .nav-cta {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 15px 20px !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    /* Hero CTAs Container Mobile */
    .hero [style*="display:flex;gap:1rem"] {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    /* Case Studies - Single Column Mobile */
    section [style*="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .glass-tilt-card {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Mobile Navbar - Ensure Contact CTA is visible */
    .mobile-nav-cta,
    .mobile-nav-overlay a[href*="contact"],
    .mobile-nav-overlay .nav-cta {
        display: block !important;
        background: var(--accent-blue) !important;
        color: #000 !important;
        font-weight: 700 !important;
        border-radius: 25px !important;
        margin-top: 1rem !important;
        text-align: center !important;
        padding: 1rem 2rem !important;
    }
}

/* Specific Platform Themes (Colors and overrides) */
.theme-google h1 span { color: #DB4437; text-shadow: 0 0 30px rgba(219,68,55,0.4); }
.theme-google .btn-primary { background: #DB4437; color: white; border-color: #DB4437; }
.theme-google .btn-primary:hover { box-shadow: 0 0 20px rgba(219,68,55,0.5); background: transparent; color: #DB4437; }

.theme-facebook h1 span { color: #1877F2; text-shadow: 0 0 30px rgba(24,119,242,0.4); }
.theme-facebook .btn-primary { background: #1877F2; color: white; border-color: #1877F2; }
.theme-facebook .btn-primary:hover { box-shadow: 0 0 20px rgba(24,119,242,0.5); background: transparent; color: #1877F2; }

.theme-instagram h1 span { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.theme-instagram .btn-primary { background: linear-gradient(45deg, #f09433, #bc1888); color: white; border: none; }
.theme-instagram .btn-primary:hover { opacity: 0.8; box-shadow: 0 0 20px rgba(220,39,67,0.5); }

.theme-tiktok h1 span { color: #00f2fe; text-shadow: 3px 3px 0px #fe0054; }
.theme-tiktok .btn-primary { background: #000; border: 2px solid #00f2fe; color: white; box-shadow: 4px 4px 0px #fe0054; }
.theme-tiktok .btn-primary:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0px #fe0054; }

.theme-web h1 span { color: #10b981; text-shadow: 0 0 30px rgba(16,185,129,0.4); }
.theme-web .btn-primary { background: #10b981; color: white; border-color: #10b981; }
.theme-web .btn-primary:hover { box-shadow: 0 0 20px rgba(16,185,129,0.5); background: transparent; color: #10b981; }

.theme-magazine h1 span { color: #f59e0b; text-shadow: 0 0 30px rgba(245,158,11,0.4); }

/* Dropdown Navbar Styles */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: rgba(3, 3, 5, 0.95); min-width: 220px; box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.8); z-index: 1001; border: 1px solid var(--border-color); border-radius: 4px; top: 100%; right: 0; backdrop-filter: blur(10px);}
.dropdown-content a { color: var(--text-primary); padding: 14px 20px; text-decoration: none; display: block; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.2s; font-size: 1rem;}
.dropdown-content a:hover { background-color: var(--accent-blue-dim); color: var(--accent-blue); padding-right: 25px; border-right: 3px solid var(--accent-blue);}
.dropdown:hover .dropdown-content { display: block; animation: dropdownFadeIn 0.3s ease; }
@keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Scanner Tool Utility */
.scan-section { background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2000') center/cover; position: relative; }
.scan-section::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(3,3,5,0.9); z-index: 1; }
.scan-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }

/* Massive Footer Styling */
.massive-footer {
    background: #030305;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.2s;
}
.footer-col ul li a:hover { color: var(--accent-blue); padding-right: 5px; }
@media(max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ================================================
   MOBILE-FIRST RESPONSIVE OVERHAUL
   Breakpoints: 480px | 600px | 768px | 1024px
   ================================================ */

/* ── Hamburger Button ─────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    transition: border-color 0.3s;
}
.hamburger:hover { border-color: var(--accent-blue); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Overlay ───────────────────────── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3,3,5,0.97);
    backdrop-filter: blur(20px);
    z-index: 1050;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}
.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a,
.mobile-nav-overlay .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s, padding-right 0.2s;
    background: none;
    border-right: none;
    border-left: none;
    border-top: none;
    cursor: pointer;
    width: 100%;
    text-align: right;
    font-family: var(--font-body);
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay .mobile-dropdown-toggle:hover { color: var(--accent-blue); padding-right: 8px; }

.mobile-nav-overlay .mobile-sub-links {
    display: none;
    padding-right: 1rem;
    border-right: 2px solid var(--accent-blue);
    margin-bottom: 0.5rem;
}
.mobile-nav-overlay .mobile-sub-links.open { display: flex; flex-direction: column; }
.mobile-nav-overlay .mobile-sub-links a {
    font-size: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-nav-cta {
    margin-top: 1.5rem;
    display: block;
    text-align: center;
    padding: 1rem 2rem !important;
    background: var(--accent-blue) !important;
    color: #000 !important;
    border-radius: 4px;
    font-weight: 700;
    border-bottom: none !important;
}

/* ── WhatsApp Floating Button ─────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37,211,102,0.7);
    animation: none;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ── Navbar Mobile ────────────────────────────── */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none !important; }

    /* Hide desktop CTA in navbar on mobile — shown in mobile menu */
    .navbar .btn { display: none; }

    .nav-container { padding: 0.5rem 1rem !important; }
    .logo { font-size: 1.3rem !important; max-width: 200px; overflow: hidden; }

    /* WhatsApp — right side on mobile */
    .whatsapp-float { bottom: 160px !important; left: auto !important; right: 16px !important; transform: none; }
    .whatsapp-float:hover { transform: scale(1.12); }
    /* Floating Dialer — right side on mobile */
    .floating-dialer { bottom: 90px !important; left: auto !important; right: 16px !important; }
    /* Chatbot — right side on mobile */
    .chatbot-btn { bottom: 24px !important; left: auto !important; right: 16px !important; }
    .chatbot-box { bottom: 90px !important; left: auto !important; right: 16px !important; }
}

/* ── Hero Section Mobile ──────────────────────── */
@media (max-width: 768px) {
    .hero { padding: 6rem 1.2rem 3rem; min-height: 100svh; }
    .main-title { font-size: clamp(2.5rem, 9vw, 4.5rem); letter-spacing: 1px; }
    .subtitle { font-size: 1.1rem; }
    .hero-text { font-size: 1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; }
    .mega-text { font-size: 28vw; }
}

@media (max-width: 480px) {
    .main-title { font-size: clamp(2rem, 10vw, 3.5rem); }
    .hero { padding: 5rem 1rem 2.5rem; }
}

/* ── Sections Global Mobile ───────────────────── */
@media (max-width: 768px) {
    section { padding: 2rem 1.2rem !important; }
    .section-title { margin-bottom: 1.5rem; }
    .section-title h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
    .section-title p { font-size: 0.95rem; }
}

/* ── Services Grid Mobile ─────────────────────── */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .service-card { padding: clamp(1.5rem, 4vw, 2rem); }
    .service-card h3 { font-size: 1.2rem; }
}

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

/* ── Stats Mobile ─────────────────────────────── */
@media (max-width: 768px) {
    .stats-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stat-item h3,
    .stat-item span { font-size: clamp(2rem, 8vw, 3.5rem); }
    .stat-item p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .stats-container { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Contact Section Mobile ───────────────────── */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
    .contact-info h2 { font-size: clamp(1.6rem, 5vw, 2rem); }
}

/* ── Footer Mobile ────────────────────────────── */
@media (max-width: 768px) {
    .massive-footer { padding: 3rem 1.2rem 6rem; /* extra bottom for floating bar */ }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── Floating Sidebar Mobile ──────────────────── */
@media (max-width: 768px) {
    .floating-sidebar {
        display: none !important; /* Hide overlapping floating dock on mobile */
    }
}

/* ── Glass Tilt Cards Mobile ──────────────────── */
@media (max-width: 768px) {
    .glass-tilt-card { padding: 1.8rem 1.2rem; border-radius: 12px; }
    .glass-tilt-card > * { transform: none; } /* disable 3D on touch */
}

/* ── Tech Indicator Mobile ────────────────────── */
@media (max-width: 480px) {
    .tech-indicator { font-size: 0.78rem; gap: 12px; padding: 8px 16px; }
}

/* ── Cyber Terminal Mobile ────────────────────── */
@media (max-width: 768px) {
    .cyber-terminal {
        border-radius: 8px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    #terminal-scanner .cyber-body > div[style*="display:flex"] {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #terminal-scanner input[type="text"] {
        font-size: 1rem !important;
        padding: 15px !important;
    }

    #terminal-scanner button {
        font-size: 1rem !important;
        padding: 15px 20px !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
}

/* ── General Text Scaling & Architecture ─────── */
@media (max-width: 768px) {
    p { font-size: 1.05rem !important; line-height: 1.6 !important; }
    h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
    h2 { font-size: clamp(1.6rem, 5.5vw, 2.5rem); }
    h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }

    /* Apple HIG Standards & Typography */
    input, textarea, select { font-size: 16px !important; } /* Prevent iOS zoom */
    button, .btn, a.btn, input[type="submit"] { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    
    /* Layout Overrides */
    section, .section { padding-left: 20px !important; padding-right: 20px !important; }
    .matrix-table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .hero { min-height: 100vh !important; }
}

/* ── Prevent horizontal overflow ─────────────── */
* { max-width: 100%; }
img, video, canvas, svg { max-width: 100%; height: auto; }
table { overflow-x: auto; display: block; }

/* ── Touch-friendly tap targets ───────────────── */
@media (max-width: 768px) {
    a, button { min-height: 44px; }
    .btn { font-size: 1rem; padding: 13px 22px; }
    .info-lines p { font-size: 1rem; }
}

/* ── Scrollbar hidden on mobile ───────────────── */
@media (max-width: 768px) {
    ::-webkit-scrollbar { display: none; }
    html { scrollbar-width: none; }
}

/* ================================================
   DEEP MOBILE FIXES — based on audit
   ================================================ */

/* ── Force all large headings to use clamp ────── */
@media (max-width: 768px) {
    h1 { font-size: clamp(2rem, 7.5vw, 3.5rem) !important; line-height: 1.2 !important; }
    h2 { font-size: clamp(1.5rem, 5.5vw, 2.5rem) !important; }
    h3 { font-size: clamp(1.1rem, 4vw, 1.5rem) !important; }
}
@media (max-width: 480px) {
    h1 { font-size: clamp(1.8rem, 8vw, 2.8rem) !important; }
}

/* ── Hero section universal mobile ───────────── */
@media (max-width: 768px) {
    .hero, [class*="hero"], section.hero {
        min-height: 100dvh !important;
        padding-top: 80px !important;
        padding-bottom: 2rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
}

/* ── Glass/Card panels on service pages ──────── */
@media (max-width: 768px) {
    [class*="glass"], [class*="card"], [class*="panel"] {
        padding: clamp(1.2rem, 4vw, 2rem) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Story side (contact page) */
    .story-side, [class*="story"] {
        padding: clamp(2rem, 5vw, 4rem) 1.2rem !important;
    }
}

/* ── Prevent ANY fixed-width overflow ─────────── */
@media (max-width: 768px) {
    [style*="width: 8"], [style*="width: 7"], [style*="width: 6"],
    [style*="width: 5"], [style*="width: 4"], [style*="width: 3"] {
        max-width: 100% !important;
    }
    /* Any element with min-width that could overflow */
    * { min-width: 0 !important; }
}

/* ── Grid responsive universal ────────────────── */
@media (max-width: 768px) {
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 2fr"],
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    /* Gap reduction */
    [style*="gap: 3rem"], [style*="gap:3rem"] { gap: 1.5rem !important; }
    [style*="gap: 4rem"], [style*="gap:4rem"] { gap: 1.5rem !important; }
    [style*="gap: 2.5rem"], [style*="gap:2.5rem"] { gap: 1.2rem !important; }
}

/* ── Process steps / Timeline mobile ────────── */
@media (max-width: 768px) {
    [class*="process"], [class*="steps"], [class*="timeline"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    [class*="step"], [class*="phase"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
}

/* ── Floating dialer: hidden on mobile (WhatsApp serves same purpose) ── */
@media (max-width: 768px) {
    .floating-dialer, .dialer-tooltip { display: none !important; }
}

/* ── Comparison / feature tables mobile ──────── */
@media (max-width: 768px) {
    .comparison-table, [class*="compare"] {
        font-size: 0.8rem !important;
        overflow-x: auto;
        display: block;
    }
    table { width: 100% !important; font-size: 0.82rem; }
    td, th { padding: 8px 6px !important; }
}

/* ── Service page specific fixes ─────────────── */
@media (max-width: 768px) {
    /* Platform hero sections */
    .theme-facebook .hero, .theme-google .hero,
    .theme-instagram .hero, .theme-tiktok .hero,
    .theme-web .hero, .theme-magazine .hero {
        text-align: center !important;
        padding: clamp(5rem, 10vw, 7rem) 1.2rem 3rem !important;
    }

    /* Hero CTA buttons on service pages */
    .hero .btn, .hero a.btn, section.hero .btn {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.8rem !important;
        box-sizing: border-box !important;
    }

    /* Metrics / stat boxes on service pages */
    [class*="metric"], [class*="stat-box"], [class*="result-box"] {
        font-size: 0.85rem !important;
        padding: 1rem !important;
    }
}

/* ── Article pages mobile ─────────────────────── */
@media (max-width: 768px) {
    article, .article-body, [class*="article-content"] {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        padding: 0 1rem !important;
    }
    .article-hero, [class*="article-header"] {
        padding: 5rem 1.2rem 2rem !important;
        text-align: center !important;
    }
}

/* ── Magazine grid mobile ────────────────────── */
@media (max-width: 768px) {
    .magazine-grid, [class*="articles-grid"], [id*="articles-grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
}

/* ── Contact page mobile ─────────────────────── */
@media (max-width: 768px) {
    .split-hero, .contact-split, [class*="split"] {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .form-side, .story-side {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
    }
    .contact-form-wrapper, [class*="form-wrapper"] {
        padding: 2rem 1.2rem !important;
    }
}

/* ── Image overflow protection ───────────────── */
@media (max-width: 768px) {
    img { max-width: 100% !important; height: auto !important; }
    video, iframe, embed { max-width: 100% !important; }
}

/* ── Overflow-x protection on body ───────────── */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* ── Ambient orbs: hide on mobile (performance) ── */
@media (max-width: 768px) {
    .ambient-orb { display: none; }
    .bg-glow { display: none; }
}

/* ── Arsenal bento grid (homepage) ──────────────── */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(220px, auto);
}
.arsenal-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 300px;
}
@media (max-width: 900px) {
    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }
    .arsenal-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}
@media (max-width: 600px) {
    .arsenal-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(160px, auto);
    }
    .arsenal-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    .glass-tilt-card h3 { font-size: 1.3rem !important; }
    .glass-tilt-card p  { font-size: 0.95rem !important; }
    .glass-tilt-card > div[style*="font-size:3rem"] { font-size: 2rem !important; }
}

/* ── Homepage scanner input mobile ──────────────── */
@media (max-width: 600px) {
    #scannerFormState > div {
        flex-direction: column !important;
    }
    #scannerFormState > div > input {
        border-radius: 4px 4px 0 0 !important;
        font-size: 1rem !important;
        padding: 14px 16px !important;
        text-align: right !important;
        direction: rtl !important;
    }
    #scannerFormState > div > button {
        border-radius: 0 0 4px 4px !important;
        font-size: 1rem !important;
        padding: 14px 20px !important;
        width: 100% !important;
    }
}

/* ── Homepage philosophy section mobile ─────────── */
@media (max-width: 768px) {
    #terminal-scanner h2 { font-size: clamp(1.6rem, 6vw, 2.5rem) !important; }
    .page-content > div[style*="flex"] {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .page-content > div > div[style*="flex:1"] { min-width: unset !important; }
    .page-content > div > div[style*="display:flex;gap:2rem"] {
        flex-direction: row !important;
        gap: 1rem !important;
    }
    .page-content > div > div > div[style*="transform:translateY"] {
        transform: none !important;
    }
    .page-content > div > div > div[style*="padding:3rem"] {
        padding: 1.5rem 1rem !important;
    }
}

/* UX/UI Global Fixes added by Script */
button, .btn, .dropbtn, a, input[type="submit"] {
    cursor: pointer !important;
}
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px;
}

/* ========================================= */
/* PREMIUM MOBILE-FIRST UTILITIES            */
/* ========================================= */
@media (max-width: 768px) {
    /* Flex overrides for Huge Cards */
    .mobile-flex-col {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
    }
    
    .mobile-flex-col > div {
        width: 100% !important;
        text-align: center !important;
    }

    /* Horizontal smooth scrolling container for grids (e.g. Calendar) */
    .mobile-scroll-x {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem !important;
        width: 100% !important;
        display: block !important;
        direction: rtl;
    }

    .mobile-scroll-x::-webkit-scrollbar {
        height: 6px;
    }
    .mobile-scroll-x::-webkit-scrollbar-thumb {
        background: var(--accent-blue);
        border-radius: 4px;
    }

    .mobile-scroll-x > div {
        min-width: 600px; /* Force minimum width to enable scroll */
    }

    /* Reset right paddings in Hero containers */
    .mobile-no-pr {
        padding-right: 0 !important;
        padding-left: 0 !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .mobile-no-pr .hero-text {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Typography scaling for tight areas (like SEO graph) */
    .mobile-text-scale {
        font-size: clamp(0.6rem, 2.5vw, 1rem) !important;
    }
    
    /* Device constraints */
    .mobile-device-mockup {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
        aspect-ratio: 9/16 !important;
        margin: 0 auto !important;
    }
}



/* ============================================================
   2026 MOBILE-FIRST ARCHITECTURE SWEEP (FLUID & SAFE ZONES)
   ============================================================ */

/* 1. Fluid Typography - Global */
h1 { font-size: clamp(28px, 8vw, 72px) !important; }
h2 { font-size: clamp(22px, 5vw, 48px) !important; }
h3 { font-size: clamp(18px, 4vw, 32px) !important; }
p { font-size: clamp(15px, 2.5vw, 18px) !important; }

/* 2. Fluid Grid Base */
[class*="grid"], .services-grid, .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 32px);
}

/* 3. Spacing System & Safe Areas */
body {
    padding-bottom: env(safe-area-inset-bottom) !important;
}
.section, section, [class*="section"] {
    padding-left: clamp(16px, 4vw, 40px) !important;
    padding-right: clamp(16px, 4vw, 40px) !important;
    margin-bottom: clamp(40px, 6vw, 80px) !important;
    max-width: 100vw;
}

/* 4. Overflow Protection */
html, body { overflow-x: hidden !important; }

/* 5. Touch Targets (Apple HIG) */
a, button, input, select, textarea, .btn {
    min-height: 44px !important;
    min-width: 44px;
    cursor: pointer;
}

/* 6. Image Defaults */
img { max-width: 100% !important; height: auto !important; }

/* =========================================
   MOBILE SPECIFIC RULES (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Hero Tweaks */
    .btn-primary, .btn { 
        width: 100% !important; 
        text-align: center !important; 
        padding: 16px 24px !important;
        white-space: normal !important;
    }

    /* iOS Zoom Fix */
    input, textarea, select { font-size: 16px !important; }

    /* Navigation - Hamburger & Fullscreen */
    .hamburger { min-width: 48px !important; min-height: 48px !important; z-index: 10000 !important; }
    .nav-links, .nav-desktop { display: none !important; } /* Hide desktop nav */
    .mobile-nav-overlay { 
        position: fixed !important; width: 100vw !important; height: 100vh !important; 
        z-index: 9999 !important; backdrop-filter: blur(20px) !important; 
    }
    .mobile-nav-overlay a { padding: 16px 24px !important; }
    
    /* Cards */
    .service-card, .pricing-card, [class*="card"] {
        width: 100% !important; min-height: auto !important;
        padding: clamp(20px, 4vw, 40px) !important;
    }

    /* Pricing Table -> Accordion Prep (Hide Matrix, Stack Cards) */
    .matrix-table, .matrix-section { display: none !important; }
    .pricing-grid { display: flex !important; flex-direction: column !important; }
    
    /* Custom Cursor Disable */
    @media (hover: none) {
        .custom-cursor, .cursor-dot { display: none !important; }
        * { cursor: auto !important; }
    }
}

/* Desktop Only Logic */
@media (min-width: 769px) {
    .nav-mobile, .mobile-nav-overlay, #mobileNavOverlay, .hamburger { display: none !important; }
}

/* Chatbot & Elements Safe Area Adjustments */
#am-chatbot-btn { bottom: calc(20px + env(safe-area-inset-bottom)) !important; }
.back-to-top { bottom: calc(20px + env(safe-area-inset-bottom)) !important; }

/* ============================================================
   CRITICAL MOBILE BUG FIXES (USER REQUEST)
   ============================================================ */

/* 1. Double Navigation Fixes */
@media (max-width: 768px) {
  .desktop-nav, .nav-desktop, header nav:first-of-type, .nav-links {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .desktop-nav, .nav-desktop, header nav:first-of-type, .nav-links {
    display: flex !important;
  }
  .mobile-nav, .hamburger-nav, .mobile-nav-overlay, .hamburger {
    display: none !important;
  }
}

/* 2. Hero Title Fix & Testimonials Grid & Chatbot Mobile Position */
@media (max-width: 768px) {
  }
  .testimonials-grid, .reviews-grid, [class*="testimonial"] {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .testimonial-card, .review-card, [class*="testimonial-card"] {
    width: 100% !important;
    margin-bottom: 24px !important;
  }
  #am-chatbot-btn {
    left: 16px !important;
    right: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
}

/* 3. Marquee Overlap Fix */
.marquee-track, .clients-strip, .marquee-container {
  overflow: hidden !important;
  white-space: nowrap !important;
}
.marquee-item, .marquee-content {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 24px !important;
}

/* 4. Chatbot — sits above WhatsApp, left side, NO centering */
#am-chatbot-btn {
  left: 20px !important;
  right: auto !important;
  bottom: 160px !important; /* WhatsApp is at 90px, chatbot btn sits above */
}
#am-chatbot-box {
  left: 12px !important;
  right: auto !important;
  transform: none !important;
  bottom: 220px !important;
  width: min(340px, calc(100vw - 24px)) !important;
}

/* ============================================================
   EXACT FIXES 
   ============================================================ */

/* Problem 1 - Testimonials inline style */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column !important;
    align-items: center !important;
  }
  .testimonials-grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Problem 2 - Two CTA buttons */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
}

/* Problem 3 - Floating Sidebar */
@media (max-width: 768px) {
  .floating-sidebar { display: none !important; }
}

/* ============================================================
   TARGETED FIXES: hero padding + marquee overflow
   ============================================================ */


/* Fix 2 — Marquee overflow */
.social-proof-strip,
[class*="marquee"],
[class*="clients"] {
  overflow: hidden !important;
}
.social-proof-strip > div,
[class*="marquee"] > div {
  gap: 40px !important;
  padding: 0 20px !important;
}

/* ============================================================
   CANVAS HEIGHT + HERO Z-INDEX (Service pages mobile fix)
   ============================================================ */
canvas#scopeCanvas,
canvas#radarCanvas,
canvas#ggCanvas,
canvas#fgCanvas,
[id*="Canvas"] {
  height: 100% !important;
  max-height: 100vh !important;
}
.hero-content, .hero-content.reveal {
  position: relative !important;
  z-index: 20 !important;
}
/* ── Footer polish ──────────────────────────────── */
.massive-footer {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.massive-footer a:hover,
.footer-col a:hover {
    color: #00e5ff !important;
    transition: color 0.2s;
}
.social-links a {
    transition: transform 0.2s, color 0.2s !important;
}
.social-links a:hover {
    transform: scale(1.2) !important;
    color: #00e5ff !important;
}

/* ── Partners grid — mobile ───────────────────── */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        font-size: 0.75rem !important;
    }
}


/* ═══ FLUID DESIGN SYSTEM ═══ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { font-size: var(--text-base); }

h1, .premium-title, .hero-title {
  font-size: var(--text-hero) !important;
  line-height: 1.1;
}
h2 { font-size: var(--text-4xl) !important; line-height: 1.2; }
h3 { font-size: var(--text-3xl) !important; }
h4 { font-size: var(--text-2xl) !important; }

p, li {
  font-size: var(--text-base);
  line-height: 1.6;
}

section {
  padding: var(--space-2xl) var(--space-md);
  margin: 0 !important;
}

.service-card, .pricing-card, .testimonial-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.btn, button {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  min-height: 44px;
}

/* ═══════════════════════════
   FLOW — ריווחים הנדסיים
═══════════════════════════ */
.hero,
.page-hero,
.service-hero,
[class*="hero"],

section,
.section {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

h1, h2, h3 {
    text-align: right;
}

/* ═══ CRITICAL BROWSER FIXES ═══ */
/* Fix 1: Typewriter line 2 minimum height */
#typewriter-line2 {
    min-height: 1.2em;
}

/* Fix 2: Global reveal animation override */
.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* Fix 3: Testimonials desktop layout - ensure 3 cards */
@media (min-width: 769px) {
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        width: 100% !important;
    }
    .testimonials-grid > * {
        width: 100% !important;
        max-width: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Fix 4: Content data cards - ensure first card visibility */
[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] > *:first-child,
[style*="grid-template-columns:repeat(auto-fit, minmax(280px, 1fr))"] > *:first-child {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Fix 5: Arsenal bento third card - ensure all cards visible */
.arsenal-grid > *:nth-child(3),
.arsenal-grid .glass-tilt-card:nth-child(3) {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure all cards in all grids are always visible */
.glass-tilt-card,
.bento-card,
.arsenal-card,
[class*="card"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Fix 6: Arsenal section spacing */
section + section, .arsenal-section + section {
    margin-top: 0 !important;
    padding-top: clamp(2rem, 4vw, 3.5rem) !important;
}

.reveal, .reveal.active {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

/* Final Section Spacing Fix */
.testimonials,
.page-content,
#arsenal,
section:has(.testimonials-grid),
section:has(.arsenal-grid),
section[style*="CASE STUDIES"],
section[style*="background:rgba(0,229,255,0.01)"] {
  padding-bottom: clamp(2rem,4vw,3rem) !important;
}

/* Arsenal Overflow Fix */
.glass-tilt-card {
  overflow: visible !important;
  height: auto !important;
}

/* Section Heights Fix */
section {
  max-height: none !important;
}
.glass-tilt-card {
  height: auto !important;
}

/* MOBILE EMERGENCY FIX - FINAL OVERRIDE */
@media (max-width: 768px) {
  /* Remove all excessive spacing */
  section, .section {
    padding: 1.5rem 1rem !important;
    margin: 0 !important;
  }

  /* Hero sections reasonable spacing */
  .hero, section.hero, [class*="hero"] {
    padding-top: 80px !important;
    padding-bottom: 1.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Navbar compact */
  .nav-container {
    padding: 0.5rem 1rem !important;
  }
  .logo {
    font-size: 1.2rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  /* Remove giant margins */
  .section-title {
    margin-bottom: 1rem !important;
  }

  /* Cards reasonable spacing */
  .glass-tilt-card, [class*="card"] {
    padding: 1.2rem !important;
    margin-bottom: 1rem !important;
  }

  /* Typography compact */
  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; line-height: 1.2 !important; margin-bottom: 1rem !important; }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem) !important; margin-bottom: 0.8rem !important; }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem) !important; margin-bottom: 0.5rem !important; }

  p { line-height: 1.5 !important; margin-bottom: 1rem !important; }
}
