/* Theme and footer controls */
:root {
  /* Header logo size and position. Negative offset = up; positive = down. */
  --header-logo-height: 60px;
  --header-logo-height-mobile: 48px;
  --header-logo-offset-y: -3px;
  --header-logo-offset-y-mobile: 0px;
  --section-label-size: 18px;
  /* TNaxis violet, silver, and black palette. RGB values also control translucent glows. */
  --brand-rgb: 124, 58, 237;
  --accent-rgb: 167, 139, 250;
  --on-brand: #FFFFFF;
  --background: #0A0810;
  --surface-raised: #191422;
  --surface-card: #191422;
  --surface-hover: #251C33;
  --brand: #7C3AED;
  --brand-hover: #6D28D9;
  --brand-light: #C4B5FD;
  --accent: #A78BFA;
  --white: #FFFFFF;
  --text-primary: #F4F6F9;
  --text-secondary: #BCC3CC;
  --border: rgba(255, 255, 255, 0.08);
  /* Change these five values to resize the footer at every screen width. */
  --footer-gap-above: 70px;
  --footer-padding-top: 30px;
  --footer-padding-bottom: 30px;
  --footer-logo-height: 46px;
  --footer-text-size: 12px;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Navigation */
.navbar {
  height: 78px;
  padding-left: 45px;
  padding-right: 45px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 8, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 100px;
}

.nav-icon, .nav-logo, .cta-logo, .bottom-logo {
  display: block;
  object-fit: contain;
}

.nav-icon {
  width: 60px;
  height: 60px;
  transform: translateY(-2px);
}

.nav-logo {
  width: auto;
  height: var(--header-logo-height);
  max-width: 100%;
  transform: translateY(var(--header-logo-offset-y));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #CFD5DE;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-button {
  margin-left: auto;
  padding: 11px 19px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(var(--brand-rgb), 0.20);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.28);
}

/* Hero */
.hero {
  min-height: 680px;
  padding: 45px 20px 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  background: radial-gradient(circle at 25% 15%, rgba(var(--brand-rgb), 0.22), transparent 34%), radial-gradient(circle at 78% 18%, rgba(var(--accent-rgb), 0.12), transparent 29%), linear-gradient(180deg, #0A0810 0%, #110D19 100%);
}

.hero-content {
  width: 100%;
  max-width: 920px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: #C4B5FD;
  font-size: var(--section-label-size);
  font-weight: 700;
  letter-spacing: 2.2px;
}

.eyebrow.dark {
  color: var(--brand-light);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 25px;
  font-size: clamp(50px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -3.5px;
  font-weight: 750;
}

.hero h1 span {
  display: block;
  color: #EDE9FE;
}

.hero-description {
  max-width: 730px;
  margin: 0 auto 36px;
  color: #C8CFD8;
  font-size: 19px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
}

.primary-button, .secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  padding: 14px 23px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button, .cta-button {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 10px 30px rgba(var(--brand-rgb), 0.28);
}

.primary-button:hover, .cta-button:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(var(--brand-rgb), 0.35);
}

.secondary-button {
  color: #E9EDF3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.30);
}

.hero-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #A6AEB8;
  font-size: 13px;
}

.status-dot, .online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot {
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.65);
}

/* Sections and shared decoration */
.section {
  position: relative;
  padding: 110px 8%;
  background: linear-gradient(180deg, #110D19 0%, #17111F 50%, #110D19 100%);
}

.alternate-section {
  background: linear-gradient(180deg, #191422 0%, #20172D 50%, #191422 100%);
}

.section::before, .cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.16), rgba(255, 255, 255, 0.10), rgba(var(--brand-rgb), 0.16), transparent);
}

.section::after, .cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(var(--brand-rgb), 0.055), transparent 68%);
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 730px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header h2, .demo-text h2 {
  color: var(--white);
  font-size: clamp(34px, 4vw, 47px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  margin-bottom: 18px;
}

.section-header > p:not(.eyebrow), .demo-text > p:not(.eyebrow) {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

/* Cards and grids */
.cards, .steps {
  width: 100%;
  max-width: 1160px;
  margin: auto;
  display: grid;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 32px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--surface-hover);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.card-number {
  margin-bottom: 24px;
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.card h3 {
  margin-bottom: 11px;
  color: var(--white);
  font-size: 18px;
}

.card p {
  color: #B6BEC8;
  font-size: 15px;
  line-height: 1.7;
}

/* How it works */
.steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding: 8px 12px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.28);
}

.accent-number {
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.24);
}

