/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080d18;
  --bg-2:      #0d1424;
  --surface:   #111827;
  --surface-2: #1a2234;
  --border:    #1f2d45;
  --cyan:      #06b6d4;
  --cyan-dim:  #0891b2;
  --cyan-glow: rgba(6,182,212,0.15);
  --white:     #f9fafb;
  --muted:     #9ca3af;
  --muted-2:   #6b7280;
  --red:       #ef4444;
  --yellow:    #f59e0b;
  --green:     #10b981;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ── Navigation ── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-header.scrolled {
  background: rgba(8, 13, 24, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}
.nav-logo-img {
  height: 60px;
  width: auto;
}
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--cyan) !important;
  color: var(--bg) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #06b6d4, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(4px); }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--cyan-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--muted-2);
  background: rgba(255,255,255,0.04);
}

.btn--large { padding: 16px 36px; font-size: 1rem; }
.btn--full  { width: 100%; }

/* ── Trust Bar ── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--muted-2);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Section Helpers ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Services ── */
.services { background: var(--bg-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(6,182,212,0.35);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: rgba(6,182,212,0.4);
  background: linear-gradient(180deg, rgba(6,182,212,0.06) 0%, var(--surface) 50%);
  box-shadow: 0 0 0 1px rgba(6,182,212,0.2), var(--shadow);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--cyan-glow);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}
.service-link:hover { text-decoration: underline; }

/* ── Platform ── */
.platform { background: var(--bg); }

.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pf-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pf-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: var(--cyan-glow);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-top: 2px;
}

.pf-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.pf-item span {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
}

/* Platform mockup */
.platform-visual { position: relative; }

.platform-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(6,182,212,0.1);
}

.mockup-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-url {
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-left: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 10px;
}

.mockup-content {
  display: flex;
  min-height: 340px;
}

.mockup-sidebar {
  width: 120px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  flex-shrink: 0;
}

.ms-item {
  padding: 8px 14px;
  font-size: 0.72rem;
  color: var(--muted-2);
  cursor: default;
  transition: background 0.15s;
}
.ms-item--active {
  background: var(--cyan-glow);
  color: var(--cyan);
  border-right: 2px solid var(--cyan);
  font-weight: 600;
}

.mockup-main {
  flex: 1;
  padding: 16px;
}

.mm-header {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.mm-heatmap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
}

.hm-row {
  display: flex;
  gap: 3px;
}

.hm-cell {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}
.hm-cell:hover { transform: scale(1.05); }
.hm-low  { background: rgba(16,185,129,0.25); }
.hm-med  { background: rgba(245,158,11,0.25); }
.hm-high { background: rgba(239,68,68,0.3); }
.hm-crit { background: rgba(239,68,68,0.5); }
.hm-active { background: rgba(239,68,68,0.75); box-shadow: 0 0 8px rgba(239,68,68,0.4); }

.mm-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.72rem;
  color: var(--muted);
}

.mm-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.mm-badge--crit { background: rgba(239,68,68,0.2);  color: #f87171; }
.mm-badge--high { background: rgba(245,158,11,0.2); color: #fbbf24; }
.mm-badge--med  { background: rgba(6,182,212,0.15); color: var(--cyan); }

/* ── About ── */
.about { background: var(--bg-2); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { text-align: left; }

.about-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.about-quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--cyan);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 20px;
}

blockquote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--white);
  font-style: italic;
  margin-bottom: 28px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 1px solid rgba(6,182,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
}

.quote-author strong { display: block; font-size: 0.9rem; }
.quote-author span   { font-size: 0.8rem; color: var(--muted); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(56,189,248,0.06) 100%);
  border-top: 1px solid rgba(6,182,212,0.15);
  border-bottom: 1px solid rgba(6,182,212,0.15);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.cta-text p {
  color: var(--muted);
  font-size: 1rem;
}

/* ── Contact ── */
.contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); }

.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-sm);
}
.form-success.visible { display: flex; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.ci-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.ci-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.ci-item a, .ci-item span { font-size: 0.9rem; color: var(--muted); }
.ci-item a:hover { color: var(--cyan); }

.ci-promise {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.ci-promise svg { flex-shrink: 0; margin-top: 1px; }

/* ── Footer ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}
.footer-brand .nav-logo {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .platform-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,13,24,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links li:last-child a { border: none; }
  .nav-cta { background: none !important; color: var(--cyan) !important; padding: 14px 0 !important; }

  .nav-toggle { display: flex; }

  .hero-inner { padding: 40px 24px 24px; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 80px; height: 1px; }

  .services-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .platform-visual { display: none; }
  .hero-scroll-hint { display: none; }
}
