:root {
  --primary: #00d2ff;
  --primary-dark: #3a7bd5;
  --accent: #9d50bb;
  --bg-dark: #0a0b10;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-light: #f5f5f7;
  --text-dim: #a1a1a6;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  background: rgba(10, 11, 16, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

nav ul li a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-light);
  border-radius: 999px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
  background: var(--glass);
  color: #fff;
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

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

.btn.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn.full {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url(/assets/hero-bg-BHKlZnlA.png) no-repeat center center / cover;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 210, 255, 0.12), transparent 50%),
    linear-gradient(to right, var(--bg-dark) 38%, rgba(10, 11, 16, 0.58) 65%, rgba(10, 11, 16, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.badge {
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.1rem, 7vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 span {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 55ch;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.services,
.pricing,
.contact {
  padding: 7rem 0;
}

.pricing {
  background: radial-gradient(circle at 50% 50%, rgba(157, 80, 187, 0.05), transparent 70%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
}

.service-card:hover {
  background: rgba(0, 210, 255, 0.03);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-8px);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background: var(--primary);
  transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.save-badge {
  background: #22c55e;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-left: 5px;
  vertical-align: middle;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--glass-border);
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.pricing-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 210, 255, 0.1);
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.03);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card .plan {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.pricing-card .price {
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  font-family: var(--font-heading);
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-dim);
}

.features {
  list-style: none;
  margin-bottom: 3rem;
  text-align: left;
}

.features li {
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.features li:before {
  content: "✓";
  color: var(--primary);
  margin-right: 1rem;
  font-weight: 700;
}

.custom-pricing-box {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 30px;
  border: 2px solid var(--glass-border);
  position: sticky;
  top: 120px;
}

.custom-pricing-box h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.custom-pricing-box p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.automation-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-item:hover {
  border-color: var(--primary);
  background: rgba(0, 210, 255, 0.03);
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.checkbox-item label {
  flex: 1;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.checkbox-item label span {
  color: var(--primary);
  font-size: 0.85rem;
  white-space: nowrap;
}

.total-calc {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  text-align: center;
}

.total-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.total-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.total-price span {
  font-size: 1rem;
  color: var(--text-dim);
}

.contact-box {
  background: var(--bg-card);
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.contact-info {
  padding: 4rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  margin-top: 2.5rem;
}

.contact-list li {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-form {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-dim);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  min-width: 64px;
  padding: 0.5rem 0.9rem;
}

@media (max-width: 1100px) {
  .container {
    padding: 0 1.5rem;
  }

  .pricing-container {
    grid-template-columns: 1fr;
  }

  .custom-pricing-box {
    position: static;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 992px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  nav {
    width: 100%;
    order: 4;
    display: none;
  }

  nav.is-open {
    display: block;
  }

  nav ul {
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: rgba(9, 10, 16, 0.96);
  }

  nav ul li a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-actions {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding-top: 9rem;
    padding-bottom: 5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 11, 16, 0.55) 0%, rgba(10, 11, 16, 0.82) 32%, rgba(10, 11, 16, 0.95) 100%),
      radial-gradient(circle at 70% 30%, rgba(0, 210, 255, 0.12), transparent 50%);
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form,
  .custom-pricing-box {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .services,
  .pricing,
  .contact {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .hero-btns,
  .pricing-toggle {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns .btn,
  .pricing-card .btn,
  .nav-actions .btn {
    width: 100%;
  }

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

  .service-card,
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .checkbox-item label {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkbox-item label span {
    white-space: normal;
  }

  .contact-box {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.9rem 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .badge {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero p,
  .section-header p,
  .contact-list li {
    font-size: 0.98rem;
  }

  .service-card,
  .pricing-card,
  .contact-info,
  .contact-form,
  .custom-pricing-box {
    padding: 1.5rem;
  }

  .custom-pricing-box h3 {
    font-size: 1.5rem;
  }

  .pricing-card .price,
  .total-price {
    font-size: 2rem;
  }

  .popular-badge {
    font-size: 0.72rem;
    padding: 0.4rem 1rem;
  }

  footer {
    padding: 3rem 0;
  }
}
