/* =============================================
   PT. JARINGAN PUTRA NUSANTARA — PREMIUM CSS
   Dark Mode Glassmorphism Design System
   ============================================= */

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-base:        #050810;
    --bg-surface:     #0c1020;
    --bg-card:        rgba(255,255,255,0.04);
    --bg-card-hover:  rgba(255,255,255,0.07);
    --border:         rgba(255,255,255,0.08);
    --border-hover:   rgba(255,255,255,0.18);

    --accent-1:       #6366f1;
    --accent-2:       #a855f7;
    --accent-3:       #06b6d4;
    --accent-wa:      #25D366;

    --grad-primary:   linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grad-secondary: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    --grad-glow:      radial-gradient(ellipse at center, rgba(99,102,241,0.35) 0%, transparent 70%);

    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #4a5568;

    --font-head:      'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body:      'Inter', sans-serif;

    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      20px;
    --radius-xl:      28px;

    --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-h:          72px;
    --shadow-glow:    0 0 40px rgba(99,102,241,0.2);
    --shadow-card:    0 20px 60px rgba(0,0,0,0.4);
}

/* ── LIGHT MODE VARIABLES ─────────────────── */
body.light {
    --bg-base:        #f8faff;
    --bg-surface:     #f0f4ff;
    --bg-card:        rgba(255,255,255,0.85);
    --bg-card-hover:  rgba(255,255,255,1);
    --border:         rgba(99,102,241,0.12);
    --border-hover:   rgba(99,102,241,0.3);

    --text-primary:   #0f172a;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;

    --shadow-glow:    0 0 40px rgba(99,102,241,0.15);
    --shadow-card:    0 8px 40px rgba(99,102,241,0.08), 0 2px 8px rgba(0,0,0,0.06);
    --grad-glow:      radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
}

/* ── THEME TOGGLE BUTTON ──────────────────── */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    position: relative;
}
.theme-toggle:hover {
    background: rgba(99,102,241,0.12);
    border-color: var(--border-hover);
    color: var(--accent-1);
    transform: rotate(20deg);
}
.icon-sun, .icon-moon { position: absolute; transition: opacity 0.3s, transform 0.3s; }
/* dark mode: show moon, hide sun */
.icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
.icon-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
/* light mode: show sun, hide moon */
body.light .icon-sun  { opacity: 0; transform: scale(0.5) rotate(90deg); }
body.light .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }


html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
}

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

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-delay { transition-delay: 0.15s; }
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── NAVBAR ───────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
    background: rgba(5,8,16,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.navbar-container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.navbar-logo {
    height: 42px;
    width: auto;
    filter: brightness(1.1);
    transition: opacity var(--transition);
}
.navbar-logo:hover { opacity: 0.85; }

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--grad-primary);
    padding: 10px 22px;
    border-radius: 99px;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
.nav-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(99,102,241,0.45);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.mobile-toggle:hover { background: rgba(255,255,255,0.06); }
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── HERO ─────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 0 80px;
}

.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(99,102,241,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(168,85,247,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 90%, rgba(6,182,212,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    top: -100px; left: -100px;
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    bottom: -80px; right: -80px;
    background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
    animation-delay: 2.5s;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    animation: heroEnter 1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes heroEnter {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Eyebrow label */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 7px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.hero-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-wa);
    box-shadow: 0 0 8px rgba(37,211,102,0.8);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.hero-left h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-left p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--grad-primary);
    padding: 13px 26px;
    border-radius: 99px;
    transition: all var(--transition);
    box-shadow: 0 0 24px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(99,102,241,0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 13px 26px;
    border-radius: 99px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ── HERO RIGHT VISUAL ───────────────────── */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated rings */
.hv-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99,102,241,0.18);
    animation: ringPulse 4s ease-in-out infinite;
}
.hv-ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.hv-ring-2 { width: 72%; height: 72%; border-color: rgba(168,85,247,0.2); animation-delay: 0.6s; }
.hv-ring-3 { width: 44%; height: 44%; border-color: rgba(6,182,212,0.25); animation-delay: 1.2s; }
@keyframes ringPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

/* Center core */
.hv-core {
    position: relative;
    z-index: 2;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(168,85,247,0.2));
    border: 1px solid rgba(99,102,241,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    box-shadow: 0 0 40px rgba(99,102,241,0.25), inset 0 0 20px rgba(99,102,241,0.1);
    backdrop-filter: blur(12px);
}

/* Floating info cards */
.hv-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: floatCard 3s ease-in-out infinite;
}
.hv-card-1 { top: 10%;  right: -10%; animation-delay: 0s; }
.hv-card-2 { bottom: 18%; left: -12%; animation-delay: 1s; }
.hv-card-3 { top: 58%; right: -8%; animation-delay: 2s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hv-card-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 8px currentColor;
    flex-shrink: 0;
}
.hv-card-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.hv-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--accent-1), transparent);
    animation: scrollLine 2s ease-in-out infinite;
    margin: 0 auto;
}
@keyframes scrollLine {
    0%,100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECTION COMMONS ──────────────────────── */
.section {
    padding: 40px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── ABOUT ────────────────────────────────── */
.about {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left .section-title { margin-bottom: 24px; }

.about-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-1);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 7px 14px;
    border-radius: 99px;
    transition: background var(--transition), border-color var(--transition);
}
.pill svg { flex-shrink: 0; }
.pill:hover {
    background: rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.4);
}

