:root {
    --primary: #DC2626;
    --primary-dark: #991B1B;
    --primary-light: #EF4444;
    --accent: #DC2626;
    --accent-hover: #B91C1C;
    --accent-glow: rgba(220, 38, 38, 0.45);
    --success: #16A34A;
    --danger: #DC2626;
    --warning: #EA580C;
    --dark: #1C1917;
    --gray-900: #292524;
    --gray-700: #57534E;
    --gray-500: #78716C;
    --gray-300: #D6D3D1;
    --gray-100: #FEF2F2;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #7F1D1D 0%, #DC2626 50%, #EF4444 100%);
    --gradient-accent: linear-gradient(135deg, #B91C1C 0%, #EF4444 50%, #DC2626 100%);
    --gradient-hero: linear-gradient(165deg, #FEF2F2 0%, #FEE2E2 45%, #FFF5F5 85%, #FFFFFF 100%);
    --bg-dark: #FEF2F2;
    --shadow-sm: 0 2px 8px rgba(220, 38, 38, 0.08);
    --shadow-md: 0 8px 28px rgba(220, 38, 38, 0.12);
    --shadow-lg: 0 16px 44px rgba(220, 38, 38, 0.15);
    --shadow-xl: 0 24px 60px rgba(220, 38, 38, 0.18);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===== ADMIN TOPBAR ===== */
.admin-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(90deg, #991B1B, #DC2626);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
}

.admin-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-topbar span { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.admin-topbar-actions { display: flex; gap: 8px; }

.admin-topbar-actions a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition-fast);
}

.admin-topbar-actions a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-1px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.has-admin-bar { top: 40px; }

body:has(.admin-topbar) .hero { padding-top: 120px; }
body:has(.admin-topbar) .page-header { padding-top: 180px; }

.navbar.hero-nav .logo-name { color: var(--dark); }
.navbar.hero-nav .logo-tagline { color: var(--primary); }
.navbar.hero-nav .nav-menu a { color: var(--gray-700); }
.navbar.hero-nav .nav-menu a:hover,
.navbar.hero-nav .nav-menu a.active {
    color: var(--primary);
    background: rgba(220, 38, 38, 0.1);
}
.navbar.hero-nav .nav-toggle span { background: var(--dark); }

.navbar.scrolled,
.navbar.hero-nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.logo-tagline { font-size: 11px; color: var(--gray-500); font-weight: 500; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background: rgba(220, 38, 38, 0.08);
}

.btn-nav-cta {
    background: var(--gradient-accent) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45) !important;
    background: var(--gradient-accent) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ===== ANIMATED BACKGROUND ===== */
.anim-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background: var(--gradient-hero);
}

.anim-bg__aurora {
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(239, 68, 68, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 80% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 70% 60% at 60% 80%, rgba(185, 28, 28, 0.15) 0%, transparent 55%);
    animation: auroraShift 18s ease-in-out infinite alternate;
}

/* Soft gradient orbs — gaya profesional (Stripe/Linear) */
.anim-bg__blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.anim-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}

.anim-blob--1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, transparent 70%);
    top: -8%;
    right: -5%;
    animation: blobFloat1 22s ease-in-out infinite;
}

.anim-blob--2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: -8%;
    animation: blobFloat2 26s ease-in-out infinite;
}

.anim-blob--3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(248, 113, 113, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 35%;
    animation: blobFloat3 20s ease-in-out infinite;
}

/* Gelombang halus — menggantikan pola kotak */
.anim-bg__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    pointer-events: none;
}

.anim-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.anim-wave--1 {
    animation: waveSlide 30s linear infinite;
    opacity: 0.9;
}

.anim-wave--2 {
    animation: waveSlide 40s linear infinite reverse;
    opacity: 0.7;
    bottom: -5%;
}

.anim-bg__road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    pointer-events: none;
}

.anim-bg__road-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(220, 38, 38, 0.05) 60%, rgba(239, 68, 68, 0.08) 100%);
}

.anim-bg__vehicles {
    position: absolute;
    inset: 0;
}

.anim-vehicle {
    position: absolute;
    color: rgba(220, 38, 38, 0.08);
    height: auto;
}

.anim-vehicle--1 {
    width: 120px;
    top: 22%;
    animation: driveRight 28s linear infinite;
}

.anim-vehicle--2 {
    width: 160px;
    top: 48%;
    animation: driveLeft 35s linear infinite;
    animation-delay: -8s;
    color: rgba(239, 68, 68, 0.1);
}

.anim-vehicle--3 {
    width: 100px;
    top: 68%;
    animation: driveRight 22s linear infinite;
    animation-delay: -14s;
}

/* Film grain halus — tekstur premium tanpa pola kotak */
.anim-bg__grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.anim-bg__shine {
    position: absolute;
    top: -100%;
    left: -50%;
    width: 60%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
    animation: shineSweep 12s ease-in-out infinite;
}

