:root {
  --background: #f7f9fb;
  --foreground: #0f1724;
  --border: rgba(15, 23, 36, 0.08);
  --input: #ffffff;
  --primary: #0b63d4;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f1724;
  --muted: #e6edf7;
  --muted-foreground: #6b778c;
  --card: #ffffff;
  --card-foreground: #0f1724;

  --font-family-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 999px;

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(11, 99, 212, 0.35);
  outline-offset: 3px;
}

button {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .service-card,
  .service-link,
  .service-link-icon,
  .cta-phone {
    transition: none;
  }
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-muted {
  background-color: var(--muted);
}

.mb-0 {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main section[id] {
  scroll-margin-top: 96px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

p {
  margin: 0;
  color: var(--muted-foreground);
}

.lead-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 70ch;
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.header {
  height: 80px;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
  min-height: 44px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary-foreground);
  font-size: 18px;
}

.logo-icon-sm {
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.nav-menu {
  display: none;
  gap: 24px;
}

.nav-item {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-item:hover {
  color: var(--foreground);
  background: rgba(15, 23, 36, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn-label-full {
  display: none;
}

.header-actions .btn-label-short {
  display: inline;
}

.header-phone {
  display: none;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
  min-height: 44px;
  align-items: center;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  transform: translateY(0);
}

.btn:hover {
  opacity: 0.98;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -28px rgba(15, 23, 36, 0.45);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -22px rgba(15, 23, 36, 0.5);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-white {
  background-color: var(--background);
  color: var(--foreground);
  font-weight: 700;
}

.btn-icon {
  margin-left: 8px;
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero */
.hero-section {
  padding: 56px 0 96px;
  background-color: var(--background);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-content {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.08);
}

.hero-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Stats */
.stats-section {
  background: transparent;
}

.stats-container {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 72px;
}

.stats-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.04);
}

.stat-block {
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-block:nth-child(2n) {
  border-right: none;
}

.stat-block:nth-last-child(-n + 2) {
  border-bottom: none;
}

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Services */
.services-header {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  transform: translateY(0);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 36, 0.14);
  box-shadow: 0 22px 60px -44px rgba(15, 23, 36, 0.55);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 18px;
  flex: 1;
}

.service-link {
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--primary);
}

.service-link-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
  transform: translateX(0);
}

.service-link:hover .service-link-icon,
.service-link:focus-visible .service-link-icon {
  transform: translateX(4px);
}

/* About */
.about-section {
  background-color: var(--background);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-visual {
  position: relative;
}

.about-visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.experience-card {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  background-color: var(--card);
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
}

.experience-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.experience-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.feature-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.feature-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

/* Pricing */
.pricing-header {
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1120px;
  margin-inline: auto;
}

.pricing-plan {
  padding: 34px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  box-shadow: 0 18px 50px -28px rgba(15, 23, 36, 0.28);
}

.pricing-plan.highlighted {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  position: relative;
  box-shadow: 0 34px 90px -44px rgba(15, 23, 36, 0.55);
  transform: none;
  min-height: 560px;
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0b1b34;
  color: var(--background);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 36, 0.5);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--foreground);
}

.highlighted .plan-name {
  color: var(--primary-foreground);
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.price-prefix,
.price-currency,
.price-period {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.highlighted .price-prefix,
.highlighted .price-currency,
.highlighted .price-period {
  color: var(--primary-foreground);
  opacity: 0.85;
}

.price-amount {
  font-size: clamp(3rem, 4.2vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--foreground);
}

.highlighted .price-amount {
  color: var(--primary-foreground);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(15, 23, 36, 0.78);
}

.highlighted .plan-feature-item {
  color: var(--primary-foreground);
  opacity: 0.92;
}

.feature-check {
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 20px;
}

.highlighted .feature-check {
  color: var(--primary-foreground);
}

.plan-btn {
  width: 100%;
  min-height: 52px;
}

/* CTA */
.cta-section {
  padding-top: 56px;
  padding-bottom: 72px;
  background-color: var(--background);
}

.cta-box {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px 20px;
  text-align: center;
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  color: var(--primary-foreground);
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--primary-foreground);
  opacity: 0.92;
  font-size: 1.0625rem;
  max-width: 65ch;
  margin: 0 auto 22px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -40px rgba(15, 23, 36, 0.6);
  color: var(--primary-foreground);
  font-size: clamp(1.4rem, 5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(0);
}

.cta-phone:hover,
.cta-phone:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 70px -52px rgba(15, 23, 36, 0.75);
}

.cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.input-wrapper {
  width: 100%;
  background-color: var(--background);
  border-radius: var(--radius-md);
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
}

.input-icon {
  color: var(--muted-foreground);
  font-size: 20px;
  flex-shrink: 0;
}

.input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--foreground);
  font-size: 0.9375rem;
  min-height: 44px;
  outline: none;
}

.cta-form-row .btn {
  min-height: 56px;
  padding: 0 24px;
  border: none;
}

.cta-note {
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

.cta-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* Footer */
.footer-area {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-brand-desc {
  margin-top: 14px;
  font-size: 0.9375rem;
  max-width: 50ch;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--foreground);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.35;
  display: inline-block;
  padding: 4px 0;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-link-strong {
  color: var(--foreground);
  font-weight: 700;
}

.footer-bottom-bar {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-bottom-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-legal-info {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.35;
  max-width: 70ch;
}

/* Tablet */
@media (min-width: 600px) {
  .header-actions .btn-label-full {
    display: inline;
  }

  .header-actions .btn-label-short {
    display: none;
  }

  .btn {
    min-height: 48px;
    padding: 0 20px;
    font-size: 0.9375rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
  }
  .pricing-plan {
    padding: 40px 32px;
    min-height: 560px;
  }

  .pricing-plan.highlighted {
    min-height: 600px;
  }

  .stats-container {
    margin-top: -56px;
    margin-bottom: 96px;
  }

  .cta-box {
    padding: 56px 32px;
  }

  .cta-form-row {
    flex-direction: row;
    align-items: center;
  }

  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-legal-info {
    text-align: right;
  }
}

/* Laptop */
@media (min-width: 960px) {
  .nav-menu {
    display: flex;
  }

  .header-phone {
    display: inline-flex;
  }

  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .hero-content,
  .hero-visual {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-content {
    max-width: none;
  }

  .hero-actions {
    flex-direction: row;
    gap: 16px;
  }

  .stats-card {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-block {
    border-bottom: none;
  }

  .stat-block:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .stat-block:last-child {
    border-right: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .about-layout {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }

  .about-visual {
    flex: 0 0 520px;
  }

  .about-content {
    flex: 1 1 0;
    min-width: 0;
  }

  .experience-card {
    left: auto;
    right: -24px;
    bottom: 24px;
    width: 260px;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1.12fr 1fr;
    gap: 32px;
    align-items: stretch;
  }

  .pricing-plan {
    padding: 48px 40px;
    min-height: 600px;
  }

  .pricing-plan.highlighted {
    padding: 56px 44px;
    min-height: 680px;
    transform: translateY(-18px);
  }


  .footer-layout {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }
}
