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

:root {
  --primary: #1a1a2e;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --surface: #16213e;
  --surface-alt: #0f3460;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow: hidden;
}

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

/* ── Background page (blurred) ── */
.page-content {
  filter: blur(6px) brightness(0.55);
  pointer-events: none;
  user-select: none;
  min-height: 100vh;
}

/* ── Nav ── */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}

.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-img { height: 36px; width: 36px; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 8rem 2rem 6rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,70,229,0.15) 0%, transparent 70%);
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 2rem; }

.btn {
  display: inline-block; padding: 0.75rem 2rem;
  background: var(--accent); color: #fff; font-weight: 600; border: none;
  border-radius: 8px; cursor: pointer; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--accent-light); transform: translateY(-1px); text-decoration: none; }

/* ── Sections ── */
.section { max-width: 1120px; margin: 0 auto; padding: 5rem 2rem; }
.section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 2.5rem; text-align: center; letter-spacing: -0.02em; }
.section-alt { background: var(--surface); max-width: 100%; }
.section-alt .services-grid { max-width: 1120px; margin: 0 auto; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.stat { text-align: center; padding: 1.25rem; background: var(--surface); border-radius: var(--radius); }
.stat-number { display: block; font-size: 1.75rem; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card {
  background: var(--primary); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { width: 48px; height: 48px; color: var(--accent-light); margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; color: var(--text-muted); }
.contact-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent-light); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 0.75rem 1rem; color: #fff; font-size: 1rem;
  font-family: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }

/* ── Footer ── */
footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.06); }

/* ── Coming Soon Overlay ── */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 20, 0.5);
}

.overlay-card {
  text-align: center;
  background: rgba(22, 33, 62, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  max-width: 480px; width: 90%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: fadeUp 0.6s ease-out;
}

.overlay-logo { height: 56px; width: 56px; margin-bottom: 1.5rem; }

.overlay-card h1 {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.75rem;
}

.overlay-card p { color: var(--text-muted); font-size: 1.05rem; }

.divider { width: 60px; height: 3px; background: var(--accent); border-radius: 2px; margin: 1.5rem auto; }

.overlay-contact { font-size: 0.9rem; }
.overlay-contact a { color: var(--accent-light); font-weight: 600; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .section { padding: 3rem 1.5rem; }
}