.anim-bg--compact .anim-bg__road { height: 25%; }
.anim-bg--compact .anim-blob--1 { width: 280px; height: 280px; }
.anim-bg--compact .anim-blob--3 { display: none; }
.anim-bg--compact .anim-vehicle--1 { top: 15%; width: 90px; }
.anim-bg--compact .anim-vehicle--2 { top: 40%; width: 110px; }
.anim-bg--compact .anim-vehicle--3 { display: none; }

@keyframes auroraShift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(3%, -2%) rotate(2deg) scale(1.05); }
    66% { transform: translate(-2%, 3%) rotate(-1deg) scale(1.02); }
    100% { transform: translate(2%, 1%) rotate(1deg) scale(1.04); }
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 25px) scale(1.08); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -20px) scale(1.06); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 15px) scale(1.1); }
}

@keyframes waveSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes driveRight {
    0% { transform: translateX(-15vw) translateY(0); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(115vw) translateY(-8px); opacity: 0; }
}

@keyframes driveLeft {
    0% { transform: translateX(115vw) scaleX(-1); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(-15vw) scaleX(-1); opacity: 0; }
}

@keyframes shineSweep {
    0%, 100% { transform: translateX(-30%) rotate(25deg); opacity: 0; }
    45% { opacity: 1; }
    55% { transform: translateX(120%) rotate(25deg); opacity: 0; }
}

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid rgba(220, 38, 38, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.hero-badge i { font-size: 16px; }

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 32px;
    max-width: 520px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 36px rgba(220, 38, 38, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.count-up {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 2.5ch;
}

.count-up--lg {
    font-size: 40px;
}

.hero-stats--centered {
    justify-content: center;
    gap: 60px;
}

.stat-item--centered {
    text-align: center;
}

.hero-visual {
    position: relative;
}

/* Hero Showcase with real photos */
.hero-showcase { position: relative; }

.hero-showcase-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: float 7s ease-in-out infinite;
    isolation: isolate;
}

.hero-main-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-showcase-main:hover .hero-main-img {
    transform: scale(1.05);
}

.hero-showcase-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-md);
}

.hero-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.hero-mini-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.hero-mini-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-lg), 0 0 28px rgba(220, 38, 38, 0.35);
}

.hero-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-mini-card:hover img { transform: scale(1.1); }

.hero-mini-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--gray-500);
    font-size: 16px;
}

/* ===== FEATURES ===== */
.features { background: var(--gray-100); position: relative; overflow: hidden; }

.features--animated .section-bg-motion {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.06) 0%, transparent 40%);
    animation: sectionGlow 14s ease-in-out infinite alternate;
}

@keyframes sectionGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(2%, -2%); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.18), rgba(185, 28, 28, 0.12));
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.14));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== FLEET ===== */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.fleet-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 32px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.25);
}

.elf-promo-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
    object-fit: cover;
}

.fleet-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    isolation: isolate;
}

/* Premium glow ring on vehicle hover */
.vehicle-glow-ring {
    position: absolute;
    inset: -40%;
    z-index: 1;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--primary-light) 50deg,
        var(--primary) 100deg,
        transparent 150deg,
        var(--primary-light) 210deg,
        var(--primary) 260deg,
        transparent 310deg
    );
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    animation: vehicleGlowSpin 3.5s linear infinite;
}

.fleet-card-image .fleet-img,
.fleet-card-image picture,
.hero-main-img {
    position: relative;
    z-index: 2;
}

.fleet-card-overlay {
    z-index: 3;
}

.fleet-card:hover .vehicle-glow-ring,
.hero-showcase-main:hover .vehicle-glow-ring,
.hero-mini-card:hover .vehicle-glow-ring {
    opacity: 0.92;
}

.hero-mini-card .vehicle-glow-ring { display: none; }

@keyframes vehicleGlowSpin {
    to { transform: rotate(360deg); }
}

.fleet-card-image .fleet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fleet-card:hover .fleet-card-image .fleet-img {
    transform: scale(1.1);
}

.fleet-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(28, 25, 23, 0.55) 100%);
    pointer-events: none;
    transition: var(--transition);
}

.fleet-card:hover .fleet-card-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(28, 25, 23, 0.7) 100%);
}

.fleet-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.fleet-badge.bus { background: var(--primary); color: white; }
.fleet-badge.minibus { background: var(--success); color: white; }

.fleet-card-body { padding: 24px; }

.fleet-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.fleet-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.fleet-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-500);
}

.fleet-meta i { color: var(--primary); }

.fleet-card-body p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fleet-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.fleet-price .amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.fleet-price .period {
    font-size: 13px;
    color: var(--gray-500);
}

.fleet-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

/* ===== PRICING ===== */
.pricing { background: var(--gray-100); }

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--gray-700);
}

.pricing-tab.active, .pricing-tab:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.pricing-table th {
    background: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.pricing-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.pricing-table tr:hover td {
    background: rgba(220, 38, 38, 0.03);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--primary);
}

