:root {
  --bg: #040507;
  --bg-gradient: radial-gradient(circle at top, rgba(47, 107, 255, 0.14), transparent 58%), linear-gradient(180deg, #05060b 0%, #020203 100%);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f7fb;
  --text-muted: rgba(247, 247, 251, 0.7);
  --accent: #2f6bff;
  --shadow: 0 26px 64px rgba(6, 11, 29, 0.55);
  --radius-lg: 36px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --font-heading: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --layout-max: min(94vw, 1480px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg-gradient);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-heading);
  margin: 0 0 18px;
  color: var(--text);
}

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

h2 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.08;
}

h3 {
  font-size: 26px;
  line-height: 1.32;
}

p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  background: rgba(6, 7, 12, 0.82);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  width: var(--layout-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.menu {
  display: flex;
  gap: 30px;
  font-size: 18px;
  color: var(--text-muted);
}

.nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 255, 0.45);
  background: rgba(47, 107, 255, 0.15);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(47, 107, 255, 0.28);
}

main {
  width: var(--layout-max);
  margin: 0 auto;
  padding: 120px 32px 150px;
}

.section {
  margin: 160px 0;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading > p {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 14px;
  color: rgba(247, 247, 251, 0.58);
  margin-bottom: 22px;
}

.hero {
  padding: 0 0 120px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  margin: 0;
}

.hero-left {
  flex: 1 1 460px;
  text-align: left;
}

.hero-right {
  flex: 1 1 520px;
  max-width: 720px;
}

.hero-image {
  max-width: 100%;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: none;
  background: none;
  border: none;
}

.hero-image::before {
  display: none;
}

@media (max-width: 1100px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .hero-left {
    flex: 1 1 100%;
    order: 0;
  }

  .hero-right {
    flex: 1 1 100%;
    max-width: 100%;
    order: 1;
  }

  .hero-image {
    width: 100%;
  }
}

.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-heading {
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.05;
  font-family: var(--font-heading);
  color: var(--text);
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
  justify-items: start;
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  margin-top: 0;
}

.hero-line-intro,
.hero-line-word,
.hero-line-before,
.hero-line-action {
  white-space: nowrap;
}

.hero-line-before {
  color: var(--text);
}

.rotating-word,
.rotating-action {
  display: inline-block;
  color: rgba(247, 247, 251, 0.85);
  font-weight: 600;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 750px;
  margin: 20px 0 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.signup-form {
  width: 100%;
  max-width: 550px;
  display: flex;
  gap: 12px;
  background: rgba(12, 15, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
}

.signup-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 20px;
}

.signup-form input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(47, 107, 255, 0.45);
}

.signup-form input::placeholder {
  color: rgba(247, 247, 251, 0.5);
}

.signup-form button {
  background: var(--accent);
  color: #03040a;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 18px;
}

.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 107, 255, 0.3);
}

.signup-status {
  min-height: 20px;
  font-size: 14px;
  color: var(--accent);
}


.accuracy-grid,
.features-grid,
.pricing-grid,
.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(4, 6, 14, 0.32);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h3 {
  color: var(--text);
}

.feature-number {
  font-size: 46px;
  font-weight: 700;
  color: rgba(47, 107, 255, 0.28);
  align-self: flex-start;
}

.faq-list {
  margin: 0 auto;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-soft);
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.faq-item p {
  margin: 0;
}

.usecases .card {
  text-align: left;
}

.usecase-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.16);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing {
  text-align: center;
}

.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px;
  gap: 10px;
  background: rgba(10, 12, 18, 0.9);
  margin-bottom: 42px;
}

.toggle-button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
}

.toggle-button.active {
  background: var(--accent);
  color: #03040a;
}

.toggle-pill {
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.18);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toggle-button.active .toggle-pill {
  background: rgba(3, 4, 10, 0.2);
  color: #03040a;
}

