:root {
    --bg-deep: #FAF8F5;          /* Warm linen paper */
    --bg-mid: #F4EFEA;           /* Soft warm parchment */
    --bg-card: #FFFFFF;
    --accent-primary: #064E3B;   /* Deep heritage forest green */
    --accent-secondary: #065F46; /* Warm emerald forest */
    --accent-teal: #0D7A68;
    --accent-glow: #065F46;
    --accent-primary-rgb: 6, 78, 59;
    --accent-secondary-rgb: 6, 95, 70;
    --gradient-brand: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
    --color-text: #1C242C;       /* Rich dark ink */
    --color-muted: #52606D;      /* Warm editorial gray */
    --color-gold: #D97706;       /* Warm amber */
    --color-success: #059669;
    --border-subtle: #E8E2D8;    /* Tactile warm paper border */
    --border-glow: rgba(6, 78, 59, 0.12);
    --bg-nav: rgba(250, 248, 245, 0.94);
    --bg-footer: #EFE9E0;
    --color-social-bg: rgba(28, 36, 44, 0.05);
    --hero-glow-color: transparent;
    
    --font-heading: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-deep: #0C1217;
    --bg-mid: #131B22;
    --bg-card: #18222B;
    --color-text: #F1F4F8;
    --color-muted: #94A3B8;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(52, 211, 153, 0.2);
    --bg-nav: rgba(12, 18, 23, 0.92);
    --bg-footer: #080D12;
    --color-social-bg: rgba(255, 255, 255, 0.06);
    --hero-glow-color: transparent;
    --accent-primary: #34D399;
    --accent-secondary: #10B981;
    --accent-teal: #2DD4BF;
    --accent-glow: #34D399;
    --accent-primary-rgb: 52, 211, 153;
    --accent-secondary-rgb: 16, 185, 129;
    --gradient-brand: linear-gradient(135deg, #10B981 0%, #065F46 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;  /* Prevent horizontal scroll globally */
}

body {
    background-color: var(--bg-deep);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.72;
    overflow-x: hidden;  /* Belt-and-suspenders: also block on body */
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

/* Typography — Editorial & Human */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.22;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }

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

/* Transform .text-gradient from cheap AI gradient to elegant editorial italic serif */
.text-gradient {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: #064E3B;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    display: inline;
}

[data-theme="dark"] .text-gradient {
    color: #34D399;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0; /* 88px uniform section spacing */
    position: relative;
    overflow: hidden;   /* Contain decorative absolute-positioned glows */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

/* Buttons — Bespoke Human Craft, not generic AI pills */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.65rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: #064E3B;
    color: #fff !important;
    border: 1px solid #064E3B;
    box-shadow: 0 2px 4px rgba(6, 78, 59, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: #065F46;
    border-color: #065F46;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.22);
    color: #fff !important;
}

.btn-outline {
    background: var(--bg-card);
    color: var(--color-text) !important;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
    background: var(--bg-mid);
    border-color: #064E3B;
    color: #064E3B !important;
    transform: translateY(-2px);
}

/* AOS ghost/fade-in fix — content always visible even before animation triggers */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition-property: opacity, transform !important;
}
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
}
html:not(.aos-inited) [data-aos],
.aos-init[data-aos]:not(.aos-animate) {
    opacity: 0.95 !important;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-dot { color: var(--accent-secondary); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
}
@media (max-width: 1240px) {
    .nav-links { gap: 1rem; }
    .nav-link { font-size: 0.88rem; }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-muted);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-hire {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--color-text);
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-hire:hover {
    background: #064E3B;
    border-color: #064E3B;
    color: #fff;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM MOBILE DRAWER NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--bg-deep) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
}

.mobile-overlay.active {
    transform: translateX(0) !important;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: var(--bg-deep);
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-close {
    position: static !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--color-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mobile-close:hover {
    background: rgba(6, 78, 59, 0.1);
    color: #064E3B;
}

.mobile-drawer-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-bottom: 4rem;
}

.mobile-section-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.mobile-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.mobile-nav-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-foreground);
    text-decoration: none;
    transition: all 0.15s ease;
}

