/**
 * Atifiy 2.0 — Design System
 * Core CSS variables, typography, utilities, and base styles.
 * Premium, modern, technology-focused aesthetic.
 */

/* ─── Offline Local Fonts ──────────────────────────────────── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/jetbrainsmono-latin.woff2') format('woff2');
}

/* ─── CSS Custom Properties (Light Theme) ──────────────────── */
:root {
    /* Brand */
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-light: rgba(99, 102, 241, 0.12);
    --primary-glow: rgba(99, 102, 241, 0.3);
    --secondary: #06b6d4;
    --accent: #8b5cf6;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Light theme colors */
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-elevated: #ffffff;
    --surface: #f1f5f9;
    --surface-hover: #e2e8f0;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(226, 232, 240, 0.8);
    --glass-blur: 20px;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f5f3ff 100%);
    --gradient-surface: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
    --hero-heading-color: #0f172a;
    --hero-subtitle-color: #334155;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Spacing */
    --section-padding: 6rem;
    --container-padding: 1.5rem;

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

    /* Transitions */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Navbar */
    --navbar-height: 72px;
}

/* ─── Dark Theme ───────────────────────────────────────────── */
[data-theme="dark"] {
    --bg: #0a0a1a;
    --bg-alt: #0f0f23;
    --bg-elevated: #1a1a2e;
    --surface: #1e1e35;
    --surface-hover: #2a2a45;
    --border: #2d2d50;
    --border-light: #1e1e35;
    --text: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #0a0a1a;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.35), 0 4px 6px -4px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.4), 0 8px 10px -6px rgba(0,0,0,0.3);
    --glass-bg: rgba(26, 26, 46, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-surface: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    --hero-heading-color: #ffffff;
    --hero-subtitle-color: rgba(255, 255, 255, 0.9);
}

/* ─── Base Reset & Typography ──────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }

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

.text-secondary {
    color: var(--text-secondary) !important;
}

small, .small {
    color: var(--text-secondary);
}

.small.text-muted, small.text-muted {
    color: var(--text-muted) !important;
}

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

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

/* ─── Focus States (Accessibility) ─────────────────────────── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Navbar ───────────────────────────────────────────────── */
.navbar-atifiy {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    height: var(--navbar-height);
    transition: all var(--transition);
}

.navbar-atifiy.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-atifiy .navbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin-right: 2.25rem;
    line-height: 1;
}

.navbar-atifiy .navbar-brand-logo,
.navbar-atifiy .navbar-brand img,
.navbar-atifiy .navbar-brand svg {
    height: 44px;
    width: 30px;
    min-width: 30px;
    max-height: 46px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 80, 140, 0.2));
    transition: transform var(--transition), filter var(--transition);
}

[data-theme="dark"] .navbar-atifiy .navbar-brand-logo,
[data-theme="dark"] .navbar-atifiy .navbar-brand img,
[data-theme="dark"] .navbar-atifiy .navbar-brand svg {
    filter: drop-shadow(0 2px 10px rgba(0, 180, 240, 0.45));
}

.navbar-atifiy .navbar-brand:hover .navbar-brand-logo,
.navbar-atifiy .navbar-brand:hover img,
.navbar-atifiy .navbar-brand:hover svg {
    transform: scale(1.08);
}

.navbar-atifiy .navbar-brand-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
}

.navbar-atifiy .navbar-brand:hover .navbar-brand-text {
    color: var(--primary);
}

.navbar-atifiy .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.navbar-atifiy .nav-link:hover,
.navbar-atifiy .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.navbar-atifiy .dropdown-menu {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), var(--shadow-lg);
    padding: 0.6rem;
    min-width: 220px;
    margin-top: 0.5rem;
    animation: fadeInDropdown 0.2s ease forwards;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-atifiy .dropdown-item {
    color: var(--text);
    padding: 0.6rem 0.9rem;
    font-size: 0.885rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-atifiy .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

.navbar-atifiy .dropdown-divider {
    border-color: var(--border-light);
    margin: 0.45rem 0;
    opacity: 0.7;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn-atifiy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary-atifiy {
    background: var(--gradient-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary-atifiy::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-primary-atifiy:hover::after {
    transform: rotate(25deg) translateY(100%);
}

.btn-primary-atifiy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
    color: #ffffff !important;
}

.btn-outline-atifiy {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    font-weight: 600;
}

.btn-outline-atifiy:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -2px rgba(99, 102, 241, 0.15);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm-atifiy {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.15rem;
    transition: all var(--transition);
}

.section-header .section-label:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.14);
    transform: translateY(-1px);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ─── Hero Section ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--hero-heading-color);
}

