/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a56db;
  --blue-dark:  #1340a8;
  --blue-light: #e8f0fe;
  --orange:     #f97316;
  --teal:       #0d9488;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BADGES === */
.badge {
  display: inline-block;
  background: rgba(26,86,219,.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-dark {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline.text-white {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline.text-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-full { width: 100%; text-align: center; }

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

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

.logo-link { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.btn-nav:hover { background: var(--blue-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-200);
  background: #fff;
}
.mobile-menu a {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu.open { display: flex; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2a5e 60%, #1a56db 100%);
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-text .badge { margin-bottom: 20px; }

.hero-text h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero-text h1 .accent { color: #f97316; }

.hero-text p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: flex-start; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 380px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.stat-num small { font-size: 16px; font-weight: 600; }
.stat-label { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.speed-bar-wrap { }
.speed-bar-label { font-size: 12px; color: rgba(255,255,255,.5); display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.speed-bar { background: rgba(255,255,255,.1); border-radius: 100px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.speed-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #1a56db, #f97316);
  animation: fillBar 1.5s 0.5s ease forwards;
}
@keyframes fillBar { to { width: 92%; } }
.speed-bar-val { font-size: 12px; color: #f97316; font-weight: 600; }

.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* === SERVICES === */
.services { padding: 100px 0; background: var(--gray-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service-card--highlight {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.service-card--highlight h3,
.service-card--highlight p { color: rgba(255,255,255,.9); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.icon-blue    { background: var(--blue-light); color: var(--blue); }
.icon-white   { background: rgba(255,255,255,.15); color: #fff; }
.icon-orange  { background: #fff7ed; color: var(--orange); }
.icon-teal    { background: #f0fdfa; color: var(--teal); }

.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.65; margin-bottom: 20px; }
.service-card--highlight p { color: rgba(255,255,255,.75); }

.service-link { font-size: 14px; font-weight: 600; color: var(--blue); transition: color var(--transition); }
.service-link:hover { color: var(--blue-dark); }
.service-link--light { color: rgba(255,255,255,.9) !important; }
.service-link--light:hover { color: #fff !important; }

/* === PLANS === */
.plans { padding: 100px 0; background: #fff; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan-card--popular {
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  transform: scale(1.04);
}
.plan-card--popular:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 28px; }
.plan-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); display: block; margin-bottom: 8px; }
.plan-card--popular .plan-name { color: rgba(255,255,255,.6); }

.plan-speed { font-size: 52px; font-weight: 800; line-height: 1; color: var(--gray-900); }
.plan-speed span { font-size: 22px; font-weight: 500; color: var(--gray-400); }
.plan-card--popular .plan-speed { color: #fff; }
.plan-card--popular .plan-speed span { color: rgba(255,255,255,.6); }

.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-600); }
.plan-card--popular .plan-features li { color: rgba(255,255,255,.85); }
.plan-features svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); }
.plan-card--popular .plan-features svg { color: rgba(255,255,255,.8); }

.btn-plan {
  display: block;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: background var(--transition);
}
.btn-plan:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-plan--white {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.btn-plan--white:hover { background: var(--gray-100); border-color: var(--gray-100); }

/* === ENTERPRISE === */
.enterprise { padding: 100px 0; background: var(--gray-50); }

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.enterprise-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.enterprise-card--dark {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: #fff;
}

.enterprise-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.enterprise-label--light {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}

.enterprise-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.enterprise-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }
.enterprise-card--dark p { color: rgba(255,255,255,.65); }

.ent-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.ent-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.enterprise-card--dark .ent-features li { color: rgba(255,255,255,.8); }

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-blue   { background: var(--blue); }
.dot-orange { background: var(--orange); }

/* === CLOUD === */
.cloud { padding: 100px 0; background: #fff; }

.cloud-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cloud-text .badge-dark { margin-bottom: 16px; }
.cloud-text h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.cloud-text p { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }

.cloud-list { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.cloud-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--gray-700); }
.cloud-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); }

.cloud-box {
  background: linear-gradient(145deg, #f0fdfa 0%, #e8f0fe 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.cloud-icon-wrap {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: var(--shadow);
}
.cloud-icon-wrap svg { width: 52px; height: 52px; color: var(--teal); }

.cloud-specs { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.spec-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.spec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* === ABOUT === */
.about { padding: 100px 0; background: var(--gray-50); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-card-wrap { position: relative; }

.about-img-placeholder {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.about-img-placeholder svg { width: 100%; height: auto; }

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge-card svg { width: 32px; height: 32px; flex-shrink: 0; }
.about-badge-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); }
.about-badge-card span  { display: block; font-size: 12px; color: var(--gray-400); }

.about-text .badge-dark { margin-bottom: 16px; }
.about-text h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.about-text p  { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.about-stat { }
.about-stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--blue); }
.about-stat-label { display: block; font-size: 13px; color: var(--gray-400); margin-top: 2px; }

/* === CONTACT === */
.contact { padding: 100px 0; background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-item strong { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; cursor: pointer; }

.form-note { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: -4px; }

/* === FOOTER === */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.7; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-bottom: 60px; }
  .hero-text p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-visual { justify-content: center; }

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

  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-4px); }

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

  .cloud-inner { grid-template-columns: 1fr; gap: 40px; }

  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-badge-card { right: 0; }
  .about-stats { gap: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .enterprise-card { padding: 32px 24px; }
  .hero-card { padding: 24px; }
}
