/* ============================================
   Helix IDP — Landing Page Styles
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.938rem;
  padding: 12px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: #3B82F6;
  color: #fff;
  border-color: #3B82F6;
}

.btn--primary:hover {
  background: #2563EB;
  border-color: #2563EB;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1B3A6B;
  letter-spacing: -0.02em;
}

.header__logo-text span {
  color: #3B82F6;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.header__nav-link:hover {
  color: #1B3A6B;
  background: #f1f5f9;
}

.header__cta {
  margin-left: 8px;
  flex-shrink: 0;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B3A6B;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle--open span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1B3A6B 50%, #1e40af 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual — Floating Cards */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.hero__card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero__card--1 { margin-left: 0; }
.hero__card--2 { margin-left: 40px; }
.hero__card--3 { margin-left: 20px; }

.hero__card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-label {
  font-size: 0.813rem;
  color: #94a3b8;
  display: block;
}

.hero__card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* ============================================
   Sections (shared)
   ============================================ */
.section {
  padding: 100px 0;
}

.section--light {
  background: #f8fafc;
}

.section--dark {
  background: #0f172a;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__badge--light {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  font-size: 1.063rem;
  color: #64748b;
  line-height: 1.7;
}

.section__subtitle--light {
  color: #94a3b8;
}

/* ============================================
   Steps (How It Works)
   ============================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  position: relative;
}

.step__number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3B82F6;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3B82F6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step__title {
  font-size: 1.063rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

.step__connector {
  width: 48px;
  height: 2px;
  background: #cbd5e1;
  flex-shrink: 0;
  margin-top: 52px;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card__title {
  font-size: 1.063rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ============================================
   Advantages
   ============================================ */
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.advantage {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.advantage:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #bfdbfe;
}

.advantage__icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage__title {
  font-size: 1.063rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.advantage__desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 20px 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.pricing-banner__icon {
  font-size: 1.5rem;
}

.pricing-banner p {
  color: #e2e8f0;
  font-size: 1rem;
}

.pricing-banner strong {
  color: #34d399;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.813rem;
  border-radius: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.pricing-card--featured {
  border-color: #3B82F6;
  box-shadow: 0 0 0 1px #3B82F6, 0 12px 40px rgba(59, 130, 246, 0.15);
  background: rgba(59, 130, 246, 0.06);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #3B82F6;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #94a3b8;
}

.pricing-card__amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__comma {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-card__period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
  margin-left: 4px;
}

.pricing-card__trial {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.813rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card__features li {
  font-size: 0.875rem;
  color: #cbd5e1;
  padding-left: 28px;
  position: relative;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card__features li strong {
  color: #fff;
  font-weight: 600;
}

.pricing-card__btn {
  width: 100%;
  margin-top: auto;
}

/* Addons */
.pricing-addons {
  text-align: center;
}

.pricing-addons__title {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.pricing-addons__items {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pricing-addon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-addon__label {
  font-size: 0.813rem;
  color: #94a3b8;
  font-weight: 500;
}

.pricing-addon__price {
  font-size: 1.063rem;
  font-weight: 700;
  color: #fff;
}

.pricing-addon__price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  background: linear-gradient(135deg, #1B3A6B, #1e40af);
  padding: 72px 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.875rem;
  color: #93c5fd;
  font-weight: 500;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #e2e8f0;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__chevron::before,
.faq__chevron::after {
  content: '';
  position: absolute;
  background: #64748b;
  border-radius: 1px;
  transition: transform 0.3s;
}

.faq__chevron::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__chevron::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

details[open] .faq__chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 0 24px;
  font-size: 0.938rem;
  color: #64748b;
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: #0f172a;
  padding: 100px 0;
}

.cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 1.063rem;
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta__form {
  text-align: center;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta__input {
  font-family: inherit;
  font-size: 0.938rem;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta__input::placeholder {
  color: #64748b;
}

.cta__input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cta__submit {
  margin-top: 8px;
  width: 100%;
}

.cta__disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 16px;
}

.cta__disclaimer a {
  color: #93c5fd;
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0a0f1a;
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__tagline {
  color: #64748b;
  font-size: 0.875rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__heading {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.875rem;
  color: #64748b;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #e2e8f0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.813rem;
  color: #475569;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__visual {
    max-width: 480px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .header__nav--open {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    padding: 120px 0 72px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__card--2 { margin-left: 0; }
  .hero__card--3 { margin-left: 0; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step {
    max-width: 100%;
  }

  .step__connector {
    width: 2px;
    height: 32px;
    margin-top: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat__value {
    font-size: 2rem;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .cta__title {
    font-size: 1.75rem;
  }

  .pricing-banner {
    flex-direction: column;
    gap: 12px;
  }

  .pricing-addons__items {
    flex-direction: column;
    align-items: center;
  }

  .pricing-addon {
    width: 100%;
    max-width: 320px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