.mobile-nav-chip:hover {
    border-color: #064E3B;
    color: #064E3B;
}

.mobile-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.mobile-feature-card:hover {
    border-color: #064E3B;
    transform: translateX(2px);
}

.mobile-feature-card.primary {
    background: rgba(6, 78, 59, 0.06);
    border-color: rgba(6, 78, 59, 0.22);
}

.mobile-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mobile-feature-text {
    flex: 1;
    min-width: 0;
}

.mobile-feature-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.2;
}

.mobile-feature-desc {
    font-size: 0.7rem;
    color: var(--color-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    background: #064E3B;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.25);
    transition: background 0.15s ease;
}

.mobile-cta-btn:hover {
    background: #04382a;
}

/* ═══ WORLD-CLASS HERO REDESIGN ══════════════════════════════════════════ */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 6.5rem 0 5rem;
    overflow: hidden;
    background: var(--bg-deep);
}

#particles-js,
.hero-ambient-grid,
.hero-ambient-glow-1,
.hero-ambient-glow-2 {
    display: none !important;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.5rem;
}

.hero-text {
    flex: 1.15;
    min-width: 0;
    max-width: 630px;
}

/* Status Pill — Editorial Understated Badge */
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 0.38rem 0.95rem;
    border-radius: 6px;
    margin-bottom: 1.75rem;
    font-size: 0.84rem;
    font-weight: 600;
}

.status-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
    flex-shrink: 0;
}

.status-pulse-dot::after {
    display: none;
}

.status-pill-text {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.1px;
}

/* Main Headline */
.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 4.15rem);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-text);
    margin-bottom: 1.1rem;
}

/* Typed Specialization Line */
.hero-specialist-line {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 600;
    margin-bottom: 1.4rem;
    color: var(--color-text);
    min-height: 36px;
}

.specialist-label {
    color: var(--color-muted);
    font-weight: 500;
}

.typed-text.text-gradient {
    font-weight: 600;
}

/* Bio Text */
.hero-desc {
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 530px;
}

/* Hero Actions / Buttons */
.hero-actions {
    display: flex;
    gap: 1.15rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #064E3B;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.88rem 1.85rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(6, 78, 59, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #064E3B;
}

.btn-hero-primary:hover {
    background: #065F46;
    border-color: #065F46;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.22);
    color: #ffffff !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-card);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.88rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-hero-secondary:hover {
    border-color: #064E3B;
    color: #064E3B;
    transform: translateY(-2px);
    background: var(--bg-mid);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Social Proof & Trust Strip */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    max-width: 530px;
}

.hero-stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
    font-size: 0.95rem;
}

.hero-proof-text {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.hero-proof-text strong {
    color: var(--color-text);
    font-weight: 700;
}

/* ═══ RIGHT COLUMN: BESPOKE PORTRAIT SHOWCASE ═══════════════════════════ */
.hero-image {
    flex: 0.85;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-portrait-aura {
    display: none !important;
}

.hero-portrait-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    transform: rotate(0.6deg);
}

.hero-portrait-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
    border-color: #064E3B;
    transform: rotate(0deg) translateY(-2px);
}

.hero-portrait-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #090e17;
}

.hero-portrait-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/4.85;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-portrait-container:hover .hero-portrait-img {
    transform: scale(1.02);
}

/* Integrated Identity Footer inside Card */
.hero-portrait-identity {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(9, 14, 23, 0) 0%, rgba(9, 14, 23, 0.85) 35%, rgba(9, 14, 23, 0.98) 100%);
    padding: 2.25rem 1.4rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    z-index: 4;
}

.portrait-identity-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.portrait-verify-check {
    color: #10b981;
    font-size: 0.95rem;
}

.portrait-identity-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

.portrait-exp-badge {
    background: rgba(5, 150, 105, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

/* Trust Bar */
.trust-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 0;
    background: var(--bg-mid);
}

.trust-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-muted);
    font-weight: 500;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* ═══ ABOUT SNAPSHOT (HOME) ════════════════════════════════════════════ */
.about-snapshot-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 4rem 0 3.25rem !important;
}

.about-snapshot-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.25rem;
}

