/* =========================================================================
   AdsBing Infotech — Design System
   Sections: 1) Tokens  2) Base  3) Utilities  4) Layout chrome
   5) Components  6) Sections  7) Popups/Floats  8) Animations  9) Responsive
   ========================================================================= */

/* 1) DESIGN TOKENS -------------------------------------------------------- */
:root {
    --color-primary: #0F62FE;
    --color-secondary: #1A73E8;
    --color-accent: #06B6D4;
    --color-dark: #111827;
    --color-light: #F8FAFC;

    --gradient-brand: linear-gradient(135deg, #0F62FE 0%, #06B6D4 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(15,98,254,0.10) 0%, rgba(6,182,212,0.10) 100%);

    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --surface-alt: #F1F5F9;
    --text: #111827;
    --text-muted: #5B6472;
    --border: rgba(17, 24, 39, 0.08);
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 60px rgba(17, 24, 39, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.35);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="dark"] {
    --bg: #0A0F1C;
    --surface: #111827;
    --surface-alt: #16202E;
    --text: #F8FAFC;
    --text-muted: #9AA5B1;
    --border: rgba(248, 250, 252, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
    --glass-bg: rgba(17, 24, 39, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Note: no `prefers-color-scheme` fallback here by design — the site's
   default theme is always light regardless of OS preference. The inline
   script in views/layouts/main.php sets [data-theme] explicitly on every
   load, and the theme-toggle button is the only way to switch to dark. */

/* 2) BASE ------------------------------------------------------------------ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
::selection { background: var(--color-primary); color: #fff; }

.text-muted-custom { color: var(--text-muted) !important; }
.bg-surface { background-color: var(--surface); }
.bg-surface-alt { background-color: var(--surface-alt); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--gradient-brand); border-radius: 10px; }

/* 3) UTILITIES -------------------------------------------------------------- */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-gradient-brand { background: var(--gradient-brand); }
.bg-gradient-soft { background: var(--gradient-brand-soft); }

.section-padding { padding-block: clamp(3.5rem, 6vw, 6rem); }
.rounded-xl { border-radius: var(--radius-md) !important; }
.rounded-xxl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-md) !important; }

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    background: var(--gradient-brand-soft);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}
:root[data-theme="dark"] .badge-soft { color: #7DB2FF; }

.section-title .badge-soft { margin-bottom: 1rem; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
.section-title p { color: var(--text-muted); max-width: 640px; }
.section-title.text-center p { margin-inline: auto; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-brand);
    color: #fff !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.25);
    transition: var(--transition);
}
.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15, 98, 254, 0.35); color: #fff; }

.btn-outline-brand {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    background: transparent;
}
.btn-outline-brand:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-weight: 600;
}
.btn-glass:hover { background: var(--surface); color: var(--text); }

/* Cards */
.card-modern {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.card-modern:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gradient-brand-soft);
    color: var(--color-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}
:root[data-theme="dark"] .icon-box { color: #7DB2FF; }

.icon-box-gradient {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 98, 254, 0.3);
}

/* 4) LAYOUT CHROME ----------------------------------------------------------- */
.top-bar {
    background: var(--color-dark);
    color: #E5E7EB;
    font-size: 0.85rem;
    padding-block: 0.5rem;
}
.top-bar a { color: #E5E7EB; }
.top-bar a:hover { color: var(--color-accent); }

.navbar-main {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding-block: 0.85rem;
    transition: var(--transition);
}
.navbar-main.is-scrolled {
    box-shadow: var(--shadow-md);
    padding-block: 0.5rem;
}
.navbar-brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text) !important;
}
.navbar-brand-text .brand-dot { color: var(--color-accent); }

.navbar-logo { height: 42px; width: auto; display: block; }

.footer-logo-chip {
    display: inline-flex;
    background: #fff;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
}
.footer-logo-chip img { height: 40px; width: auto; display: block; }

.navbar-main .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}
.navbar-main .nav-link.active,
.navbar-main .nav-link:hover { color: var(--color-primary) !important; }

.mega-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    background: var(--surface);
    min-width: 620px;
}
.mega-menu-link {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text) !important;
}
.mega-menu-link:hover { background: var(--surface-alt); }
.mega-menu-link .icon-box { width: 42px; height: 42px; font-size: 1rem; }
.mega-menu-link strong { display: block; font-size: 0.92rem; }
.mega-menu-link span { font-size: 0.8rem; color: var(--text-muted); }

