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

:root {
  --primary: #1e40af;
  --primary-dark: #172554;
  --primary-light: #eff6ff;
  --accent: #2563eb;
  --emerald: #2563eb;
  --emerald-dark: #1e40af;
  --emerald-light: rgba(37, 99, 235, 0.15);
  --bg: #0b0f19;
  --surface: #111827;
  --surface2: #1f2937;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navbar ────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--text);
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); text-decoration: none;
}
.nav-links a.active { color: var(--accent); }

/* ── Hero (Home) ──────────────────────────────── */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; padding: 80px 64px;
  max-width: 1200px; margin: 0 auto;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface2); color: var(--text);
  padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--border);
  transition: background 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* ── Phone Mockup ─────────────────────────────── */
.hero-visual { flex: 0 0 280px; }
.phone-mockup {
  background: var(--surface2);
  border-radius: 32px;
  border: 2px solid var(--border);
  padding: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: rotate(3deg);
}
.phone-screen { display: flex; flex-direction: column; gap: 12px; }
.mock-header {
  font-weight: 700; font-size: 18px; color: var(--accent);
  border-bottom: 1px solid var(--border); padding-bottom: 12px;
}
.mock-stat {
  font-size: 13px; color: #f59e0b; font-weight: 600;
}
.mock-card {
  background: var(--surface); padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* ── Features ─────────────────────────────────── */
.features {
  padding: 80px 64px;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.features h2 {
  font-size: 36px; font-weight: 700; margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.4);
}
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ── Hero Small (inner pages) ─────────────────── */
.hero-small {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(37,99,235,0.08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 64px;
  text-align: center;
}
.hero-small-content h1 { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.hero-small-content p { color: var(--text-muted); font-size: 15px; }

.page-badge {
  display: inline-block;
  background: rgba(37,99,235,0.12); color: var(--accent);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── Content Wrapper ──────────────────────────── */
.content-wrapper {
  max-width: 860px; margin: 48px auto; padding: 0 24px 80px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.section { margin-bottom: 36px; }
.section:last-child { margin-bottom: 0; }
.section h2 {
  font-size: 20px; font-weight: 600; color: var(--accent);
  margin-bottom: 12px;
}
.section p { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; }
.section ul {
  list-style: none; padding: 0;
}
.section ul li {
  padding: 8px 0 8px 20px;
  position: relative; color: var(--text-muted); font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.section ul li:last-child { border-bottom: none; }
.section ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-weight: 600;
}

/* ── Contact Layout ───────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  max-width: 1100px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.info-card:hover { border-color: rgba(37,99,235,0.4); }
.info-icon { font-size: 28px; margin-bottom: 10px; }
.info-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.info-link { color: var(--accent); font-weight: 600; font-size: 13px; }

/* ── Form ─────────────────────────────────────── */
.form-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.form-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--surface2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.submit-btn {
  width: 100%; background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; border: none; border-radius: 12px;
  padding: 14px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.submit-btn:disabled { opacity: 0.7; transform: none; cursor: not-allowed; }

.success-msg {
  background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.3);
  color: var(--accent); border-radius: 12px;
  padding: 16px; text-align: center; font-weight: 500; font-size: 14px;
  margin-top: 16px;
}

/* ── Footer ───────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}
.footer-content { text-align: center; }
.footer-logo { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.footer-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.copyright { font-size: 13px; color: rgba(156,163,175,0.6); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 48px 24px; text-align: center; }
  .hero p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .features { padding: 48px 24px; }
  .hero-small { padding: 48px 24px; }
  .card { padding: 28px 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .info-card { flex: 1; min-width: 140px; }
  .form-row { grid-template-columns: 1fr; }
}