.step h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 18px;
}

.step p {
  color: #B6BEC8;
  font-size: 14px;
  line-height: 1.65;
}

/* Demo and phone conversation */
.demo-section {
  overflow: hidden;
  background: linear-gradient(180deg, #0A0810 0%, #110D19 100%);
}

.demo-layout {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 90px;
}

.demo-text {
  max-width: 500px;
}

.demo-text > p {
  margin-bottom: 17px;
}

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E0E5EC;
  font-size: 14px;
  font-weight: 600;
}

.benefit span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 12px;
}

.phone {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 20px;
  background: #08060D;
  border: 7px solid #352A46;
  border-radius: 32px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.30);
}

.phone-header {
  padding: 5px 4px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-business {
  display: flex;
  align-items: center;
  gap: 11px;
}

.phone-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--surface-raised);
  border-radius: 50%;
}

.phone-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.phone-business strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  line-height: 1.3;
}

.phone-business span {
  display: block;
  margin-top: 2px;
  color: #9DA5AF;
  font-size: 11px;
}

.online-dot {
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.55);
}

.conversation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
}

.message {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.5;
}

.message.business {
  align-self: flex-start;
  background: var(--brand);
  color: var(--on-brand);
  border-bottom-left-radius: 5px;
}

.message.customer {
  align-self: flex-end;
  background: #2A2236;
  color: #EBEFF5;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-right-radius: 5px;
}

.success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(var(--accent-rgb), 0.10);
  color: #DDD6FE;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 13px;
}

.success-icon {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--background);
  font-size: 14px;
  font-weight: 800;
}

.success strong {
  display: block;
  font-size: 13px;
}

.success span {
  display: block;
  margin-top: 1px;
  color: #C4B5DC;
  font-size: 11px;
}

/* Features */
.feature-card {
  min-height: 230px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-light);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover .feature-icon {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
}

/* Final call to action */
.cta {
  position: relative;
  overflow: hidden;
  padding: 105px 45px 0;
  text-align: center;
  color: var(--white);
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 37%), radial-gradient(circle at 20% 80%, rgba(var(--brand-rgb), 0.14), transparent 30%), linear-gradient(180deg, #110D19 0%, #0E0B15 45%, #0A0810 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: auto;
}

.cta-logo {
  width: auto;
  max-width: 100%;
  height: 100px;
  margin: 0 auto 24px;
}

.cta h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.cta-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 auto 31px;
  color: #C8CFD8;
  font-size: 17px;
  line-height: 1.7;
}

.cta-button {
  padding: 14px 25px;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Bottom branding */
.bottom-branding {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: var(--footer-gap-above) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--footer-padding-top) 0 var(--footer-padding-bottom);
}

.bottom-logo {
  width: auto;
  height: var(--footer-logo-height);
}

.bottom-branding p {
  color: #A4ABB5;
  font-size: var(--footer-text-size);
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
  .navbar {
    padding-left: 30px;
    padding-right: 30px;
  }

  .nav-brand {
    margin-right: 0;
  }

  .nav-links {
    display: none;
  }

  .cards, .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    row-gap: 45px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .demo-text {
    max-width: 650px;
    margin: auto;
    text-align: center;
  }

  .demo-benefits {
    max-width: 250px;
    margin: 28px auto 0;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    height: 70px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-icon {
    width: 27px;
    height: 27px;
  }

  .nav-logo {
    height: var(--header-logo-height-mobile);
    transform: translateY(var(--header-logo-offset-y-mobile));
  }

  .nav-button {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 80px 20px 90px;
  }

  .hero h1 {
    letter-spacing: -2.2px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 25px;
  }

  .primary-button, .secondary-button {
    width: 100%;
  }

  .section {
    padding: 80px 6%;
  }

  .section-header {
    margin-bottom: 45px;
  }

  .cards, .steps {
    grid-template-columns: 1fr;
  }

  .phone {
    padding: 15px;
    border-width: 5px;
    border-radius: 27px;
  }

  .message {
    max-width: 88%;
    font-size: 12px;
  }

  .cta {
    padding: 85px 20px 0;
  }

  .bottom-branding {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}






