/* ── Intra Labs — Shared Styles ───────────────────── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg: #fafaf9;
  --bg-alt: #f0efed;
  --bg-card: #ffffff;
  --bg-dark: #0e1210;
  --border: #dddbd6;
  --border-light: #e8e6e1;
  --text: #1a1a18;
  --text-sec: #5c5c56;
  --text-tri: #8c8c84;
  --accent: #0d9488;
  --accent-hover: #0a7a70;
  --accent-light: #ccfbf1;
  --accent-subtle: #f0fdfa;
  --amber: #d97706;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --success-text: #166534;
  --radius: 10px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes shake { 0%,100%{transform:translateX(0)} 15%,45%,75%{transform:translateX(-6px)} 30%,60%,90%{transform:translateX(6px)} }
@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes slideTestimonials { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ── Layout ──────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0;
  background: rgba(250,250,249,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  animation: slideDown 0.5s ease both;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--text-sec); font-weight: 460; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); border-radius: 1px; transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-buttons { display: flex; gap: 8px; }

/* ── Simple nav (inner pages) ────────────────────── */
.nav-simple { padding: 16px 0; border-bottom: 1px solid var(--border-light); margin-bottom: 64px; position: static; background: var(--bg); backdrop-filter: none; animation: none; }
.nav-simple .container { display: flex; align-items: center; justify-content: space-between; }
.back { font-size: 14px; color: var(--text-sec); }
.back:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: var(--radius); font-size: 15px; font-weight: 570;
  font-family: var(--font); border: none; cursor: pointer; transition: all 0.25s; letter-spacing: -0.01em;
}
.btn-primary { background: var(--accent); color: white; box-shadow: 0 1px 2px rgba(13,148,136,0.2), 0 4px 16px rgba(13,148,136,0.15); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(13,148,136,0.2), 0 8px 28px rgba(13,148,136,0.2); }
.btn-ghost { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); background: white; color: var(--text); font-size: 15px; font-weight: 570; font-family: var(--font); border: none; cursor: pointer; transition: all 0.25s; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-sm { font-size: 13px; padding: 8px 18px; border-radius: 8px; font-family: var(--font); font-weight: 560; cursor: pointer; transition: all 0.2s; border: none; }
.btn-sm-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-sm-outline:hover { background: var(--bg-alt); }
.btn-sm-fill { background: var(--accent); color: white; }
.btn-sm-fill:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── Section headers ─────────────────────────────── */
.section-label { font-size: 13px; font-weight: 620; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 720; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px; }
.section-desc { font-size: 17px; color: var(--text-sec); max-width: 520px; line-height: 1.65; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: white; border: 1px solid var(--border-light); border-radius: 14px;
  padding: 36px 32px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.03);
}

/* ── Form fields ─────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 560; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 14px; font-family: var(--font); background: var(--bg); transition: all 0.2s; outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); background: white; }
.field input.error-input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220,38,38,0.08); }
.field textarea { min-height: 120px; }
.field-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Page content (inner pages) ──────────────────── */
.page-title { font-size: 36px; font-weight: 720; letter-spacing: -0.03em; margin-bottom: 8px; }
.page-subtitle { font-size: 16px; color: var(--text-sec); margin-bottom: 40px; }
.page-updated { font-size: 14px; color: var(--text-tri); margin-bottom: 40px; }
.page-content h2 { font-size: 20px; font-weight: 640; letter-spacing: -0.02em; margin: 40px 0 12px; }
.page-content p, .page-content li { font-size: 15px; color: var(--text-sec); line-height: 1.75; margin-bottom: 12px; }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────── */
footer { border-top: 1px solid var(--border-light); padding: 56px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-tri); margin-top: 10px; max-width: 260px; line-height: 1.55; }
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 { font-size: 13px; font-weight: 620; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--text-tri); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-sec); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-tri); }
.footer-simple { margin-top: 80px; padding: 32px 0; border-top: 1px solid var(--border-light); text-align: center; font-size: 12px; color: var(--text-tri); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .row { grid-template-columns: 1fr; }
}
</style>
