﻿/* =====================================================
   MODERN PORTFOLIO - PROFESSIONAL CSS
   ===================================================== */

/* CSS Variables */
:root {
    /* Brand Palette */
    --primary:        #3b82f6;
    --primary-light:  #60a5fa;
    --primary-dark:   #2563eb;
    --accent:         #6366f1;
    --accent-light:   #818cf8;

    /* Backgrounds */
    --bg-base:        #0a0f1e;
    --bg-primary:     #0f172a;
    --bg-secondary:   #1e293b;
    --bg-surface:     #334155;
    --bg-card:        #1e293b;

    /* Text */
    --text-primary:   #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted:     #64748b;
    --text-heading:   #f8fafc;

    /* Borders */
    --border-subtle:  rgba(59, 130, 246, 0.12);
    --border-normal:  rgba(59, 130, 246, 0.25);
    --border-strong:  rgba(59, 130, 246, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-dark:    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-blue:    linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-glow:    linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(99,102,241,0.15) 100%);

    /* Legacy aliases (keep for compatibility) */
    --secondary:    #0f172a;
    --white:        #ffffff;
    --gray-50:      #f8fafc;
    --gray-100:     #f1f5f9;
    --gray-200:     #e2e8f0;
    --gray-300:     #cbd5e1;
    --gray-400:     #94a3b8;
    --gray-500:     #64748b;
    --gray-600:     #475569;
    --gray-700:     #334155;
    --gray-800:     #1e293b;
    --gray-900:     #0f172a;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
    --shadow:     0 4px 6px rgba(0,0,0,0.4);
    --shadow-md:  0 10px 15px rgba(0,0,0,0.4);
    --shadow-lg:  0 20px 25px rgba(0,0,0,0.5);
    --shadow-xl:  0 25px 50px rgba(0,0,0,0.6);
    --shadow-blue: 0 8px 30px rgba(59,130,246,0.25);
    --cookie-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);

    /* Radii */
    --radius-sm: 0.375rem;
    --radius:    0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition:      all 0.3s ease;
    --transition-fast: all 0.15s ease;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --error:   #ef4444;

    /* ── Hero (homepage) ── */
    --hero-bg:          linear-gradient(160deg, #080d18 0%, #0f172a 55%, #1e293b 100%);
    --hero-glow-a:      rgba(59, 130, 246, 0.12);
    --hero-glow-b:      rgba(139, 92, 246, 0.10);
    --hero-title:       #ffffff;
    --hero-subtitle:    rgba(255, 255, 255, 0.68);
    --hero-stat-num:    #ffffff;
    --hero-stat-label:  rgba(255, 255, 255, 0.52);

    /* ── Page hero (inner-page banners) ── */
    --page-hero-bg:           linear-gradient(135deg, #0a0f1e 0%, #1e293b 55%, #0f172a 100%);
    --page-hero-glow-a:       rgba(59, 130, 246, 0.14);
    --page-hero-glow-b:       rgba(139, 92, 246, 0.08);
    --page-hero-strip-bg:     #0a0f1e;
    --page-hero-strip-border: rgba(255, 255, 255, 0.06);
    --page-hero-title:        #ffffff;
    --page-hero-text:         rgba(255, 255, 255, 0.62);
    --page-hero-crumb:        rgba(255, 255, 255, 0.38);
    --page-hero-crumb-h:      rgba(255, 255, 255, 0.72);
    --page-hero-crumb-sep:    rgba(255, 255, 255, 0.20);
    --page-hero-icon-bg:      rgba(255, 255, 255, 0.06);
    --page-hero-icon-border:  rgba(255, 255, 255, 0.11);
    --page-hero-badge-bg:     rgba(255, 255, 255, 0.06);
    --page-hero-badge-border: rgba(255, 255, 255, 0.10);
    --page-hero-badge-text:   rgba(255, 255, 255, 0.70);
    --page-hero-note:         rgba(255, 255, 255, 0.38);

    /* ── Navbar ── */
    --navbar-bg:              rgba(10, 15, 30, 0.92);
    --navbar-bg-mobile:       rgba(10, 15, 30, 0.98);
    --navbar-scrolled-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
    --nav-link-col:           var(--text-secondary);
    --hamburger-col:          rgba(255, 255, 255, 0.85);

    /* ── CTA section ── */
    --cta-bg:      linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --cta-heading: #ffffff;
    --cta-body:    rgba(255, 255, 255, 0.70);

    /* ── Footer (intentionally always dark) ── */
    --footer-bg:          #0a0f1e;
    --footer-border-col:  rgba(255, 255, 255, 0.08);
    --footer-heading-col: #ffffff;
    --footer-body-col:    rgba(255, 255, 255, 0.55);
    --footer-link-col:    rgba(255, 255, 255, 0.60);
    --footer-link-h:      #ffffff;
    --footer-bottom-col:  rgba(255, 255, 255, 0.38);

    /* ── Forms / Inputs ── */
    --input-bg:          var(--bg-secondary);
    --input-border-col:  var(--border-subtle);
    --input-text-col:    var(--text-primary);
    --input-placeholder: var(--text-muted);
    --input-focus-ring:  0 0 0 3px rgba(59, 130, 246, 0.15);

    /* ── Sticky tab nav (packages/services pages) ── */
    --sticky-nav-bg:       rgba(10, 15, 30, 0.94);
    --sticky-nav-border:   rgba(59, 130, 246, 0.20);
    --sticky-btn-bg:       rgba(255, 255, 255, 0.05);
    --sticky-btn-border:   rgba(255, 255, 255, 0.09);
    --sticky-btn-icon-bg:  rgba(255, 255, 255, 0.08);
    --sticky-btn-icon-col: rgba(255, 255, 255, 0.55);
    --sticky-btn-title:    rgba(255, 255, 255, 0.75);

    /* ── HIW / How-It-Works section ── */
    --hiw-bg:         linear-gradient(160deg, #080d1a 0%, #0f172a 50%, #111827 100%);
    --hiw-glow:       rgba(59, 130, 246, 0.11);
    --hiw-heading:    #ffffff;
    --hiw-body:       rgba(255, 255, 255, 0.50);
    --hiw-tag-bg:     rgba(59, 130, 246, 0.20);
    --hiw-tag-border: rgba(59, 130, 246, 0.30);
    --hiw-connector:  rgba(255, 255, 255, 0.07);

    /* ── Project detail breadcrumb ── */
    --pd-crumb:     rgba(255, 255, 255, 0.35);
    --pd-crumb-h:   rgba(255, 255, 255, 0.70);
    --pd-crumb-sep: rgba(255, 255, 255, 0.18);

    /* ── Overlay / backdrop ── */
    --overlay-col: rgba(0, 0, 0, 0.50);

    /* ── Focus ring ── */
    --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 0px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-normal);
}

.btn-outline:hover {
    background: var(--gradient-glow);
    border-color: var(--border-strong);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navbar-border, var(--border-subtle));
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 7px 0;
    border-bottom-color: rgba(59, 130, 246, 0.25);
    box-shadow: var(--navbar-scrolled-shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-text .accent {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 7px 13px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nav-link-col);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.15);
}

.nav-cta {
    margin-left: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--hamburger-col);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: var(--bg-base);
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

@keyframes heroBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(-30px, 22px) scale(1.05); }
    66%       { transform: translate(18px, -14px) scale(0.97); }
}
@keyframes heroBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(26px, -18px) scale(0.96); }
    66%       { transform: translate(-14px, 16px) scale(1.06); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--hero-bg);
    background-image: radial-gradient(circle, rgba(148,163,184,0.055) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--hero-glow-a) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroBlob1 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--hero-glow-b) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroBlob2 26s ease-in-out infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--hero-title);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--hero-subtitle);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

/* Hero dark-bg overrides */
.hero .btn-outline {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hero-stat-num);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--hero-stat-label);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================================================
   HERO RESULTS PANEL (replaces CSS mockup)
   ===================================================== */
