:root {
  --bg: #050814;
  --bg-alt: #090d1f;
  --card-bg: #0f1428;
  --accent: #3df2c8;
  --accent-soft: rgba(61, 242, 200, 0.15);
  --text: #f5f7ff;
  --muted: #9aa0c2;
  --border: #1b2140;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #101633 0, #050814 55%, #02030a 100%);
  color: var(--text);
  font-family: var(--font-main);
}

body {
  min-height: 100vh;
}



/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  padding: 32px 8vw 72px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.nav {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  border-color: var(--accent-soft);
}

.hero-main h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 0 0 10px;
}

.hero-main h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero-main p {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #4cf0ff);
  color: #02030a;
  box-shadow: 0 10px 30px rgba(61, 242, 200, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.secondary:hover {
  border-color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.02);
}

.btn.full {
  width: 100%;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #1a2145 0, #050814 55%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}

/* SECTIONS */

.section {
  padding: 56px 8vw;
}

.section.alt {
  background: radial-gradient(circle at top right, #101633 0, #050814 55%);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 24px;
}

/* GRID + CARDS */

.grid {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* CONTACT */

.section.contact {
  background: #050814;
}

.contact-form {
  margin-top: 10px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.form-field {
  flex: 1;
  min-width: 200px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #050814;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 242, 200, 0.4);
}

.form-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  padding: 16px 8vw 20px;
  background: #040612;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* --- PROCESS ANIMATION (FINAL WORKING VERSION) --- */

.process-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.process-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0.45;
  transform: scale(0.97);
  transition: 
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.process-box.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(61, 242, 200, 0.35);
}

.process-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.process-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #02030a;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 1.4rem;
  opacity: 0.7;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }

  .nav {
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 40px 6vw;
  }

  .hero {
    padding: 24px 6vw 56px;
  }

  .hero-main h1 {
    font-size: 2.2rem;
  }
}