/* Hero Section */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #65ffb3;
  box-shadow: 0 0 8px rgba(101, 255, 179, 0.9);
}

.hero-title {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.hero-gradient {
  background-image: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--text-muted);
}

.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
}

.hero-input-wrap {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}

.hero-input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 16, 0.8);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-sizing: border-box;
}

.hero-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.7;
}

.hero-input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(77, 119, 255, 0.6);
  background: rgba(3, 5, 12, 0.95);
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-side-card {
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, rgba(101, 255, 179, 0.14) 0, transparent 45%),
              radial-gradient(circle at 100% 100%, rgba(77, 119, 255, 0.2) 0, transparent 50%),
              rgba(7, 9, 18, 0.94);
  border: 1px solid var(--border-subtle);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.hero-side-title {
  font-size: 17px;
  margin: 0 0 10px;
}

.hero-side-text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.hero-side-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-side-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hero-side-list li span.bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #65ffb3;
  font-size: 18px;
  font-weight: 600;
}

.hero-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(101, 255, 179, 0.18) 0, transparent 60%),
              radial-gradient(circle at 90% 90%, rgba(77, 119, 255, 0.32) 0, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-side-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-side-count {
  font-weight: 500;
  color: #ffffff;
}

.hero-side-pill {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

/* Founder count bump animation */
.hero-side-count #founder-count {
  display: inline-block;
  transition: transform 0.15s ease-out;
}

.hero-side-count #founder-count.count-bump {
  transform: scale(1.12);
}

/* Pain Section */
.pain {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.pain-list {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  max-width: 700px;
}

.pain-item {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.pain-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--danger);
  margin-top: 2px;
}

.pain-icon .material-symbols-rounded {
  font-size: 20px;
  font-weight: 600;
}

/* Promise Section */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.promise-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(16, 19, 35, 0.9));
  padding: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.promise-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}

.promise-title {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

/* Identity Section */
.identity {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 18px;
}

.identity-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: rgba(6, 8, 16, 0.9);
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.identity-card-title {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
}

.identity-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.identity-card li {
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
}

.identity-card li span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Tech Section */
.tech {
  background: radial-gradient(circle at 0 0, rgba(77, 119, 255, 0.14) 0, transparent 45%),
              radial-gradient(circle at 100% 100%, rgba(101, 255, 179, 0.16) 0, transparent 55%),
              #05060a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-box {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 7, 14, 0.94);
  padding: 24px 22px 20px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.tech-box-animate {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tech-box-animate.visible {
  opacity: 1;
  transform: translateX(0);
}

.tech-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.tech-item {
  display: flex;
  gap: 10px;
}

.tech-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.18) 0, transparent 40%),
    rgba(10, 14, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.tech-icon .material-symbols-rounded {
  font-size: 18px;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Secondary CTA */
.cta-secondary {
  text-align: center;
}

.cta-secondary p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 18px;
}

.cta-inline-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.cta-inline-form .hero-input-wrap {
  max-width: 340px;
  flex: 1 1 220px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Founder note */
.founder-note {
  max-width: 720px;
}

.founder-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
  margin-top: 10px;
}

.founder-sign {
  margin-top: 14px;
  font-size: 14px;
}

.founder-sign span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* Social proof */
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.quote-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: rgba(6, 8, 15, 0.94);
  padding: 16px 16px 14px;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  top: -8px;
  left: 10px;
}

.quote-text {
  position: relative;
  z-index: 1;
}

/* Founders Discord / Community section */
.discord-section {
  position: relative;
  padding-top: calc(var(--section-padding) * 0.9);
  padding-bottom: calc(var(--section-padding) * 0.9);
  background:
    radial-gradient(at 15% 0%, rgba(101, 255, 179, 0.26) 0, transparent 55%),
    radial-gradient(at 80% 0%, rgba(77, 119, 255, 0.28) 0, transparent 55%),
    radial-gradient(at 100% 90%, rgba(140, 91, 255, 0.4) 0, transparent 55%),
    radial-gradient(at 0% 100%, rgba(255, 138, 201, 0.22) 0, transparent 55%),
    #05060a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.discord-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* Left title block */
.discord-tagline {
  max-width: 520px;
}

.discord-section .section-kicker {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.discord-section .section-title {
  margin: 0 0 14px;
  color: var(--text);
}

.discord-section .section-subtitle {
  margin: 0 0 22px;
  max-width: 520px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Glass card */
.discord-card {
  position: relative;
  flex: 0 0 420px;
  max-width: 460px;
  border-radius: 26px;
  padding: 22px 26px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09),
    rgba(3, 5, 12, 0.95)
  );
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.discord-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(101, 255, 179, 0.16), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(77, 119, 255, 0.28), transparent 60%);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.discord-card-inner {
  position: relative;
  z-index: 1;
}

/* Header inside card */
.discord-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

/* Scroll reveal for Discord card */
.discord-card-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.discord-card-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.discord-logo-orb {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.discord-server-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Title + subtitle inside card */
.discord-card-title {
  font-size: 24px;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}

.discord-card-title span {
  background-image: linear-gradient(
    90deg,
    #65ffb3,
    #4d77ff,
    #8c5bff,
    #ff8ac9
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.discord-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Pills */
.discord-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discord-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.38);
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.discord-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #65ffb3;
  box-shadow: 0 0 8px rgba(101, 255, 179, 0.85);
}

.discord-pill-strong {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(
    135deg,
    rgba(101, 255, 179, 0.14),
    rgba(77, 119, 255, 0.14)
  );
}

/* Responsive adjustments */
@media (max-width: 900px) {
  /* Hero header – card under text */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .identity-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .social-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tech-box {
    padding: 20px 18px 18px;
  }

  /* Discord section – stack like hero and let text grow naturally */
  .discord-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .discord-tagline {
    max-width: none;
    width: 100%;
  }

  .discord-card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    margin-top: 4px;
  }

  .discord-card-subtitle,
  .discord-section .section-subtitle {
    max-width: none;
    width: 100%;
  }

  /* Forms: stack + full-width below 768px */
  .hero-form,
  .cta-inline-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 2px;
  }

  .hero-input-wrap input,
  .cta-secondary .hero-input-wrap input {
    padding: 12px 14px 12px 40px;
  }

  .hero-form .btn-primary,
  .cta-inline-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px 26px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }

  .cta-inline-form .hero-input-wrap {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .hero-note,
  .cta-note {
    margin-top: 12px;
  }

  .hero {
    padding-bottom: 80px;
  }
}

@media (max-width: 520px) {
  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