.hero-results-panel {
    position: relative;
    width: 440px;
    background: linear-gradient(135deg, #0d1424 0%, #131f38 60%, #0f172a 100%);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 18px;
    box-shadow: 0 32px 80px rgba(59, 130, 246, 0.18), 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: hrpEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hrpEntrance {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.hrp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hrp-header-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hrp-dot--green { background: #28ca41; box-shadow: 0 0 6px rgba(40, 202, 65, 0.6); }

.hrp-header-label {
    flex: 1;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.hrp-header-status {
    font-size: 0.7rem;
    font-weight: 700;
    color: #28ca41;
    background: rgba(40, 202, 65, 0.12);
    border: 1px solid rgba(40, 202, 65, 0.28);
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hrp-body {
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* KPI Row */
.hrp-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hrp-kpi {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: hrpKpi 0.6s ease both;
}

.hrp-kpi:nth-child(1) { animation-delay: 0.25s; }
.hrp-kpi:nth-child(2) { animation-delay: 0.38s; }
.hrp-kpi:nth-child(3) { animation-delay: 0.5s; }

@keyframes hrpKpi {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hrp-kpi-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.hrp-kpi-lbl {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    font-weight: 500;
}

/* Checklist */
.hrp-checklist {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hrp-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    animation: hrpCheck 0.5s ease both;
}

.hrp-check:nth-child(1) { animation-delay: 0.55s; }
.hrp-check:nth-child(2) { animation-delay: 0.65s; }
.hrp-check:nth-child(3) { animation-delay: 0.75s; }
.hrp-check:nth-child(4) { animation-delay: 0.85s; }
.hrp-check:nth-child(5) { animation-delay: 0.95s; }

@keyframes hrpCheck {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hrp-check--done i { color: #28ca41; font-size: 0.75rem; flex-shrink: 0; }

/* Timeline bar */
.hrp-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hrp-tl-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    flex-shrink: 0;
}

.hrp-tl-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.hrp-tl-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: hrpBar 1.4s 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hrpBar {
    to { width: 78%; }
}

.hrp-tl-days {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-light);
    white-space: nowrap;
    flex-shrink: 0;
}

/* =====================================================
   NOTIFICATION (moved from JS inline styles)
   ===================================================== */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    animation: notifSlideIn 0.3s ease;
    max-width: 360px;
}

.notification-success { background: #10b981; }
.notification-error   { background: #ef4444; }
.notification-info    { background: var(--primary); }

.notification-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}
.notification-close:hover { color: #fff; }

@keyframes notifSlideIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-normal);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-blue);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.card-1 {
    top: -18px;
    right: -18px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 110px;
    left: -24px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -18px;
    right: 32px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header.text-left {
    text-align: left;
    margin: 0 0 40px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.813rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-normal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.938rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-readmore {
    margin-top: 18px;
}

/* =====================================================
   PACKAGES / PRICING SECTION
   ===================================================== */
.packages {
    background: var(--bg-secondary);
}

.package-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    /* Keep categories in a single row; scroll horizontally when needed */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    font-size: 0.8125rem;
}

.package-tabs::-webkit-scrollbar {
    height: 4px;
}

.package-tabs::-webkit-scrollbar-thumb {
    background: var(--border-normal);
    border-radius: var(--radius-full);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-normal);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-tier {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pricing-name {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--success);
    margin-top: 3px;
}

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
    .portfolio-overlay {
        opacity: 1;
    }
    .portfolio-info {
        transform: translateY(0);
    }
}

.portfolio-info h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* Recent Projects - Buttons */
.portfolio-info .btn {
    margin-top: 14px;
}

.portfolio-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.portfolio-all-btn {
    min-width: 220px;
}

@media (max-width: 576px) {
    .portfolio-actions {
        padding: 0 12px;
    }

    .portfolio-all-btn {
        width: 100%;
    }
}


/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    background: var(--cta-bg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--cta-heading);
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--cta-body);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--bg-surface);
    border-color: var(--border-normal);
    transform: translateX(8px);
}

.contact-method .contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-icon.email {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-details p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-method > i {
    color: var(--text-muted);
}

/* WhatsApp primary CTA button */
.contact-wa-primary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(37, 211, 102, 0.08);
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-wa-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.contact-wa-primary:hover {
    background: rgba(37, 211, 102, 0.14);
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.18);
}

.contact-wa-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.15);
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    color: #25D366;
    flex-shrink: 0;
}

.contact-wa-body {
    flex: 1;
}

.contact-wa-body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 3px;
}

.contact-wa-body span {
    display: block;
    font-size: 0.85rem;
    color: #25D366;
    font-weight: 500;
}

.contact-wa-arrow {
    color: #25D366;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border-col);
    border-radius: var(--radius);
    font-size: 0.938rem;
    font-family: inherit;
    color: var(--input-text-col);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--input-focus-ring);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border-col);
    color: var(--footer-body-col);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand .logo-text {
    color: var(--footer-heading-col);
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--footer-heading-col);
    margin-bottom: 14px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--footer-link-col);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--footer-link-h);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--footer-border-col);
    text-align: center;
    color: var(--footer-bottom-col);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--footer-bottom-col);
}

.footer-bottom a {
    color: inherit;
    opacity: 0.7;
    text-decoration: underline;
}

.contact-note a {
    color: inherit;
    text-decoration: underline;
}

/* =====================================================
   PACKAGE TIER PREVIEW (Homepage simplified version)
   ===================================================== */
.pkg-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.pkg-tier-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
}

.pkg-tier-card:hover {
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
    transform: translateY(-4px);
}

.pkg-tier-card.featured {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-blue);
}

.pkg-tier-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pkg-tier-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.18);
    color: var(--primary-light);
    font-size: 1rem;
}

.pkg-tier-card.featured .pkg-tier-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

.pkg-tier-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 6px;
}

.pkg-tier-header h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.pkg-tier-header p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pkg-tier-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding-top: 4px;
}

.pkg-tier-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pkg-tier-list li i {
    color: var(--success);
    font-size: 0.813rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pkg-home-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 18px;
}

.pkg-tiers-note {
    text-align: center;
    font-size: 0.938rem;
    color: var(--text-muted);
}

.pkg-tiers-note a {
    color: var(--primary);
    font-weight: 600;
}

.pkg-tiers-note a:hover { text-decoration: underline; }

/* =====================================================
   HOMEPAGE PREMIUM REFINE
   ===================================================== */
.hero {
    min-height: 100svh;
    padding: 100px 0 64px;
}

.hero .container {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(42px, 6vw, 84px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 760px;
    letter-spacing: 0;
}

.hero-description {
    max-width: 620px;
    line-height: 1.75;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -12px 0 28px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-proof-row i {
    color: #28ca41;
    font-size: 0.72rem;
}

.hero-buttons {
    margin-bottom: 12px;
}

.hero-cta-note {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.9rem;
    margin: 0 0 38px;
}

.hero-stats {
    gap: 14px;
}

.hero-stats .stat {
    min-width: 150px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.hero-stats .stat-number {
    font-size: 1.55rem;
}

.hero-results-panel {
    width: min(100%, 470px);
    border-radius: 22px;
    box-shadow: 0 34px 90px rgba(59, 130, 246, 0.22), 0 12px 34px rgba(0, 0, 0, 0.45);
}

.hero-results-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.10), transparent 34%);
    pointer-events: none;
}

.hrp-insight-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    animation: hrpCheck 0.5s 1s ease both;
}

.hrp-insight-row strong,
.hrp-insight-row span {
    display: block;
}

.hrp-insight-row strong {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    margin-bottom: 3px;
}

.hrp-insight-row span {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.75rem;
}

.hrp-mini-chart {
    height: 54px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    align-items: end;
}

.hrp-mini-chart span {
    display: block;
    min-height: 12px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--primary-light), var(--accent));
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.18);
}

/* =====================================================
   HERO — PREMIUM UPGRADE v4
   (entrance reveals · badge pulse · shimmer gradient
    scroll indicator · glow CTA · mouse-parallax)
   ===================================================== */

/* Staggered entrance reveal */
.hero-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-reveal[data-delay="0"] { transition-delay: 0.05s; }
.hero-reveal[data-delay="1"] { transition-delay: 0.18s; }
.hero-reveal[data-delay="2"] { transition-delay: 0.32s; }
.hero-reveal[data-delay="3"] { transition-delay: 0.46s; }
.hero-reveal[data-delay="4"] { transition-delay: 0.60s; }
.hero-reveal[data-delay="5"] { transition-delay: 0.74s; }

/* Cancel the panel's own CSS animation so hero-reveal transition takes over */
.hero-case-showcase.hero-reveal {
    animation: none;
    transform: translateY(18px) scale(0.985);
    transition-delay: 0.24s;
}
.hero-case-showcase.hero-reveal.is-visible {
    transform: translateY(0) scale(1);
}

/* Live-status pulsing dot inside badge */
.hero-badge-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28ca41;
    flex-shrink: 0;
    animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 202, 65, 0.55); }
    50%       { box-shadow: 0 0 0 7px rgba(40, 202, 65, 0); }
}

/* Animated gradient shimmer on hero span */
.gradient-text--animate {
    background: linear-gradient(
        120deg,
        #3b82f6  0%,
        #6366f1 28%,
        #8b5cf6 55%,
        #3b82f6 80%,
        #60a5fa 100%
    );
    background-size: 260% 260%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShimmer 6s ease infinite;
}

