/* ═══════════════════════════════════════════════════════
   VGCA & VNPT iLIS Manager – Landing Page Styles
   Premium Dark Theme with Glassmorphism
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep: #060814;
  --bg-card: rgba(16, 22, 40, 0.65);
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-green: #22c55e;
  --accent-amber: #f59e0b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border-glass: rgba(255,255,255,0.06);
  --glow-purple: rgba(139,92,246,0.3);
  --glow-cyan: rgba(6,182,212,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Animated Background ──────────────────────────── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139,92,246,0.12), transparent),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6,182,212,0.08), transparent),
              radial-gradient(ellipse 50% 40% at 10% 90%, rgba(251,191,36,0.05), transparent),
              var(--bg-deep);
}

.orb {
  position: fixed; border-radius: 50%; filter: blur(80px);
  pointer-events: none; z-index: 0;
}
.orb-1 { width: 500px; height: 500px; top: -10%; right: -5%; background: rgba(139,92,246,0.15); animation: orbFloat 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; bottom: 10%; left: -5%; background: rgba(6,182,212,0.1); animation: orbFloat 25s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; top: 50%; left: 40%; background: rgba(251,191,36,0.06); animation: orbFloat 18s ease-in-out infinite 5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ── Grid pattern overlay ─────────────────────────── */
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Container ────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Navigation ───────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(6,8,20,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}
.navbar.scrolled { padding: 10px 0; background: rgba(6,8,20,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-brand span { font-size: 18px; font-weight: 700; background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  padding: 10px 24px; border-radius: 12px; font-weight: 600; font-size: 14px;
  background: linear-gradient(135deg, var(--accent-purple), #4f46e5, var(--accent-cyan));
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px var(--glow-purple);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow-purple); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); color: #c4b5fd;
  margin-bottom: 20px; animation: fadeInUp 0.8s ease-out;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1;
  margin-bottom: 24px; animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero h1 .gradient-text { background: linear-gradient(135deg, var(--accent-purple) 0%, #818cf8 30%, var(--accent-cyan) 70%, var(--accent-green) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc {
  font-size: 18px; color: var(--text-secondary); max-width: 520px;
  margin-bottom: 40px; line-height: 1.7; animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease-out 0.3s both; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 14px; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #6d28d9, #4f46e5, #0e7490);
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 30px var(--glow-purple), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px var(--glow-purple); }
.btn-primary svg { width: 20px; height: 20px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 14px; font-size: 16px; font-weight: 600;
  background: var(--bg-card); color: var(--text-secondary);
  text-decoration: none; border: 1px solid var(--border-glass); cursor: pointer;
  backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.15); color: var(--text-primary); transform: translateY(-2px); }

.hero-visual {
  position: relative; animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-visual img {
  width: 100%; border-radius: 20px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px var(--glow-purple);
}
.hero-visual::before {
  content: ''; position: absolute; inset: -2px; border-radius: 22px; z-index: -1;
  background: linear-gradient(135deg, var(--accent-purple), transparent, var(--accent-cyan));
  opacity: 0.3;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; animation: fadeInUp 0.8s ease-out 0.5s both;
}
.stat-item .stat-value { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── Section Shared ───────────────────────────────── */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.15); color: #c4b5fd;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Features ─────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  padding: 32px; border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-cyan), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
}
.feature-icon.purple { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.15); }
.feature-icon.cyan { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.15); }
.feature-icon.green { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.15); }
.feature-icon.amber { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.15); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── Software Section ─────────────────────────────── */
.sw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sw-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; border-radius: 18px;
  background: var(--bg-card); border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.sw-card:hover { border-color: rgba(139,92,246,0.2); transform: translateY(-3px); }
.sw-icon {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.sw-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sw-card p { font-size: 13px; color: var(--text-muted); }
.sw-badge {
  margin-left: auto; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
  background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); color: #c4b5fd;
}

/* ── Download CTA ─────────────────────────────────── */
.download-section {
  text-align: center; padding: 120px 0;
  position: relative; overflow: hidden;
}
.download-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,92,246,0.08), transparent);
}
.download-card {
  max-width: 700px; margin: 0 auto; padding: 56px 48px; border-radius: 28px;
  background: var(--bg-card); border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px); position: relative; overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan), var(--accent-green));
}
.download-icon {
  width: 80px; height: 80px; border-radius: 24px; margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
  border: 1px solid rgba(139,92,246,0.2);
}
.download-icon img { width: 48px; height: 48px; border-radius: 12px; }
.download-card h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.download-card .desc { color: var(--text-secondary); font-size: 16px; margin-bottom: 36px; line-height: 1.7; }
.download-meta {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.meta-item { text-align: center; }
.meta-item .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.meta-item .value { font-size: 16px; font-weight: 700; margin-top: 4px; }

.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 48px; border-radius: 16px; font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, #6d28d9, #4f46e5, #0e7490);
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 40px var(--glow-purple), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: glowPulse 3s ease-in-out infinite;
}
.btn-download:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 50px var(--glow-purple); }
.btn-download svg { width: 22px; height: 22px; }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 40px var(--glow-purple); }
  50% { box-shadow: 0 8px 50px var(--glow-purple), 0 0 20px var(--glow-cyan); }
}

.download-note { margin-top: 20px; font-size: 13px; color: var(--text-muted); }
.download-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border-glass);
  text-align: center; position: relative; z-index: 1;
}
.footer p { font-size: 13px; color: var(--text-muted); }
.footer a { color: var(--accent-purple); text-decoration: none; }

/* ── Animations ───────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .sw-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .download-card { padding: 36px 24px; }
  .download-meta { gap: 20px; }
  .btn-download { padding: 16px 32px; font-size: 16px; }
}