.about-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--transition);
}
.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.about-card:hover::before { opacity: 1; }

.about-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin-bottom: 16px;
}
.about-card h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.about-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── SERVICES ─────────────────────────────── */
.services {
    position: relative;
    overflow: hidden;
    background: var(--bg-base);
}
.services-bg-orb {
    position: absolute;
    width: 700px; height: 700px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition-slow), box-shadow var(--transition);
    animation: fadeSlideUp 0.6s ease both;
    animation-delay: var(--delay, 0ms);
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.service-card-glow {
    position: absolute;
    inset: 0;
    background: var(--grad-glow);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.service-card:hover .service-card-glow { opacity: 0.4; }

/* Featured card */
.service-card-featured {
    background: linear-gradient(145deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 0 0 1px rgba(99,102,241,0.15), 0 20px 60px rgba(99,102,241,0.1);
}
.service-card-featured:hover {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 0 1px rgba(99,102,241,0.3), var(--shadow-glow), var(--shadow-card);
}

.service-featured-badge {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--grad-primary);
    padding: 5px 12px;
    border-radius: 99px;
}

.service-icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
}
.service-card:hover .service-icon-wrap {
    background: rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.4);
}

.service-card-content { flex: 1; }

.service-tag-top {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-2);
    margin-bottom: 10px;
}

.service-card-content h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service-specs span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 99px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-top: auto;
    transition: gap var(--transition), color var(--transition);
}
.service-cta:hover { gap: 12px; color: var(--accent-2); }

/* ── CONTACT ──────────────────────────────── */
.contact {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}
.contact::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 22px;
    transition: background var(--transition), border-color var(--transition);
}
.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.contact-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}
.contact-card-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.contact-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-social-block { margin-top: 8px; }
.social-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.social-links { display: flex; gap: 12px; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
}
.social-link-wa:hover { border-color: rgba(37,211,102,0.4); color: var(--accent-wa); }

/* Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    backdrop-filter: blur(12px);
}
.form-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.form-input, .form-textarea, .form-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    width: 100%;
    appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--accent-1);
    background: rgba(99,102,241,0.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-surface); color: var(--text-primary); }

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: #fff;
    background: var(--grad-primary);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 30px rgba(99,102,241,0.3);
    margin-top: 4px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(99,102,241,0.5);
    opacity: 0.93;
}

/* ── FOOTER ───────────────────────────────── */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}
.footer-top-line {
    height: 1px;
    background: var(--grad-primary);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px 48px;
    padding-bottom: 40px;
}

.footer-logo { height: 38px; width: auto; margin-bottom: 16px; }
.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer social buttons */
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 99px;
    transition: all var(--transition);
}
.footer-social-btn:hover {
    color: var(--accent-1);
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.08);
}
.footer-social-wa:hover {
    color: var(--accent-wa);
    border-color: rgba(37,211,102,0.3);
    background: rgba(37,211,102,0.06);
}

.footer-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-1); }