.hero h1 {
    color: var(--hero-heading-color);
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero .hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--hero-subtitle-color);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.hero .hero-trust span {
    font-size: 0.8rem;
    color: var(--hero-subtitle-color);
    font-weight: 500;
}

.hero .hero-trust .trust-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

[data-theme="dark"] .hero .hero-trust .trust-badge {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Global Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.22);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

[data-theme="dark"] .trust-badge {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

/* Animated grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

[data-theme="dark"] .hero-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* ─── Cards ────────────────────────────────────────────────── */
.card-atifiy {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card-atifiy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-atifiy:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 16px 36px -8px rgba(99, 102, 241, 0.15), var(--shadow-lg);
    transform: translateY(-5px);
}

.card-atifiy:hover::before {
    opacity: 1;
}

.card-atifiy .card-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 1.35rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-atifiy:hover .card-icon {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.25);
}

.card-atifiy h3,
.card-atifiy h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.card-atifiy p {
    font-size: 0.935rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ─── Service Finder ───────────────────────────────────────── */
.service-finder {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.service-finder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.finder-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.935rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.finder-option:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -6px rgba(99, 102, 241, 0.16);
    color: var(--primary);
}

.finder-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--primary-light), 0 8px 24px -4px rgba(99, 102, 241, 0.22);
}