@keyframes gradientShimmer {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

/* Extra depth gradient mesh behind canvas */
.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 82%, rgba(99, 102, 241, 0.09) 0%, transparent 48%),
        radial-gradient(ellipse at 88% 18%, rgba(59, 130, 246, 0.11) 0%, transparent 44%),
        radial-gradient(ellipse at 52% 52%, rgba(139, 92, 246, 0.05) 0%, transparent 68%);
    pointer-events: none;
}

/* Bigger, more commanding title */
.hero-title {
    font-size: clamp(2.7rem, 5.2vw, 3.9rem) !important;
    line-height: 1.07 !important;
    letter-spacing: -0.025em !important;
}

/* Magnetic glow on primary CTA */
.btn-magnetic {
    position: relative;
}
.btn-magnetic::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.35s ease;
    filter: blur(14px);
    z-index: -1;
}
.btn-magnetic:hover::after {
    opacity: 0.5;
}

/* Stat cards — subtle vertical separator between cards */
.hero-stats .stat {
    position: relative;
}
.hero-stats .stat + .stat::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 38%;
    background: rgba(255, 255, 255, 0.09);
}

/* Scroll indicator — animated drop line */
.hero-scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    animation: scrollIndicatorFadeIn 0.6s 1.9s ease forwards;
    transition: opacity 0.4s ease;
}

@keyframes scrollIndicatorFadeIn {
    to { opacity: 0.36; }
}

.hero-scroll-line {
    display: block;
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    animation: scrollLineDrop 1.8s 2.2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLineDrop {
    0%   { transform: scaleY(0); opacity: 0; }
    20%  { opacity: 1; }
    65%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* Hero visual — smooth parallax transition */
.hero-visual {
    transition: transform 0.18s ease;
}

/* Hide scroll indicator on small screens */
@media (max-width: 768px) {
    .hero-scroll-indicator { display: none; }
    .hero-title {
        font-size: clamp(2.1rem, 7vw, 2.8rem) !important;
        letter-spacing: -0.015em !important;
    }
}

.homepage-flow {
    padding: 0 0 88px;
    background: var(--bg-base);
    position: relative;
}

.flow-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.flow-step {
    position: relative;
    padding: 28px;
}

.flow-step + .flow-step {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.13);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
}

.flow-step strong {
    display: block;
    color: var(--text-heading);
    font-size: 1rem;
    margin-bottom: 8px;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* =====================================================
   SECTION — 5-SECOND FIRST IMPRESSION
   ===================================================== */
.section-5sec {
    padding: 96px 0 100px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-5sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent);
    pointer-events: none;
}

.fis-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.fis-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.22;
    font-weight: 800;
}

.fis-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.fis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 48px;
}

.fis-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fis-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--fis-accent, var(--primary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.fis-card--1 { --fis-accent: #3b82f6; }
.fis-card--2 { --fis-accent: #8b5cf6; }
.fis-card--3 { --fis-accent: #10b981; }

/* Staggered entrance — only applies during the animate-in transition */
.fis-card.animate-in { animation: fisEntrance 0.65s ease both; }
.fis-card--2.animate-in { animation-delay: 0.13s; }
.fis-card--3.animate-in { animation-delay: 0.26s; }

@keyframes fisEntrance {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fis-card:hover {
    transform: translateY(-6px);
    border-color: var(--fis-accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.fis-timer {
    font-size: 4rem;
    font-weight: 900;
    color: var(--fis-accent);
    opacity: 0.12;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    letter-spacing: -3px;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    user-select: none;
}

.fis-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: rgba(59,130,246,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fis-accent);
    font-size: 1.1rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.fis-card--2 .fis-icon { background: rgba(139,92,246,0.1); }
.fis-card--3 .fis-icon { background: rgba(16,185,129,0.1); }

.fis-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.35;
}

.fis-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.72;
    margin-bottom: 18px;
}

.fis-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fis-indicator--good {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.22);
    color: #10b981;
}

.fis-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.fis-note {
    font-size: 0.925rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .fis-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 640px) {
    .section-5sec { padding: 72px 0 80px; }
    .fis-header { margin-bottom: 40px; }
    .fis-bottom { flex-direction: column; text-align: center; }
    .fis-note { max-width: none; }
    .fis-card { padding: 24px 20px 22px; }
    .fis-timer { font-size: 3rem; }
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.09);
    border: 1px solid rgba(96, 165, 250, 0.16);
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-outcome {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.14);
    border-radius: 12px;
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.84rem;
    font-weight: 600;
}

.service-outcome i {
    color: var(--success);
    font-size: 0.78rem;
}

.service-readmore {
    margin-top: auto;
}

.pricing-context {
    max-width: 680px;
    margin: 14px auto 0;
    padding: 12px 16px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.065);
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pkg-tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card:nth-child(3) {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--navbar-bg-mobile);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .ts-slide {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .ts-slide .testimonial-card:nth-child(1),
    .ts-slide .testimonial-card:nth-child(2),
    .ts-slide .testimonial-card:nth-child(3) {
        transform: none;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hero-stats .stat-number {
        font-size: 1.15rem;
    }

    .hero-stats .stat-label {
        font-size: 0.65rem;
        line-height: 1.35;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
    }

    .section-description {
        font-size: 0.9rem;
    }
    
    .services-grid,
    .pricing-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-readmore {
        width: 100%;
    }

    .pkg-home-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .pricing-card:nth-child(3),
    .testimonial-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    
    .package-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2.25rem;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }

    .section-title {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
    }
    .hero-badge {
        font-size: 0.78rem;
        padding: 7px 13px;
    }
    .hero-proof-row {
        display: none;
    }
    .hero-cta-note {
        display: none;
    }
}


/* Spam honeypot — visually hidden from real users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Accessibility: visible focus for keyboard users */
:where(a, button, input, textarea, select):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* =====================================================
   TRUST / PROCESS / ACCESSIBILITY ENHANCEMENTS
   ===================================================== */
.rw-process-v2 {
    padding: 110px 0;
    background: var(--bg-secondary);
}

.rw-process-v2 .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.rw-process-v2 .process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.rw-process-v2 .process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.rw-process-v2 .process-card .process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.rw-process-v2 .process-card h3 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.rw-process-v2 .process-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.portfolio-note,
.page-note,
.contact-note {
    max-width: 880px;
    margin: 18px auto 0;
    color: var(--text-muted);
    text-align: center;
}

.contact-note {
    margin-top: 18px;
    text-align: left;
    font-size: 0.92rem;
}

.form-status {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.94rem;
    font-weight: 500;
}

.form-status.is-visible { display: block; }
.form-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.btn[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .process-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .process-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@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;
    }
}


.logo-mark-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.35));
}

.package-finder-section {
    padding: 40px 0 8px;
}

