/* ==========================
   Root Colors
========================== */
:root {
    --sky: #0ea5e9;
    --sky2: #38bdf8;
    --sky-dark: #0369a1;
    --gold: #d4a842;
    --gold2: #f0c060;
    --green: #10b981;
    --green2: #34d399;
    --green-light: #ecfdf5;
    --bg: #f0f7ff;
    --bg2: #e8f4fd;
    --card-bg: #f7fbff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #bae6fd;
    --white: #ffffff;
}

/* ==========================
   General
========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

h2, h3, h4, h5 { font-weight: 700; color: var(--text); }

/* ==========================
   Navbar
========================== */
.navbar {
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(14,165,233,0.08);
    border-bottom: 2px solid rgba(14,165,233,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-logo {
    width: 60px; height: 60px;
    object-fit: contain;
    background: #000;
    border-radius: 50%;
    transition: 0.3s;
}
.navbar-logo:hover { transform: scale(1.1); }

.navbar-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0c4a6e !important;
    -webkit-text-fill-color: #0c4a6e !important;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
}

.navbar-nav { gap: 2px; }

.nav-link {
    color: #334155 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-link:hover { color: #0369a1 !important; background: rgba(14,165,233,0.06); }

.btn-nav {
    background: linear-gradient(135deg, #0369a1, #0ea5e9) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(14,165,233,0.25) !important;
    transition: all 0.3s !important;
}
.btn-nav:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; }

/* ==========================
   Hero
========================== */
.hero {
    min-height: 92vh;
    background: url('../images/hero1.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,15,35,0.72) 0%, rgba(0,15,35,0.50) 60%, rgba(0,15,35,0.25) 100%);
    border-radius: 0 0 32px 32px;
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 2;
    text-align: left;
    padding: 80px 48px 60px;
    max-width: 680px;
}

.hero-live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14,165,233,0.18);
    border: 1px solid rgba(14,165,233,0.4);
    color: var(--sky2);
    font-size: 11px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 18px; border-radius: 30px; margin-bottom: 20px;
}

.hero-badge-wrap { margin-bottom: 4px; }

.hero-title {
    font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 800; color: #fff;
    line-height: 1.2; margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold2), var(--sky2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#quote {
    font-size: 17px; color: rgba(255,255,255,0.85);
    margin-top: 10px; margin-bottom: 0;
    transition: opacity 0.4s ease;
    min-height: 26px; font-style: italic;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-btn {
    padding: 13px 30px; border-radius: 30px; border: none;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    color: #fff; font-weight: 700; font-size: 15px;
    box-shadow: 0 6px 20px rgba(14,165,233,0.4);
    cursor: pointer; transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(14,165,233,0.55); }

.hero-btn-outline {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px); box-shadow: none;
}
.hero-btn-outline:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.65); }

.hero-stats-row {
    display: flex; align-items: center; gap: 24px;
    flex-wrap: wrap; margin-top: 40px;
    padding: 16px 24px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px; backdrop-filter: blur(8px);
    width: fit-content;
}

.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hs-num { font-size: 24px; font-weight: 800; color: var(--gold2); line-height: 1; }
.hs-lbl { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

/* ==========================
   Section Headings
========================== */
.section-heading {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800; color: var(--text);
    margin-bottom: 10px; text-align: center;
}
.section-heading::after {
    content: ""; display: block;
    width: 56px; height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--sky), var(--gold), var(--green));
    border-radius: 10px;
}
.section-subtitle { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 36px; }

/* ==========================
   Course Cards
========================== */
.course-card {
    border: 1.5px solid var(--border);
    border-radius: 18px; overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s;
    box-shadow: 0 2px 14px rgba(14,165,233,0.06);
    height: 100%;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(14,165,233,0.14); border-color: var(--sky); }

.course-img-wrap { position: relative; overflow: hidden; }
.card-img-top { height: 200px; object-fit: cover; transition: transform 0.5s; width: 100%; display: block; }
.course-card:hover .card-img-top { transform: scale(1.06); }

