@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #050810;
  --bg2: #090d1a;
  --bg3: #0e1525;
  --cyan: #00e5ff;
  --cyan2: #00b4cc;
  --green: #00ff88;
  --purple: #7c3aed;
  --white: #f0f4ff;
  --muted: rgba(240,244,255,0.5);
  --border: rgba(0,229,255,0.1);
  --card: rgba(0,229,255,0.03);
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', sans-serif;
  --radius: 10px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid lines background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }

/* NAV */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 0;
  transition: var(--transition);
}
.main-nav.scrolled {
  background: rgba(5,8,16,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted); padding: 7px 14px;
  border-radius: var(--radius); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--card); }
.nav-links .nav-cta a {
  background: var(--cyan); color: var(--bg);
  font-weight: 600; padding: 7px 18px;
}
.nav-links .nav-cta a:hover { background: #33eaff; }
.nav-toggle-checkbox { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* HERO */
.hero-section {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 100px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.hero-orb.o1 { width:500px; height:500px; background:rgba(0,229,255,0.08); top:-100px; right:-100px; }
.hero-orb.o2 { width:300px; height:300px; background:rgba(124,58,237,0.1); bottom:0; left:0; }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 6px 14px; border-radius: 4px;
  display: inline-block; margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.hero-tag::before { content: '> '; opacity: 0.5; }
.hero-title { margin-bottom: 24px; }
.hero-title .hl { color: var(--cyan); }
.hero-sub { font-size: 1.1rem; max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(240,244,255,0.4); margin-top:5px; letter-spacing:0.05em; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #33eaff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,229,255,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* SECTION LABEL */
.section-label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: '//'; opacity: 0.5; }

/* CARDS */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(0,229,255,0.25); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.card-icon { font-size: 1.8rem; margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.card p { font-size: 0.9rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 540px; font-size: 1rem; }
.section-header.centered p { margin: 0 auto; }

/* CODE BLOCK STYLE */
.code-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  font-family: var(--font-mono); font-size: 0.85rem;
  line-height: 1.9; color: rgba(240,244,255,0.7);
}
.code-card .cm { color: rgba(240,244,255,0.3); }
.code-card .ck { color: var(--purple); }
.code-card .cv { color: var(--cyan); }
.code-card .cs { color: var(--green); }

/* FEATURE LIST */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: rgba(240,244,255,0.75);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '▸'; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }

/* STAT HIGHLIGHT */
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(0,229,255,0.25); }
.stat-big { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--cyan); line-height: 1; margin-bottom: 8px; }
.stat-desc { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(240,244,255,0.4); }

/* TECH BADGE */
.tech-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.15);
  border-radius: 4px; font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--cyan); letter-spacing: 0.04em;
}
.badge-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* PROCESS */
.process-step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.ps-num {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  color: var(--cyan); background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 4px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.05em;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }

/* TESTIMONIAL */
.testimonial {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.t-stars { color: var(--cyan); font-size: 0.85rem; letter-spacing: 4px; margin-bottom: 18px; }
.t-text { font-size: 1rem; color: rgba(240,244,255,0.82); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: var(--bg);
  font-family: var(--font-mono);
}
.t-name { font-weight: 600; font-size: 0.9rem; }
.t-role { font-size: 0.78rem; color: rgba(240,244,255,0.4); margin-top: 2px; }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(240,244,255,0.4); margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px;
  color: var(--white); font-family: var(--font-sans); font-size: 0.92rem;
  transition: var(--transition); outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(240,244,255,0.2); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--cyan); background: rgba(0,229,255,0.04); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: var(--bg3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: var(--radius-lg); padding: 80px 60px; text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* DIVIDER */
.divider { height: 1px; background: var(--border); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); animation: revUp 0.5s forwards; }
@keyframes revUp { to { opacity:1; transform:translateY(0); } }
.d1{animation-delay:.1s}.d2{animation-delay:.2s}.d3{animation-delay:.3s}.d4{animation-delay:.4s}.d5{animation-delay:.5s}

/* FOOTER */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 56px; margin-bottom: 56px; }
.footer-brand { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-brand span { color: var(--cyan); }
.footer-desc { font-size: 0.87rem; color: rgba(240,244,255,0.4); line-height: 1.7; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(240,244,255,0.3); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(240,244,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-list { list-style: none; }
.footer-contact-list li { font-size: 0.87rem; color: rgba(240,244,255,0.5); margin-bottom: 10px; }
.footer-contact-list a { color: rgba(240,244,255,0.5); transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(240,244,255,0.25); }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.ci-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.15);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.ci-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.ci-value { font-size: 0.92rem; color: rgba(240,244,255,0.8); }
.ci-value a { color: rgba(240,244,255,0.8); transition: color 0.2s; }
.ci-value a:hover { color: var(--cyan); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid>*:first-child { grid-column: 1/-1; } }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .cta-section { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .nav-toggle-label { display: flex; flex-direction: column; gap: 5px; z-index: 1001; }
  .nav-toggle-label span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
  .nav-links { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 20px; transform: translateX(100%); transition: transform 0.4s ease; z-index: 1000; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle-checkbox:checked ~ .nav-links { transform: translateX(0); }
}
