:root {
  --blue-900: #061428;
  --blue-800: #0a2240;
  --blue-700: #0f3d7a;
  --blue-600: #1558b0;
  --cyan: #00c2ff;
  --cyan-dim: #0099cc;
  --white: #ffffff;
  --gray-50: #f4f7fb;
  --gray-100: #e8edf5;
  --gray-300: #b8c4d6;
  --gray-500: #6b7c94;
  --gray-700: #3d4f66;
  --gray-900: #1a2332;
  --shadow: 0 4px 24px rgba(6, 20, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(6, 20, 40, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Manrope', system-ui, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

a { color: var(--blue-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-dim); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-mark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-800);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--blue-700);
  background: var(--gray-50);
}

.header-phone {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-700);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 194, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 194, 255, 0.1) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 194, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 100px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.2;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--cyan);
  color: var(--blue-900);
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.35);
}

.btn-primary:hover {
  background: #33ceff;
  color: var(--blue-900);
  box-shadow: 0 8px 30px rgba(0, 194, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-block { width: 100%; }

/* Sections */
.section { padding: 5rem 0; }

.section:nth-child(even) { background: var(--gray-50); }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-dim);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
}

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

/* Tariffs */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tariff-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tariff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tariff-featured {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--blue-900);
  border-radius: 100px;
}

.tariff-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.tariff-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.tariff-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.tariff-price .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: -0.03em;
}

.tariff-price .period {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-left: 0.25rem;
}

.tariff-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tariff-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  padding-left: 1.5rem;
  position: relative;
}

.tariff-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan-dim);
  font-weight: 700;
}

.tariff-card .btn-outline {
  color: var(--blue-700);
  border-color: var(--gray-300);
}

.tariff-card .btn-outline:hover {
  background: var(--gray-50);
  color: var(--blue-800);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-dim));
  color: var(--white);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Contact */
.contact-section { background: var(--blue-900) !important; color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-section .section-label { color: var(--cyan); }

.contact-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 400px;
}

.contact-items { display: grid; gap: 1.5rem; }

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.contact-item p { color: rgba(255, 255, 255, 0.85); }

.contact-item a { color: var(--white); }
.contact-item a:hover { color: var(--cyan); }

.contact-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-cta h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.contact-cta .btn { margin-bottom: 0.75rem; }

.contact-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Page templates */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-subtitle {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-content { padding: 4rem 0; }

.content-body {
  max-width: 800px;
}

.content-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-800);
  margin: 2rem 0 1rem;
}

.content-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-700);
  margin: 1.5rem 0 0.75rem;
}

.content-body p { margin-bottom: 1rem; color: var(--gray-700); }

.content-body ul, .content-body ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--gray-700);
}

.content-body li { margin-bottom: 0.35rem; }

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.content-body th,
.content-body td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.content-body th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--blue-800);
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-mark {
  display: block;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--cyan); }

.footer-col p { font-size: 0.9rem; margin-bottom: 0.35rem; }

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a { padding: 0.85rem 1rem; }

  .nav-toggle { display: flex; }
  .header-phone { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