.ai-img-fallback {
    display: none;
    background: linear-gradient(135deg, #042C53, #185FA5);
    height: 200px; align-items: center;
    justify-content: center; flex-direction: column; gap: 8px;
}

.card-badge {
    position: absolute; top: 12px;
    font-size: 10px; font-weight: 700;
    padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px;
}
.badge-new { left: 12px; background: linear-gradient(135deg,#ef4444,#f97316); color:#fff; }
.badge-price { right: 12px; background: linear-gradient(135deg, var(--sky-dark), var(--sky)); color:#fff; }
.badge-free { left: 12px; background: var(--green-light); color: #059669; border:1px solid #a7f3d0; }

.ai-card { border-color: rgba(14,165,233,0.25); }
.ai-card:hover { border-color: var(--sky); }

.card-body { padding: 20px; background: var(--card-bg); }
.card-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-text { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }

.card-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cpill { font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 500; }
.cpill-gold { background: #fef9e7; color: #b45309; border: 1px solid #fde68a; }
.cpill-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.cpill-green { background: var(--green-light); color: #059669; border: 1px solid #a7f3d0; }

/* ==========================
   Buttons
========================== */
.btn-primary {
    border: none; border-radius: 30px;
    padding: 10px 24px; font-weight: 600; font-size: 14px;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    color: #fff; box-shadow: 0 4px 14px rgba(14,165,233,0.25);
    transition: all 0.3s; cursor: pointer; width: 100%;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14,165,233,0.4); color: #fff; }

.btn-success {
    border: none; border-radius: 30px; padding: 10px 24px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--green), var(--green2));
    color: #fff; transition: all 0.3s;
}
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,185,129,0.4); color: #fff; }

/* ==========================
   Why Section
========================== */
.why-section { background: linear-gradient(135deg, #e0f2fe, #ecfdf5, #fffbeb); }

.stat-card {
    background: #fff; border-radius: 16px;
    padding: 24px 16px; text-align: center;
    box-shadow: 0 4px 16px rgba(14,165,233,0.07);
    border-bottom: 3px solid transparent; transition: 0.3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(14,165,233,0.12); }
.stat-num { font-size: 38px; font-weight: 800; line-height: 1; }
.stat-lbl { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 6px; }

.why-card {
    background: #fff; border-radius: 16px;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(14,165,233,0.06);
    transition: all 0.3s; text-align: center;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: 0 12px 32px rgba(14,165,233,0.12); }
.why-icon { font-size: 42px; margin-bottom: 14px; display: block; }
.why-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ==========================
   Subscribe Section
========================== */
.subscribe-section {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #065f46 100%);
    position: relative; overflow: hidden;
}
.subscribe-section::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(14,165,233,0.2), transparent 70%);
    pointer-events: none;
}
.subscribe-section::after {
    content: ''; position: absolute; bottom: -60px; left: -60px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(16,185,129,0.2), transparent 70%);
    pointer-events: none;
}
.subscribe-section .section-heading { color: #fff; }
.subscribe-section .section-heading::after { background: linear-gradient(90deg, var(--sky2), var(--gold2), var(--green2)); }
.subscribe-section .section-subtitle { color: rgba(255,255,255,0.6); }
.subscribe-desc { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 28px; line-height: 1.8; position: relative; z-index: 1; }
.subscribe-section .btn-danger { background: #dc2626; border: none; box-shadow: 0 4px 16px rgba(220,38,38,0.3); transition: 0.3s; position: relative; z-index: 1; }
.subscribe-section .btn-danger:hover { background: #b91c1c; transform: translateY(-2px); }
.subscribe-section .btn-outline-danger { color: #fca5a5; border-color: rgba(252,165,165,0.4); position: relative; z-index: 1; }
.subscribe-section .btn-outline-danger:hover { background: rgba(220,38,38,0.15); color: #fff; border-color: #fca5a5; }

/* ==========================
   WA Sticky
========================== */
.wa-sticky-btn {
    position: fixed; bottom: 28px; right: 28px; z-index: 9999;
    width: 56px; height: 56px; background: #25D366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    text-decoration: none; animation: wapulse 2.5s infinite;
}
@keyframes wapulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================
   Footer
========================== */
.footer-section {
    background: #0f172a;
    color: #cbd5e1;
}

.footer-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 1px solid #1e3a5f;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #fbbf24; }

.footer-brand-name { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.footer-brand-name span { color: #fbbf24; }

.footer-tagline { font-size: 12.5px; color: #94a3b8; line-height: 1.7; margin: 8px 0 14px; }

.footer-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.fpill { font-size: 10px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.fpill-blue  { background: #0c2a4a; color: #93c5fd; }
.fpill-green { background: #0a2e1a; color: #6ee7b7; }
.fpill-gold  { background: #3a2208; color: #fcd34d; }

.footer-contact-row {
    display: flex; align-items: flex-start;
    gap: 9px; margin-bottom: 10px;
}
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-row span { font-size: 12.5px; color: #94a3b8; word-break: break-word; }

.footer-wa-support {
    display: flex; align-items: center; gap: 8px;
    background: rgba(37,211,102,0.08);
    border: 1px solid rgba(37,211,102,0.25);
    border-radius: 8px; padding: 8px 11px; margin-top: 12px;
}
.footer-wa-support svg { flex-shrink: 0; }
.footer-wa-support span { font-size: 12px; color: #6ee7b7; font-weight: 500; }

.footer-social-row { display: flex; gap: 8px; margin-bottom: 18px; }
.fsoc-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: #1e293b; border: 1px solid #2d4a6a;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; text-decoration: none;
}
.fsoc-btn:hover { background: #243654; border-color: #3b6090; transform: translateY(-2px); }

.footer-ch-label {
    font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
    text-transform: uppercase; color: #64748b; margin-bottom: 10px;
}

.footer-ch-card {
    display: flex; align-items: center; gap: 11px;
    background: #1e293b; border: 1px solid #2d4a6a;
    border-radius: 10px; padding: 10px 13px;
    text-decoration: none; margin-bottom: 9px; transition: all 0.22s;
}
.footer-ch-card:hover { background: #243654; border-color: #3b6090; transform: translateX(4px); }

.fch-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fch-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fch-plat { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.7px; }
.fch-name { font-size: 13px; color: #e2e8f0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fch-badge { font-size: 10px; padding: 3px 9px; border-radius: 20px; font-weight: 700; flex-shrink: 0; }
.fch-wa { background: #064e1e; color: #6ee7b7; }
.fch-tg { background: #0c2444; color: #93c5fd; }

.footer-section hr { border-color: #1e3a5f; margin: 0; }
.footer-section .text-center { font-size: 12.5px; color: #64748b; padding: 16px 0 0; }

/* ==========================
   Responsive
========================== */
@media (max-width: 992px) {
    .hero-content { text-align: center; padding: 60px 24px 40px; max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-stats-row { justify-content: center; margin: 32px auto 0; }
    .navbar-title { font-size: 16px; max-width: 52vw; }
}

@media (max-width: 768px) {
    .hero { min-height: 80vh; border-radius: 0 0 20px 20px; }
    .hero-title { font-size: 26px; }
    .hero-content { padding: 60px 18px 36px; }
    #quote { font-size: 14px; }
    .hero-btn { font-size: 13px; padding: 11px 22px; }
    .section-heading { font-size: 22px; }
    .footer-section { text-align: center; }
    .footer-social-row { justify-content: center; }
    .footer-pills { justify-content: center; }
    .footer-contact-row { justify-content: center; }
    .footer-wa-support { justify-content: center; }
    .hero-stats-row { gap: 16px; padding: 14px 18px; }
}

@media (max-width: 480px) {
    .navbar-logo { width: 42px; height: 42px; }
    .navbar-title { font-size: 13px; max-width: 46vw; }
    .hero-title { font-size: 22px; }
    .hs-num { font-size: 20px; }
    .hero-stat-divider { display: none; }
}