:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #3b82f6;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border: #334155;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 26px;
}

.logo-icon {
  font-size: 32px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(124,58,237,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Order form */
.order-form-card {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  z-index: 1;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 14px 48px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.input-wrapper select {
  cursor: pointer;
  padding-left: 48px;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.tariff-select {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tariff-btn {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tariff-btn.active,
.tariff-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tariff-btn .tariff-btn-name {
  font-size: 15px;
  font-weight: 600;
}

.order-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 17px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.order-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(124, 58, 237, 0.4);
}

.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.step-number {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 16px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary);
  display: inline-block;
  border-radius: 50px;
  margin-bottom: 18px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

/* Tariffs */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.tariff-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 30px 28px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.tariff-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.tariff-card.featured {
  border-color: var(--primary);
  box-shadow: 0 25px 50px -12px rgb(124 58 237 / 0.2);
}

.tariff-card-badge {
  position: absolute;
  top: -10px;
  right: 28px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 18px;
  border-radius: 30px;
}

.tariff-card-icon {
  font-size: 44px;
}

.tariff-card-name {
  font-size: 26px;
  margin: 12px 0;
}

.tariff-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 26px;
}

.price-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.price-from {
  color: var(--text-secondary);
  font-size: 15px;
}

.price-currency {
  font-size: 18px;
  color: var(--text-secondary);
}

.tariff-features {
  list-style: none;
  margin-bottom: 26px;
}

.tariff-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.check {
  color: #22c55e;
  margin-right: 10px;
  font-weight: 700;
}

.tariff-card-btn {
  width: 100%;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  color: white;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.tariff-card-btn.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
}

.tariff-card-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.advantage-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

/* App section */
.app-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 70px;
  align-items: center;
}

.app-features {
  margin: 32px 0;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.app-feature-icon {
  font-size: 22px;
}

.app-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.store-btn {
  background: #0f172a;
  border: 1px solid var(--border);
  padding: 11px 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.2s;
}

.store-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #111827;
  border: 12px solid #0f172a;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
  border-radius: 58px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.phone-screen {
  height: 100%;
  background: #0f172a;
  position: relative;
}

.phone-header {
  padding-top: 22px;
  padding-left: 26px;
  padding-right: 26px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.7;
}

.phone-app-title {
  font-weight: 700;
  font-size: 18px;
  margin-top: 30px;
  text-align: center;
}

.phone-map {
  margin: 30px 20px;
  height: 200px;
  background: #1e293b;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.car-marker {
  position: absolute;
  top: 50%;
  left: 45%;
  font-size: 36px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.map-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

.phone-bottom {
  padding: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
}

.phone-search {
  background: #0f172a;
  padding: 13px 16px;
  font-size: 15px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.phone-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  text-align: center;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
}

/* Footer */
.footer {
  background: #0a111f;
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 22px;
  color: var(--text-primary);
}

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

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  max-width: 280px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  font-size: 17px;
  color: var(--text-secondary);
  transition: all .2s;
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: white;
  font-size: 24px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  .tariff-select {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 30px 20px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 22px;
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: block;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .step-connector {
    display: none;
  }
  
  .tariff-select {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .app-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .app-buttons {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col ul {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-sub {
    font-size: 17px;
  }
  .nav-cta {
    display: none;
  }
}
