/* Beautiful professional homepage */

html { scroll-behavior: smooth; }

.home-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(127, 99, 255, 0.20), transparent 30%),
    radial-gradient(circle at right top, rgba(65, 210, 255, 0.14), transparent 25%),
    linear-gradient(180deg, #f7f5ff 0%, #f2f6ff 52%, #edf3ff 100%);
  color: #24194d;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(114, 98, 196, 0.12);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24194d;
  text-decoration: none;
}

.home-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #5b2ee5, #8a73ff);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(91,46,229,0.22);
}

.home-brand strong { font-size: 22px; letter-spacing: -0.02em; }

.home-nav { display: flex; align-items: center; gap: 22px; }
.home-nav a {
  color: #51476e;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.home-nav a:hover { color: #5b2ee5; }

.home-header-actions { display: flex; gap: 10px; align-items: center; }

.header-join-btn,
.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}

.header-join-btn {
  background: #f2eeff;
  color: #4a34a1;
  border: 1px solid #ddd4ff;
}

.header-login-btn {
  background: linear-gradient(135deg, #5b2ee5, #886fff);
  color: #fff;
  box-shadow: 0 12px 22px rgba(91,46,229,0.18);
}

.home-hero,
.home-section,
.about-section,
.contact-section,
.cta-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 20px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: 54px;
}

.home-badge,
.home-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  background: linear-gradient(135deg, rgba(91,46,229,0.12), rgba(128,91,255,0.18));
  color: #5b2ee5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 18px 0 16px;
  color: #24194d;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-content > p {
  max-width: 760px;
  margin: 0;
  color: #665d81;
  font-size: 20px;
  line-height: 1.65;
}

.home-error {
  margin-top: 20px;
  max-width: 700px;
  border-radius: 18px;
  padding: 14px 16px;
  color: #8a2b2b;
  background: rgba(255,240,240,0.95);
  border: 1px solid rgba(138,43,43,0.10);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-home-btn,
.secondary-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.primary-home-btn {
  background: linear-gradient(135deg, #5b2ee5, #886fff);
  color: #fff;
  box-shadow: 0 16px 30px rgba(91,46,229,0.24);
}

.secondary-home-btn {
  background: #fff;
  color: #4a34a1;
  border: 1px solid rgba(114, 98, 196, 0.14);
}

.primary-home-btn:hover,
.secondary-home-btn:hover { transform: translateY(-1px); }

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(114, 98, 196, 0.10);
  color: #5d5578;
  font-size: 13px;
  font-weight: 800;
}

.hero-preview-card {
  border-radius: 34px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255,218,107,0.28), transparent 34%),
    linear-gradient(135deg, #24194d, #5b2ee5);
  color: #fff;
  box-shadow: 0 30px 80px rgba(54, 34, 128, 0.24);
  border: 1px solid rgba(255,255,255,0.16);
}

.preview-top,
.preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.preview-top { margin-bottom: 22px; }

.preview-top span,
.preview-footer span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.preview-top strong {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
}

.preview-question {
  border-radius: 26px;
  padding: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 18px;
}

.preview-question p {
  margin: 0 0 8px;
  color: #ffda6b;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.preview-question h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.preview-bars { display: grid; gap: 14px; }

.preview-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  gap: 12px;
  align-items: center;
}

.preview-bar-row span,
.preview-bar-row strong { font-weight: 900; }

.preview-bar-row div {
  height: 16px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  overflow: hidden;
}

.preview-bar-row b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffda6b, #ffffff);
}

.preview-footer { margin-top: 24px; }

.preview-footer em {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #34f596;
  box-shadow: 0 0 0 7px rgba(52,245,150,0.16);
}

.section-head {
  max-width: 820px;
  text-align: center;
  margin: 0 auto 32px;
}

.section-head h2,
.split-copy h2,
.about-card h2,
.contact-copy h2,
.cta-section h2 {
  margin: 12px 0 10px;
  color: #24194d;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head p,
.split-copy p,
.about-card p,
.contact-copy p,
.cta-section p {
  color: #665d81;
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step-card,
.about-card,
.about-highlight,
.contact-card,
.cta-section {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(114, 98, 196, 0.12);
  box-shadow: 0 16px 40px rgba(78, 52, 148, 0.08);
}

.feature-card {
  border-radius: 28px;
  padding: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #f2eeff, #ffffff);
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: #24194d;
  font-size: 24px;
}

.feature-card p {
  margin: 0;
  color: #665d81;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 110px;
}

.steps-list { display: grid; gap: 14px; }

.step-card {
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.step-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #5b2ee5, #886fff);
  color: #fff;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 8px;
  color: #24194d;
  font-size: 24px;
}

.step-card p {
  margin: 0;
  color: #665d81;
  line-height: 1.6;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 22px;
  align-items: stretch;
}

.about-card,
.about-highlight,
.contact-card {
  border-radius: 32px;
  padding: 30px;
}

.about-card p { margin-bottom: 0; }

.about-highlight {
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at top right, rgba(255,218,107,0.24), transparent 35%),
    linear-gradient(135deg, #24194d, #5b2ee5);
  color: #fff;
}

.about-highlight strong {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.about-highlight span {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.contact-card { display: grid; gap: 18px; }

.contact-card div {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
  border: 1px solid rgba(108, 87, 196, 0.10);
}

.contact-card span {
  display: block;
  color: #756d90;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.contact-card a {
  color: #5b2ee5;
  font-weight: 900;
  text-decoration: none;
}

.contact-card p {
  margin: 0;
  color: #665d81;
  line-height: 1.6;
}

.cta-section {
  border-radius: 34px;
  margin-bottom: 70px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at right, rgba(91,46,229,0.16), transparent 36%),
    rgba(255,255,255,0.90);
}

.cta-section h2 { margin-top: 0; }
.cta-section p { margin: 0; }

.professional-footer {
  background: #17112d;
  color: #fff;
  padding: 46px 28px 24px;
}

.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.footer-logo { color: #fff; }

.footer-brand p {
  margin: 16px 0 0;
  max-width: 420px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-links a:hover { color: #ffda6b; }

.footer-bottom {
  max-width: 1240px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,0.58);
  font-size: 14px;
}

.footer-bottom p { margin: 0; }

@media (max-width: 1020px) {
  .home-nav { display: none; }
  .home-hero,
  .split-section,
  .about-section,
  .contact-section,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-copy { position: static; }
}

@media (max-width: 720px) {
  .home-header { padding: 14px 16px; }
  .home-header-actions { display: none; }

  .home-hero,
  .home-section,
  .about-section,
  .contact-section,
  .cta-section {
    padding: 44px 16px;
  }

  .home-hero { min-height: auto; }
  .hero-content h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-content > p { font-size: 18px; }

  .hero-actions,
  .cta-section,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-home-btn,
  .secondary-home-btn,
  .cta-section .primary-home-btn { width: 100%; }

  .feature-grid,
  .footer-links { grid-template-columns: 1fr; }

  .step-card { grid-template-columns: 1fr; }

  .preview-bar-row { grid-template-columns: 1fr; }
  .preview-bar-row strong { text-align: right; }

  .cta-section { margin: 0 16px 44px; }
}
