/* ============================================================
   EASTALL SOFTWARE SYSTEMS — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  --coral:        #E8654A;
  --coral-dim:    #c45036;
  --coral-glow:   rgba(232, 101, 74, 0.18);
  --coral-soft:   rgba(232, 101, 74, 0.10);

  --bg:           #0B0B0B;
  --bg-2:         #111111;
  --bg-3:         #181818;
  --surface:      rgba(255,255,255,0.04);
  --surface-h:    rgba(255,255,255,0.07);
  --border:       rgba(255,255,255,0.07);
  --border-a:     rgba(232,101,74,0.30);

  --text:         #F2F0ED;
  --text-2:       rgba(242,240,237,0.65);
  --text-3:       rgba(242,240,237,0.38);

  --nav-bg:       rgba(11,11,11,0.88);
  --nav-h:        68px;
  --r:            14px;
  --r-sm:         8px;
  --shadow-c:     0 8px 32px rgba(232,101,74,0.22);
}

[data-theme="light"] {
  --bg:         #F7F4F0;
  --bg-2:       #EDEAE5;
  --bg-3:       #E4E0DA;
  --surface:    rgba(0,0,0,0.04);
  --surface-h:  rgba(0,0,0,0.07);
  --border:     rgba(0,0,0,0.08);
  --border-a:   rgba(232,101,74,0.35);
  --text:       #111111;
  --text-2:     rgba(17,17,17,0.6);
  --text-3:     rgba(17,17,17,0.38);
  --nav-bg:     rgba(247,244,240,0.92);
  --coral-glow: rgba(232,101,74,0.12);
  --coral-soft: rgba(232,101,74,0.07);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   AMBIENT BLOBS
============================================================ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  transition: opacity 0.4s;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(210,80,50,0.45) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation: drift1 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,60,30,0.35) 0%, transparent 70%);
  bottom: 20%; left: -100px;
  animation: drift2 22s ease-in-out infinite alternate;
}
.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,101,74,0.2) 0%, transparent 70%);
  bottom: -100px; right: 30%;
  animation: drift3 26s ease-in-out infinite alternate;
}
[data-theme="light"] .blob { opacity: 0.28; }

@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,60px) scale(1.08); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-30px,-50px) scale(1.05); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(50px,30px); } }

/* ============================================================
   LAYOUT
============================================================ */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section { position: relative; z-index: 1; padding: 96px 0; }
.page-body { position: relative; z-index: 1; }

/* ============================================================
   NAVIGATION
============================================================ */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, box-shadow 0.3s;
}
nav#nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.18); }
nav#nav .wrap { height: 100%; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo span { color: var(--coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface);
}

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a svg { transition: transform 0.25s; }
.nav-drop:hover > a svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 480px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(.2,.9,.3,1);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.nav-drop:hover .drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.drop-col a {
  display: block;
  padding: 7px 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  border-radius: 6px;
  margin-bottom: 2px;
  transition: all 0.18s;
}
.drop-col a:hover { color: var(--text); background: var(--surface-h); }

.theme-row { display: flex; gap: 6px; margin-top: 4px; }
.theme-btn {
  flex: 1;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-2);
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.theme-btn:hover { background: var(--surface-h); color: var(--text); border-color: var(--border-a); }
.theme-btn.active { background: var(--coral-glow); color: var(--coral); border-color: var(--border-a); }
.theme-btn svg {
  stroke: var(--text);
}
.theme-btn.active svg {
  stroke: var(--coral);
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  padding: 9px 20px;
  background: var(--coral);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--coral-dim); transform: translateY(-1px); box-shadow: var(--shadow-c); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 899;
  padding: 28px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; animation: slideDown 0.3s ease; }
.mobile-nav a {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.mobile-nav a:hover { color: var(--text); background: var(--surface); border-color: var(--border-a); }
.mob-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mob-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 4px 4px 0;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { color: var(--text-3); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 18px;
}

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}
.text-coral { color: var(--coral); }
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-coral {
  padding: 13px 30px;
  background: var(--coral);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-coral:hover { background: var(--coral-dim); transform: translateY(-2px); box-shadow: var(--shadow-c); }
.btn-ghost {
  padding: 12px 30px;
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--border-a); background: var(--coral-soft); transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   HERO (home)
============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  text-align: center;
}
.hero-content {
  max-width: 820px;
  padding: 60px 20px 80px;
  animation: heroIn 1s cubic-bezier(.2,.9,.3,1) forwards;
  opacity: 0;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--coral-soft);
  border: 1px solid var(--border-a);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before { content:''; width:6px; height:6px; background:var(--coral); border-radius:50%; }
