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

:root {
  --bg: #07080f;
  --bg-2: #0d0f1a;
  --bg-card: #0f1120;
  --border: rgba(255,255,255,0.07);
  --cyan: #00d4ff;
  --cyan-dim: rgba(0,212,255,0.15);
  --cyan-glow: rgba(0,212,255,0.4);
  --violet: #7c3aed;
  --text: #e8eaf0;
  --text-muted: #7a7f9a;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
  font-family: 'Space Grotesk', sans-serif;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-primary:hover {
  background: #33ddff;
  box-shadow: 0 0 30px var(--cyan-glow);
  transform: translateY(-1px);
}

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

.btn-nav {
  background: var(--cyan);
  color: #000;
  padding: 9px 20px;
  font-size: 14px;
}
.btn-nav:hover { background: #33ddff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  width: 100%;
  justify-content: center;
}

.btn-full { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,8,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(7,8,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
}
.mobile-menu.open { display: flex; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}
.glow-1 {
  width: 600px; height: 400px;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
}
.glow-2 {
  width: 400px; height: 300px;
  bottom: 0; right: -100px;
  background: var(--violet);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--cyan);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ── Tools ── */
.tools { background: var(--bg); }

.tools-grid {
  max-width: 780px;
  margin: 0 auto;
}

.tool-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(124,58,237,0.08) 100%);
  transition: all var(--transition);
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,212,255,0.3);
}

.tool-card-inner {
  background: var(--bg-card);
  border-radius: calc(var(--radius) - 2px);
  padding: 36px 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.tool-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.tool-info { flex: 1; }

.tool-badge {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tool-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.tool-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.tool-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-cta span { transition: transform var(--transition); }
.tool-card:hover .tool-cta span { transform: translateX(4px); }

@media (max-width: 600px) {
  .tool-card-inner { flex-direction: column; gap: 20px; padding: 24px; }
}

/* ── Section Shared ── */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

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

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(0,212,255,0.35);
  background: linear-gradient(160deg, #0f1525 0%, var(--bg-card) 100%);
}

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: var(--cyan);
  color: #000;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.service-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 12px;
}

/* ── Why ── */
.why { background: var(--bg); }

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

.why-text .section-tag { margin-bottom: 16px; }

.why-text h2 {
  margin-bottom: 16px;
}

.why-text > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-icon {
  color: var(--cyan);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.why-point h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-point p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.stats-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(0,212,255,0.08);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-divider {
  height: 1px;
  background: var(--border);
}

.card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

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

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

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

input::placeholder, textarea::placeholder {
  color: rgba(122,127,154,0.6);
}

select option { background: var(--bg-card); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  gap: 16px;
}
.form-success.visible { display: flex; }

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 8px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
}

.form-success p {
  color: var(--text-muted);
  font-size: 16px;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-left p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  section { padding: 72px 0; }

  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { order: -1; }
  .stats-card { padding: 36px 28px; }
  .stat-num { font-size: 36px; }

  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  h1 { letter-spacing: -0.8px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}
