/* =========================================================
   YAKZEN — Static Site Stylesheet
   Plain CSS, no build step. Palette driven by CSS variables
   so the theme can be swapped easily.
   ========================================================= */

:root {
  /* White / slate base inspired by the Mathan reference */
  --bg-950: #f8fafc;
  --bg-900: #f1f5f9;
  --bg-850: #e2e8f0;
  --bg-800: #cbd5e1;
  --bg-750: #94a3b8;

  /* Warm accent palette */
  --sunrise-400: #ff8a57;
  --sunrise: #ff6b35;
  --sunrise-600: #e8531f;
  --gold-400: #ffc257;
  --gold: #f5a623;
  --electric-400: #38bdf8;
  --electric: #06b6d4;
  --electric-600: #0891b2;
  --violet-400: #a78bfa;

  /* Text */
  --text-hi: #0f172a;
  --text-mid: #334155;
  --text-low: #64748b;

  /* Structure */
  --border: rgba(148, 163, 184, 0.28);
  --border-strong: rgba(15, 23, 42, 0.12);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-bg-solid: #ffffff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --gradient-sunrise: linear-gradient(135deg, #0f172a 0%, #ff6b35 45%, #06b6d4 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(255, 107, 53, 0.12) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);

  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --shadow-card: 0 18px 40px -20px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px -10px rgba(255, 107, 53, 0.15);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-950);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-hi);
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(234, 88, 12, 0.18);
  color: var(--text-hi);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-950);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sunrise);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.glow-backdrop {
  pointer-events: none;
  position: absolute;
  inset: -10% 0 auto 0;
  height: 420px;
  background: var(--gradient-glow);
  filter: blur(60px);
  opacity: 0.7;
  z-index: 0;
}

.relative {
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-sunrise);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-hi);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--sunrise-400);
  color: var(--sunrise-400);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
}

.nav-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-hi);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-sunrise);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e1a;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-hi);
}

.nav-links a.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-hi);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.mobile-menu a.active {
  background: rgba(255, 107, 53, 0.12);
  color: var(--sunrise-400);
}

.mobile-menu .btn {
  margin-top: 8px;
}

@media (max-width: 880px) {
  .nav-links,
  .nav-cta .btn-secondary,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

body {
  padding-top: var(--header-h);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 20% 20%, rgba(234, 88, 12, 0.12), transparent 28%),
              radial-gradient(circle at 80% 10%, rgba(8, 145, 178, 0.12), transparent 30%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 1) 100%);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.02);
  color: var(--sunrise-600);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #ea580c 45%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 620px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Section heading ---------- */
.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.section-heading p {
  margin-top: 16px;
  color: var(--text-low);
  font-size: 1rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 88, 12, 0.38);
  box-shadow: 0 20px 40px -12px rgba(234, 88, 12, 0.12);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.18);
  color: var(--sunrise);
  flex-shrink: 0;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

/* Quick value strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item h3 {
  font-size: 1rem;
}

.value-item p {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-low);
}

@media (max-width: 900px) {
  .value-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .value-strip {
    grid-template-columns: 1fr;
  }
}

/* Capability / service cards */
.capability-card h3 {
  margin-top: 20px;
  font-size: 1.15rem;
}

.capability-card p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-low);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-card-head h3 {
  font-size: 1.2rem;
}

.service-card p.desc {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-low);
}

.check-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 560px) {
  .check-list {
    grid-template-columns: 1fr;
  }
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-mid);
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.15);
  color: var(--sunrise-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-dot svg {
  width: 11px;
  height: 11px;
}

.service-footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-tag {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-low);
  letter-spacing: 0.05em;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sunrise-400);
}

.text-link:hover {
  color: var(--gold-400);
}

/* ---------- Step flow ---------- */
.step-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.step-pill {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.step-pill:hover {
  border-color: var(--sunrise-400);
  color: var(--sunrise-400);
  background: rgba(255, 107, 53, 0.08);
}

.step-arrow {
  color: var(--text-low);
  font-size: 0.9rem;
}

/* Solutions blueprint cards */
.solution-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.solution-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sunrise-400);
}

.solution-card-head h3 {
  margin-top: 4px;
  font-size: 1.4rem;
}

.solution-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-full);
}

/* ---------- Pill badge ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 107, 53, 0.3);
  background: rgba(255, 107, 53, 0.1);
  color: var(--sunrise-400);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ---------- About stats ---------- */
.stat-card {
  text-align: center;
  padding: 26px 16px;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--sunrise-400);
}

.stat-card .stat-label {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-low);
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}

.strength-item span {
  font-weight: 700;
  color: var(--text-hi);
  font-size: 0.92rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.03), rgba(107, 114, 128, 0.05));
  border: 1px solid rgba(17, 24, 39, 0.08);
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin-top: 18px;
}

.cta-banner p {
  margin-top: 16px;
  color: var(--text-mid);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  margin-top: 30px;
}

/* ---------- Forms ---------- */
.form-card {
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-hi);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--sunrise);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.form-field select option {
  background: var(--bg-900);
  color: var(--text-hi);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(17, 24, 39, 0.03);
  color: var(--text-mid);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.form-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--text-low);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-alt {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.contact-alt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
}

.contact-alt-item:hover {
  border-color: var(--sunrise-400);
  color: var(--sunrise-400);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--bg-900);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-low);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sunrise-400);
}

.footer-col ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.83rem;
  color: var(--text-low);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-hi);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-low);
}

.footer-tag {
  font-family: monospace;
  letter-spacing: 0.18em;
  color: var(--sunrise-400);
  font-weight: 700;
}

/* ---------- Fade-in-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 8px;
  text-align: center;
}

.page-hero .section-heading {
  margin-bottom: 0;
}

/* Utility */
.mt-lg { margin-top: 56px; }
.mt-md { margin-top: 32px; }
