@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Quantico:ital,wght@1,400;1,700&display=swap');

:root {
  --primary: #3B82F6;
  --secondary: #60A5FA;
  --cta: #F97316;
  --bg: #F8FAFC;
  --text: #1E293B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: #475569;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-heading { font-family: 'Quantico', sans-serif; font-style: italic; }

/* Layout */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* Navbar */
.navbar {
  position: fixed; top: 1rem; left: 1rem; right: 1rem; z-index: 50;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
  border-radius: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(226,232,240,0.5);
}
.navbar-inner {
  max-width: 72rem; margin: 0 auto; padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .navbar-inner { padding: 0.75rem 1.5rem; } }
.navbar-brand { font-weight: 700; font-size: 1.25rem; color: #0f172a; text-decoration: none; }
.navbar-links { display: flex; align-items: center; gap: 1rem; }
.navbar-links a { color: #64748b; text-decoration: none; transition: color 0.2s; cursor: pointer; }
.navbar-links a:hover { color: #0f172a; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; padding: 0.625rem 1.25rem; border-radius: 0.75rem;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(59,130,246,0.4); }
.btn-primary:hover { background: #2563eb; box-shadow: 0 6px 20px rgba(59,130,246,0.5); }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,0.4); }
.btn-cta:hover { background: #ea580c; box-shadow: 0 6px 20px rgba(249,115,22,0.5); transform: translateY(-1px); }
.btn-dark { background: #0f172a; color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-white { background: #fff; color: #0f172a; }
.btn-white:hover { background: #f1f5f9; }
.btn-lg { padding: 0.875rem 2rem; font-weight: 600; border-radius: 0.875rem; }

/* Hero */
.hero {
  padding: 8rem 0 5rem; text-align: center;
  background: linear-gradient(180deg, #EEF2FF 0%, var(--bg) 100%);
}
.hero h1 { font-size: 2.5rem; font-weight: 700; color: #0f172a; margin-bottom: 1.5rem; line-height: 1.2; }
.hero h1 span { color: var(--primary); }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p { font-size: 1.125rem; max-width: 40rem; margin: 0 auto 2rem; }
@media (min-width: 640px) { .hero p { font-size: 1.25rem; } }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.install-cmd {
  background: #0f172a; border-radius: 0.75rem; padding: 1rem 1.5rem;
  display: inline-block; margin-bottom: 3rem;
}
.install-cmd code { color: #22d3ee; font-size: 1rem; font-family: ui-monospace, monospace; }
.install-cmd-dark { background: #1e293b; margin-bottom: 2rem; }
.hero-image { max-width: 56rem; margin: 0 auto; }
.hero-image-wrapper {
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(96,165,250,0.15));
  border-radius: 1.25rem; padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(59,130,246,0.2);
}
.hero-image img { width: 100%; border-radius: 0.75rem; }

/* Section */
.section { padding: 5rem 0; }
.section-white { background: #fff; }
.section-dark { background: #0f172a; color: #fff; }
.section-title { font-size: 1.875rem; font-weight: 700; color: #0f172a; text-align: center; margin-bottom: 1rem; }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-dark .section-title { color: #fff; }
.section-subtitle { text-align: center; max-width: 40rem; margin: 0 auto 4rem; }
.section-dark .section-subtitle { color: #94a3b8; }

/* Features Grid */
.features-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: #fff; border-radius: 1rem; padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s; cursor: pointer;
}
.feature-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-color: var(--secondary); }
.section-white .feature-card { background: var(--bg); border-color: transparent; }
.section-white .feature-card:hover { border-color: var(--secondary); }
.feature-icon {
  width: 3rem; height: 3rem; background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; color: #0f172a; margin-bottom: 0.5rem; }

/* Download */
.download-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.download-buttons .btn svg { width: 1.25rem; height: 1.25rem; }
.download-code { color: #64748b; font-size: 0.875rem; }
.download-code code { background: #1e293b; padding: 0.25rem 0.5rem; border-radius: 0.25rem; }

/* Footer */
.footer { padding: 2rem 0; background: #0f172a; border-top: 1px solid #1e293b; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 0.875rem; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: #cbd5e1; }
.footer-copy { color: #64748b; font-size: 0.875rem; }

/* Language Switcher */
.lang-switch { font-size: 0.875rem; color: #64748b; }
.lang-switch a { color: #64748b; text-decoration: none; }
.lang-switch a:hover { color: #0f172a; }
.lang-switch a.active { color: #0f172a; font-weight: 500; }