.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}
.hero h1 .accent { color: var(--coral); display: block; text-align: center; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 28px auto 44px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollPulse 2.5s ease-in-out infinite;
  cursor: pointer;
}
@keyframes scrollPulse {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }

/* ============================================================
   SERVICE CARDS
============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.2,.9,.3,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--coral-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--border-a); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.2), var(--shadow-c); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { background: linear-gradient(145deg, rgba(232,101,74,0.12) 0%, var(--surface) 100%); border-color: var(--border-a); }
.service-badge {
  width: 52px; height: 52px;
  background: var(--coral-glow);
  border: 1px solid var(--border-a);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.3s;
}
.service-card:hover .service-badge { transform: scale(1.1) rotate(-4deg); }
.service-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: 28px; }
.service-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.service-price { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.service-price span { font-size: 0.78rem; font-weight: 400; color: var(--text-3); font-family: 'DM Sans', sans-serif; }
.service-arrow {
  width: 36px; height: 36px;
  background: var(--surface-h);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: all 0.2s;
}
.service-card:hover .service-arrow { background: var(--coral); border-color: var(--coral); color: #fff; transform: translate(2px,-2px); }

/* ============================================================
   FEATURES LAYOUT
============================================================ */
.features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.features-list { display: flex; flex-direction: column; gap: 30px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--coral-glow);
  border: 1px solid var(--border-a);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-text h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.feature-text p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }

/* Terminal */
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,0.28);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot:nth-child(1) { background: #ff5f57; }
.t-dot:nth-child(2) { background: #febc2e; }
.t-dot:nth-child(3) { background: #28c840; }
.t-title { margin: 0 auto; font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.terminal-body { padding: 22px 20px; font-family: 'Courier New', monospace; font-size: 0.82rem; line-height: 1.9; }
.t-line { display: flex; gap: 10px; }
.t-prompt { color: var(--coral); }
.t-cmd { color: var(--text); }
.t-out { color: var(--text-2); padding-left: 20px; }
.t-ok { color: #4ade80; }
.t-blink::after { content: '▋'; animation: blink 1s step-end infinite; color: var(--coral); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================================
   PRICING
============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-a); }
.plan-card.popular {
  border-color: var(--coral);
  background: linear-gradient(145deg, rgba(232,101,74,0.1) 0%, var(--surface) 100%);
}
.popular-badge {
  position: absolute;
  top: -1px; right: 22px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 8px 8px;
}
.plan-name { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.plan-price { font-family: 'Syne', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--text); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.plan-price sub { font-size: 1rem; font-weight: 600; }
.plan-price sup { font-size: 1.2rem; font-weight: 600; }
.plan-period { font-size: 0.82rem; color: var(--text-3); margin-bottom: 24px; }
.plan-divider { height: 1px; background: var(--border); margin: 20px 0; }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.87rem; color: var(--text-2); }
.plan-features li::before { content: '✓'; color: var(--coral); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-features li.muted { color: var(--text-3); }
.plan-features li.muted::before { content: '–'; color: var(--text-3); }
.plan-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: block;
  text-decoration: none;
}
.plan-btn:hover { background: var(--surface-h); border-color: var(--border-a); }
.plan-btn.filled { background: var(--coral); border-color: var(--coral); color: #fff; }
.plan-btn.filled:hover { background: var(--coral-dim); box-shadow: var(--shadow-c); }

/* ============================================================
   DETAIL FEATURES GRID
============================================================ */
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 28px;
  transition: all 0.2s;
}
.detail-card:hover { border-color: var(--border-a); transform: translateY(-3px); }
.detail-card .d-icon { font-size: 1.6rem; margin-bottom: 14px; }
.detail-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.detail-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.detail-card.highlight { border-color: var(--border-a); background: var(--coral-soft); }

/* Spec bar */
.spec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 56px; }
.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}
.spec-card:hover { border-color: var(--border-a); }
.spec-card .s-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--coral); letter-spacing: -0.03em; }
.spec-card .s-label { font-size: 0.8rem; color: var(--text-2); margin-top: 4px; }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px;
  transition: all 0.2s;
}
.value-card:hover { border-color: var(--border-a); background: var(--coral-soft); }
.value-card .v-icon { font-size: 1.3rem; margin-bottom: 8px; }
.value-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.value-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }

.about-card-stack { position: relative; height: 420px; }
.about-img-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.about-img-card.card-main { width: 90%; top: 0; left: 0; z-index: 2; }
.about-img-card.card-behind { width: 80%; bottom: 0; right: 0; z-index: 1; border-color: var(--border-a); background: linear-gradient(135deg, rgba(232,101,74,0.08) 0%, var(--bg-2) 100%); }
.mini-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mini-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; }
.mini-stat .n { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--coral); letter-spacing: -0.03em; }
.mini-stat .l { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
.card-label { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.card-divider { height: 1px; background: var(--border); margin: 12px 0; }
.team-row { display: flex; gap: 12px; align-items: center; }
.team-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral-glow);
  border: 2px solid var(--border-a);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--coral);
  font-family: 'Syne', sans-serif;
}
.team-info h5 { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.team-info span { font-size: 0.75rem; color: var(--text-3); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}
.tag.coral { background: var(--coral-glow); border: 1px solid var(--border-a); color: var(--coral); }
.tag.plain { background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-method {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all 0.2s;
  text-decoration: none;
}
.contact-method:hover { border-color: var(--border-a); background: var(--coral-soft); }
.cm-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--coral-glow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.cm-text h4 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cm-text p { font-size: 0.82rem; color: var(--text-2); line-height: 1.4; }
.cm-text a { color: var(--coral); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 38px;
}
.contact-form h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}
.field select option { background: var(--bg-2); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .s-icon { font-size: 2.8rem; margin-bottom: 14px; }
.form-success h4 { font-size: 1.15rem; color: var(--text); margin-bottom: 6px; }
.form-success p { color: var(--text-2); font-size: 0.9rem; }

/* ============================================================
   CAREERS PAGE
============================================================ */
.careers-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 28px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card:hover { border-color: var(--border-a); transform: translateY(-3px); }
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--coral-soft);
  border: 1px solid var(--border-a);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.job-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.job-card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.job-meta span { font-size: 0.78rem; color: var(--text-3); }
.job-meta span::before { content: '● '; font-size: 0.5rem; vertical-align: middle; color: var(--coral); }

.perks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.perk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 22px;
  text-align: center;
  transition: all 0.2s;
}
.perk-card:hover { border-color: var(--border-a); }
.perk-card .p-icon { font-size: 1.8rem; margin-bottom: 10px; }
.perk-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.perk-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }

/* ============================================================
   DOCUMENTATION PAGE
============================================================ */
.docs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.doc-card:hover { border-color: var(--border-a); transform: translateY(-4px); box-shadow: var(--shadow-c); }
.doc-card .doc-icon { font-size: 2rem; margin-bottom: 16px; }
.doc-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.doc-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.doc-card .doc-arrow { color: var(--coral); font-size: 0.85rem; font-weight: 600; margin-top: 14px; display: block; }

/* ============================================================
   POLICY PAGES
============================================================ */
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.policy-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.policy-nav h5 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.policy-nav a {
  display: block;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--text-2);
  border-radius: 6px;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.policy-nav a:hover { color: var(--text); background: var(--surface-h); }
.policy-nav a.active { color: var(--coral); background: var(--coral-soft); }

.policy-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 16px; margin-top: 36px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { font-size: 0.92rem; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.policy-content ul { margin: 16px 0 16px 20px; display: flex; flex-direction: column; gap: 8px; list-style: disc; }
.policy-content ul li { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }
.policy-updated { font-size: 0.8rem; color: var(--text-3); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* ============================================================
   CTA STRIP
============================================================ */
.cta-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ============================================================
   FOOTER
============================================================ */
footer#site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-brand .f-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 12px; }
.footer-brand .f-logo span { color: var(--coral); }
.footer-brand p { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.f-social {
  width: 34px; height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.f-social:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-2); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-status { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--text-2); }
.status-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 3px rgba(74,222,128,0.2); animation: pulse-dot 2.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 3px rgba(74,222,128,0.2)} 50%{box-shadow:0 0 0 6px rgba(74,222,128,0)} }

/* ============================================================
   COOKIE BANNER
============================================================ */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(160px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  transition: transform 0.5s cubic-bezier(.2,.9,.3,1);
}
.cookie-bar.show { transform: translateX(-50%) translateY(0); }
.cookie-text { flex: 1; font-size: 0.85rem; color: var(--text-2); line-height: 1.5; }
.cookie-text a { color: var(--coral); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.c-btn {
  padding: 9px 16px;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
}
.c-btn:hover { background: var(--surface-h); color: var(--text); }
.c-btn.accept { background: var(--coral); border-color: var(--coral); color: #fff; }
.c-btn.accept:hover { background: var(--coral-dim); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--coral);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-c);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--coral-dim); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid .plan-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .plan-card:last-child { max-width: 100%; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; }
  .about-values { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 68px 0; }
  .page-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .about-card-stack { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .about-img-card.card-main, .about-img-card.card-behind { position: static; width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-btns, .btn-row { flex-direction: column; }
  .btn-coral, .btn-ghost { width: 100%; justify-content: center; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .c-btn { flex: 1; text-align: center; }
  .drop-panel { display: none !important; }
}