.theme-toggle-btn, .search-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
}
.theme-toggle-btn:hover, .search-toggle-btn:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.theme-toggle-btn .fa-sun { display: none; }
:root[data-theme="dark"] .theme-toggle-btn .fa-moon { display: none; }
:root[data-theme="dark"] .theme-toggle-btn .fa-sun { display: inline-block; }

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: #CBD5E1;
    padding-block: 4rem 1.5rem;
}
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer a { color: #9CA6B4; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); color: #fff; margin-right: 0.5rem;
}
.footer-social a:hover { background: var(--gradient-brand); }
.footer-newsletter-form .form-control { border-radius: 50px 0 0 50px; border: none; }
.footer-newsletter-form .btn { border-radius: 0 50px 50px 0; }

/* 5) COMPONENTS --------------------------------------------------------------- */

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
    background: var(--bg);
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: 0;
}
.hero-blob-1 { width: 420px; height: 420px; background: var(--color-primary); top: -100px; right: -100px; }
.hero-blob-2 { width: 320px; height: 320px; background: var(--color-accent); bottom: -80px; left: -80px; }
.hero-section .container { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.15; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--text-muted); max-width: 560px; }
.typed-cursor { color: var(--color-primary); }

.hero-illustration-wrap { position: relative; z-index: 1; }

.hero-photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.1;
    border: 6px solid var(--surface);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-frame::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(15,98,254,0.28) 0%, rgba(6,182,212,0.05) 45%, transparent 70%);
    pointer-events: none;
}

/* Generic photo frame used for About/section imagery */
.photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-stat-chip {
    position: absolute;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatChip 4s ease-in-out infinite;
}
.hero-stat-chip strong { display: block; font-size: 1.1rem; }
.hero-stat-chip span { font-size: 0.75rem; color: var(--text-muted); }
.hero-stat-chip.chip-1 { top: 8%; left: -4%; }
.hero-stat-chip.chip-2 { bottom: 10%; right: -4%; animation-delay: 1.2s; }

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-trust-strip { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.75rem; }
.hero-trust-strip .text-muted-custom { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Stats / Counters */
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
}
.stat-card .counter { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; font-family: 'Poppins', sans-serif; }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.9rem; }

/* Process / steps */
.process-step { position: relative; padding: 1.75rem; text-align: center; }
.process-step .step-number {
    width: 56px; height: 56px; margin: 0 auto 1.25rem;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(15,98,254,0.3);
}
.process-step-connector {
    position: absolute; top: 28px; left: 50%; width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
    z-index: -1;
}

/* Tech stack */
.tech-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.1rem; border-radius: 50px;
    background: var(--surface); border: 1px solid var(--border);
    font-weight: 600; font-size: 0.88rem;
}
.tech-chip:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); }

/* Portfolio */
.portfolio-card { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.portfolio-thumb {
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand-soft); font-size: 3rem; color: var(--color-primary);
}
.portfolio-thumb.portfolio-thumb-img {
    background: var(--surface-alt);
    transition: transform 0.5s ease;
}
.portfolio-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-card:hover .portfolio-thumb-img img { transform: scale(1.06); }
.portfolio-card .portfolio-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,15,28,0.85) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
    opacity: 0; transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5, .portfolio-overlay span { color: #fff; }

/* Testimonials */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
}
.testimonial-card .stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); color: #fff; font-weight: 700;
}
.swiper-pagination-bullet-active { background: var(--color-primary) !important; }

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--surface);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    background: var(--surface);
    color: var(--text);
    padding: 1.25rem 1.5rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--color-primary); background: var(--gradient-brand-soft); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { color: var(--text-muted); padding: 0 1.5rem 1.5rem; }

/* Pricing */
.pricing-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem; text-align: center; height: 100%; position: relative;
}
.pricing-card.highlighted { border: 2px solid var(--color-primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; font-family: 'Poppins', sans-serif; }
.pricing-card .price-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.pricing-card ul li { padding: 0.5rem 0; color: var(--text-muted); display: flex; gap: 0.6rem; }
.pricing-card ul li i { color: var(--color-primary); margin-top: 0.2rem; }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-brand); color: #fff; padding: 0.35rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
}

/* Blog cards */
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; height: 100%; }
.blog-thumb {
    aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand-soft); color: var(--color-primary); font-size: 2.5rem;
}
.blog-card .blog-meta { font-size: 0.8rem; color: var(--text-muted); }
.blog-card .blog-category { color: var(--color-primary); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Timeline (About) */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.5rem; top: 4px; width: 22px; height: 22px;
    border-radius: 50%; background: var(--gradient-brand); box-shadow: 0 0 0 5px var(--gradient-brand-soft);
}
.timeline-item .year { color: var(--color-primary); font-weight: 700; font-size: 0.85rem; }

