/* =========================================
   PERMIT INDONESIA - Premium Design System
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

/* =========================================
   CSS Variables / Design Tokens
   ========================================= */
:root {
    /* Brand Colors */
    --primary:        #2563eb;
    --primary-dark:   #1d4ed8;
    --primary-light:  #60a5fa;
    --primary-glow:   rgba(37, 99, 235, 0.25);
    --accent:         #f59e0b;
    --accent-light:   #fcd34d;
    --green:          #10b981;

    /* Dark Palette */
    --dark:           #060d1f;
    --dark-2:         #0d1b35;
    --dark-3:         #152347;
    --dark-card:      rgba(13, 27, 53, 0.8);

    /* Light Palette */
    --light:          #f0f4ff;
    --light-2:        #e8eef9;
    --white:          #ffffff;

    /* Text */
    --text:           #f8fafc;
    --text-muted:     #cbd5e1;
    --text-light:     #94a3b8;

    /* Gradients */
    --grad-primary:   linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    --grad-dark:      linear-gradient(160deg, #060d1f 0%, #0d1b35 50%, #152347 100%);
    --grad-card:      linear-gradient(135deg, rgba(var(--fg-rgb), 0.06) 0%, rgba(var(--fg-rgb), 0.01) 100%);
    --grad-accent:    linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    /* Glassmorphism */
    --glass-bg:       rgba(var(--fg-rgb), 0.07);
    --glass-border:   rgba(var(--fg-rgb), 0.12);
    --glass-shadow:   0 8px 32px rgba(0, 0, 0, 0.3);

    /* Shadows */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg:      0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl:      0 24px 60px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.1);
    --shadow-glow:    0 0 40px rgba(37, 99, 235, 0.3);
    --shadow-card:    0 20px 60px rgba(var(--bg-rgb), 0.4);

    /* Borders */
    --border-light:   1px solid rgba(var(--fg-rgb), 0.1);
    --border-card:    1px solid rgba(var(--fg-rgb), 0.08);

    /* Spacing */
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      20px;
    --radius-xl:      28px;
    --radius-full:    9999px;

    /* Transitions */
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Light Theme Overrides
   ========================================= */
:root {
    --fg-rgb: 255, 255, 255;
    --bg-rgb: 6, 13, 31;
    --card-rgb: 13, 27, 53;
}

[data-theme="light"] {
    /* Brand Colors (Adjusted for contrast if needed, but primary can stay) */
    --primary-light: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.15);

    /* Light Palette overriding Dark Palette */
    --dark: #f8fafc;
    --dark-2: #ffffff;
    --dark-3: #f1f5f9;
    --dark-card: rgba(var(--fg-rgb), 0.9);

    /* Dark Palette overriding Light Palette */
    --light: #0f172a;
    --light-2: #1e293b;
    --white: #0f172a;

    /* Text */
    --text: #0f172a;
    --text-muted: #475569;
    --text-light: #334155;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --grad-dark: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    --grad-card: linear-gradient(135deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.01) 100%);

    /* Shadows & Borders */
    --border-light: 1px solid rgba(15, 23, 42, 0.1);
    --border-card: 1px solid rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.03);
    --glass-border: rgba(15, 23, 42, 0.1);
    --shadow-card: 0 20px 60px rgba(15, 23, 42, 0.05);

    /* RGB Variables */
    --fg-rgb: 15, 23, 42;
    --bg-rgb: 248, 250, 252;
    --card-rgb: 255, 255, 255;
}

/* =========================================
   LIGHT MODE — Explicit Text Color Overrides
   These rules guarantee text is ALWAYS readable in light mode
   regardless of var(--white) cascade specificity issues
   ========================================= */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a;
}

/* Gradient text — use strong navy blue in light mode so it's readable */
[data-theme="light"] .text-gradient {
    color: #1d4ed8 !important;
}

/* Body / paragraph text */
[data-theme="light"] body {
    color: #334155;
}

/* Page header area — override hardcoded "color: white" */
[data-theme="light"] .page-header {
    color: #0f172a;
}
[data-theme="light"] .page-header h1 {
    color: #0f172a;
}
[data-theme="light"] .page-header p {
    color: #475569;
}

/* Section title paragraphs */
[data-theme="light"] .section-title p {
    color: #475569;
}

/* Nav links */
[data-theme="light"] .nav-links a {
    color: #334155;
}

/* Footer text */
[data-theme="light"] footer p,
[data-theme="light"] .footer-brand p {
    color: #475569;
}