.finder-option .finder-icon {
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.finder-option:hover .finder-icon,
.finder-option.selected .finder-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* ─── Process Section ──────────────────────────────────────── */
.process-step {
    text-align: center;
    padding: 2.25rem 1.25rem 1.75rem;
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 18px 36px -6px rgba(99, 102, 241, 0.16);
}

.process-step .step-number {
    font-size: 1.1rem;
    font-weight: 800;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: #ffffff;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px -2px rgba(99, 102, 241, 0.35);
    position: relative;
    transition: transform 0.3s ease;
    letter-spacing: -0.02em;
}

.process-step:hover .step-number {
    transform: scale(1.12) rotate(4deg);
}

.process-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.process-step p {
    font-size: 0.885rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-section h2,
.cta-section p {
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta-section p { opacity: 0.85; }

.cta-section .btn-atifiy {
    position: relative;
    z-index: 2;
}

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author .author-info .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.testimonial-card .author .author-info .role {
    font-size: 0.825rem;
    color: var(--text-secondary) !important;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer-atifiy {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-atifiy h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 1rem;
}

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

.footer-atifiy ul li {
    margin-bottom: 0.45rem;
}

.footer-atifiy ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-atifiy ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ─── WhatsApp Float ───────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ─── Cookie Consent ───────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: none;
}

.cookie-banner.show { display: block; }

/* ─── Theme Toggle ─────────────────────────────────────────── */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Scroll Animations ────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Blog Card ────────────────────────────────────────────── */
.blog-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 18px 36px -8px rgba(99, 102, 241, 0.16), var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-card .blog-card-image-wrap {
    overflow: hidden;
    position: relative;
    height: 200px;
    background: var(--surface);
}

.blog-card .blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card .blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card .blog-card-category {
    margin-bottom: 0.75rem;
}

.blog-card .blog-card-category a {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-card .blog-card-category a:hover {
    background: var(--primary);
    color: #ffffff;
}

.blog-card .blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.blog-card .blog-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card .blog-card-title a:hover {
    color: var(--primary);
}

.blog-card .blog-card-meta {
    font-size: 0.825rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* ─── Breadcrumbs ──────────────────────────────────────────── */
.breadcrumb-nav {
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-nav .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--text);
    font-weight: 600;
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-accordion .accordion-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 6px 16px -2px rgba(99, 102, 241, 0.08);
}

.faq-accordion .accordion-button {
    background: var(--bg-elevated);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.35rem;
    border: none;
    box-shadow: none;
    transition: all var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--gradient-surface);
    color: var(--primary);
    font-weight: 700;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(226deg) brightness(102%) contrast(91%);
    transition: transform var(--transition);
}

.faq-accordion .accordion-body {
    padding: 0.5rem 1.35rem 1.35rem;
    color: var(--text) !important;
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ─── Forms ────────────────────────────────────────────────── */
.form-atifiy .form-control,
.form-atifiy .form-select {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.form-atifiy .form-control:focus,
.form-atifiy .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: var(--bg-elevated);
    color: var(--text);
}

.form-atifiy .form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 3.5rem;
    }

    /* Mobile Navbar Drawer */
    .navbar-atifiy {
        height: auto;
        min-height: var(--navbar-height);
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-atifiy .navbar-collapse {
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22), var(--shadow-lg);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-atifiy .navbar-nav {
        gap: 0.25rem;
    }

    .navbar-atifiy .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-atifiy .dropdown-menu {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin: 0.4rem 0 0.6rem;
        padding: 0.5rem;
        box-shadow: none;
    }

    .navbar-atifiy .dropdown-item {
        padding: 0.6rem 0.85rem;
        font-size: 0.875rem;
    }

    .navbar-atifiy .navbar-cta {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        gap: 0.75rem;
    }

    .navbar-atifiy .navbar-cta .btn-atifiy {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Hero Responsive */
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + 2.5rem) 0 3.5rem;
    }

    .hero-heading {
        font-size: clamp(2rem, 7vw, 3.2rem) !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
        margin-bottom: 1.75rem;
    }

    .hero-status-pill {
        white-space: normal;
        flex-wrap: wrap;
        max-width: 100%;
        padding: 0.45rem 0.85rem;
        line-height: 1.4;
    }

    .service-finder {
        padding: 2rem 1.25rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .page-header-banner {
        padding-top: calc(var(--navbar-height) + 2rem);
        padding-bottom: 2.25rem;
    }

    .page-header-banner h1 {
        font-size: 1.85rem !important;
    }

    .page-header-banner p {
        font-size: 1rem !important;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }

    .card-atifiy {
        padding: 1.5rem 1.25rem;
    }

    .finder-option {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding: 2.75rem;
    }

    .hero .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero .hero-ctas .btn-atifiy {
        width: 100%;
        justify-content: center;
    }

    .hero .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hero-trust .trust-badge-glow {
        font-size: 0.74rem;
        padding: 0.3rem 0.7rem;
    }

    .service-finder {
        padding: 1.25rem 1rem;
    }

    .cookie-banner {
        padding: 1rem 1rem 1.25rem;
    }

    .cookie-banner .container {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .cookie-banner .d-flex {
        width: 100%;
    }

    .cookie-banner .btn {
        flex: 1;
    }
}

/* ─── Utilities ────────────────────────────────────────────── */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-surface { background: var(--surface); }
.text-muted-atifiy { color: var(--text-secondary); transition: color var(--transition); }
a.text-muted-atifiy:hover { color: var(--primary); text-decoration: none; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Prevent layout shift for images */
img[width][height] {
    height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   ATIFIY 2.0 — ENHANCED ANIMATIONS, GRADIENT MESH & HIGH-CONTRAST EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Animated Gradient Text ────────────────────────────────── */
.gradient-text-animated {
    background: linear-gradient(135deg, #818cf8 0%, #38bdf8 35%, #c084fc 70%, #818cf8 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextFlow 6s ease infinite;
    font-weight: 800;
}

@keyframes gradientTextFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── Hero Ambient Mesh Glow & Orbs ─────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-ambient-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
}

.hero-orb-1 {
    top: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
    animation: driftOrb1 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
    bottom: -20%;
    left: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 70%);
    animation: driftOrb2 18s ease-in-out infinite alternate;
}

.hero-orb-3 {
    top: 30%;
    left: 40%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    animation: driftOrb1 16s ease-in-out 3s infinite alternate;
}

[data-theme="dark"] .hero-orb-1 {
    opacity: 0.45;
    background: radial-gradient(circle, #6366f1 0%, rgba(99,102,241,0) 70%);
}

[data-theme="dark"] .hero-orb-2 {
    opacity: 0.45;
    background: radial-gradient(circle, #06b6d4 0%, rgba(6,182,212,0) 70%);
}

[data-theme="dark"] .hero-orb-3 {
    opacity: 0.45;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139,92,246,0) 70%);
}

@keyframes driftOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.08); }
    100% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes driftOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(45px, -35px) scale(1.1); }
    100% { transform: translate(-25px, 25px) scale(0.92); }
}

/* ─── Hero Content & Badges ─────────────────────────────────── */
.hero-heading {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--hero-heading-color) !important;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .hero-heading {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--hero-subtitle-color) !important;
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(99, 102, 241, 0.22);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}

[data-theme="dark"] .hero-status-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.status-pill-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #312e81;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .status-pill-text {
    color: #ffffff;
}

.status-pill-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.trust-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .trust-label {
    color: #ffffff;
}

.trust-badge-glow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.trust-badge-glow:hover {
    border-color: var(--primary);
    background: #eef2ff;
    transform: translateY(-2px);
    color: #4338ca;
}

[data-theme="dark"] .trust-badge-glow {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

[data-theme="dark"] .trust-badge-glow:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #ffffff;
}

