/* ===================================================================
   Horizon Tech Studio — landing page styles
   Theme: "horizon" — deep night sky (Gagan) meeting a warm dawn/sea
   glow (Sagar), blending on the horizon line.
   =================================================================== */

:root {
  --night: #0b1437;
  --night-2: #111c4a;
  --ink: #1a2238;
  --paper: #ffffff;
  --mist: #f5f7ff;
  --muted: #5c6785;
  --line: #e6ebf7;

  --sun-1: #ff5a4d;
  --sun-2: #e10711;
  --sea: #3d6fff;
  --sky: #8ea2ff;

  --grad-dawn: linear-gradient(120deg, #e10711 0%, #ff5a4d 100%);
  --grad-horizon: linear-gradient(120deg, #e10711 0%, #ff5a4d 55%, #ff8a3d 100%);

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(15, 25, 60, 0.06);
  --shadow: 0 18px 44px rgba(15, 25, 60, 0.10);
  --container: 1140px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--night);
}

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

.gradient-text {
  background: var(--grad-dawn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun-2);
  margin: 0 0 0.7rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-dawn);
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 7, 17, 0.30);
}
.btn-outline { border-color: var(--line); color: var(--night); background: #fff; }
.btn-outline:hover { border-color: var(--sun-2); color: var(--sun-2); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 55, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; }
.brand-accent { color: var(--sun-1); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: #d7deff; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 0.55rem 1.15rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--night-2);
  padding: 0.5rem 22px 1.1rem;
}
.mobile-menu a {
  color: #d7deff;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, #1a2a63 100%);
  color: #eef1ff;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
.hero-sky { position: absolute; inset: 0; overflow: hidden; }
.hero-sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -20%);
  background: radial-gradient(circle, rgba(255,90,77,0.50) 0%, rgba(225,7,17,0.24) 38%, rgba(225,7,17,0) 68%);
  filter: blur(6px);
}
.hero-line {
  position: absolute;
  left: 0; right: 0;
  top: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,90,77,0.65), rgba(230,236,255,0.45), transparent);
}
.hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: #c3ccf5;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--sun-1); }
.hero-stats span { font-size: 0.85rem; color: #a9b4e6; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--mist); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: var(--grad-dawn);
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0 0 1rem; }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-dawn);
}

/* ===== Steps ===== */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.step-no {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--grad-horizon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps h3 { font-size: 1.15rem; margin: 0.5rem 0 0.3rem; }
.steps p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; }
.about-copy strong { color: var(--night); }
.about-copy .btn { margin-top: 0.6rem; }

.about-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--night) 0%, #1a2a63 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.orb {
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,77,0.60), rgba(225,7,17,0));
  filter: blur(4px);
}
.about-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eaefff;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.about-card em { color: #b9c4f5; font-style: normal; font-weight: 400; }
.about-card.highlight {
  background: var(--grad-dawn);
  border-color: transparent;
  color: #fff;
}
.about-card .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dot.sky { background: var(--sky); }
.dot.sea { background: var(--sea); }

/* ===== Contact ===== */
.section-contact { background: var(--mist); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.contact-intro p { color: var(--muted); }
.contact-intro a { color: var(--sun-2); font-weight: 600; }
.contact-points { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contact-points li { color: var(--ink); margin-bottom: 0.5rem; font-weight: 500; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--night);
}
.field .opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun-2);
  box-shadow: 0 0 0 3px rgba(225, 7, 17, 0.15);
}
.field textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.9rem; margin: 0.9rem 0 0; min-height: 1.2em; }
.form-note.success { color: #159457; }
.form-note.error { color: #d64545; }

/* ===== Footer ===== */
.site-footer { background: var(--night); color: #c3ccf5; padding: 3.5rem 0 1.8rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 52px; width: auto; display: block; margin-bottom: 0.9rem; }
.footer-brand .brand-name { display: inline-block; margin-bottom: 0.6rem; }
.footer-brand p { color: #9aa6d8; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-cols a { display: block; color: #9aa6d8; font-size: 0.92rem; padding: 0.28rem 0; }
.footer-cols a:hover { color: var(--sun-1); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.86rem;
  color: #8390c4;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-bottom a:hover { color: var(--sun-1); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 38px; }
  .mobile-menu[data-open="true"] { display: flex; }
  .hero-stats { gap: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
