/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --primary: #818cf8;
    --primary-light: #a5b4fc;
    --primary-dark: #6366f1;
    --accent: #22d3ee;
    --accent-light: #67e8f9;
    --green: #34d399;
    --orange: #fbbf24;
    --border: rgba(129,140,248,0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --ease: 0.35s cubic-bezier(0.4,0,0.2,1);
    --max-w: 1200px;
}

/* Dark Theme (default) */
[data-theme="dark"] {
    --bg: #0b1120;
    --bg-alt: rgba(129,140,248,0.02);
    --card: #131c31;
    --text: #c8d2e0;
    --text-heading: #f1f5f9;
    --text-muted: #94a3b8;
    --gray-100: #1e293b;
    --nav-bg: rgba(11,17,32,0.88);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.25);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.35);
    --hamburger-bg: #c8d2e0;
    --overlay-bg: rgba(0,0,0,0.6);
    --card-hover-bg: rgba(99,102,241,0.05);
    --port-tag-bg: rgba(19,28,49,0.95);
    --port-tag-color: #f1f5f9;
    --testi-quote: #cbd5e1;
    --cta-bg: linear-gradient(135deg, #1e293b, #0f172a);
    --mobile-link: #cbd5e1;
    --mobile-menu-bg: #131c31;
    --glass-bg: rgba(19,28,49,0.6);
}

/* Light Theme */
[data-theme="light"] {
    --bg: #f8fafc;
    --bg-alt: rgba(99,102,241,0.03);
    --card: #ffffff;
    --text: #475569;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --gray-100: #f1f5f9;
    --nav-bg: rgba(248,250,252,0.88);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --hamburger-bg: #334155;
    --overlay-bg: rgba(0,0,0,0.3);
    --card-hover-bg: rgba(99,102,241,0.04);
    --port-tag-bg: rgba(255,255,255,0.95);
    --port-tag-color: #1e293b;
    --testi-quote: #475569;
    --cta-bg: linear-gradient(135deg, #312e81, #1e1b4b);
    --mobile-link: #334155;
    --mobile-menu-bg: #ffffff;
    --border: rgba(99,102,241,0.15);
    --glass-bg: rgba(255,255,255,0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(var(--max-w), calc(100% - 40px));
    margin: 0 auto;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1.5px solid var(--border);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: 1.1rem;
    transition: var(--ease);
    flex-shrink: 0;
    color: var(--text);
}
.theme-toggle:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.08);
    transform: rotate(30deg);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--ease);
}
.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

/* Dark mode: text putih */
[data-theme="dark"] .brand {
    color: #ffffff;
}

/* Light mode: text hitam */
[data-theme="light"] .brand {
    color: #000000;
}
.brand-logo {
    width: 36px; height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-links a {
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--ease);
}
.nav-links a:hover { color: var(--primary); background: rgba(99,102,241,0.05); }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(99,102,241,0.25);
}
.nav-cta:hover { box-shadow: 0 6px 25px rgba(99,102,241,0.35); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none; border: none;
    z-index: 1001;
}
.hamburger span {
    display: block; width: 24px; height: 2.5px;
    background: var(--hamburger-bg);
    border-radius: 4px;
    transition: var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: var(--overlay-bg);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: min(320px, 85vw); height: 100vh;
    z-index: 1000;
    background: var(--mobile-menu-bg);
    padding: 90px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s ease;
    display: flex; flex-direction: column; gap: 6px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    display: block; padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600; font-size: 1rem;
    color: var(--mobile-link);
    transition: var(--ease);
}
.mobile-menu a:hover { background: rgba(99,102,241,0.06); color: var(--primary); }
.mobile-menu .mob-cta {
    margin-top: 12px; text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border-radius: var(--radius-md);
}
.mobile-menu .mob-theme-toggle {
    margin-top: auto;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: var(--gray-100);
    transition: var(--ease);
}
.mobile-menu .mob-theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 30px;
    border-radius: 999px; font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer;
    transition: var(--ease);
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 35px rgba(99,102,241,0.4); }
.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1.5px solid var(--border);
    transition: var(--ease);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
}
[data-theme="light"] .btn-ghost {
    background: rgba(255,255,255,0.9);
    color: #334155;
    border: 1.5px solid rgba(99,102,241,0.2);
}
[data-theme="light"] .btn-ghost:hover { background: #fff; color: var(--primary); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(99,102,241,0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(6,182,212,0.12) 0%, transparent 55%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,0.07);
    border: 1px solid rgba(99,102,241,0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 22px;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}
.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
    animation: fadeUp 0.6s ease 0.1s forwards;
    opacity: 0;
    color: var(--text-heading);
}
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 30px;
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: fadeUp 0.6s ease 0.3s forwards;
    opacity: 0;
}
.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.4s forwards;
    opacity: 0;
}
.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Right - Visual */
.hero-visual {
    position: relative;
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}
.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.hero-card:hover {
    box-shadow: 0 30px 80px rgba(99,102,241,0.15);
    border-color: var(--primary);
    transform: translateY(-4px);
}
.hero-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.hc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.hc-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    object-fit: cover;
}
.hc-title { font-weight: 700; font-size: 1rem; color: var(--text-heading); }
.hc-sub { font-size: 0.82rem; color: var(--text-muted); }
.hc-tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(16,185,129,0.1);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}
.hc-services { display: grid; gap: 12px; }
.hc-service {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    transition: var(--ease);
}
.hc-service:hover { background: var(--card-hover-bg); }
.hc-service-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hc-service-icon--1 { background: rgba(99,102,241,0.1); }
.hc-service-icon--2 { background: rgba(6,182,212,0.1); }
.hc-service-icon--3 { background: rgba(245,158,11,0.1); }
.hc-service-name { font-weight: 600; font-size: 0.92rem; color: var(--text-heading); }
.hc-service-desc { font-size: 0.8rem; color: var(--text-muted); }