/* ─── Hero Buttons ─────────────────────────────────────────── */
.shadow-glow {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-primary-atifiy {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.btn-primary-atifiy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.btn-primary-atifiy:hover::after {
    left: 140%;
}

.btn-glass-hero {
    background: #ffffff;
    color: #312e81;
    border: 1.5px solid rgba(99, 102, 241, 0.28);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.btn-glass-hero:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-glass-hero {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

[data-theme="dark"] .btn-glass-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

/* ─── Hero Interactive Terminal Mockup ─────────────────────── */
.hero-visual-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-terminal-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(99, 102, 241, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] .hero-terminal-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
}

.hero-terminal-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .terminal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
    font-size: 0.78rem;
    color: #475569;
    font-family: var(--font-mono);
    font-weight: 600;
}

[data-theme="dark"] .terminal-title {
    color: rgba(255, 255, 255, 0.6);
}

.terminal-status {
    font-size: 0.72rem;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .terminal-status {
    color: #34d399;
}

.pulse-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 1.5s infinite;
}

[data-theme="dark"] .pulse-live {
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.terminal-body {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #0f172a;
}

[data-theme="dark"] .terminal-body {
    color: #e2e8f0;
}

.line-row {
    display: flex;
    gap: 12px;
}

.line-num {
    color: #94a3b8;
    user-select: none;
    min-width: 18px;
}

[data-theme="dark"] .line-num {
    color: rgba(255, 255, 255, 0.55);
}

.t-keyword { color: #e11d48; font-weight: 600; }
.t-type { color: #0284c7; }
.t-string { color: #059669; }
.t-func { color: #d97706; font-weight: 600; }
.t-var { color: #7c3aed; }
.t-bool { color: #ea580c; }

[data-theme="dark"] .t-keyword { color: #f43f5e; }
[data-theme="dark"] .t-type { color: #38bdf8; }
[data-theme="dark"] .t-string { color: #34d399; }
[data-theme="dark"] .t-func { color: #fbbf24; }
[data-theme="dark"] .t-var { color: #a78bfa; }
[data-theme="dark"] .t-bool { color: #f97316; }

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--primary);
    vertical-align: middle;
    margin-left: 4px;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #64748b;
}

[data-theme="dark"] .terminal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.term-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.terminal-glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, rgba(6,182,212,0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .terminal-glow-backdrop {
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, rgba(6,182,212,0.15) 40%, transparent 70%);
}

/* ─── Floating Badges on Hero ──────────────────────────────── */
.floating-badge {
    position: absolute;
    z-index: 4;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 16px 36px -4px rgba(99, 102, 241, 0.18), 0 6px 12px -2px rgba(0,0,0,0.05);
}

[data-theme="dark"] .floating-badge {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.badge-top-left {
    top: -20px;
    left: -30px;
}

.badge-bottom-right {
    bottom: -20px;
    right: -20px;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

[data-theme="dark"] .badge-title {
    color: #ffffff;
}

.badge-sub {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 500;
}

[data-theme="dark"] .badge-sub {
    color: rgba(255, 255, 255, 0.9);
}

.float-slow {
    animation: floatSlow 5s ease-in-out infinite;
}

.float-reverse {
    animation: floatReverse 6s ease-in-out infinite;
}

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

@keyframes floatReverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ─── Service Card Enhancements ────────────────────────────── */
.card-service-elevated {
    position: relative;
    border: 1.5px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-elevated);
}

.card-service-elevated:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.15), var(--shadow-lg);
}

.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-service-elevated:hover .card-accent-bar {
    opacity: 1;
}

.card-icon-wrapper {
    margin-bottom: 1.25rem;
}

.card-service-elevated .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.12));
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.card-service-elevated:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}

.card-service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text) !important;
}

.card-service-title a {
    color: var(--text) !important;
    transition: color 0.2s ease;
}

.card-service-title a:hover {
    color: var(--primary) !important;
}

.card-service-desc {
    font-size: 0.92rem;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.card-service-elevated:hover .service-link-arrow {
    gap: 0.75rem;
}

/* ─── Testimonial Enhancements ─────────────────────────────── */
.testimonial-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.quote-watermark {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.08;
    pointer-events: none;
}

.testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text) !important;
    font-style: normal;
    font-weight: 450;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(99,102,241,0.25);
}

/* ─── Enhanced CTA Section ─────────────────────────────────── */
.cta-section-enhanced {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6366f1 100%);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(67, 56, 202, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.cta-glow-1 {
    top: -20%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6,182,212,0.4), transparent);
}

.cta-glow-2 {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.4), transparent);
}

.cta-pill-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-white-cta {
    background: #ffffff;
    color: #1e1b4b !important;
    border: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-white-cta:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    color: var(--primary) !important;
}

.btn-glass-cta {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glass-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ─── WhatsApp Float Animated Ripple ───────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.7;
    animation: rippleWave 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes rippleWave {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* ─── Page Header Banner (Light & Dark Adaptive) ──────────── */
.page-header-banner {
    padding-top: calc(var(--navbar-height) + 3rem);
    padding-bottom: 3.25rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(99, 102, 241, 0.1) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .page-header-banner::before {
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
}

.page-header-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .page-header-banner::after {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner h1,
.page-header-banner .page-banner-title {
    color: var(--hero-heading-color) !important;
    font-weight: 800;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.page-header-banner p,
.page-header-banner .page-banner-subtitle {
    color: var(--hero-subtitle-color) !important;
    font-size: 1.1rem;
    line-height: 1.65;
}

.page-header-banner .breadcrumb-nav {
    margin-bottom: 1rem;
    padding: 0;
}

.page-header-banner .breadcrumb-nav .breadcrumb-item a {
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: none;
}

.page-header-banner .breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}

.page-header-banner .breadcrumb-nav .breadcrumb-item.active {
    color: var(--hero-heading-color) !important;
    font-weight: 600;
}

.page-header-banner .breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ─── Banner Visual Card (Interactive Accent) ──────────────── */
.banner-visual-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 380px;
    width: 100%;
}

.banner-visual-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -10px rgba(99, 102, 241, 0.22);
}

[data-theme="dark"] .banner-visual-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.banner-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

[data-theme="dark"] .banner-card-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3));
    color: #818cf8;
}

.banner-card-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

[data-theme="dark"] .banner-card-title {
    color: #ffffff;
}

.banner-card-desc {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 0.15rem;
}

[data-theme="dark"] .banner-card-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ─── Animated Screen Preloader ─────────────────────────────── */
.screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.06) 0%, #ffffff 80%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s ease,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    pointer-events: auto;
}