/* Value / Feature card paragraphs */
[data-theme="light"] .value-text p,
[data-theme="light"] .feature-card p,
[data-theme="light"] .team-card p,
[data-theme="light"] .about-stat p {
    color: #475569;
}

/* Service cards on inner pages */
[data-theme="light"] .service-card p,
[data-theme="light"] .testi-card p {
    color: #475569;
}

/* Section label badges */
[data-theme="light"] .section-label {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p { line-height: 1.8; }

/* =========================================
   Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-accent { color: var(--accent); }
/* Dark mode: sky blue. Light mode overridden above to navy #1d4ed8 */
.text-gradient {
    color: #60a5fa;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.25);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--fg-rgb), 0);
    transition: var(--transition);
}

.btn:hover::after { background: rgba(var(--fg-rgb), 0.08); }

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--glass-border);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(var(--fg-rgb), 0.1);
    border-color: rgba(var(--fg-rgb), 0.25);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.btn-ghost:hover {
    background: rgba(37, 99, 235, 0.25);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--bg-rgb), 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-light);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(var(--bg-rgb), 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

.logo span { color: var(--primary-light); }
.logo i { font-size: 1.2rem; color: var(--primary-light); }

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links > li > a {
    color: rgba(var(--fg-rgb), 0.75);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links > li > a:hover {
    color: var(--white);
    background: rgba(var(--fg-rgb), 0.07);
}

.nav-cta {
    margin-left: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    background: rgba(var(--fg-rgb), 0.07);
    border: var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--white);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-btn:hover { background: rgba(var(--fg-rgb), 0.12); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--dark-2);
    border: var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 0.6rem;
    margin: 0;
    list-style: none;
    z-index: 200;
    animation: dropDown 0.2s ease;
}

/* Invisible bridge so mouse doesn't lose hover across the gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li { display: block; }

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(var(--fg-rgb), 0.7);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    color: var(--white);
    background: rgba(37, 99, 235, 0.2);
}

.dropdown-menu li a i {
    color: var(--primary-light);
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Grid lines background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Glow orbs */
.hero-orb-1, .hero-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-orb-1 {
    width: 55vw;
    height: 55vw;
    top: -20%;
    left: -15%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 65%);
}

.hero-orb-2 {
    width: 40vw;
    height: 40vw;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 65%);
    animation-delay: -4s;
    animation-direction: alternate-reverse;
}

@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(4%, 6%) scale(1.05); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.75rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(var(--fg-rgb), 0.6);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.85;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--fg-rgb), 0.08);
}

.hero-stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: 0.82rem;
    color: rgba(var(--fg-rgb), 0.45);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: block;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    border: var(--border-light);
    box-shadow: var(--shadow-card);
}

.img-inner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
    transition: var(--transition-slow);
}

.hero-image-wrap:hover img { filter: brightness(0.95) saturate(1); }

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--bg-rgb), 0.6) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating badges */
.hero-float-badge {
    position: absolute;
    background: rgba(var(--bg-rgb), 0.9);
    backdrop-filter: blur(16px);
    border: var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.hero-float-badge.badge-verified {
    bottom: -18px;
    left: -18px;
}

.hero-float-badge.badge-rating {
    top: -18px;
    right: -18px;
}

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.badge-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.badge-icon.blue  { background: rgba(37, 99, 235, 0.15); color: var(--primary-light); }

.badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.1rem;
}

.badge-text p {
    font-size: 0.75rem;
    color: rgba(var(--fg-rgb), 0.5);
    margin-bottom: 0;
}

/* =========================================
   Section Shared Styles
   ========================================= */
section { padding: 6rem 0; }

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--white);
}