.float-badge {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-heading);
    animation: float 5s ease-in-out infinite;
    transition: background 0.4s ease;
}
.float-badge--1 { top: -20px; right: -15px; }
.float-badge--2 { bottom: -15px; left: -20px; animation-delay: -2.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge, .hero h1, .hero p,
.hero-actions, .hero-stats, .hero-visual {
    transform: translateY(30px);
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-alt {
    background: var(--bg-alt);
}
.section-label {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,0.07);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}
.section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--text-heading);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.svc-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99,102,241,0.15);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after { opacity: 1; }

.svc-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    display: grid; place-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.svc-icon--1 { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05)); }
.svc-icon--2 { background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(6,182,212,0.05)); }
.svc-icon--3 { background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05)); }

.svc-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-heading); }
.svc-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.svc-features { list-style: none; display: grid; gap: 8px; }
.svc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.svc-features li .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.port-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.port-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.port-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(99,102,241,0.2);
}
.port-card:hover::before { opacity: 1; }
.port-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.port-card:hover .port-img {
    transform: scale(1.1);
}
.port-image-bg {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-size: 2.5rem;
    transition: var(--ease);
}
.port-card:hover .port-image-bg { transform: scale(1.05); }
.port-image-bg--1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.port-image-bg--2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.port-image-bg--3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.port-image-bg--4 { background: linear-gradient(135deg, #10b981, #059669); }
.port-image-bg--5 { background: linear-gradient(135deg, #ec4899, #be185d); }
.port-image-bg--6 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* Image overlay gradient for better readability */
.port-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 50%);
    pointer-events: none;
}

.port-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--port-tag-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--port-tag-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}
.port-body {
    padding: 24px;
    position: relative;
    z-index: 2;
}
.port-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}
.port-body p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.port-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.port-tech span {
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.03));
    border: 1px solid rgba(99,102,241,0.12);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.why-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(99,102,241,0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(99,102,241,0.12);
}
.why-card:hover::before { opacity: 1; }
.why-num {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 1.1rem;
    flex-shrink: 0;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text-heading); }
.why-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ===== PROCESS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.2;
}
.step { text-align: center; position: relative; }
.step-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--border);
    display: grid; place-items: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    transition: var(--ease);
}
.step:hover .step-circle {
    border-color: var(--primary);
    background: rgba(99,102,241,0.05);
    transform: scale(1.08);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-heading); }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* ===== TESTIMONIALS ===== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.testi-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--testi-quote);
    margin-bottom: 18px;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 0.85rem;
}
.testi-avatar--1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.testi-avatar--2 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.testi-avatar--3 { background: linear-gradient(135deg, #10b981, #34d399); }
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--text-heading); }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-wrapper { padding: 90px 0; }
.cta-card {
    background: var(--cta-bg);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(99,102,241,0.15), transparent 55%),
        radial-gradient(circle at 85% 50%, rgba(6,182,212,0.10), transparent 55%);
    pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.cta-text p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
}
.cta-btns {
    display: flex; gap: 12px;
    flex-shrink: 0;
    position: relative; z-index: 1;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-heading);
}
.footer-brand .fb-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    object-fit: cover;
}
.site-footer p { color: var(--text-muted); font-size: 0.88rem; }
.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--ease);
}
.footer-links a:hover { color: var(--primary); }

/* ===== BACK TO TOP ===== */
.btt {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: grid; place-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 100;
    transition: var(--ease);
}
.btt.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.btt:hover { background: var(--primary); color: #fff; transform: translateY(-4px); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 100px 0 60px; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process-steps::before { display: none; }
    .cta-card { flex-direction: column; text-align: center; padding: 44px 32px; }
    .cta-text p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 20px; }
    .section { padding: 60px 0; }
    .cta-wrapper { padding: 60px 0; }
    .cta-card { padding: 36px 24px; }
    .cta-btns { flex-direction: column; width: 100%; }
    .cta-btns .btn { width: 100%; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero-card { padding: 22px 18px; }
    .float-badge { display: none; }
    .btn { padding: 12px 22px; font-size: 0.88rem; }
    .port-image { height: 200px; }
}