/* ================= ROOT ================= */
:root {
    --primary: #1e3a8a;
    --secondary: #2563eb;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    color: #1f2933;
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
}

.brand img {
    height: 40px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.btn-login {
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
}

/* ================= HERO ================= */
.hero-split {
    padding: 90px 0 70px;
    background: linear-gradient(120deg, #1e3a8a, #2563eb);
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 26px;
    background: var(--accent);
    color: #000;
    border-radius: 10px;
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
}

/* ================= MARQUEE ================= */
.marquee-section {
    background: #020617;
    overflow: hidden;
}

.marquee span {
    display: inline-block;
    padding: 14px 0;
    color: #e5e7eb;
    white-space: nowrap;
    animation: marquee 18s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ================= SECTION TITLE ================= */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

/* ================= FEATURES ================= */
.features {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.card {
    padding: 26px;
    border-radius: 18px;
    color: #fff;
    min-height: 180px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform .3s, box-shadow .3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.card-blue { background: linear-gradient(135deg, #2563eb, #1e40af); }
.card-red { background: linear-gradient(135deg, #dc2626, #991b1b); }
.card-purple { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.card-green { background: linear-gradient(135deg, #16a34a, #14532d); }
.card-orange { background: linear-gradient(135deg, #f59e0b, #b45309); }

/* ================= VISI MISI ================= */
.visi {
    padding: 80px 0;
    background: #f1f5f9;
}

.visi-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.visi-card {
    background: #fff;
    padding: 26px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: .3s;
}

.visi-card:hover {
    transform: translateY(-8px);
}

/* ================= ALUR ================= */
.alur {
    padding: 90px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.step {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
}

.step::before {
    content: attr(data-step);
    position: absolute;
    top: -18px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: .8rem;
}

/* ================= FOOTER ================= */
.footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 24px;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 992px){
    .grid { grid-template-columns: repeat(2,1fr); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .visi-grid, .timeline { grid-template-columns: repeat(2,1fr); }
}

@media(max-width: 576px){
    .grid, .visi-grid, .timeline { grid-template-columns: 1fr; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 90px 0;
}

.hero-text {
    max-width: 700px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    margin-top: 30px;
    background: #ffd200;
    color: #000;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

/* FEATURES */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    padding: 30px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    opacity: 0.95;
}

/* CARD COLORS */
.card-blue {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.card-red {
    background: linear-gradient(135deg, #cb2d3e, #ef473a);
}

.card-purple {
    background: linear-gradient(135deg, #7f00ff, #e100ff);
}

.card-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.card-orange {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

/* ABOUT */
.about {
    background: #fff;
    padding: 70px 0;
    text-align: center;
}

.about p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background: #0b1c2d;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image img {
        margin: 40px auto 0;
        max-width: 320px;
    }
}
/* GRID 5 CARD SATU BARIS (DESKTOP) */
.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 992px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SECTION UMUM */
.section-light {
    background: #ffffff;
    padding: 80px 0;
}

.section-dark {
    background: linear-gradient(135deg, #0b1c2d, #1e3c72);
    padding: 80px 0;
    color: #fff;
}

.section-title.light {
    color: #fff;
}

/* KESISWAAN */
.container.narrow {
    max-width: 850px;
}

.lead {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.berseri {
    list-style: none;
    padding-left: 0;
}

.berseri li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

/* ALUR */
.alur {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.step {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.card {
    display: block;
    padding: 22px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Efek Hover Premium */
.card::after {
    content: "→";
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

.card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Warna */
.card-blue    { background: linear-gradient(135deg, #2563eb, #1e40af); }
.card-red     { background: linear-gradient(135deg, #dc2626, #991b1b); }
.card-purple  { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.card-green   { background: linear-gradient(135deg, #16a34a, #166534); }
.card-orange  { background: linear-gradient(135deg, #f97316, #c2410c); }
.card-indigo {
    background: linear-gradient(135deg, #4f46e5, #312e81);
}

.grid-7 {
    grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 1200px) {
    .grid-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-7 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* ================= MOBILE FIX ================= */

/* PAKSA SEMUA GRID JADI 1 KOLOM DI HP */
@media (max-width: 576px) {

    .grid,
    .grid-5,
    .visi-grid,
    .timeline,
    .berseri-row {
        grid-template-columns: 1fr !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-image img {
        max-width: 280px;
        margin: 30px auto 0;
        display: block;
    }

    .card,
    .visi-card,
    .berseri-card,
    .step {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    body {
        overflow-x: hidden;
    }
}

/* TABLET */
@media (max-width: 992px) {
    .grid,
    .grid-5,
    .visi-grid,
    .berseri-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= TIMELINE ================= */
.timeline-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.timeline-box {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-box::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 280px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), rgba(37,99,235,.2));
}

.timeline-item {
    display: grid;
    grid-template-columns: 240px 80px 1fr;
    gap: 24px;
    margin-bottom: 70px;
}

/* LEFT */
.timeline-left {
    text-align: right;
}
.timeline-left h5 {
    font-weight: 700;
    color: var(--primary);
}
.timeline-left small {
    font-size: .85rem;
    color: #64748b;
}

/* ICON */
.timeline-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* RIGHT */
.timeline-right {
    background: #fff;
    padding: 30px 34px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    transition: .35s;
}

.timeline-right:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
}

.timeline-right p {
    font-size: .95rem;
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .timeline-box::before {
        left: 36px;
    }
    .timeline-item {
        grid-template-columns: 80px 1fr;
    }
    .timeline-left {
        grid-column: 2;
        text-align: left;
    }
}

.berseri-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 80px 0;
    color: #fff;
}

.berseri-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.berseri-card {
    background: #fff;
    color: #111827;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
    transition: .4s;
}

.berseri-card:hover {
    transform: translateY(-10px);
}

.berseri-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .berseri-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 576px) {
    .berseri-row { grid-template-columns: 1fr; }
}
