/* ===== IT Helpdesk Landing Page — Soft & Elegant ===== */
:root {
    --lp-primary: #6366f1;
    --lp-primary-dark: #4f46e5;
    --lp-primary-light: #818cf8;
    --lp-primary-bg: #eef2ff;
    --lp-lavender: #f5f3ff;
    --lp-text: #1e293b;
    --lp-text-body: #475569;
    --lp-text-muted: #94a3b8;
    --lp-bg: #ffffff;
    --lp-bg-alt: #fafafa;
    --lp-border: #e2e8f0;
    --lp-dark: #1e293b;
    --lp-radius: 16px;
    --lp-radius-sm: 8px;
    --lp-shadow: 0 1px 3px rgba(0,0,0,0.04);
    --lp-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --lp-shadow-lg: 0 8px 25px rgba(0,0,0,0.08);
    --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lp-font: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--lp-font);
    color: var(--lp-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--lp-bg);
    overflow-x: hidden;
}

a { color: var(--lp-primary); text-decoration: none; transition: var(--lp-transition); }
a:hover { color: var(--lp-primary-dark); }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--lp-transition);
    height: 72px;
}
.landing-nav.scrolled {
    background: rgba(255,255,255,0.97);
    border-bottom-color: var(--lp-border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; font-weight: 700; color: var(--lp-text);
}
.nav-logo i { font-size: 1.5rem; color: var(--lp-primary); }
.nav-logo:hover { color: var(--lp-text); }

.nav-links {
    display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-link {
    padding: 8px 16px; font-size: 0.925rem; font-weight: 500;
    color: var(--lp-text-body); border-radius: 8px; transition: var(--lp-transition);
}
.nav-link:hover, .nav-link.active { color: var(--lp-primary); background: var(--lp-lavender); }
.nav-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; background: var(--lp-primary); color: #fff !important;
    border-radius: 24px; font-size: 0.9rem; font-weight: 600;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25);
    transition: var(--lp-transition); margin-left: 8px;
}
.nav-btn:hover {
    background: var(--lp-primary-dark); color: #fff;
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--lp-text); border-radius: 2px; transition: var(--lp-transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(180deg, #ffffff 0%, var(--lp-lavender) 50%, var(--lp-primary-bg) 100%);
    position: relative; overflow: hidden;
}
.hero-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title {
    font-size: 3.25rem; font-weight: 800; line-height: 1.15;
    color: var(--lp-text); letter-spacing: -1px; margin-bottom: 20px;
}
.hero-highlight {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.125rem; line-height: 1.8; color: var(--lp-text-body);
    margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    color: #fff; border-radius: 28px; font-size: 1rem; font-weight: 600;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3); transition: var(--lp-transition);
}
.btn-hero-primary:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,0.4); color: #fff;
}
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; color: var(--lp-primary); font-weight: 600;
    font-size: 1rem; border-radius: 28px; border: 1.5px solid var(--lp-border);
    background: rgba(255,255,255,0.7); transition: var(--lp-transition);
}
.btn-hero-secondary:hover {
    border-color: var(--lp-primary); background: var(--lp-lavender); transform: translateY(-1px);
}

/* Hero Illustration — Floating Cards */
.hero-visual { position: relative; min-height: 380px; }
.hero-illustration { position: relative; width: 100%; height: 380px; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.8); border-radius: 14px;
    padding: 14px 18px; box-shadow: var(--lp-shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
}
.float-card-1 { top: 20px; left: 10%; animation-delay: 0s; }
.float-card-2 { top: 140px; right: 5%; animation-delay: 1.2s; }
.float-card-3 { bottom: 40px; left: 15%; animation-delay: 2.4s; }

