:root {
  --blue-950: #0b1a3d;
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --amber-300: #fde047;
  --amber-500: #f59e0b;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--amber-500);
  color: var(--blue-950);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover { background: var(--amber-300); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--amber-500);
  margin-bottom: 12px;
}

.accent { color: var(--amber-500); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-900);
}
.brand-name span { color: var(--amber-500); }
.nav { display: flex; gap: 24px; }
.nav a { font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--amber-500); }

@media (max-width: 760px) {
  .nav { display: none; }
  .header-cta { display: none; }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-900) 55%, #4c1d95);
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 224, 71, 0.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(124, 58, 237, 0.35), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-copy p { font-size: 1.08rem; color: #dbeafe; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.7rem; color: var(--amber-300); }
.hero-stats span { font-size: 0.85rem; color: #cbd5e1; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); border-radius: 28px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* Sections */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--blue-950); }
section { padding: 80px 0; }

/* Cards */
.services { background: var(--bg); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(30, 58, 138, 0.12); }
.card-icon { margin-bottom: 14px; }
.card h3 { color: var(--blue-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.svg-box { display: flex; align-items: center; justify-content: center; }
.card-icon.svg-box svg,
.card-icon.svg-box { width: 56px; height: 56px; background: #fef3c7; border-radius: 16px; }
.card-icon svg { width: 34px; height: 34px; }

/* Projects */
.projects { background: #eef2ff; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.project { border-radius: var(--radius); overflow: hidden; background: #fff; }
.project-img.svg-box { width: 100%; height: 180px; background: transparent; }
.project-img svg { width: 100%; height: 100%; display: block; }
.project figcaption { padding: 14px 16px; font-weight: 600; color: var(--blue-900); }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { font-size: 2rem; color: var(--blue-950); margin-bottom: 24px; }
.info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fef3c7;
  border-radius: 12px;
  flex: none;
}
.info-item strong { color: var(--blue-900); }
.info-item p { color: var(--muted); }
.info-item a:hover { color: var(--amber-500); }

.socials { display: flex; gap: 12px; }
.social {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--blue-900);
  transition: transform 0.15s ease, background 0.15s ease;
}
.social:hover { background: var(--amber-500); transform: translateY(-3px); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social svg:has(rect), .social svg:has(.social circle) { fill: none; }

.contact-form {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.08);
}
.contact-form h3 { color: var(--blue-900); margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #f8fafc;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; color: #16a34a; font-weight: 600; text-align: center; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: var(--blue-950); color: #cbd5e1; padding: 26px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-inner strong { color: #fff; }
