/* ============================================================
   GPS Catitan Kehadiran — Laman Web Produk
   IDSIGNAGE TECH
   Reka bentuk moden, responsif, dark/light
   ============================================================ */

:root {
    --bg: #0f172a;
    --bg-soft: #1e293b;
    --bg-card: #1e293b;
    --bg-alt: #16233b;
    --border: #334155;
    --border-soft: rgba(148, 163, 184, 0.15);
    --text: #e2e8f0;
    --text-strong: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --primary: #3b82f6;
    --primary-soft: rgba(59, 130, 246, 0.15);
    --primary-glow: rgba(59, 130, 246, 0.35);
    --green: #10b981;
    --purple: #8b5cf6;
    --amber: #f59e0b;
    --red: #ef4444;
    --teal: #14b8a6;
    --cyan: #06b6d4;
    --slate: #64748b;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --radius-sm: 12px;
    --transition: 0.25s ease;
    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Light Theme --- */
.theme-light {
    --bg: #f1f5f9;
    --bg-soft: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #eef2f7;
    --border: #dbe2ea;
    --border-soft: rgba(51, 65, 85, 0.12);
    --text: #1e293b;
    --text-strong: #0f172a;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --primary-soft: rgba(59, 130, 246, 0.08);
    --primary-glow: rgba(59, 130, 246, 0.18);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
}

/* ============ RESET ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background var(--transition), color var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.muted { color: var(--muted); }
.text-center { text-align: center; }
.small { font-size: 0.85rem; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-family: var(--font);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition),
                background var(--transition), color var(--transition);
    white-space: nowrap;
}
.btn i { font-size: 0.95em; }

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-ghost {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-soft);
}
.btn-ghost:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    transition: background var(--transition), border-color var(--transition);
}
.theme-light .navbar {
    background: rgba(241, 245, 249, 0.82);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow-sm);
}
.theme-light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.brand-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-text small {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover {
    color: var(--text-strong);
    background: var(--primary-soft);
}

/* Pautan "Menu Utama" hanya dalam menu mudah alih */
.mobile-only {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: color var(--transition), background var(--transition),
                border-color var(--transition);
}
.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 150px 0 90px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
}
.theme-light .hero {
    background: linear-gradient(160deg, #eef2f7 0%, #dbe4f0 55%, #eef2f7 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.glow-1 {
    width: 480px; height: 480px;
    background: rgba(59, 130, 246, 0.35);
    top: -120px; left: 50%;
    transform: translateX(-50%);
}
.glow-2 {
    width: 360px; height: 360px;
    background: rgba(139, 92, 246, 0.28);
    bottom: -80px; right: -80px;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-soft);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 28px;
}
.hero-badge i { color: var(--amber); }

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 28px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 20px 60px var(--primary-glow);
    margin-bottom: 28px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    max-width: 640px;
    font-size: 1.18rem;
    color: var(--muted);
    margin-bottom: 34px;
}
.hero-subtitle strong {
    color: var(--text-strong);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 38px;
}

.hero-platforms {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-platforms span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
}
.hero-platforms i {
    color: var(--primary);
}

/* ============ STATS ============ */
.stats {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-soft);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 34px 0;
}
.stat {
    text-align: center;
    padding: 8px 16px;
    border-right: 1px solid var(--border-soft);
}
.stat:last-child { border-right: none; }
.stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-strong);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 4px;
}

/* ============ SECTIONS ============ */
.section {
    padding: 88px 0;
}
.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 54px;
}
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform var(--transition), border-color var(--transition),
                box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #fff;
}
.feature-icon.blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-icon.green  { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon.amber  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon.red    { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-icon.teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.feature-icon.cyan   { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.feature-icon.slate  { background: linear-gradient(135deg, #64748b, #475569); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ============ STEPS ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 22px 26px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}
.step:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}
.step-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
}
.step-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
}
.step p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============ ABOUT ============ */
.about-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    align-items: center;
}
.about-brand {
    text-align: center;
}
.about-logo {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: #fff;
    padding: 14px;
    box-shadow: var(--shadow-md);
}
.about-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-strong);
}
.about-desc p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 18px;
}
.about-desc p strong {
    color: var(--text-strong);
}
.about-desc blockquote {
    border-left: 3px solid var(--primary);
    padding: 8px 18px;
    margin: 0 0 22px;
    font-style: italic;
    color: var(--text);
    background: var(--primary-soft);
    border-radius: 0 10px 10px 0;
}

/* ============ DOWNLOAD ============ */
.download-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    max-width: 820px;
    margin: 0 auto;
}
.download-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
    overflow: hidden;
}
.download-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.download-card.portable { border-top: 4px solid var(--green); }
.download-card.setup { border-top: 4px solid var(--primary); }

.download-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.download-card.portable .badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}
.download-card.setup .badge {
    background: var(--primary-soft);
    color: var(--primary);
}

.dl-icon {
    font-size: 2.6rem;
    margin-bottom: 14px;
}
.download-card.portable .dl-icon { color: var(--green); }
.download-card.setup .dl-icon { color: var(--primary); }

.download-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 4px;
}
.download-card > .muted { margin-bottom: 18px; }

.download-card ul {
    text-align: left;
    margin-bottom: 28px;
}
.download-card ul li {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 6px 0;
}
.download-card ul li i {
    color: var(--green);
    margin-right: 8px;
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), border-color var(--transition);
}
a.contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}
.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    color: var(--text-strong);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.contact-item span {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
    .hero-logo { animation: none; }
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    padding: 48px 0 32px;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}
.footer-brand strong {
    color: var(--text-strong);
    font-size: 0.95rem;
}
.footer-brand p {
    color: var(--muted);
    font-size: 0.8rem;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-copy {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border-soft);
    padding-top: 22px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .about-card { grid-template-columns: 1fr; text-align: center; }
    .about-desc blockquote { text-align: left; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 4px;
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 14px; }
    .nav-menu .mobile-only { display: block; }
    .nav-actions { display: flex; }
    .nav-actions .btn { display: none; }

    .nav-toggle { display: flex; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 16px; }
    .stat:nth-child(2n) { border-bottom: 1px solid var(--border-soft); }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

    .steps { grid-template-columns: 1fr; }
    .download-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; align-items: center; }
    .footer-links { justify-content: center; }

    .hero { padding: 130px 0 70px; }
    .hero-logo { width: 120px; height: 120px; }
    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
}