/* Contact list with icons */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-1);
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── FLOATING WHATSAPP ─────────────────────── */
.floating-wa {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent-wa);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: waPop 0.5s 1s cubic-bezier(0.34,1.56,0.64,1) both;
}
.floating-wa:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 36px rgba(37,211,102,0.6);
}
.floating-wa svg { width: 28px; height: 28px; fill: #fff; }
@keyframes waPop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ── MOBILE MENU ──────────────────────────── */
.mobile-toggle { display: none; }

/* ── RESPONSIVE ───────────────────────────── */

/* Tablet landscape & below */
@media (max-width: 1024px) {
    .hero-layout { gap: 40px; }
    .hero-visual { width: 300px; height: 300px; }
    .hv-card { padding: 8px 12px; }
    .hv-card-val { font-size: 0.78rem; }
    .hv-card-desc { font-size: 0.68rem; }
    .hv-core { width: 76px; height: 76px; }
    .hv-core svg { width: 36px; height: 36px; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-right { order: -1; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1/-1; }
}

/* Tablet portrait & mobile */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    /* -- Navbar mobile -- */
    .mobile-toggle { display: flex; }
    .navbar-container { gap: 16px; }
    .navbar-logo { height: 36px; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        bottom: 0;
        background: rgba(5,8,16,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px 20px;
        gap: 4px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
        pointer-events: none;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link {
        padding: 14px 18px;
        width: 100%;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        transition: background var(--transition), color var(--transition);
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(99,102,241,0.1);
    }
    .nav-cta-btn { display: none; }

    /* Light mode mobile menu */
    body.light .nav-menu {
        background: rgba(248,250,255,0.97);
        border-bottom-color: rgba(99,102,241,0.12);
    }
    body.light .nav-menu .nav-link {
        color: var(--text-secondary);
    }
    body.light .nav-menu .nav-link:hover,
    body.light .nav-menu .nav-link.active {
        background: rgba(99,102,241,0.08);
        color: var(--text-primary);
    }

    /* -- Hero mobile -- */
    .hero {
        padding-top: calc(var(--nav-h) + 28px);
        padding-bottom: 24px;
        min-height: auto;
    }
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .hero-left p {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    .hero-left h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 14px;
    }
    .hero-buttons {
        justify-content: center;
        margin-bottom: 28px;
    }
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    .stat-divider { height: 30px; }

    /* Hero visual scaled down for mobile */
    .hero-right { justify-content: center; }
    .hero-visual { width: 240px; height: 240px; }
    .hv-core { width: 64px; height: 64px; }
    .hv-core svg { width: 30px; height: 30px; }
    .hv-card {
        padding: 7px 10px;
        font-size: 0.72rem;
    }
    .hv-card-1 { top: 5%; right: -5%; }
    .hv-card-2 { bottom: 12%; left: -8%; }
    .hv-card-3 { top: 55%; right: -5%; }
    .hv-card-val { font-size: 0.72rem; }
    .hv-card-desc { font-size: 0.62rem; }

    .hero-scroll-hint { display: none; }

    /* -- Sections mobile -- */
    .section { padding: 24px 0; }
    .section-header { margin-bottom: 16px; }
    .section-label { margin-bottom: 8px; font-size: 0.7rem; }
    .section-title { margin-bottom: 8px; }
    .section-subtitle { font-size: 0.9rem; line-height: 1.6; }

    /* -- About mobile -- */
    .about-grid { gap: 24px; }
    .about-left .section-title { margin-bottom: 14px; }
    .about-text { font-size: 0.88rem; line-height: 1.7; margin-bottom: 10px; }
    .about-cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .about-card { padding: 18px 14px; }
    .about-card-icon { width: 38px; height: 38px; margin-bottom: 10px; }
    .about-card h4 { font-size: 0.85rem; margin-bottom: 4px; }
    .about-card p { font-size: 0.75rem; }

    /* -- Services mobile -- */
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 24px 20px 20px; }

    /* -- Contact mobile -- */
    .contact-grid { gap: 24px; }
    .contact-info { gap: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px 20px; }
    .contact-card { padding: 16px; gap: 12px; }
    .contact-card-icon { width: 38px; height: 38px; }
    .contact-card-content h4 { font-size: 0.82rem; }
    .contact-card-content p { font-size: 0.8rem; }
    .contact-social-block { margin-top: 4px; }
    .social-label { margin-bottom: 8px; }
    .form-title { font-size: 1.2rem; margin-bottom: 4px; }
    .form-subtitle { margin-bottom: 20px; font-size: 0.82rem; }
    .form-group { margin-bottom: 12px; }

    /* -- Footer mobile -- */
    .footer { padding: 24px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 20px;
    }
    .footer-about { grid-column: auto; }
    .footer-logo { height: 32px; margin-bottom: 10px; }
    .footer-desc { font-size: 0.8rem; line-height: 1.65; margin-bottom: 4px; }
    .footer-title { margin-bottom: 10px; font-size: 0.75rem; }
    .footer-links { gap: 8px; }
    .footer-links a { font-size: 0.82rem; }
    .footer-contact-list li { font-size: 0.8rem; }
    .footer-bottom { padding: 14px 0; font-size: 0.73rem; }

    /* WhatsApp button */
    .floating-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .floating-wa svg { width: 26px; height: 26px; }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-layout { gap: 24px; }
    .hero-left h1 { font-size: 1.9rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-ghost {
        justify-content: center;
        padding: 13px 22px;
        font-size: 0.9rem;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
    }
    .stat-divider { display: none; }
    .stat-num { font-size: 1.3rem; }
    .stat-label { font-size: 0.7rem; }

    /* Hide hero visual on very small screens */
    .hero-right { display: none; }

    .about-cards-grid { grid-template-columns: 1fr; gap: 10px; }
    .about-card { padding: 18px 14px; }

    .section-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

    .social-links { flex-direction: column; }
    .social-link { justify-content: center; }

    .service-card { padding: 22px 16px 16px; }
    .service-card-content h3 { font-size: 1rem; }
    .service-card-content p { font-size: 0.8rem; }

    .contact-form-wrapper { padding: 22px 16px; }

    .footer-grid { gap: 14px; }
    .floating-wa { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .floating-wa svg { width: 24px; height: 24px; }
}

/* Extra small phones (< 360px) */
@media (max-width: 360px) {
    .container { width: 94%; }
    .hero-left h1 { font-size: 1.7rem; }
    .hero-left p { font-size: 0.85rem; }
    .hero-stats { gap: 10px; }
    .stat-item { text-align: center; }
    .btn-primary, .btn-ghost { padding: 12px 18px; font-size: 0.85rem; }
    .navbar-logo { height: 30px; }
    .about-card { padding: 16px 12px; }
    .service-card { padding: 20px 14px 14px; }
    .contact-form-wrapper { padding: 20px 14px; }
    .footer-grid { gap: 12px; }
}

/* ── LIGHT MODE OVERRIDES ─────────────────── */
body.light {
    background-color: var(--bg-base);
    color: var(--text-primary);
}

/* Transition for smooth mode switch */
body { transition: background-color 0.4s ease, color 0.4s ease; }

/* Hero in light mode */
body.light .hero {
    background: linear-gradient(160deg, #eef2ff 0%, #f5f3ff 50%, #f0f9ff 100%);
}
body.light .hero-bg-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(99,102,241,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(168,85,247,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 90%, rgba(6,182,212,0.05) 0%, transparent 50%);
}
body.light .hero-orb-1 { background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%); }
body.light .hero-orb-2 { background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); }
body.light .hero-orb-3 { background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%); }

/* Navbar in light mode */
body.light .navbar {
    background: rgba(248,250,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(99,102,241,0.08);
}
body.light .navbar.scrolled {
    background: rgba(248,250,255,0.92);
    border-bottom-color: rgba(99,102,241,0.14);
    box-shadow: 0 4px 24px rgba(99,102,241,0.06);
}
body.light .nav-link { color: var(--text-secondary); }
body.light .nav-link:hover, body.light .nav-link.active {
    color: var(--text-primary);
    background: rgba(99,102,241,0.08);
}
body.light .mobile-toggle span { background: var(--text-primary); }
body.light .theme-toggle {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.2);
    color: var(--accent-1);
}

/* Hero badge in light mode */
body.light .hero-badge {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.15);
    color: #4f46e5;
}

/* Scroll line in light mode */
body.light .scroll-line {
    background: linear-gradient(to bottom, transparent, var(--accent-1), transparent);
    opacity: 0.4;
}

/* About section in light mode */
body.light .about { background: var(--bg-surface); }
body.light .about::before {
    background: radial-gradient(circle, rgba(99,102,241,0.04) 0%, transparent 70%);
}
body.light .about-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.06), 0 1px 4px rgba(0,0,0,0.04);
}
body.light .about-card:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