.about-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.25rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    text-decoration: none;
    transition: var(--transition);
    flex: 0 0 auto;
}

.about-action-btn i {
    font-size: 0.85rem;
}

/* ═══ ABOUT PAGE STATS GRID (6-Column Desktop) ══════════════════════════ */
.about-stats-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-stat-value {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-primary);
    line-height: 1.1;
    white-space: nowrap;
}

.about-stat-label {
    font-size: clamp(0.75rem, 0.85vw, 0.88rem);
    color: var(--color-muted);
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.35;
}

/* Cards (Services) — Editorial Craft */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.25rem 1.85rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #064E3B;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-card > * { position: relative; z-index: 1; }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #064E3B;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: #064E3B;
    color: #fff;
    border-color: #064E3B;
    transform: translateY(-2px);
}

.service-card h3 { 
    margin-bottom: 0.85rem; 
    font-size: 1.35rem;
    font-weight: 600;
}
.service-card p { color: var(--color-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.65; }

.service-link {
    color: #064E3B;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover { gap: 0.75rem; color: #065F46; }

/* Portfolio — Natural Editorial Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.portfolio-card:hover { 
    transform: translateY(-3px); 
    border-color: #064E3B; 
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.portfolio-img {
    width: 100%;
    height: 240px;
    background: var(--bg-mid);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #064E3B;
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.portfolio-content { padding: 1.75rem; }
.portfolio-cat { 
    color: #064E3B; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    margin-bottom: 0.5rem; 
    display: block; 
}
.portfolio-content h3 { margin-bottom: 0.75rem; font-size: 1.25rem; font-weight: 600; }

/* Testimonials — Warm Editorial Quotes */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.testi-stars { color: #d97706; margin-bottom: 1.25rem; font-size: 1.1rem; }
.testi-text { 
    font-family: var(--font-heading);
    font-size: 1.15rem; 
    font-style: italic; 
    color: var(--color-text); 
    margin-bottom: 1.75rem; 
    flex-grow: 1; 
    line-height: 1.68;
}

.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-mid); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-meta h4 { margin: 0; font-size: 0.98rem; font-family: var(--font-body); font-weight: 700; }
.testi-meta p { margin: 0; font-size: 0.82rem; color: var(--color-muted); }

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #064E3B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    border: 1px solid #064E3B;
    text-transform: uppercase;
}
.avatar-placeholder.sidebar-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-width: 1px;
}
.testimonial-slider .swiper-slide {
    height: auto;
}

