/* ====== GLOBAL ====== */
:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #f97373;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--text);
  line-height: 1.6;
}

/* ====== LAYOUT ====== */
.container {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
}

/* ====== HEADER & NAV ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(2, 6, 23, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9fafb;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.9);
}

.nav-cta {
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 24px;
}

/* ====== HERO ====== */
.hero {
  padding: 90px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(34px, 4vw, 42px);
  margin-bottom: 12px;
}

.hero-text p {
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.hero-tags span {
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

/* HERO CARD */
.hero-card {
  background: radial-gradient(circle at top, #1f2937 0, #020617 60%);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-card ul {
  padding-left: 18px;
  margin: 0 0 18px;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 4px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.full {
  width: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-color: rgba(56, 189, 248, 0.9);
  color: #0b1020;
  font-weight: 600;
  box-shadow: 0 18px 35px rgba(56, 189, 248, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(56, 189, 248, 0.35);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--muted);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}

/* ====== SECTION HEADINGS ====== */
.section-title {
  font-size: 26px;
  margin-bottom: 6px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 30px;
}

/* ====== GRID HELPERS ====== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mt {
  margin-top: 24px;
}

/* ====== CARDS ====== */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
}

.card-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card-list li + li {
  margin-top: 4px;
}

/* PROJECT CARD */
.project-card {
  position: relative;
}

.project-card .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ====== PROCESS ====== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.step {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ====== PRICING ====== */
.pricing-card {
  position: relative;
}

.pricing-card .price {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 12px;
}

.pricing-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3);
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: flex-start;
}

.about-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.about-pill {
  background: radial-gradient(circle at top, #1f2937 0, #020617 70%);
  border-radius: 26px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-info li + li {
  margin-top: 4px;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 13px;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 18px 0;
  background: #020617;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-small {
  opacity: 0.8;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 54px;
    padding: 10px 20px 14px;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 80px;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
