/* MOLGA — molga.work */
:root {
  --bg: #0b0f1a;
  --bg-alt: #0f1524;
  --surface: #151d31;
  --surface-2: #1a2340;
  --text: #e8ecf5;
  --text-muted: #9aa5bd;
  --accent: #7dd3fc;
  --accent-2: #818cf8;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.fine { font-size: 0.85rem; padding: 16px 0; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.12em; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.brand.small { letter-spacing: 0.1em; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b0f1a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(125, 211, 252, 0.25); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
.btn-small { padding: 8px 16px; background: var(--surface-2); color: var(--text) !important; border-radius: 8px; }
.btn-large { padding: 16px 34px; font-size: 1.1rem; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 0%, rgba(129, 140, 248, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(125, 211, 252, 0.1), transparent);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-lede { color: var(--text-muted); max-width: 620px; margin-bottom: 48px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, 0.35); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Feature (EF Companion) */
.feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px;
}
.feature h3 { font-size: 1.6rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.feature p { color: var(--text-muted); margin-bottom: 16px; }
.ticks { list-style: none; margin: 0 0 16px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.phone {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 28px; padding: 26px 20px; max-width: 340px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.bubble { padding: 10px 16px; border-radius: 16px; font-size: 0.92rem; max-width: 85%; }
.bubble.them { background: #232d4d; border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: linear-gradient(90deg, #0ea5e9, #6366f1); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.small { font-size: 0.82rem; opacity: 0.85; }

/* Clients */
.client-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 44px;
}
.client-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.client-card p { color: var(--text-muted); }
.client-card blockquote {
  border-left: 3px solid var(--accent); padding-left: 20px;
  font-size: 1.15rem; font-style: italic; align-self: center;
}
.client-card cite { display: block; margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); font-style: normal; }

/* Contact */
.contact { padding-bottom: 120px; }
.contact .section-lede { margin: 0 auto 36px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; padding: 40px 24px 8px; flex-wrap: wrap; }
.footer-grid .muted { margin-top: 10px; font-size: 0.92rem; }
.footer-grid a { color: var(--text-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; align-items: start; }

/* Legal pages */
.legal { padding: 70px 0; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); margin-bottom: 36px; font-size: 0.9rem; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .client-card { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