.finder-shell {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.finder-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.finder-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.finder-result {
    margin-top: 18px;
    min-height: 70px;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.finder-result.is-active {
    box-shadow: var(--shadow-sm);
}

.finder-result strong {
    color: var(--text-heading);
}

.process-strip {
    padding: 20px 0 0;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.process-step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-method-card,
.btn,
.nav-cta {
    will-change: transform;
}

@media (max-width: 1024px) {
    .finder-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .finder-shell {
        padding: 22px;
    }

    .finder-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}


/* Added adjustments */
.process-strip-contact { padding-top: 1rem; }
.process-strip-header { text-align:center; margin-bottom: 2rem; }
.img-fallback { object-fit: contain !important; background: linear-gradient(135deg,#0f172a,#1e293b); padding: 1rem; }
.nav-logo img { border-radius: 10px; }
.logo-mark-img { object-fit: contain; }


/* =====================================================
   BRAND CONSISTENCY - RaadWajeeh Digital
   Visual Identity Unification
   ===================================================== */

/* Force dark background on all sections */
section {
    background-color: var(--bg-primary);
}

/* Section alternation pattern */
section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Override specific sections */
.hero,
.cta,
.page-hero {
    background: var(--bg-base) !important;
}

/* Unified card style */
.card,
.service-card,
.package-card,
.portfolio-card,
.project-card,
.testimonial-card,
.faq-item,
.feature-card,
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: var(--transition);
}

.card:hover,
.service-card:hover,
.package-card:hover,
.portfolio-card:hover,
.project-card:hover {
    border-color: var(--border-normal);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

/* All headings inside dark sections */
section h1,
section h2,
section h3,
section h4 {
    color: var(--text-heading);
}

/* All body text inside dark sections */
section p {
    color: var(--text-secondary);
}

/* Section tags / labels */
.section-tag,
.section-label,
.badge {
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Dividers */
hr,
.divider {
    border-color: var(--border-subtle);
}

/* Links in dark sections */
section a:not(.btn) {
    color: var(--primary-light);
}
section a:not(.btn):hover {
    color: var(--text-primary);
}

/* Stats / numbers */
.stat-number,
.counter,
.number {
    color: var(--text-heading);
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
}

/* Process steps */
.process-step,
.step {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

/* Icon boxes */
.icon-box,
.service-icon,
.feature-icon {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid var(--border-subtle);
    color: var(--primary-light);
}

/* Checkmark lists */
.check-list li::before,
.feature-list li::before {
    color: var(--primary);
}

/* Footer tagline — always light since footer stays dark in both themes */
.footer-tagline,
.brand-tagline {
    color: var(--footer-body-col);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
.testimonial-card.featured-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}
.testimonial-card.featured-card::before {
    content: 'Most helpful';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 99px;
    letter-spacing: 0.04em;
}
.testimonial-stars {
    display: flex;
    gap: 3px;
}
.testimonial-stars i {
    color: #F59E0B;
    font-size: 0.85rem;
}
.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    flex: 1;
    font-style: italic;
}
.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
    font-style: normal;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
}
.testimonial-role {
    font-size: 0.76rem;
    color: var(--text-muted);
}
.testimonial-service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}
.testimonials-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px 40px;
    flex-wrap: wrap;
}
.summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.score-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}
.score-stars {
    display: flex;
    gap: 3px;
}
.score-stars i { color: #F59E0B; font-size: 0.8rem; }
.score-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}
.summary-divider {
    width: 1px;
    height: 48px;
    background: var(--border-subtle);
}
.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-n {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-l {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-summary { gap: 20px; padding: 20px; }
    .summary-divider { display: none; }
}


/* =====================================================
   PROCESS SECTION V2 - rw-process-v2
   ===================================================== */
.rw-process-v2 {
    padding: 96px 0;
    background: var(--bg-secondary);
}
.rw-process-v2 .section-header {
    margin-bottom: 64px;
}
.rw-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    align-items: stretch;
}
.rw-process-timeline--6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.rw-process-timeline--6 .rw-process-connector {
    display: none;
}
.rw-process-timeline--6 .rw-process-step {
    padding: 0;
}
.rw-process-connector {
    position: absolute;
    top: 28px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.25;
    z-index: 0;
}
.rw-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    height: 100%;
}
.rw-process-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.rw-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    position: relative;
}
.rw-process-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.08);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}
.rw-process-body {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 100%;
    text-align: left;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.rw-process-body:hover {
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
/* Card header - always consistent */
.rw-process-body-head {
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(59, 130, 246, 0.025);
}
.rw-process-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}
/* Card content - grows to fill */
.rw-process-body-content {
    padding: 16px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rw-process-body > p,
.rw-process-body-content > p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 12px 0;
    flex: 1;
}
.rw-process-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px 0;
    flex: 1;
}
.rw-process-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.rw-process-bullets li i {
    color: var(--success);
    font-size: 0.72rem;
    margin-top: 2px;
    flex-shrink: 0;
}
/* Card footer - tag always at bottom */
.rw-process-body-foot {
    padding: 12px 22px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(59, 130, 246, 0.025);
}
.rw-process-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 99px;
}
.rw-process-cta {
    margin-top: 48px;
    text-align: center;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}
.rw-process-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}
.rw-process-cta strong {
    color: var(--text-heading);
}
.rw-process-sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.rw-process-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 8px;
    transition: var(--transition);
}
.rw-process-link:hover {
    color: var(--primary-dark);
    gap: 6px;
}
.rw-process-link i {
    font-size: 0.8rem;
    margin-left: 4px;
}
/* Process V2 responsive */
@media (max-width: 1024px) {
    .rw-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .rw-process-timeline--6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .rw-process-connector { display: none; }
    .rw-process-step { align-items: flex-start; text-align: left; padding: 0; }
    .rw-process-icon-wrap { flex-direction: row; gap: 14px; align-items: center; }
}
@media (max-width: 640px) {
    .rw-process-timeline,
    .rw-process-timeline--6 { grid-template-columns: 1fr; gap: 20px; }
    .rw-process-v2 { padding: 64px 0; }
}


/* =====================================================
   TESTIMONIALS V2 - rw-testimonials-v2
   ===================================================== */
.rw-testimonials-v2 {
    padding: 96px 0;
    background: var(--bg-secondary);
}
/* Rating bar */
.rw-rating-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}
.rw-rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rw-score-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}
.rw-score-stars { display: flex; gap: 3px; }
.rw-score-stars i { color: #F59E0B; font-size: 0.8rem; }
.rw-score-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.rw-rating-divider { width: 1px; height: 44px; background: var(--border-subtle); }
.rw-rating-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rw-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.rw-stat-lbl { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.rw-proof-note {
    max-width: 760px;
    margin: -28px auto 42px;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.75;
}

/* Testimonials grid - masonry-like */
.rw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}
/* Featured card spans 2 columns */
.rw-tcard--featured {
    grid-column: span 2;
}
/* Cards */
.rw-tcard {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.rw-tcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
.rw-tcard--featured {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.04) 0%,
        rgba(139, 92, 246, 0.04) 100%
    );
    border-color: rgba(59, 130, 246, 0.2);
}
.rw-tcard--featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.rw-tcard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rw-proof-card h3 {
    color: var(--text-heading);
    font-size: 1.02rem;
    margin: 0;
}

.rw-proof-card .rw-tcard-text {
    font-style: normal;
    padding-left: 0;
}

.rw-proof-card .rw-tcard-text::before {
    content: none;
}

