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

:root {
  --gl: #f97316;
  --gl-light: #fff7ed;
  --gl-dark: #ea6c0a;
  --dd: #0f1c5e;
  --dd-light: #eef0f9;
  --dd-mid: #1e2f7a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-n {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gl), var(--dd));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color .15s;
}
.nav-links a:hover { color: var(--gray-900); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 55%, #fff7ed 100%);
}
.hero-gradient {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gl);
  background: var(--gl-light);
  border: 1px solid rgba(249,115,22,.2);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.highlight {
  background: linear-gradient(90deg, var(--gl), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: all .15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gl);
  color: #fff;
}
.btn-primary:hover { background: var(--gl-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,.35); }
.btn-ghost {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-200); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gl);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Products ─────────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.gl-icon { background: linear-gradient(135deg, var(--gl), #f59e0b); }
.dd-icon { background: linear-gradient(135deg, var(--dd), var(--dd-mid)); }

.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.gl-tag { background: var(--gl-light); color: var(--gl-dark); }
.dd-tag { background: var(--dd-light); color: var(--dd); }

.product-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--gray-900);
}
.product-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.product-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-features li {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.product-gl .product-features li::before { background: var(--gl); }
.product-dd .product-features li::before { background: var(--dd); }

.product-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  transition: gap .15s;
}
.gl-link { color: var(--gl); }
.dd-link { color: var(--dd); }
.product-link:hover { text-decoration: underline; }

/* ── App Previews ─────────────────────────────────────────────────────────── */
.preview-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.preview-block-reverse { direction: rtl; }
.preview-block-reverse > * { direction: ltr; }

.preview-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 80px 0;
}

.preview-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.2;
}
.preview-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}
.preview-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.preview-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.gl-dot { background: var(--gl); }
.dd-dot { background: var(--dd); }
.preview-features strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
  margin-bottom: 2px;
}
.preview-features p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Phone stack */
.preview-screens {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-wrap { position: absolute; }
.phone-back  { left: 0;   top: 30px;  z-index: 1; transform: rotate(-6deg); }
.phone-back2 { right: 0;  top: 30px;  z-index: 1; transform: rotate(6deg); }
.phone-front { left: 50%; top: 0;     z-index: 3; transform: translateX(-50%); }

.phone-frame {
  width: 160px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  background: #000;
}
.phone-frame-main {
  width: 185px;
  border-radius: 32px;
  border: 4px solid rgba(0,0,0,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.phone-frame-dd { border-color: rgba(15,28,94,.2); }
.phone-frame img {
  width: 100%;
  display: block;
}

/* ── About ────────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-label { text-align: left; }
.about-text .section-title { text-align: left; }
.about-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.founder-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gl), var(--dd));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.founder-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-900);
}
.founder-role {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-number {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.gl-text { color: var(--gl); }
.dd-text { color: var(--dd); }
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--gray-600);
}
.contact-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.6;
}
a.contact-value, .contact-value a {
  color: var(--gl);
  transition: color .15s;
}
a.contact-value:hover, .contact-value a:hover { color: var(--gl-dark); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dd);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .brand-name { font-size: 14px; }
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.footer-links a { color: rgba(255,255,255,.55); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-links span { color: rgba(255,255,255,.25); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 110px 0 72px; }

  .products-grid { grid-template-columns: 1fr; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid { order: -1; }

  .preview-block,
  .preview-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .preview-screens { height: 380px; order: -1; }
  .phone-frame      { width: 120px; }
  .phone-frame-main { width: 140px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
}
