 :root {
  --bg: #f4f7fb;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --accent: #0053b8;
  --accent-2: #00a0e9;
  --accent-soft: rgba(0, 83, 184, 0.08);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f9fbff 0, #edf2ff 40%, #e5f3ff 100%);
  color: var(--text-main);
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.9)
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #0f172a;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.2s ease, opacity 0.2s ease, translate 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* HERO */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.hero-text .accent {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.4);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbd5f5;
  color: var(--accent);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: #eef2ff;
}

.btn.full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-tags span {
  font-size: 0.72rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.95);
}

/* HERO CARD */

.hero-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}

.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
}

.hero-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: #f1f5f9;
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.94rem;
}

/* GRID */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* CARDS */

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.3rem;
  color: #0f172a;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.service-card ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 0.8rem;
  color: #1f2937;
}

.service-card li {
  margin-bottom: 0.25rem;
}

/* CHIPS */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips span {
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #bfdbfe;
  color: #075985;
}

/* TIMELINE */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  position: relative;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.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: 0.78rem;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  color: #0f172a;
}

.step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info p {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  margin-top: 0.3rem;
}

.field {
  margin-bottom: 0.8rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.86rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35);
}

.form-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.4rem 0 1.6rem;
  background: #ffffff;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.1rem 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.footer-sub {
  font-size: 0.72rem;
}

/* ANIMATIONS */

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSoft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-text {
  animation: floatUp 0.7s ease-out both;
}

.hero-card {
  animation: floatUp 0.8s ease-out both;
  animation-delay: 0.1s;
}

.service-card:nth-child(1),
.step:nth-child(1) {
  animation: floatUp 0.7s ease-out both;
}

.service-card:nth-child(2),
.step:nth-child(2) {
  animation: floatUp 0.7s ease-out both;
  animation-delay: 0.05s;
}

.service-card:nth-child(3),
.step:nth-child(3) {
  animation: floatUp 0.7s ease-out both;
  animation-delay: 0.1s;
}

.service-card:nth-child(4),
.step:nth-child(4) {
  animation: floatUp 0.7s ease-out both;
  animation-delay: 0.15s;
}

.contact-form {
  animation: floatUp 0.7s ease-out both;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    margin-top: 0.4rem;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.86rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

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

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.3rem;
  }

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

  .hero-card {
    margin-top: 0.5rem;
  }

  .nav-inner {
    padding-inline: 0;
  }
}
