/* Devscry — shared styles (loaded after Tailwind CDN utilities) */

:root {
  --navy: #0b1120;
  --ink: #0f172a;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

.font-mono-brand {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.btn-primary:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background-color: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-primary-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* Nav */
.nav-link {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link.active {
  color: var(--ink);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background-color: var(--accent);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-link.active {
  color: var(--accent);
}

/* Hero background */
.hero-pattern {
  background-color: #f8fafc;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.10), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.10), transparent 40%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

.gradient-text {
  background-image: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.15);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.icon-tile {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.12));
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 1.25rem;
  height: 2px;
  background-color: var(--accent);
  display: inline-block;
}

/* Process steps connector */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 100%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 12px);
  display: none;
}
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    display: block;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
label.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

/* Footer */
.footer-link {
  color: #94a3b8;
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: #fff;
}

.badge-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent);
}
