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

:root {
  --cyan: #0891B2;
  --cyan-light: #ECFEFF;
  --cyan-mid: #A5F3FC;
  --cyan-dark: #155E75;
  --cyan-muted: #67E8F9;
  --text: #0F172A;
  --text-secondary: #64748B;
  --border: rgba(15,23,42,0.1);
  --bg: #ffffff;
  --bg-secondary: #F8FAFC;
  --radius: 10px;
  --radius-lg: 14px;
  --max-w: 900px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #F1F5F9;
    --text-secondary: #94A3B8;
    --border: rgba(255,255,255,0.08);
    --bg: #0F172A;
    --bg-secondary: #1E293B;
    --cyan-light: #0C3A4A;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  animation: fadeIn 0.4s ease both;
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none;
}
.nav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); display: inline-block; flex-shrink: 0;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-cta {
  background: var(--cyan); color: #fff;
  border: none; padding: 8px 18px;
  border-radius: 6px; font-size: 13px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--cyan-dark); }

/* ─── FOOTER ─── */
footer {
  border-top: 0.5px solid var(--border);
  padding: 1.75rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-secondary); }

/* ─── BUTTONS ─── */
.btn-main {
  background: var(--cyan); color: #fff;
  border: none; padding: 12px 24px;
  border-radius: 7px; font-size: 14px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-main:hover { background: var(--cyan-dark); transform: translateY(-1px); }
.btn-main:active { transform: translateY(0); }
.btn-ghost {
  font-size: 14px; color: var(--text-secondary);
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-white {
  background: #fff; color: var(--cyan);
  border: none; padding: 11px 22px;
  border-radius: 7px; font-size: 13px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: var(--cyan-light); transform: translateY(-1px); }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 3.5rem 2rem 3rem;
  border-bottom: 0.5px solid var(--border);
  position: relative; overflow: hidden;
  max-width: var(--max-w); margin: 0 auto;
}
.header-bg {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(
    105deg,
    transparent, transparent 36px,
    rgba(8,145,178,0.04) 36px,
    rgba(8,145,178,0.04) 37px
  );
  animation: fadeIn 1.2s ease 0.3s both;
}
.page-tag {
  font-size: 11px; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
  animation: fadeUp 0.5s cubic-bezier(.22,.8,.4,1) 0.1s both;
}
.page-tag::before {
  content: ''; display: inline-block; height: 1px;
  background: var(--cyan);
  animation: lineGrow 0.6s cubic-bezier(.22,.8,.4,1) 0.4s both;
}
.page-header h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500; letter-spacing: -0.6px;
  max-width: 460px; margin-bottom: 0.75rem; line-height: 1.2;
  animation: fadeUp 0.5s cubic-bezier(.22,.8,.4,1) 0.2s both;
}
.page-header h1 em { font-style: normal; color: var(--cyan); }
.page-header p {
  font-size: 15px; color: var(--text-secondary);
  max-width: 440px; line-height: 1.75;
  animation: fadeUp 0.5s cubic-bezier(.22,.8,.4,1) 0.3s both;
}

/* ─── SECTION ─── */
.section {
  padding: 2.5rem 2rem;
  border-bottom: 0.5px solid var(--border);
  max-width: var(--max-w); margin: 0 auto;
}
.section-label {
  font-size: 11px; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 500; margin-bottom: 0.5rem;
}
.section h2 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.4px; margin-bottom: 0.5rem;
}
.section-intro {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; max-width: 480px; margin-bottom: 1.75rem;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(.22,.8,.4,1), transform 0.55s cubic-bezier(.22,.8,.4,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .page-header { padding: 2.5rem 1.25rem 2rem; }
  .section { padding: 2rem 1.25rem; }
  footer { padding: 1.25rem; }
}