.section-title p {
    color: rgba(var(--fg-rgb), 0.5);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =========================================
   Features / Why Us
   ========================================= */
.features {
    background: var(--dark-2);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.features .section-title h2 { color: var(--white); }

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: var(--border-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    background: rgba(var(--fg-rgb), 0.06);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    font-size: 1.75rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.feature-card p {
    color: rgba(var(--fg-rgb), 0.5);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =========================================
   Services Section
   ========================================= */
.services { background: var(--dark); }

.services .section-title h2 { color: var(--white); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--grad-card);
    border: var(--border-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 24px 60px rgba(var(--bg-rgb), 0.5), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.service-icon {
    font-size: 1.6rem;
    color: var(--primary-light);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(37, 99, 235, 0.25);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    color: var(--white);
}

.service-card p {
    color: rgba(var(--fg-rgb), 0.5);
    margin-bottom: 1.75rem;
    font-size: 0.93rem;
    line-height: 1.75;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.service-link:hover {
    background: rgba(37, 99, 235, 0.25);
    color: var(--white);
    transform: translateX(3px);
}

/* =========================================
   Process Section
   ========================================= */
.process {
    background: var(--dark-2);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.process .section-title h2 { color: var(--white); }

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--dark);
    border: 2px solid rgba(37, 99, 235, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.step:hover .step-num {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.5);
    transform: scale(1.08);
}

.step h3 {
    color: var(--white);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.step p {
    color: rgba(var(--fg-rgb), 0.45);
    font-size: 0.9rem;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials { background: var(--dark); }

.testimonials .section-title h2 { color: var(--white); }

.testi-card {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: var(--border-card);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.12);
    font-family: serif;
    line-height: 1;
}

.testi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 50px rgba(var(--bg-rgb), 0.5);
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.testi-stars i { color: var(--accent); font-size: 0.9rem; }

.testi-content {
    color: rgba(var(--fg-rgb), 0.65);
    margin-bottom: 2rem;
    font-size: 0.97rem;
    line-height: 1.8;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(var(--fg-rgb), 0.06);
    padding-top: 1.25rem;
}

.testi-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-author-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.testi-author-info p {
    font-size: 0.78rem;
    color: var(--primary-light);
    margin-bottom: 0;
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
    background: var(--dark-2);
    text-align: center;
    border-top: var(--border-light);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(var(--fg-rgb), 0.55);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--dark);
    color: rgba(var(--fg-rgb), 0.5);
    padding: 5rem 0 2rem;
    border-top: var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
    display: inline-flex;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(var(--fg-rgb), 0.4);
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    color: rgba(var(--fg-rgb), 0.45);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--fg-rgb), 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(var(--fg-rgb), 0.05);
    border: var(--border-light);
    color: rgba(var(--fg-rgb), 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* =========================================
   Floating WhatsApp
   ========================================= */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0%   { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
    70%  { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

.floating-wa:hover {
    transform: scale(1.12);
    color: white;
    animation: none;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

/* =========================================
   Scroll Animations
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Page Header (Inner pages)
   ========================================= */
.page-header {
    background: var(--grad-dark);
    color: white;
    padding: 130px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-light);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 100%);
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-header p {
    color: rgba(var(--fg-rgb), 0.55);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* =========================================
   Inner Page Content Sections
   ========================================= */
.content-section { padding: 5rem 0; }

.content-section.dark-bg { background: var(--dark); }
.content-section.darker-bg { background: var(--dark-2); border-top: var(--border-light); border-bottom: var(--border-light); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 1rem;
    padding: 0.9rem 1.1rem 0.9rem 1.1rem;
    background: var(--glass-bg);
    border: var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: var(--transition);
}

.service-list li:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-list li i {
    color: var(--green);
    margin-top: 2px;
    flex-shrink: 0;
}

.service-list li span, .service-list li strong {
    color: rgba(var(--fg-rgb), 0.75);
    font-size: 0.92rem;
}

.service-list li strong { color: var(--white); }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-btns, div[style*='display:flex;gap:1rem'] { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(var(--bg-rgb), 0.98);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: var(--border-light);
        gap: 0.25rem;
    }

    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }

    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .grid-3 { grid-template-columns: 1fr; }

    .process-steps {
        flex-direction: column;
        gap: 2.5rem;
    }
    .process-steps::before { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        background: rgba(var(--fg-rgb), 0.03);
        border-radius: var(--radius-sm);
        margin-top: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .dropdown.active .dropdown-menu { display: block; }

    section { padding: 4rem 0; }
    .hero-btns { flex-direction: column; align-items: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 1.9rem; }
    .cta h2 { font-size: 1.9rem; }
}


/* =========================================
   SOCIAL PROOF POPUP STYLES
   ========================================= */
.social-proof-popup {
    position: fixed;
    bottom: 30px;
    left: -400px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 320px;
    z-index: 990;
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #10b981;
}
.social-proof-popup.show {
    left: 30px;
}
.sp-icon {
    width: 40px;
    height: 40px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.sp-content {
    flex-grow: 1;
}
.sp-text {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0 0 4px 0;
}
.sp-text strong {
    color: #111827;
    font-weight: 600;
}
.sp-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sp-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.9rem;
}
.sp-close:hover {
    color: #4b5563;
}

@media (max-width: 768px) {
    .social-proof-popup {
        width: calc(100% - 40px);
        bottom: auto; /* Remove bottom positioning */
        top: -150px; /* Start above the screen */
        left: 20px; /* Centered horizontally */
        transition: top 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .social-proof-popup.show {
        top: 90px; /* Drop down below the fixed navbar */
        left: 20px;
    }
}