/* ===== CTA ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 100%, rgba(255,255,255,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: ctaGlow 16s ease-in-out infinite alternate;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: float 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.03); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TESTIMONIALS (marquee) ===== */
.testimonials-marquee {
    overflow: hidden;
    margin: 0 -24px;
    padding: 8px 0 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: testimonialScroll 70s linear infinite;
    will-change: transform;
}

.testimonials-marquee:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 min(360px, 82vw);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(220, 38, 38, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.22);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== PROCESS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== FORM ===== */
.form-section { background: var(--gray-100); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-info {
    padding: 20px 0;
}

.form-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.form-info-list {
    margin: 24px 0;
}

.form-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
}

.form-info-list i,
.form-info-list .ico {
    color: var(--success);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.section-label .ico {
    width: 1em;
    height: 1em;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--gray-700);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #FEF2F2 0%, #FEE2E2 100%);
    color: var(--gray-700);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.footer-brand p {
    font-size: 14px;
    margin: 16px 0 24px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    font-size: 14px;
    color: var(--gray-700);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p { margin-bottom: 4px; }

/* ===== ALERT ===== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.alert.show { display: block; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ===== ADMIN ===== */
.admin-body {
    background: var(--gray-100);
    min-height: 100vh;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: white;
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar .logo-name { color: white; }
.admin-sidebar .logo-tagline { color: rgba(255,255,255,0.5); }

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.08);
    color: var(--accent);
}

.admin-nav a i { font-size: 20px; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 32px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.stat-card .stat-icon.blue { background: rgba(220,38,38,0.1); color: var(--primary); }
.stat-card .stat-icon.green { background: rgba(22,163,74,0.1); color: var(--success); }
.stat-card .stat-icon.orange { background: rgba(234,88,12,0.1); color: var(--warning); }
.stat-card .stat-icon.red { background: rgba(220,38,38,0.12); color: var(--primary); }

.stat-card h3 { font-size: 28px; font-weight: 800; color: var(--dark); }
.stat-card p { font-size: 13px; color: var(--gray-500); }

.admin-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 { font-size: 16px; font-weight: 700; color: var(--dark); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--gray-100);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: #FEF3C7; color: #92400E; }
.status-confirmed { background: #D1FAE5; color: #065F46; }
.status-completed { background: #DBEAFE; color: #1E40AF; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
}

.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}

.login-card h1 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--dark);
}

.login-card .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 32px;
}

.btn-block { width: 100%; justify-content: center; }

.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }

/* ===== AREA COVERAGE ===== */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.area-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.area-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }
.faq-question i,
.faq-question .ico { transition: var(--transition); font-size: 20px; color: var(--gray-500); }
.faq-item.active .faq-question i,
.faq-item.active .faq-question .ico { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        align-items: stretch;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { padding: 14px 16px; }
    section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .fleet-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .stat-item h3 { font-size: 24px; }
}

/* ===== REVEAL (ringan, tanpa library) ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-scale { transform: scale(0.94); }
.reveal.revealed.reveal-left,
.reveal.revealed.reveal-right,
.reveal.revealed.reveal-scale { transform: none; }

.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 16px;
    animation: urgencyBlink 2.5s ease-in-out infinite;
}
@keyframes urgencyBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.seo-keywords {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    padding: 24px 0;
    line-height: 2;
}
.seo-keywords a { color: var(--primary); font-weight: 600; }
.seo-keywords a:hover { color: var(--accent); }

/* ===== ADMIN DASHBOARD ANIMATIONS ===== */
.dash-greeting {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    animation: dashFadeUp 0.7s ease both;
}

.dash-title-shimmer {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    animation: dashFadeUp 0.7s ease 0.1s both;
}

.dash-title-shimmer span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: dashShimmer 4s linear infinite;
}

.dash-date {
    color: var(--gray-500);
    font-size: 14px;
    animation: dashFadeUp 0.7s ease 0.2s both;
}

.dash-stat-card {
    animation: dashFadeUp 0.65s ease calc(0.15s + var(--i, 0) * 0.08s) both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dash-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.dash-section-title {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-table-card {
    animation: dashFadeUp 0.7s ease 0.55s both;
}

.admin-table tbody tr {
    animation: dashRowIn 0.5s ease calc(0.6s + var(--row, 0) * 0.05s) both;
}

@keyframes dashFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes dashShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes dashRowIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
}

.admin-sidebar .admin-nav a:hover,
.admin-sidebar .admin-nav a.active {
    color: #FCA5A5;
}

.admin-topbar-actions a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-showcase-main, .hero-badge, .urgency-banner { animation: none; }
    .anim-bg__aurora, .anim-blob, .anim-wave,
    .anim-vehicle, .anim-bg__shine { animation: none; }
    .testimonials-track { animation: none; }
    .vehicle-glow-ring { animation: none; }
    .dash-title-shimmer span { animation: none; }
    .dash-stat-card, .dash-table-card, .admin-table tbody tr,
    .dash-greeting, .dash-title-shimmer, .dash-date { animation: none; }
}