/* Services in light mode */
body.light .services { background: var(--bg-base); }
body.light .service-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.06), 0 1px 4px rgba(0,0,0,0.04);
}
body.light .service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-card);
}
body.light .service-card-featured {
    background: linear-gradient(145deg, rgba(99,102,241,0.06), rgba(168,85,247,0.04));
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 4px 20px rgba(99,102,241,0.1);
}
body.light .service-specs span {
    background: rgba(99,102,241,0.06);
    border-color: rgba(99,102,241,0.12);
}

/* Contact in light mode */
body.light .contact { background: var(--bg-surface); }
body.light .contact-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
}
body.light .contact-form-wrapper {
    background: #fff;
    box-shadow: 0 8px 40px rgba(99,102,241,0.08);
}
body.light .form-input, body.light .form-textarea, body.light .form-select {
    background: #f8faff;
    border-color: rgba(99,102,241,0.15);
    color: var(--text-primary);
}
body.light .form-input::placeholder, body.light .form-textarea::placeholder {
    color: var(--text-muted);
}
body.light .form-input:focus, body.light .form-textarea:focus, body.light .form-select:focus {
    border-color: var(--accent-1);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
body.light .form-select option { background: #fff; color: var(--text-primary); }

/* Footer in light mode */
body.light .footer {
    background: var(--bg-base);
    border-top-color: rgba(99,102,241,0.12);
}
body.light .footer-legal-box {
    background: rgba(99,102,241,0.04);
    border-color: rgba(99,102,241,0.12);
}
body.light .footer-links a { color: var(--text-secondary); }
body.light .footer-links a:hover { color: var(--accent-1); }
body.light .footer-bottom { border-top-color: rgba(99,102,241,0.1); }

/* Social links light mode */
body.light .social-link {
    background: #fff;
    border-color: rgba(99,102,241,0.15);
}
body.light .social-link:hover {
    background: rgba(99,102,241,0.06);
}