[data-theme="dark"] .screen-loader {
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.14) 0%, #070913 80%);
}

.screen-loader.screen-loader-loaded {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.loader-emblem-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.loader-spin-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(99, 102, 241, 0.45);
    border-top-color: #6366f1;
    border-right-color: #06b6d4;
    animation: loaderSpin 1.8s linear infinite;
}

.loader-spin-ring-rev {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(139, 92, 246, 0.65);
    border-left-color: rgba(6, 182, 212, 0.65);
    animation: loaderSpinRev 2.4s linear infinite;
}

.loader-brand-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}

.loader-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.45));
    animation: loaderPulse 2s ease-in-out infinite alternate;
}

.loader-brand-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.38em;
    text-indent: 0.38em;
    line-height: 1;
    margin-bottom: 0.45rem;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: loaderShimmer 3s ease infinite;
}

.loader-brand-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1.35rem;
}

[data-theme="dark"] .loader-brand-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.loader-progress-track {
    width: 140px;
    height: 3px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .loader-progress-track {
    background: rgba(255, 255, 255, 0.08);
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6);
    border-radius: 999px;
    animation: loaderProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderSpinRev {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes loaderPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5)); }
}

@keyframes loaderShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loaderProgress {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(20%); }
    100% { transform: translateX(110%); }
}

@media (prefers-reduced-motion: reduce) {
    .screen-loader {
        display: none !important;
    }
}

/* ==========================================================================
   Portfolio & Project Showcase
   ========================================================================== */
.portfolio-filter-btn {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.portfolio-filter-btn:hover {
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-1px);
}

.portfolio-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.portfolio-filter-btn .filter-count {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.portfolio-filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
}

.portfolio-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="dark"] .portfolio-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.portfolio-img-wrap {
    height: 230px;
    background: var(--gradient-surface, #1e293b);
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.portfolio-badge-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.02em;
    z-index: 2;
}

.portfolio-title-link {
    color: var(--text);
    transition: color 0.2s ease;
}

.portfolio-title-link:hover {
    color: var(--primary);
}

/* Project Hero Media */
.project-hero-media {
    background: var(--glass-bg, var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl, 24px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.08));
}

.project-hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.project-hero-img {
    max-height: 420px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

/* Project Copy Styling */
.project-copy-body p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.project-copy-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.project-copy-body li {
    line-height: 1.7;
    margin-bottom: 0.65rem;
    color: var(--text);
}

.project-gallery-card {
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.project-gallery-img {
    max-height: 500px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.03);
}

