/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #07070a;
  color: #e8e8ea;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== TOKENS ========== */
:root {
  --bg: #07070a;
  --surface: #0e0e12;
  --surface-2: #14141a;
  --border: #1f1f28;
  --text: #f5f5f7;
  --muted: #8c8c98;
  --accent: #10d8a0;
  --accent-2: #6366f1;
  --accent-grad: linear-gradient(135deg, #10d8a0 0%, #6366f1 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a0a0a;
  font-size: 16px;
}
.brand-mark.small { width: 24px; height: 24px; font-size: 13px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: all 0.15s;
}
.nav-cta:hover { border-color: var(--accent); background: var(--surface-2); }
@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ========== HERO ========== */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 216, 160, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 920px;
}
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-video {
  max-width: 920px;
  margin: 0 0 64px;
  scroll-margin-top: 80px;
}
.hero-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(16, 216, 160, 0.15);
}
.hero-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-video-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-large { padding: 16px 26px; font-size: 15px; }
.btn-primary {
  background: var(--accent);
  color: #07070a;
}
.btn-primary:hover {
  background: #0fc592;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(16, 216, 160, 0.5);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--surface-2);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.meta-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
  .meta-num { font-size: 28px; }
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== INVOIZE GRID ========== */
.invoize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .invoize-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .invoize-grid { grid-template-columns: 1fr; } }
.invoize-feature {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.invoize-feature:hover {
  border-color: rgba(16, 216, 160, 0.4);
  transform: translateY(-2px);
}
.feat-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.invoize-feature h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.invoize-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.invoize-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(16, 216, 160, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(16, 216, 160, 0.2);
  border-radius: var(--radius);
}
.invoize-cta-text h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.invoize-cta-text p { color: var(--muted); font-size: 15px; }
.invoize-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .invoize-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .invoize-cta-buttons { width: 100%; flex-direction: column; }
  .invoize-cta-buttons .btn { width: 100%; }
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.2s;
}
.service-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ========== PROCESS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-week {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(16, 216, 160, 0.12);
  color: var(--accent);
  border-radius: 999px;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 20px;
  margin-top: 8px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-text strong { color: var(--text); font-weight: 600; }
.about-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tag {
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
}
.about-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 96px;
}
.about-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #07070a;
  font-size: 22px;
}
.about-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.about-role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.about-stat-num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.about-stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ========== CONTACT ========== */
.contact-card {
  padding: 64px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 216, 160, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .contact-card { padding: 36px 28px; grid-template-columns: 1fr; gap: 32px; }
}
.contact-text { position: relative; z-index: 1; }
.contact-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
  margin-top: 8px;
}
.contact-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.contact-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-point {
  font-size: 14px;
  color: var(--text);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.contact-actions .btn { width: 100%; }
.contact-fineprint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.footer-meta { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
