/* AI Translator Platform — premium website redesign */
:root {
  --max: 1240px;
  --violet: #9564ff;
  --blue: #599bff;
}

body {
  background:
    radial-gradient(ellipse 65% 28% at 75% 8%, rgba(117, 55, 224, .18), transparent 75%),
    radial-gradient(ellipse 55% 24% at 5% 38%, rgba(42, 91, 205, .12), transparent 75%),
    #070b1b;
}

section {
  padding: clamp(90px, 11vw, 160px) 0;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 110px 0;
}

.hero-grid {
  gap: clamp(36px, 6vw, 90px);
}

.hero h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.04;
}

.gradient-text {
  background: linear-gradient(110deg, #fff 10%, #cbb7ff 55%, #8d6aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.btn.primary {
  background: linear-gradient(120deg, #7044ff, #5558f5);
  box-shadow: 0 12px 35px rgba(101, 65, 255, .24);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 90px 0;
  }

  section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Balanced hero layout */
.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero .lead {
  max-width: 620px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  box-shadow: 0 30px 100px rgba(66, 35, 164, .18);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -35px;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(119, 64, 255, .22), transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

/* Elegant gradient section headings */
.section-head h2 {
  display: inline-block;
  max-width: 950px;
  background: linear-gradient(110deg, #ffffff 8%, #e4d8ff 48%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.14;
}

.section-head {
  margin-bottom: 52px;
}

/* Premium capabilities cards */
#capabilities .feature-grid {
  gap: 24px;
}

#capabilities .feature-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(157, 130, 255, .16);
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 73, 225, .10), transparent 65%),
    linear-gradient(145deg, #11152d, #0b1024);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
  transition: transform .3s ease, border-color .3s ease;
}

#capabilities .feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, .45);
}

#capabilities .feature-card h3 {
  color: #f0eaff;
  font-size: 21px;
  margin-bottom: 18px;
}

#capabilities .feature-card p {
  color: #aab6d0;
  line-height: 1.8;
}

@media (max-width: 820px) {
  #capabilities .feature-card {
    min-height: auto;
    padding: 26px;
  }
}

/* Getting started — visual journey */
#how .feature-grid {
  gap: 28px;
  margin-top: 48px;
}

#how .feature-card {
  position: relative;
  min-height: 250px;
  padding: 38px 30px;
  border-radius: 26px;
  border: 1px solid rgba(157, 130, 255, .22);
  background:
    radial-gradient(circle at 10% 0%, rgba(125, 77, 255, .15), transparent 65%),
    linear-gradient(145deg, #141831, #0a1025);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

#how .feature-card::before {
  content: "✦";
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 17px;
  color: #d8c7ff;
  font-size: 26px;
  background: linear-gradient(135deg, #35216e, #182653);
  border: 1px solid rgba(170, 140, 255, .3);
}

#how .feature-card h3 {
  font-size: 21px;
  color: #f0eaff;
  margin-bottom: 15px;
}

#how .feature-card p {
  color: #acb9d3;
  line-height: 1.8;
}

#how .feature-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -23px;
  top: 45%;
  color: #a78bfa;
  font-size: 30px;
  z-index: 2;
}

@media (max-width: 820px) {
  #how .feature-card {
    min-height: auto;
  }

  #how .feature-card:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -29px;
    transform: translateX(50%);
  }
}

/* Premium application screenshots */
#interface .screens {
  gap: 32px;
}

#interface .screen-shot {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(150, 120, 255, .22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(115, 65, 240, .16), transparent 70%),
    linear-gradient(145deg, #15172f, #0b1024);
  box-shadow: 0 25px 75px rgba(0, 0, 0, .22);
  transition: transform .35s ease, border-color .35s ease;
}

#interface .screen-shot:hover {
  transform: translateY(-6px);
  border-color: rgba(170, 140, 255, .5);
}

#interface .screen-shot img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .3);
}

#interface .screen-shot h3 {
  margin: 24px 6px 8px;
  font-size: 22px;
  color: #eee7ff;
}

#interface .screen-shot p {
  margin: 0 6px 8px;
  color: #aebbd4;
  line-height: 1.7;
}

@media (max-width: 820px) {
  #interface .screen-shot {
    padding: 14px;
  }
}