.pricing-card {
  text-align: left;
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.pricing-card li {
  list-style: none;
  position: relative;
}

.pricing-card li::before {
  content: "✔";
  position: absolute;
  left: -20px;
  color: var(--accent);
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  display: block;
}

.price-term {
  font-size: 15px;
  color: var(--text-muted);
  display: block;
}

.pricing-link {
  margin-top: 22px;
  align-self: flex-start;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease;
}

.pricing-link:hover {
  background: var(--accent);
  color: #03040a;
}

.pricing-card.highlighted {
  border-color: rgba(47, 107, 255, 0.6);
  background: rgba(47, 107, 255, 0.18);
}

.anthem {
  text-align: center;
}

.anthem-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.anthem-text {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  color: var(--text);
}

.anthem-subtext {
  font-size: 24px;
  color: var(--text-muted);
}

.callout {
  text-align: center;
}

.callout-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.callout-subtext {
  font-size: 24px;
  color: var(--text-muted);
}

.callout-cta {
  align-self: center;
  display: inline-block;
  margin-top: 10px;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #03040a;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.callout-cta:hover {
  color: #03040a;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 107, 255, 0.3);
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: rgba(3, 3, 6, 0.92);
  padding: 40px 26px 60px;
}

.footer-content {
  width: var(--layout-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 26px;
  align-items: center;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  main {
    padding: 80px 20px 110px;
  }

  .hero {
    padding: 80px 28px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-right {
    flex: none;
    order: 1;
    max-width: 100%;
  }

  .hero-left {
    order: 0;
  }

  .hero-image::before {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    filter: blur(15px);
  }

  .usecases-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  h2 {
    font-size: clamp(26px, 7vw, 40px);
  }

  .hero {
    padding: 64px 20px;
  }

  .signup-form {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    border-radius: var(--radius-md);
  }

  .signup-form input {
    font-size: 18px;
    padding: 12px 0;
  }

  .signup-form button {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }

  .hero-heading {
    font-size: clamp(34px, 9vw, 52px);
    gap: 4px;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .callout-card {
    padding: 64px 28px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: var(--background);
  color: var(--text);
  margin: 5% auto;
  padding: 2rem;
  border: none;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--text-secondary);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal-body h3 {
  color: var(--text);
  font-family: var(--font-space-grotesk);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
}

.modal-body h3:first-child {
  margin-top: 1rem;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 1.5rem;
    width: 95%;
  }
}

.success-hero {
  text-align: center;
  padding: 100px 40px;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.success-content h1 {
  font-size: clamp(36px, 6vw, 48px);
  color: var(--text);
  margin-bottom: 1.5rem;
}

.success-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 3rem;
}

.success-message {
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.success-message h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.success-message ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.success-message li {
  color: var(--text-muted);
  padding: 0.75rem 0;
  font-size: 16px;
  line-height: 1.5;
}

.invite-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: center;
}

.invite-counter {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.counter-display {
  background: rgba(47, 107, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.counter-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.success-cta {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.success-cta:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.success-contact {
  color: var(--text-muted);
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.success-contact:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
}

.success-share {
  background: var(--accent);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.success-share:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .success-hero {
    padding: 60px 20px;
  }

  .success-message {
    padding: 1.5rem;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Cart Page Styles */
.cart-hero {
  padding: 100px 40px;
}

.cart-content {
  max-width: 600px;
  margin: 0 auto;
}

.plan-display {
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.plan-header h1 {
  font-size: clamp(32px, 6vw, 40px);
  color: var(--text);
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 2rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.price-term {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
}

.plan-features {
  text-align: left;
}

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

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.plan-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.plan-note {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 12px 0 0 0;
  font-style: italic;
}

.cart-form {
  margin-bottom: 2rem;
}

.cart-form h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.cart-signup {
  max-width: 550px;
}

.cart-back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.cart-back:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .cart-hero {
    padding: 60px 20px;
  }

  .plan-display {
    padding: 1.5rem;
  }

  .cart-signup {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    border-radius: var(--radius-md);
  }

  .cart-signup input {
    font-size: 18px;
    padding: 12px 0;
  }

  .cart-signup button {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }
}