.rw-proof-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.rw-tcard-stars { display: flex; gap: 3px; }
.rw-tcard-stars i { color: #F59E0B; font-size: 0.85rem; }
.rw-tcard-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 3px 12px;
    border-radius: 99px;
}
.rw-tcard-text {
    font-size: 0.9rem;
    line-height: 1.78;
    color: var(--text-secondary);
    flex: 1;
    font-style: italic;
    position: relative;
    padding-left: 16px;
}
.rw-tcard-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 2.4rem;
    color: var(--primary-light);
    font-style: normal;
    line-height: 1;
    opacity: 0.5;
}
.rw-tcard-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.rw-tcard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    color: var(--white);
}
.rw-avatar--purple { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.rw-avatar--teal   { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.rw-avatar--green  { background: linear-gradient(135deg, #059669, #10B981); }
.rw-avatar--orange { background: linear-gradient(135deg, #D97706, #F59E0B); }
.rw-avatar--blue   { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.rw-avatar--gray   { background: linear-gradient(135deg, #374151, #6B7280); }
.rw-tcard-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rw-tcard-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-heading);
}
.rw-tcard-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.rw-tcard-service {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Responsive */
@media (max-width: 1024px) {
    .rw-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rw-tcard--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
    .rw-testimonials-grid { grid-template-columns: 1fr; }
    .rw-tcard--featured { grid-column: span 1; }
    .rw-rating-bar { gap: 16px; padding: 18px 20px; }
    .rw-rating-divider { display: none; }
    .rw-testimonials-v2 { padding: 64px 0; }
}

/* Homepage reviews: compact trust proof instead of a long review wall */
.rw-testimonials-v2 .section-header {
    margin-bottom: 34px;
}

.rw-testimonials-v2 .rw-rating-bar {
    max-width: 760px;
    margin: 0 auto 34px;
    padding: 16px 22px;
    gap: 22px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(96, 165, 250, 0.18);
    box-shadow: none;
}

.rw-testimonials-v2 .rw-rating-bar > .rw-rating-divider:nth-child(6),
.rw-testimonials-v2 .rw-rating-bar > .rw-rating-stat:last-child {
    display: none;
}

.rw-testimonials-v2 .rw-score-num,
.rw-testimonials-v2 .rw-stat-num {
    font-size: 1.35rem;
}

.rw-testimonials-v2 .rw-score-stars i {
    font-size: 0.72rem;
}

.rw-testimonials-v2 .rw-score-label,
.rw-testimonials-v2 .rw-stat-lbl {
    font-size: 0.7rem;
}

.rw-testimonials-v2 .rw-testimonials-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 18px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.rw-testimonials-v2 .rw-tcard:nth-child(n+4) {
    display: none;
}

.rw-testimonials-v2 .rw-tcard--featured {
    grid-column: auto;
    grid-row: span 2;
    padding: 38px;
    gap: 22px;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.10) 0%, rgba(99, 102, 241, 0.05) 100%),
        var(--bg-card);
}

.rw-testimonials-v2 .rw-tcard--featured .rw-tcard-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) {
    padding: 24px;
    gap: 14px;
    border-radius: var(--radius-lg);
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-stars,
.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-service {
    display: none;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-text {
    padding-left: 0;
    font-style: normal;
    line-height: 1.65;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-text::before {
    display: none;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-author {
    margin-top: auto;
}

.rw-reviews-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .rw-testimonials-v2 .rw-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rw-testimonials-v2 .rw-tcard--featured {
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .rw-testimonials-v2 .rw-rating-bar {
        justify-content: space-between;
    }

    .rw-testimonials-v2 .rw-rating-divider {
        display: none;
    }

    .rw-testimonials-v2 .rw-tcard--featured,
    .rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) {
        padding: 24px;
    }

    .rw-reviews-cta .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .will-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   FOOTER CONTACT LINKS
   ===================================================== */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--white); }

.footer-contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-contact-icon--email { background: rgba(59, 130, 246, 0.25); }
.footer-contact-icon--email i { color: #60a5fa; font-size: 0.85rem; }
.footer-contact-icon--wa { background: rgba(37, 211, 102, 0.2); }
.footer-contact-icon--wa i { color: #25d366; font-size: 0.95rem; }
.footer-contact-icon--li { background: rgba(10, 102, 194, 0.2); }
.footer-contact-icon--li i { color: #0A66C2; font-size: 0.85rem; }
.footer-contact-icon--fb { background: rgba(24, 119, 242, 0.2); }
.footer-contact-icon--fb i { color: #1877F2; font-size: 0.85rem; }
.footer-contact-icon--tt { background: rgba(255, 255, 255, 0.12); }
.footer-contact-icon--tt i { color: #fff; font-size: 0.85rem; }
.footer-contact-icon--ig { background: rgba(225, 48, 108, 0.2); }
.footer-contact-icon--ig i { color: #E1306C; font-size: 0.85rem; }
.footer-contact-label { font-size: 0.875rem; }

/* =====================================================
   CTA NOTE
   ===================================================== */
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    opacity: 0.72;
    line-height: 1.6;
}
.cta-note a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

/* =====================================================
   SERVICE FINDER SECTION (services.html)
   ===================================================== */
.service-finder-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.sf-widget {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.sf-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
.sf-progress-bar {
    flex: 1;
    height: 5px;
    background: var(--border-subtle);
    border-radius: 3px;
    overflow: hidden;
}
.sf-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s;
    width: 0%;
}
.sf-progress-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
.sf-step-q {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}
.sf-step-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.sf-opts-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sf-results-header {
    text-align: center;
    margin-bottom: 28px;
}
.sf-results-icon {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 10px;
}
.sf-results-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}
.sf-results-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.sf-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.sf-reset-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}
.sf-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: transparent;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}
.sf-reset-btn:hover { border-color: var(--primary); color: var(--primary); }

/* =====================================================
   THEME TOGGLE BUTTON
   ===================================================== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-normal);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 4px;
    z-index: 1001;
    position: relative;
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.08);
}
.theme-toggle i {
    transition: transform 0.35s ease, opacity 0.2s ease;
    pointer-events: none;
}
.theme-toggle.switching i {
    transform: rotate(180deg);
    opacity: 0;
}

/* =====================================================
   LIGHT THEME — CSS VARIABLE OVERRIDES
   All component colors are controlled via tokens above.
   Only tokens need to change; component CSS uses var() throughout.
   ===================================================== */
[data-theme="light"] {
    /* ── Core surfaces ── */
    --bg-base:        #f0f6ff;
    --bg-primary:     #f5f8ff;
    --bg-secondary:   #eaf1ff;
    --bg-surface:     #dae5fb;
    --bg-card:        #ffffff;

    /* ── Typography ── */
    --text-primary:   #0a1628;
    --text-secondary: #1e3a5f;
    --text-muted:     #4b6280;
    --text-heading:   #0a1628;

    /* ── Borders ── */
    --border-subtle:  rgba(59, 130, 246, 0.14);
    --border-normal:  rgba(59, 130, 246, 0.28);
    --border-strong:  rgba(59, 130, 246, 0.50);

    /* ── Gradients ── */
    --gradient-dark:  linear-gradient(135deg, #eaf1ff 0%, #f5f8ff 100%);
    --gradient-glow:  linear-gradient(135deg, rgba(59,130,246,0.07) 0%, rgba(99,102,241,0.07) 100%);

    /* ── Shadows ── */
    --shadow-sm:   0 1px 3px rgba(15, 23, 42, 0.07);
    --shadow:      0 4px 8px rgba(15, 23, 42, 0.09);
    --shadow-md:   0 10px 20px rgba(15, 23, 42, 0.09);
    --shadow-lg:   0 20px 30px rgba(15, 23, 42, 0.10);
    --shadow-xl:   0 25px 50px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 8px 30px rgba(59, 130, 246, 0.14);
    --cookie-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);

    /* ── Legacy alias ── */
    --secondary: #f5f8ff;

    /* ── Hero (homepage) ── */
    --hero-bg:         linear-gradient(160deg, #e8f0fe 0%, #f0f6ff 55%, #edf4ff 100%);
    --hero-glow-a:     rgba(59, 130, 246, 0.10);
    --hero-glow-b:     rgba(99, 102, 241, 0.08);
    --hero-title:      #0a1628;
    --hero-subtitle:   #2d4a6e;
    --hero-stat-num:   #0a1628;
    --hero-stat-label: #4b6280;

    /* ── Page hero (inner-page banners) ── */
    --page-hero-bg:           linear-gradient(135deg, #dce8fb 0%, #eaf1ff 55%, #f0f6ff 100%);
    --page-hero-glow-a:       rgba(59, 130, 246, 0.12);
    --page-hero-glow-b:       rgba(139, 92, 246, 0.06);
    --page-hero-strip-bg:     #eaf1ff;
    --page-hero-strip-border: rgba(59, 130, 246, 0.10);
    --page-hero-title:        #0a1628;
    --page-hero-text:         #2d4a6e;
    --page-hero-crumb:        rgba(10, 22, 40, 0.50);
    --page-hero-crumb-h:      var(--primary);
    --page-hero-crumb-sep:    rgba(10, 22, 40, 0.20);
    --page-hero-icon-bg:      rgba(59, 130, 246, 0.10);
    --page-hero-icon-border:  rgba(59, 130, 246, 0.18);
    --page-hero-badge-bg:     rgba(59, 130, 246, 0.08);
    --page-hero-badge-border: rgba(59, 130, 246, 0.16);
    --page-hero-badge-text:   #1e3a5f;
    --page-hero-note:         rgba(10, 22, 40, 0.50);

    /* ── Navbar ── */
    --navbar-bg:              rgba(245, 248, 255, 0.94);
    --navbar-bg-mobile:       rgba(245, 248, 255, 0.98);
    --navbar-border:          rgba(59, 130, 246, 0.14);
    --navbar-scrolled-shadow: 0 4px 20px rgba(15, 23, 42, 0.10);
    --nav-link-col:           #1e3a5f;
    --hamburger-col:          #1e3a5f;

    /* ── CTA section ── */
    --cta-bg:      linear-gradient(135deg, #dce8fb 0%, #eaf1ff 100%);
    --cta-heading: #0a1628;
    --cta-body:    #2d4a6e;

    /* ── Forms / Inputs ── */
    --input-bg:          #ffffff;
    --input-border-col:  rgba(59, 130, 246, 0.22);
    --input-text-col:    #0a1628;
    --input-placeholder: #4b6280;
    --input-focus-ring:  0 0 0 3px rgba(59, 130, 246, 0.10);

    /* ── Sticky tab nav ── */
    --sticky-nav-bg:       rgba(245, 248, 255, 0.97);
    --sticky-nav-border:   rgba(59, 130, 246, 0.18);
    --sticky-btn-bg:       rgba(255, 255, 255, 0.80);
    --sticky-btn-border:   rgba(30, 58, 95, 0.12);
    --sticky-btn-icon-bg:  rgba(30, 58, 95, 0.06);
    --sticky-btn-icon-col: #4b6280;
    --sticky-btn-title:    #1e3a5f;

    /* ── HIW / How-It-Works section ── */
    --hiw-bg:         linear-gradient(160deg, #e8f0fe 0%, #f0f6ff 50%, #edf4ff 100%);
    --hiw-glow:       rgba(59, 130, 246, 0.07);
    --hiw-heading:    #0a1628;
    --hiw-body:       #4b6280;
    --hiw-tag-bg:     rgba(59, 130, 246, 0.10);
    --hiw-tag-border: rgba(59, 130, 246, 0.20);
    --hiw-connector:  rgba(59, 130, 246, 0.14);

    /* ── Project detail breadcrumb ── */
    --pd-crumb:     rgba(10, 22, 40, 0.50);
    --pd-crumb-h:   var(--primary);
    --pd-crumb-sep: rgba(10, 22, 40, 0.20);

    /* ── Overlay / backdrop ── */
    --overlay-col: rgba(0, 0, 0, 0.30);

    /* ── Focus ring ── */
    --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* ── Logo text in light navbar only (footer stays dark, logo must stay white) ── */
[data-theme="light"] .navbar .logo-text { color: #0a1628; }
[data-theme="light"] .navbar .logo-text .accent { color: var(--primary); }

/* ── Nav links active/hover in light ── */
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.10);
}

/* ── Hero outline button on light bg ── */
[data-theme="light"] .hero .btn-outline {
    color: #1e3a5f;
    border-color: rgba(30, 58, 95, 0.28);
}
[data-theme="light"] .hero .btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── Hero badge ── */
[data-theme="light"] .hero-badge {
    background: rgba(59, 130, 246, 0.07);
    border-color: rgba(59, 130, 246, 0.22);
    color: var(--primary-dark);
}

/* ── Cards: subtle lift shadow in light ── */
[data-theme="light"] .service-card,
[data-theme="light"] .package-card,
[data-theme="light"] .project-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .process-card,
[data-theme="light"] .floating-card,
[data-theme="light"] .pkg-tier-card {
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

/* ── Section backgrounds ── */
[data-theme="light"] .services,
[data-theme="light"] .packages-section,
[data-theme="light"] .testimonials,
[data-theme="light"] .faq-section {
    background: var(--bg-primary);
}
[data-theme="light"] .portfolio-section,
[data-theme="light"] .process-section,
[data-theme="light"] .why-us-section {
    background: var(--bg-secondary);
}

/* ── CTA section-specific classes ── */
[data-theme="light"] .cta-section-rw {
    background: var(--cta-bg);
}
[data-theme="light"] .cta-title  { color: var(--cta-heading); }
[data-theme="light"] .cta-description { color: var(--cta-body); }

/* ── Section tag ── */
[data-theme="light"] .section-tag {
    background: rgba(59, 130, 246, 0.10);
    color: var(--primary-dark);
}

/* ── Outline button (global) ── */
[data-theme="light"] .btn-outline {
    color: #1e3a5f;
    border-color: rgba(30, 58, 95, 0.25);
}
[data-theme="light"] .btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── Theme toggle button ── */
[data-theme="light"] .theme-toggle {
    border-color: rgba(59, 130, 246, 0.28);
    color: #2d4a6e;
}
[data-theme="light"] .theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── FAQ dark variant on light bg ── */
[data-theme="light"] .faq-section--dark .faq-item {
    background: rgba(30, 58, 95, 0.04);
    border-color: rgba(30, 58, 95, 0.12);
}
[data-theme="light"] .faq-section--dark .faq-question:hover {
    background: rgba(30, 58, 95, 0.06);
}
[data-theme="light"] .faq-section--dark .faq-question h3 { color: var(--text-heading); }
[data-theme="light"] .faq-section--dark .faq-answer p   { color: var(--text-muted); }

/* ── Testimonials rating bar ── */
[data-theme="light"] .rw-testimonials-v2 .rw-rating-bar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
}

/* ── Section plain links ── */
[data-theme="light"] section a:not(.btn) { color: var(--primary-dark); }
[data-theme="light"] section a:not(.btn):hover { color: var(--primary); }

/* ── Image fallback ── */
[data-theme="light"] .img-fallback {
    background: linear-gradient(135deg, #e8f0fe, #f0f6ff);
}

/* ── Form status messages ── */
[data-theme="light"] .form-status.success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
}
[data-theme="light"] .form-status.error {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
}

/* ── Stats section (detail pages) ── */
[data-theme="light"] .stats-section { background: var(--bg-secondary); }
[data-theme="light"] .stat-item     { color: var(--text-heading); }
[data-theme="light"] .stat-item .stat-number { color: var(--text-heading); }
[data-theme="light"] .stat-item .stat-label  { color: var(--text-muted); }
[data-theme="light"] .stat-icon {
    background: rgba(59, 130, 246, 0.10);
    color: var(--primary);
}

/* ── Process body tint ── */
[data-theme="light"] .rw-process-body-head,
[data-theme="light"] .rw-process-body-foot {
    background: rgba(59, 130, 246, 0.03);
}

/* ── Service finder widget ── */
[data-theme="light"] .sf-opt:hover { background: rgba(59, 130, 246, 0.04); }

/* ── btn-outline-white inside CTA (light bg needs dark-colored button) ── */
[data-theme="light"] .cta .btn-outline-white {
    color: var(--primary-dark);
    border-color: rgba(59, 130, 246, 0.35);
    background: transparent;
}
[data-theme="light"] .cta .btn-outline-white:hover {
    background: rgba(59, 130, 246, 0.10);
    border-color: var(--primary);
    color: var(--primary);
}

/* ── HIW bubbles in light mode — white bg to contrast the light-blue section ── */
[data-theme="light"] .hiw-bubble {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .hiw-step:hover .hiw-bubble {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

/* Homepage refine responsive and light-mode overrides */
@media (max-width: 1024px) {
    .hero .container {
        max-width: 760px;
        gap: 42px;
    }

    .hero-visual {
        display: flex;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-proof-row {
        justify-content: center;
    }

    .homepage-flow {
        padding-bottom: 72px;
    }

    .flow-card {
        grid-template-columns: 1fr;
    }

    .flow-step + .flow-step {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 104px 0 58px;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(2.15rem, 9vw, 2.65rem);
        line-height: 1.06;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .hero-proof-row {
        margin: -6px 0 24px;
    }

    .hero-proof-row span {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta-note {
        margin-bottom: 24px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .hero-stats .stat {
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 12px 8px;
        text-align: center;
    }

    .hero-stats .stat-number {
        font-size: 1.15rem;
    }

    .hero-stats .stat-label {
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .hero-results-panel {
        width: 100%;
        border-radius: 18px;
    }

    .floating-card {
        display: none;
    }

    .hrp-body {
        padding: 18px;
    }

    .hrp-kpi-row {
        gap: 8px;
    }

    .hrp-kpi {
        padding: 10px 6px;
    }

    .hrp-kpi-val {
        font-size: 1.1rem;
    }

    .hrp-insight-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .homepage-flow {
        padding-bottom: 60px;
    }

    .flow-card {
        border-radius: 18px;
    }

    .flow-step {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-results-panel {
        transform: none;
    }

    .hrp-header {
        padding: 12px 14px;
    }

    .hrp-header-label {
        font-size: 0.72rem;
    }

    .hrp-header-status {
        display: none;
    }

    .hrp-check {
        font-size: 0.76rem;
    }

    .hrp-timeline {
        align-items: flex-start;
        flex-direction: column;
    }

    .hrp-tl-bar {
        width: 100%;
    }
}

[data-theme="light"] .hero-proof-row span,
[data-theme="light"] .hero-stats .stat {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(59, 130, 246, 0.14);
    color: #2d4a6e;
}

[data-theme="light"] .hero-cta-note {
    color: #4b6280;
}

[data-theme="light"] .homepage-flow {
    background: var(--bg-base);
}

[data-theme="light"] .flow-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 241, 255, 0.92));
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .flow-step + .flow-step {
    border-color: rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .service-outcome {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.18);
    color: #1e3a5f;
}

/* =====================================================
   HOMEPAGE FINAL POLISH: HERO, NAV DROPDOWNS, MOTION
   ===================================================== */
.nav-menu > li {
    position: relative;
}

.nav-has-dropdown > .nav-link {
    padding-right: 26px;
}

.nav-has-dropdown > .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-has-dropdown:hover > .nav-link::after,
.nav-has-dropdown:focus-within > .nav-link::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 270px;
    padding: 10px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 16px;
    background: rgba(10, 15, 30, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(226, 232, 240, 0.86);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
}

.nav-dropdown-link i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.13);
    color: var(--primary-light);
    font-size: 0.8rem;
}

.nav-dropdown-link:hover {
    background: rgba(59, 130, 246, 0.14);
    color: #ffffff;
}

/* Mobile-only dropdown toggle button — hidden on desktop */
.nav-dd-toggle {
    display: none;
}

.hero {
    min-height: min(820px, 100vh);
    padding: clamp(88px, 10vh, 112px) 0 clamp(44px, 6vh, 68px);
}

.hero-bg {
    overflow: hidden;
}

.hero-bg::before {
    width: 900px;
    height: 900px;
    top: -34%;
    right: -10%;
    animation: rwHeroGlowA 16s ease-in-out infinite alternate;
}

.hero-bg::after {
    width: 760px;
    height: 760px;
    bottom: -34%;
    left: -14%;
    animation: rwHeroGlowB 18s ease-in-out infinite alternate;
}

.hero-bg {
    background:
        linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(96, 165, 250, 0.035) 1px, transparent 1px),
        var(--hero-bg);
    background-size: 72px 72px, 72px 72px, auto;
    animation: rwSignalGrid 22s linear infinite;
}

@keyframes rwSignalGrid {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 72px 36px, 36px 72px, 0 0; }
}

@keyframes rwHeroGlowA {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    to { transform: translate3d(-64px, 42px, 0) scale(1.08); opacity: 1; }
}

@keyframes rwHeroGlowB {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    to { transform: translate3d(72px, -36px, 0) scale(1.06); opacity: 0.96; }
}

.hero .container {
    max-width: 1440px;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.9fr);
    gap: clamp(30px, 4vw, 62px);
}

.hero-title {
    font-size: clamp(2.75rem, 4.8vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

.hero-description {
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    max-width: 590px;
    margin-bottom: 24px;
}

.hero-badge {
    margin-bottom: 18px;
}

.hero-proof-row {
    margin: -4px 0 22px;
}

.hero-buttons {
    margin-bottom: 10px;
}

.hero-cta-note {
    margin-bottom: 26px;
}

.hero-case-showcase {
    width: min(100%, 590px);
    padding: 14px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 34px 90px rgba(37, 99, 235, 0.18), 0 14px 42px rgba(0, 0, 0, 0.42);
    animation: heroCaseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroCaseIn {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-case-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 12px;
    color: rgba(226, 232, 240, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-case-topline span,
.hero-case-topline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-case-topline a {
    color: var(--primary-light);
    text-decoration: none;
}

.hero-case-frame {
    position: relative;
    aspect-ratio: 1.35 / 1;
    min-height: 320px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #0f172a;
}

.hero-case-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.02);
}

.hero-case-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 72px 24px 22px;
    background: linear-gradient(to top, rgba(5, 10, 22, 0.94), rgba(5, 10, 22, 0.48) 62%, transparent);
}

.hero-case-type {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.22);
    border: 1px solid rgba(147, 197, 253, 0.28);
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-case-overlay h2 {
    max-width: 420px;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    line-height: 1.18;
    margin: 0 0 8px;
}

.hero-case-overlay p {
    max-width: 440px;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.hero-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.hero-case-metric {
    padding: 14px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-case-metric span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 900;
}

.hero-case-metric strong {
    display: block;
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 5px;
}

.hero-case-metric p {
    margin: 0;
    color: rgba(203, 213, 225, 0.55);
    font-size: 0.72rem;
    line-height: 1.45;
}

.first-impression-section {
    padding: 54px 0 84px;
}

.first-impression-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

.first-impression-head h2 {
    color: var(--text-heading);
    font-size: clamp(1.65rem, 2.7vw, 2.6rem);
    line-height: 1.12;
    margin: 12px 0 0;
}

.first-impression-head p {
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

[data-theme="light"] .nav-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .nav-dropdown-link {
    color: #1e3a5f;
}

[data-theme="light"] .nav-dropdown-link:hover {
    color: var(--primary-dark);
}

[data-theme="light"] .nav-dd-toggle {
    color: rgba(30, 58, 95, 0.55);
}

[data-theme="light"] .nav-dd-toggle:hover,
[data-theme="light"] .nav-dd-toggle[aria-expanded="true"] {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
}

[data-theme="light"] .hero-bg {
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        var(--hero-bg);
    background-size: 72px 72px, 72px 72px, auto;
}

[data-theme="light"] .hero-case-showcase {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(234, 241, 255, 0.84));
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .hero-case-topline {
    color: #1e3a5f;
}

[data-theme="light"] .hero-case-metric {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(59, 130, 246, 0.14);
}

[data-theme="light"] .hero-case-metric strong {
    color: #0a1628;
}

[data-theme="light"] .hero-case-metric p {
    color: #4b6280;
}

@media (max-width: 1180px) {
    .hero .container {
        grid-template-columns: minmax(0, 1fr);
        max-width: 860px;
        text-align: center;
    }

    .hero-proof-row,
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-case-showcase {
        width: min(100%, 680px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        align-items: stretch;
        justify-content: flex-start;
        padding: 96px 22px 32px;
        overflow-y: auto;
    }

    .nav-has-dropdown > .nav-link::after {
        display: none;
    }

    .nav-has-dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }

    .nav-has-dropdown > .nav-link {
        flex: 1;
        min-width: 0;
    }

    .nav-dd-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: rgba(226, 232, 240, 0.55);
        cursor: pointer;
        border-radius: 10px;
        flex-shrink: 0;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-dd-toggle:hover,
    .nav-dd-toggle[aria-expanded="true"] {
        background: rgba(96, 165, 250, 0.12);
        color: var(--primary-light);
    }

    .nav-dd-toggle i {
        font-size: 0.75rem;
        transition: transform 0.22s ease;
    }

    .nav-dd-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .nav-dropdown {
        position: static;
        flex-basis: 100%;
        width: 100%;
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 14px;
        transition: opacity 0.2s ease, max-height 0.28s ease, margin 0.2s ease, padding 0.2s ease, visibility 0.2s;
    }

    .nav-has-dropdown.nav-dd-open > .nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 800px;
        margin: 4px 0 2px;
        padding: 7px;
    }

    .nav-dropdown-link {
        padding: 9px 10px;
        font-size: 0.82rem;
    }

    .hero {
        min-height: auto;
        padding: 88px 0 42px;
    }

    .hero .container {
        gap: 26px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 8.8vw, 2.75rem);
    }

    .hero-case-frame {
        min-height: 250px;
        aspect-ratio: 1 / 1;
    }

    .hero-case-overlay {
        padding: 64px 18px 18px;
    }

    .hero-case-grid {
        grid-template-columns: 1fr;
    }

    .first-impression-section {
        padding: 42px 0 60px;
    }

    .first-impression-head {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* =====================================================
   HERO CANVAS — particle-network animated background
   ===================================================== */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.65;
    z-index: 0;
}

/* =====================================================
   NAVBAR MEGA MENU — Services panel (2-column grid)
   ===================================================== */
.nav-mega {
    width: 500px;
    padding: 14px;
}

.nav-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-mega-header:hover {
    color: var(--primary-light);
}

.nav-mega-header i {
    font-size: 0.65rem;
    opacity: 0.7;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.nav-mega-link {
    align-items: flex-start !important;
    gap: 11px;
    padding: 11px 12px;
}

.nav-mega-link i {
    margin-top: 1px;
    flex-shrink: 0;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
}

.nav-mega-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-mega-text strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.2;
    display: block;
}

.nav-mega-text small {
    font-size: 0.71rem;
    color: rgba(203, 213, 225, 0.44);
    font-weight: 400;
    line-height: 1.35;
    display: block;
    white-space: normal;
}

.nav-mega-link:hover .nav-mega-text strong {
    color: #ffffff;
}

.nav-mega-link:hover .nav-mega-text small {
    color: rgba(203, 213, 225, 0.68);
}

/* Light-theme mega overrides */
[data-theme="light"] .nav-mega-header {
    color: rgba(15, 23, 42, 0.35);
    border-bottom-color: rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .nav-mega-header:hover { color: var(--primary-dark); }
[data-theme="light"] .nav-mega-text strong  { color: #1e3a5f; }
[data-theme="light"] .nav-mega-text small   { color: rgba(30, 58, 95, 0.44); }
[data-theme="light"] .nav-mega-link:hover .nav-mega-text strong { color: var(--primary-dark); }
[data-theme="light"] .nav-mega-link:hover .nav-mega-text small  { color: rgba(30, 58, 95, 0.72); }

/* Mobile: single column mega grid */
@media (max-width: 768px) {
    .nav-mega {
        width: 100%;
        padding: 8px;
    }
    .nav-mega-grid {
        grid-template-columns: 1fr;
    }
    .nav-mega-header {
        display: none;
    }
}

/* =====================================================
   HERO — compact viewport fit (full content visible)
   Full-width container to reduce side margins
   ===================================================== */
.hero .container {
    max-width: 1540px;
    padding: 0 clamp(20px, 3vw, 48px);
}

@media (min-width: 1025px) {
    .hero {
        min-height: min(880px, 100vh);
        padding: clamp(74px, 9vh, 96px) 0 clamp(32px, 4.5vh, 52px);
    }

    .hero-title {
        font-size: clamp(2.25rem, 3.5vw, 3.8rem);
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: clamp(0.95rem, 1vw, 1.05rem);
        margin-bottom: 18px;
    }

    .hero-badge {
        margin-bottom: 14px;
        font-size: 0.82rem;
    }

    .hero-proof-row {
        margin: -6px 0 16px;
    }

    .hero-proof-row span {
        font-size: 0.79rem;
        padding: 7px 11px;
    }

    .hero-buttons {
        margin-bottom: 8px;
    }

    .hero-cta-note {
        margin-bottom: 18px;
        font-size: 0.83rem;
        color: rgba(255, 255, 255, 0.42);
    }

    .hero-stats {
        gap: 26px;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* =====================================================
   MOBILE RESPONSIVE — general improvements
   ===================================================== */
@media (max-width: 640px) {
    /* Hero full-width usage on small screens */
    .hero .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn-lg {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.94rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    /* Service cards full-width on mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    /* Portfolio grid single column */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Process section compact */
    .rw-process-step {
        gap: 14px;
    }

    /* Packages tier single column */
    .pkg-tiers-grid {
        grid-template-columns: 1fr;
    }

    /* Section spacing reduced on mobile */
    section {
        padding: 56px 0;
    }

    .section-title {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
    }

    .section-description {
        font-size: 0.88rem;
    }

    /* FAQ items */
    .faq-item summary {
        padding: 16px 0;
    }

    .faq-item h3 {
        font-size: 0.95rem;
    }

    /* Contact form */
    .contact-wrapper {
        gap: 24px;
    }

    .contact-wa-primary {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        padding: 80px 0 32px;
    }

    .hero-stats {
        gap: 4px;
    }

    .stat-number {
        font-size: 1.15rem;
    }

    /* Footer single column compact */
    .footer-grid {
        gap: 20px;
    }

    /* Nav CTA hidden on very small screens */
    .nav-cta {
        display: none;
    }
}

/* =====================================================
   HERO VISUAL — better right-side case showcase sizing
   ===================================================== */
@media (min-width: 1181px) {
    .hero-visual {
        align-items: center;
    }

    .hero-case-showcase {
        width: min(100%, 560px);
    }

    .hero-case-frame {
        aspect-ratio: 16 / 10;
        min-height: 280px;
    }
}

/* =====================================================
   NAVBAR DUAL-PANEL MEGA MENU — .ndp-* system
   Services panel: hover a service → detail appears right
   Pricing panel: hover a service → package cards appear right
   ===================================================== */

/* Override nav-dropdown width for dual-panel menus */
.nav-dropdown.ndp-wrap {
    width: 680px;
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    min-height: 320px;
}

/* Left column — service list */
.ndp-left {
    width: 220px;
    flex-shrink: 0;
    padding: 10px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Right column — detail panels */
.ndp-right {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 20px 20px 16px;
}

/* Service list button */
.ndp-svc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    color: rgba(203, 213, 225, 0.72);
}

.ndp-svc-item:hover,
.ndp-svc-item.ndp-active {
    background: rgba(96, 165, 250, 0.12);
    color: rgba(226, 232, 240, 0.96);
}

.ndp-svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.1);
    color: var(--primary-light);
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ndp-svc-item.ndp-active .ndp-svc-icon {
    background: rgba(96, 165, 250, 0.22);
}

.ndp-svc-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    min-width: 0;
}

.ndp-arrow {
    font-size: 0.62rem;
    opacity: 0.4;
    transition: opacity 0.15s, transform 0.15s;
}

.ndp-svc-item.ndp-active .ndp-arrow {
    opacity: 0.85;
    transform: translateX(2px);
}

/* Right-side panels */
.ndp-panel {
    display: none;
    height: 100%;
}

.ndp-panel.ndp-active {
    display: block;
}

/* --- Service detail panel --- */
.ndp-svc-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.ndp-svc-detail-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ndp-svc-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.14);
    color: var(--primary-light);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.ndp-svc-detail-head > div {
    min-width: 0;
}

.ndp-svc-detail-head strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.95);
    margin-bottom: 5px;
}

.ndp-svc-detail-head p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(203, 213, 225, 0.6);
    line-height: 1.5;
}

.ndp-svc-ctas {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}

.ndp-cta-primary,
.ndp-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, transform 0.15s;
}

.ndp-cta-primary {
    background: var(--primary);
    color: #ffffff;
}

.ndp-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

.ndp-cta-secondary {
    background: rgba(96, 165, 250, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.ndp-cta-secondary:hover {
    background: rgba(96, 165, 250, 0.18);
    transform: translateX(2px);
}

/* --- Pricing detail panel --- */
.ndp-pricing-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.ndp-pricing-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ndp-pricing-head i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.ndp-pricing-head strong {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.9);
}

.ndp-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.ndp-view-all:hover {
    opacity: 1;
}

.ndp-pkg-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.ndp-pkg-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: background 0.16s, border-color 0.16s, transform 0.15s;
    cursor: pointer;
}

.ndp-pkg-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateX(3px);
}

.ndp-pkg-card.ndp-pkg-popular {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.3);
}

.ndp-pkg-card.ndp-pkg-popular:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.45);
}

.ndp-pkg-badge {
    position: absolute;
    top: -1px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ndp-pkg-tier {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(96, 165, 250, 0.1);
    color: var(--primary-light);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    min-width: 62px;
    text-align: center;
}

.ndp-pkg-name {
    flex: 1;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.88);
    min-width: 0;
}

.ndp-pkg-arrow {
    font-size: 0.65rem;
    color: rgba(203, 213, 225, 0.35);
    transition: color 0.15s, transform 0.15s;
}

.ndp-pkg-card:hover .ndp-pkg-arrow {
    color: var(--primary-light);
    transform: translateX(2px);
}

/* =====================================================
   NDP — light theme overrides
   ===================================================== */
[data-theme="light"] .ndp-left {
    border-right-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ndp-svc-item {
    color: rgba(30, 58, 95, 0.65);
}

[data-theme="light"] .ndp-svc-item:hover,
[data-theme="light"] .ndp-svc-item.ndp-active {
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a5f;
}

[data-theme="light"] .ndp-svc-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-dark);
}

[data-theme="light"] .ndp-svc-item.ndp-active .ndp-svc-icon {
    background: rgba(37, 99, 235, 0.16);
}

[data-theme="light"] .ndp-svc-detail-head strong {
    color: #0f172a;
}

[data-theme="light"] .ndp-svc-detail-head p {
    color: rgba(30, 58, 95, 0.55);
}

[data-theme="light"] .ndp-svc-detail-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
}

[data-theme="light"] .ndp-cta-secondary {
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary-dark);
    border-color: rgba(37, 99, 235, 0.18);
}

[data-theme="light"] .ndp-cta-secondary:hover {
    background: rgba(37, 99, 235, 0.13);
}

[data-theme="light"] .ndp-pricing-head {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ndp-pricing-head strong {
    color: #0f172a;
}

[data-theme="light"] .ndp-pricing-head i {
    color: var(--primary-dark);
}

[data-theme="light"] .ndp-view-all {
    color: var(--primary-dark);
}

[data-theme="light"] .ndp-pkg-card {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ndp-pkg-card:hover {
    background: rgba(37, 99, 235, 0.07);
    border-color: rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .ndp-pkg-card.ndp-pkg-popular {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.24);
}

[data-theme="light"] .ndp-pkg-card.ndp-pkg-popular:hover {
    background: rgba(37, 99, 235, 0.14);
}

[data-theme="light"] .ndp-pkg-tier {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-dark);
}

[data-theme="light"] .ndp-pkg-name {
    color: #1e3a5f;
}

[data-theme="light"] .ndp-pkg-arrow {
    color: rgba(30, 58, 95, 0.3);
}

[data-theme="light"] .ndp-pkg-card:hover .ndp-pkg-arrow {
    color: var(--primary-dark);
}

/* =====================================================
   NDP — mobile: hide right panel, left fills full width
   ===================================================== */
@media (max-width: 768px) {
    .nav-dropdown.ndp-wrap {
        width: 100%;
        min-height: unset;
        flex-direction: column;
    }

    .ndp-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 6px;
    }

    .ndp-right {
        display: none;
    }

    .ndp-svc-item {
        font-size: 0.84rem;
    }

    /* On mobile, active item links to the service page directly
       (handled by JS redirecting click to the service URL) */
    .ndp-arrow {
        display: none;
    }
}

[data-theme="light"] .ndp-left {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