/* Team */
.team-card { text-align: center; }
.team-avatar {
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); color: #fff; font-size: 2rem; font-weight: 700;
}
.team-social a {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-alt); color: var(--text); margin: 0 0.2rem;
}
.team-social a:hover { background: var(--gradient-brand); color: #fff; }

/* Industries */
.industry-chip {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem;
    border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border);
}

/* CTA band */
.cta-band {
    background: var(--gradient-brand);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* Photo band (Company Statistics section) - dark photo with brand gradient wash */
.photo-band {
    position: relative;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.photo-band::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,98,254,0.93) 0%, rgba(6,182,212,0.88) 100%);
    z-index: -1;
}

/* Contact page */
.contact-info-card { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.form-control, .form-select {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
    background: var(--surface);
    color: var(--text);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--gradient-brand-soft);
}
.form-label { font-weight: 600; font-size: 0.9rem; }
.invalid-feedback { font-size: 0.8rem; }

/* Prose content (legal pages, long-form article text) */
.prose-content { max-width: 820px; }
.prose-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { font-size: 1.1rem; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.prose-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.15rem; }
.prose-content ul, .prose-content ol { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.15rem; padding-left: 1.4rem; }
.prose-content li { margin-bottom: 0.45rem; }
.prose-content strong { color: var(--text); }
.prose-content a { color: var(--color-primary); text-decoration: underline; }
.prose-content .updated-badge { font-size: 0.82rem; color: var(--text-muted); }

/* Error page */
.error-page { min-height: 60vh; display: flex; align-items: center; }

/* 6) POPUPS / FLOATING ELEMENTS ------------------------------------------------ */

/* Page loader */
.page-loader {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 56px; height: 56px; border-radius: 50%;
    border: 4px solid var(--gradient-brand-soft);
    border-top-color: var(--color-primary);
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll progress */
.scroll-progress-bar {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--gradient-brand); z-index: 2001;
    transition: width 0.1s ease-out;
}

/* Back to top */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--gradient-brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition); border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Floating WhatsApp / Call buttons */
.float-btn-stack { position: fixed; left: 24px; bottom: 24px; z-index: 1040; display: flex; flex-direction: column; gap: 0.75rem; }
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-lg);
    animation: pulseBtn 2.4s infinite;
}
.float-btn-whatsapp { background: #25D366; }
.float-btn-call { background: var(--gradient-brand); animation-delay: 0.4s; }
@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Cookie consent */
.cookie-consent-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1900;
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 1.25rem 1.5rem; box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    transform: translateY(100%); transition: transform 0.5s ease;
}
.cookie-consent-banner.show { transform: translateY(0); }
.cookie-consent-banner .icon-box { width: 46px; height: 46px; font-size: 1.1rem; }

.cookie-modal .form-check { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.75rem; }

/* Newsletter popup */
.newsletter-popup .modal-content {
    border: none; border-radius: var(--radius-lg); overflow: hidden;
}
.newsletter-popup-visual {
    background: var(--gradient-brand); color: #fff;
    display: flex; flex-direction: column; justify-content: center; padding: 2.5rem;
}

/* Search popup */
.search-popup { position: fixed; inset: 0; z-index: 1950; background: rgba(10,15,28,0.85); display: none; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.search-popup.show { display: flex; }
.search-popup-box { width: min(640px, 92vw); }
.search-popup-box input {
    width: 100%; padding: 1.1rem 1.5rem; border-radius: 50px; border: none;
    font-size: 1.1rem; box-shadow: var(--shadow-lg);
}
.search-popup-close { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 1.6rem; background: none; border: none; }

/* Cursor effect (desktop only) */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 2500;
    border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--color-primary); }
.cursor-outline { width: 36px; height: 36px; border: 2px solid var(--color-primary); opacity: 0.5; transition: width 0.2s, height 0.2s; }

@media (hover: none), (max-width: 991px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* 8) MISC ANIMATIONS ------------------------------------------------------------ */
.animate-float { animation: floatChip 5s ease-in-out infinite; }

/* 9) RESPONSIVE ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .hero-stat-chip { position: static; margin-top: 1rem; display: inline-flex; }
    .mega-menu { min-width: 100%; box-shadow: none; border: none; padding: 0.5rem 0 0.5rem 1rem; }
    .float-btn-stack { left: 14px; bottom: 14px; }
    .back-to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 575px) {
    .section-padding { padding-block: 3rem; }
    .pricing-card.highlighted { transform: none; }
}