.swiper-pagination-bullet { background: var(--color-muted); }
.swiper-pagination-bullet-active { background: #064E3B; }

/* Footer */
.footer {
    background: var(--bg-footer);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.footer-glow {
    display: none !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.15fr 1fr 1fr;
    gap: 2.25rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span { color: var(--accent-secondary); }
.footer-bio { color: var(--color-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; }

.footer-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-social-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.2s ease;
    border: 1px solid var(--border-subtle);
}
.footer-socials a:hover { background: #064E3B; color: #fff; transform: translateY(-3px); }

.footer-heading { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--color-foreground); letter-spacing: -0.01em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: var(--color-muted); font-size: 0.88rem; transition: all 0.15s ease; display: inline-block; text-decoration: none; }
.footer-links a:hover { color: #064E3B; transform: translateX(3px); }

.footer-entity-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
    font-size: 0.84rem;
    color: var(--color-muted);
}
.entity-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.entity-item a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.entity-item a:hover {
    color: #064E3B;
}
.entity-separator {
    color: var(--border-subtle);
    font-size: 0.9rem;
}

.footer-contact { list-style: none; margin-bottom: 1.5rem; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: center; color: var(--color-muted); margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-contact a { color: var(--color-muted); }
.footer-contact a:hover { color: var(--color-text); }

.badge-pill {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: var(--color-social-bg);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.875rem;
}

/* Developer credit */
.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.footer-credit-divider {
    color: var(--color-muted);
    font-size: 0.8rem;
    margin: 0 0.15rem;
    opacity: 0.5;
}

.footer-credit-link {
    font-weight: 600;
    color: var(--color-muted);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}

.footer-credit-link:hover {
    color: var(--accent-primary);
}

.footer-credit-link.agency {
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-credit-link.agency:hover {
    color: var(--accent-secondary);
}

/* Float */
.whatsapp-float {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links, .btn-hire { display: none !important; }
    .hamburger { display: flex !important; }
    .hero-content { flex-direction: column !important; text-align: center; gap: 3rem !important; }
    .hero-text { order: 2; min-width: unset !important; max-width: 100% !important; }
    .hero-image { order: 1; max-width: 380px; margin: 0 auto; min-width: unset !important; }
    .hero-actions { justify-content: center; }
    .hero-specialist-line { justify-content: center; }
    .hero-social-proof { margin: 0 auto; justify-content: center; }
    .hero-desc { max-width: 100% !important; margin-left: auto; margin-right: auto; }
    .about-hero-grid { grid-template-columns: 1fr !important; }
    .about-snapshot-grid { grid-template-columns: 1fr !important; gap: 2.75rem !important; }
    .about-actions-row { flex-wrap: wrap; gap: 0.75rem; }
    .about-stats-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 2.25rem 1.5rem !important; }
    .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 2.5rem 2rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* --- Container --- */
    .container { padding: 0 1rem; }

    /* --- Section spacing --- */
    .section { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header p { font-size: 1rem; }

    /* --- Navbar --- */
    .nav-links, .btn-hire { display: none !important; }
    .hamburger { display: flex; }
    .navbar { padding: 0.75rem 0; }
    /* Logo always visible and properly sized */
    .nav-logo { display: flex !important; align-items: center; }
    .nav-logo img { height: 44px !important; width: auto !important; }
    .navbar .container { padding: 0 1rem; }
    .nav-actions { gap: 0.75rem; }

    /* --- Hero --- */
    .hero {
        padding-top: 5rem;
        padding-bottom: 3rem;
        min-height: auto;
        align-items: flex-start;
        overflow: hidden;        /* Prevent hero elements from causing H-scroll */
    }
    .hero > * { max-width: 100%; }
    .hero-content {
        flex-direction: column !important;
        text-align: center;
        gap: 2.5rem !important;
    }
    .hero-text {
        order: 2;
        min-width: unset !important;
        max-width: 100% !important;
    }
    .hero-main-title {
        font-size: clamp(2.1rem, 7.5vw, 2.9rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-specialist-line {
        font-size: 1.05rem !important;
        height: auto !important;
        min-height: 28px !important;
        justify-content: center !important;
        margin-bottom: 1rem !important;
        flex-wrap: wrap;
    }

    .hero-desc {
        font-size: 1rem !important;
        max-width: 100% !important;
        margin-bottom: 1.75rem !important;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.85rem 1.5rem !important;
        font-size: 0.98rem !important;
    }
    .hero-social-proof {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
        margin: 0 auto;
        text-align: center;
    }
    .hero-image {
        order: 1;
        max-width: 320px !important;
        margin: 0 auto;
        min-width: unset !important;
    }
    .hero-portrait-container {
        max-width: 100% !important;
    }

    /* --- Trust Bar --- */
    .trust-bar { padding: 1.5rem 0; }
    .trust-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 0 0.5rem;
    }
    .trust-item { font-size: 0.9rem; }

    /* --- About Collage (home page) --- */
    .about-image-collage {
        height: 300px !important;
        max-width: 320px !important;
    }

    /* --- Services Grid --- */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
    .service-card { padding: 1.75rem 1.5rem; }

    /* --- Portfolio Grid --- */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- Testimonial --- */
    .testimonial-card { padding: 1.75rem 1.5rem; }
    .testi-text { font-size: 1rem; }

    /* --- Blog Grid --- */
    .blog-grid { grid-template-columns: 1fr !important; }

    /* --- Tool Cards --- */
    .tool-card { padding: 1rem !important; }

    /* --- GSC Mockup --- */
    .gsc-mockup { padding: 1.25rem !important; max-width: 100% !important; }

    /* --- Footer --- */
    .footer { padding: 3rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    .footer-socials { flex-wrap: wrap; }
    .footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

    /* --- Typography scale down --- */
    h1 { font-size: clamp(1.8rem, 7vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important; }
    h3 { font-size: 1.2rem !important; }

    /* --- Methodology cards --- */
    .methodology-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
    .methodology-card { padding: 1.75rem 1.5rem; }

    /* --- Crypto cards --- */
    .crypto-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }

    /* --- FAQ --- */
    .faq-list { margin: 2rem auto 0; }
    .faq-question { font-size: 1rem; padding: 1.25rem 1.25rem; }
    .faq-answer-inner { padding: 0 1.25rem 1.25rem; }

    /* --- Portfolio detail / blog post two-column layout --- */
    .post-layout { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 7fr 3fr"] { grid-template-columns: 1fr !important; }

    /* --- About page hero grid --- */
    .about-hero-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

    /* --- WhatsApp float smaller --- */
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.6rem; bottom: 1.5rem; right: 1.5rem; }

    /* --- Mobile overlay menu links --- */
    .mobile-links a { font-size: 1.5rem; }

    /* --- Swiper pagination margin --- */
    .swiper-pagination { margin-top: 1.5rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Small phones (≤480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container { padding: 0 0.875rem; }
    .section { padding: 3rem 0; }

    /* Navbar on tiny phones */
    .nav-logo img { height: 38px !important; }
    .nav-actions { gap: 0.5rem; }
    .hamburger { display: flex !important; }

    /* Hero extreme small */
    .hero { padding-top: 4.5rem; }
    .hero-text h1 { font-size: clamp(1.75rem, 7.5vw, 2.2rem) !important; }
    .typed-wrapper { font-size: 1rem !important; }
    .hero-desc { font-size: 0.95rem !important; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
    .hero-image { max-width: 240px !important; }

    /* About collage */
    .about-image-collage { height: 240px !important; max-width: 280px !important; }

    /* Section headers */
    h2 { font-size: clamp(1.4rem, 6vw, 1.8rem) !important; }

    /* Tool cards - 2 col */
    [style*="minmax(180px, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }

    /* Footer */
    .footer-grid { gap: 2rem !important; }

    /* CTA section padding */
    [style*="padding: 4.5rem 3.5rem"] { padding: 2.5rem 1.5rem !important; }
    [style*="padding: 4.5rem"] { padding: 2.5rem 1.5rem !important; }
}

/* -----------------------------------------------------------
   GLOBAL INLINE GRID OVERRIDES FOR MOBILE
   Targets home page sections that use inline style grids
   ----------------------------------------------------------- */
@media (max-width: 768px) {
    /* Home: About snapshot section with collage (auto-fit minmax 320px) */
    #about > .container > div[style*='minmax(320px'] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Home: Why Choose Me section */
    #why-choose-me .container > div[style*='minmax(320px'] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Home: Blog section grid */
    #blog > .container > div[style*='minmax(300px'] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Home: Portfolio case studies grid */
    #portfolio .container > div[style*='minmax(320px'] {
        grid-template-columns: 1fr !important;
    }

    /* Home: CTA/Booking section button row */
    #contact .hero-actions,
    section .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* General: any inline-style section with 8rem top padding on mobile */
    section[style*='padding-top: 8rem'] {
        padding-top: 5.5rem !important;
    }
    section[style*='padding-top: 7rem'] {
        padding-top: 5rem !important;
    }
    section[style*='padding-bottom: 5rem'] {
        padding-bottom: 3rem !important;
    }

    /* Trust bar items center on mobile */
    .trust-content {
        justify-content: center;
        text-align: center;
    }

    /* Testimonial section adjust */
    .testimonials-section .swiper-slide {
        padding: 0 0.5rem;
    }
}

/* -----------------------------------------------------------
   ADVANCED TECHNOLOGY & VIDEO SECTION STYLES
   ----------------------------------------------------------- */

/* Performance Optimizations: Content Visibility for off-screen sections */
#video-walkthrough,
#ai-simulator,
#seo-pillars,
#why-choose-me,
#methodology,
#brand-authority,
#faq {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

/* Video Section */
.video-showcase-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.video-showcase-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #064E3B;
}

.video-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border-subtle);
}

.video-window-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.video-window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #090e17;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.video-player-container:hover .video-poster-img {
    transform: scale(1.03);
    opacity: 0.95;
}

.video-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 14, 23, 0.4) 0%, rgba(9, 14, 23, 0.85) 100%);
    z-index: 2;
}

.video-play-btn-large {
    position: relative;
    z-index: 10;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #064E3B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
    border: 2.5px solid rgba(255, 255, 255, 0.7);
}

.video-play-btn-large i {
    margin-left: 5px;
}

.video-play-btn-large:hover {
    transform: scale(1.08);
    background: #065F46;
}

.video-play-ripple {
    display: none !important;
}

.video-badge-pill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-duration-pill {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    background: rgba(5, 150, 105, 0.9);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    padding: 2rem 2.25rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
}

.video-chapter-card {
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.video-chapter-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    background: var(--bg-card);
}

.video-chapter-time {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(5, 150, 105, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.video-chapter-card h4 {
    font-size: 0.92rem;
    margin: 0;
    color: var(--color-text);
    line-height: 1.4;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* AI vs Classic SERP Simulator */
.ai-sim-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-sim-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-mid);
}

.ai-sim-tab {
    flex: 1;
    padding: 1.15rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-bottom: 2.5px solid transparent;
}

.ai-sim-tab.active {
    color: #064E3B;
    background: var(--bg-card);
    border-bottom-color: #064E3B;
    font-weight: 700;
}

.ai-sim-panel {
    display: none;
    padding: 2.5rem;
}

.ai-sim-panel.active {
    display: block;
    animation: fadeInSim 0.3s ease;
}

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

/* ROI Traffic Simulator */
.roi-calculator-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.roi-slider-group {
    margin-bottom: 2.25rem;
}

.roi-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.roi-slider-title {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.05rem;
}

.roi-slider-value {
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.35rem;
}

.roi-range-input {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-mid);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.roi-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #064E3B;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 2.5px solid #fff;
    transition: transform 0.15s;
}

.roi-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.roi-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.roi-result-card {
    background: var(--bg-mid);
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: var(--transition);
}

.roi-result-card:hover {
    border-color: #064E3B;
    transform: translateY(-2px);
}

.roi-result-num {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #064E3B;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.roi-result-label {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .video-chapters-grid { grid-template-columns: 1fr; padding: 1.5rem; }
    .video-play-btn-large { width: 64px; height: 64px; font-size: 1.35rem; }
    .ai-sim-tabs { flex-direction: column; }
    .ai-sim-panel { padding: 1.5rem; }
    .roi-calculator-box { padding: 1.75rem; }
    .roi-results-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ═══ TRUSTED BRANDS HORIZONTAL CAROUSEL SLIDER ════════════════════════ */
.brand-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0.25rem 1rem;
}

.brand-swiper {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
}

.brand-swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.brand-card {
    width: 100%;
    height: 84px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.brand-card:hover {
    border-color: #064E3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    background: var(--bg-card);
}

.brand-logo-img {
    max-height: 44px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.68);
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

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

[data-theme="dark"] .brand-logo-img {
    filter: grayscale(100%) brightness(1.3) opacity(0.7);
}

[data-theme="dark"] .brand-card:hover .brand-logo-img {
    filter: grayscale(0%) brightness(1.2) opacity(1);
    transform: scale(1.05);
}

.brand-text-fallback {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.brand-card:hover .brand-text-fallback {
    color: #064E3B;
}

@media (max-width: 640px) {
    .about-snapshot-section {
        padding: 3rem 0 2rem !important;
    }
    .about-actions-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }
    .about-action-btn {
        width: 100% !important;
        justify-content: center !important;
        height: 46px !important;
    }
    .about-stats-section {
        padding: 2.75rem 0 !important;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1rem !important;
    }
    .about-stat-value {
        font-size: 2.1rem !important;
    }
    .about-stat-label {
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }
    .brand-card {
        height: 68px;
        padding: 0.55rem 0.95rem;
        border-radius: 8px;
    }
    .brand-logo-img {
        max-height: 30px;
        max-width: 105px;
    }
    .brand-text-fallback {
        font-size: 0.9rem;
    }
}