.float-card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.fc-indigo { background: #eef2ff; color: var(--lp-primary); }
.fc-emerald { background: #ecfdf5; color: #10b981; }
.fc-amber { background: #fffbeb; color: #f59e0b; }

.float-card-label { display: block; font-size: 0.72rem; color: var(--lp-text-muted); }
.float-card-value { display: block; font-size: 0.85rem; font-weight: 600; color: var(--lp-text); }
.float-card-badge {
    font-size: 0.65rem; font-weight: 600; padding: 3px 8px;
    border-radius: 20px; white-space: nowrap;
}
.badge-open { background: #fef3c7; color: #92400e; }
.badge-resolved { background: #d1fae5; color: #065f46; }
.badge-progress { background: #dbeafe; color: #1e40af; }

.hero-circle {
    position: absolute; border-radius: 50%; opacity: 0.15;
    background: var(--lp-primary);
}
.hero-circle-1 { width: 200px; height: 200px; top: -30px; right: -20px; }
.hero-circle-2 { width: 120px; height: 120px; bottom: 20px; right: 40%; }
.hero-circle-3 { width: 80px; height: 80px; top: 40%; left: -10px; opacity: 0.1; }

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

/* ===== SECTIONS (shared) ===== */
.section { padding: 100px 24px; }
.section-white { background: var(--lp-bg); }
.section-alt { background: var(--lp-bg-alt); }
.section-container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: 2.25rem; font-weight: 700; color: var(--lp-text);
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-accent {
    width: 60px; height: 3px; background: var(--lp-primary);
    border-radius: 3px; margin: 0 auto 20px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--lp-text-body);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ===== TENTANG ===== */
.about-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto;
}
.about-card {
    background: #f8fafc; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); padding: 36px 28px;
    text-align: center; transition: var(--lp-transition);
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }
.about-card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--lp-primary-bg); color: var(--lp-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 16px;
}
.about-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--lp-text); margin-bottom: 10px; }
.about-card p { font-size: 0.9rem; color: var(--lp-text-body); line-height: 1.7; }

/* ===== FEATURES ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    background: var(--lp-bg); border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); padding: 32px 24px;
    position: relative; overflow: hidden; transition: var(--lp-transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }
.feature-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.accent-indigo { background: #c7d2fe; }
.accent-emerald { background: #a7f3d0; }
.accent-amber { background: #fde68a; }
.accent-blue { background: #bfdbfe; }
.accent-rose { background: #fecdd3; }
.accent-purple { background: #ddd6fe; }

.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-bottom: 16px;
}
.icon-indigo { background: #eef2ff; color: #6366f1; }
.icon-emerald { background: #ecfdf5; color: #10b981; }
.icon-amber { background: #fffbeb; color: #f59e0b; }
.icon-blue { background: #eff6ff; color: #3b82f6; }
.icon-rose { background: #fff1f2; color: #f43f5e; }
.icon-purple { background: #f5f3ff; color: #8b5cf6; }

.feature-card h3 { font-size: 1.05rem; font-weight: 650; color: var(--lp-text); margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--lp-text-body); line-height: 1.65; }

/* ===== STATS ===== */
.section-stats {
    background: var(--lp-dark);
    padding: 80px 24px;
}
.stats-grid-landing {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
    max-width: 1000px; margin: 0 auto; text-align: center;
}
.stat-item { position: relative; }
.stat-icon-landing {
    font-size: 1.5rem; color: var(--lp-primary-light); margin-bottom: 12px;
}
.stat-icon-warning { color: #fbbf24; }
.stat-icon-info { color: #60a5fa; }
.stat-icon-success { color: #34d399; }
.stat-icon-primary { color: var(--lp-primary-light); }
.stat-number {
    font-size: 2.75rem; font-weight: 800; color: #ffffff;
    display: inline; line-height: 1;
}
.stat-suffix {
    font-size: 2rem; font-weight: 700; color: var(--lp-primary-light);
    display: inline; margin-left: 2px;
}
.stat-label-landing {
    font-size: 0.875rem; color: var(--lp-text-muted); margin-top: 8px;
}

/* ===== HOW IT WORKS ===== */
.steps-container {
    display: flex; justify-content: center; gap: 0; position: relative;
    max-width: 900px; margin: 0 auto;
}
.steps-line {
    position: absolute; top: 20px; left: 15%; right: 15%;
    height: 2px; border-top: 2px dashed var(--lp-border);
}
.step-item {
    flex: 1; text-align: center; position: relative; padding: 0 16px;
}
.step-number {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--lp-primary-bg); color: var(--lp-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 700;
    margin: 0 auto 16px; position: relative; z-index: 2;
    border: 2px solid var(--lp-bg);
}
.step-icon { font-size: 1.4rem; color: var(--lp-primary); margin-bottom: 10px; }
.step-title { font-size: 1rem; font-weight: 650; color: var(--lp-text); margin-bottom: 6px; }
.step-desc { font-size: 0.82rem; color: var(--lp-text-body); line-height: 1.6; }

/* ===== CTA ===== */
.section-cta {
    background: linear-gradient(135deg, var(--lp-lavender) 0%, var(--lp-primary-bg) 100%);
    padding: 80px 24px; text-align: center;
}
.cta-title {
    font-size: 2rem; font-weight: 700; color: var(--lp-text);
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.cta-subtitle { font-size: 1.05rem; color: var(--lp-text-body); margin-bottom: 28px; }
.btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px; background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    color: #fff; border-radius: 28px; font-size: 1.05rem; font-weight: 600;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3); transition: var(--lp-transition);
}
.btn-cta:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,0.4); color: #fff;
}

/* ===== FOOTER ===== */
.landing-footer {
    background: url('../assets/img/footer.png')
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid #334155;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.footer-logo i { font-size: 1.4rem; color: var(--lp-primary-light); }
.footer-desc { font-size: 0.875rem; line-height: 1.7; color: #94a3b8; max-width: 320px; }

.footer-links-group h4 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-links-group ul { list-style: none; }
.footer-links-group li {
    font-size: 0.85rem; color: #94a3b8; margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.footer-links-group a { color: #94a3b8; }
.footer-links-group a:hover { color: var(--lp-primary-light); }

.footer-bottom {
    text-align: center; padding-top: 24px;
    font-size: 0.8rem; color: #64748b;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .hero-container { gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid-landing { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: #fff; flex-direction: column; padding: 80px 24px 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1); transition: right 0.3s ease;
        align-items: stretch; gap: 4px;
    }
    .nav-links.active { right: 0; }
    .nav-link { padding: 12px 16px; }
    .nav-btn { margin-left: 0; margin-top: 8px; justify-content: center; }

    .hero { padding: 120px 24px 60px; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 2.25rem; }
    .hero-visual { min-height: 280px; }
    .hero-illustration { height: 280px; }
    .float-card-3 { display: none; }

    .about-cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid-landing { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2rem; }

    .steps-container { flex-direction: column; gap: 32px; }
    .steps-line { display: none; }
    .step-item { display: flex; flex-direction: column; align-items: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 60px 24px; }
    .section-title { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: 1rem; }
    .stats-grid-landing { grid-template-columns: repeat(2, 1fr); }
    .cta-title { font-size: 1.5rem; }
}
