:root {
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #06b6d4;
  --accent-2: #0891b2;
  --accent-glow: rgba(6,182,212,0.15);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { color: var(--text-muted); }
.muted { color: var(--text-muted); }
.grad {
  background: linear-gradient(120deg, var(--accent), #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s ease;
  background: var(--bg);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  padding: 10px 0;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; 
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 75px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.15;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-zan {
  color: var(--accent-2);
}
.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px; font-size: 0.92rem; color: var(--text-muted);
  border-radius: 8px; transition: all .2s; font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--accent); }

.btn-nav {
  margin-left: 10px; padding: 10px 18px !important;
  background: var(--accent); color: #ffffff !important;
  border-radius: 10px; font-weight: 600;
}
.btn-nav:hover { background: var(--accent-2); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: .3s;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 12px; cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6,182,212,0.3);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
}

main { padding-top: 120px; }
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(6,182,212,0.03), transparent);
}
.hero-glow {
  position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none; opacity: .8;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; font-size: 0.8rem;
  color: var(--accent-2);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.hero-title {
  max-width: 900px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-sub {
  max-width: 640px;
  font-size: 1.05rem; margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 70px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; width: 100%; max-width: 800px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { margin: 12px 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.card:hover {
  border-color: rgba(6,182,212,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.card h3 { margin-bottom: 12px; color: var(--text); }
.card p { font-size: 0.94rem; }
.card-index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6,182,212,0.2);
}
.card-lg { padding: 36px; }

.portfolio-thumb {
  height: 160px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(6,182,212,0.1), transparent 60%),
    linear-gradient(135deg, #e2e8f0, #f8fafc);
  border: 1px solid var(--border);
}

.check-list { margin: 24px 0 32px; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.panel-row {
  display: flex; justify-content: space-between;
  padding: 18px 14px;
  border-bottom: 1px solid var(--border);
}
.panel-row:last-child { border-bottom: none; }
.panel-row span { color: var(--text-muted); font-size: 0.9rem; }
.panel-row strong { color: var(--text); }

.step {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
  transition: all .3s ease;
}
.step:hover {
  border-color: rgba(6,182,212,0.3);
  transform: translateY(-2px);
}
.step span {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--accent);
  display: block; margin-bottom: 12px;
}
.step h4 { margin-bottom: 8px; }

.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, rgba(6,182,212,0.04), transparent);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 12px 0 16px; max-width: 900px; }
.page-hero p { max-width: 640px; font-size: 1.05rem; }

.cta {
  padding: 90px 0;
  background:
    radial-gradient(circle at center, rgba(6,182,212,0.08), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { margin-bottom: 30px; }

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 320px;
}
.site-footer h4 {
  margin-bottom: 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul li { font-size: 0.9rem; color: var(--text-muted); }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap; gap: 10px;
}

.reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 24px 24px;
    gap: 4px;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: right .3s ease;
    z-index: 90;
  }
  .nav.open { right: 0; }
  .nav a { width: 100%; padding: 14px 16px; }
  .btn-nav { margin-left: 0; margin-top: 12px; width: 100%; text-align: center; }

  .nav-toggle { display: flex; z-index: 95; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .brand-logo { height: 60px; }
  .brand-title { font-size: 1.2rem; }
  main { padding-top: 100px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 50px; }
  .hero-stats { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .brand-logo { height: 50px; }
  .brand-title { font-size: 1.1rem; }
  .brand-sub { font-size: 0.65rem; }
  main { padding-top: 90px; }
}