:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #0ea5e9;
  --navy: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  color: var(--primary);
}

.nav ul {
  display: flex;
  gap: 34px;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background: var(--bg-soft);
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  margin: 3px auto;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 55%);
  padding: 110px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--navy);
}

.hero-stats .stat span {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(37, 99, 235, 0.5), transparent 55%);
}

.hero-visual h3 {
  font-size: 1.35rem;
  margin-bottom: 24px;
  position: relative;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
  position: relative;
}

.hero-list li:last-child {
  border-bottom: none;
}

.hero-list .dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.card a {
  font-weight: 600;
  font-size: 0.92rem;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-item .num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
}

.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}

.process-step h3 {
  color: var(--navy);
  margin: 14px 0 8px;
  font-size: 1.1rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

.price-card .tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 6px 0 20px;
}

.price-card .amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-card .amount span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card .per {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-card ul {
  flex: 1;
  margin-bottom: 26px;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.93rem;
  color: var(--text);
}

.price-card li .check {
  color: var(--primary);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 22px;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 560px;
  line-height: 1.25;
}

.cta-band p {
  opacity: 0.9;
  margin-top: 8px;
  max-width: 520px;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 70px 0 0;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer p {
  font-size: 0.92rem;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 60%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--primary);
}

/* Services page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.service-detail:nth-child(even) .service-media {
  order: -1;
}

.service-detail .service-media {
  background: var(--bg-soft);
  border-radius: 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid var(--border);
}

.service-detail h3 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.service-detail p {
  color: var(--muted);
  margin-bottom: 16px;
}

.service-detail ul li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.95rem;
}

.service-detail ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid .media {
  background: var(--navy);
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-grid .media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.55), transparent 60%);
}

.about-grid .media span {
  color: #fff;
  font-size: 6rem;
  position: relative;
}

.about-grid h2 {
  color: var(--navy);
  font-size: 1.9rem;
  margin-bottom: 16px;
}

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

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.value {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.value .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.value h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

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

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.form-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q .plus {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Design polish */
::selection {
  background: var(--primary);
  color: #fff;
}

.hero {
  background: linear-gradient(160deg, #e8f1ff 0%, #ffffff 55%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 480px;
  height: 480px;
  background: rgba(37, 99, 235, 0.16);
  top: -140px;
  right: -100px;
  animation: blob 12s ease-in-out infinite alternate;
}

.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(14, 165, 233, 0.14);
  bottom: -160px;
  left: -120px;
  animation: blob 14s ease-in-out infinite alternate-reverse;
}

@keyframes blob {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-40px, 40px) scale(1.15);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero-visual {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 90%, rgba(14, 165, 233, 0.35), transparent 50%);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 40%;
  height: 220%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(25deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.card-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--primary);
  color: #fff;
}

.price-card.featured {
  border: none;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  border: 2px solid transparent;
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.25);
  pointer-events: none;
}

.price-card .amount {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-step {
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.process-step:hover::before {
  color: var(--accent);
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -180px;
  right: -100px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -140px;
  left: 30%;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-visual,
  .hero h1 .grad {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .service-detail,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-media {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 4%;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .nav a {
    font-size: 1.05rem;
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .cta-band {
    padding: 40px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
