:root {
  /* Light base */
  --color-bg: #ffffff;
  --color-bg-alt: #eef2ff;

  /* Neo-gaming blue identity */
  --color-primary: #3a7bff;      /* Electric azure */
  --color-primary-soft: #b7d3ff; /* Soft blue highlight */
  --color-navy: #0f1a2b;         /* Deep steel navy */

  /* Text & borders */
  --color-text: #020617;
  --color-text-soft: #64748b;
  --color-border: #e2e8f0;

  /* Softer but stronger shadow */
  --shadow-soft: 0 22px 55px rgba(15, 26, 43, 0.22);

  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* Global reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.6vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-soft);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: "Poppins", system-ui, sans-serif;
}

.logo-main {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--color-navy);
}

.logo-au {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--color-primary);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-soft);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #1f6feb, #2563eb);
  transition: width 0.15s ease;
}

.nav-sab-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -6px;
}

.nav-sab-try {
  font-size: 0.7rem;
  color: var(--color-primary);
  margin-top: -2px;
  opacity: 0.85;
  text-decoration: none;
}

.nav-sab-try::after {
  display: none;
}

.nav-sab-try:hover {
  opacity: 1;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3a7bff, #4c8dff);
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(58, 123, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(58, 123, 255, 0.55);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-outline:hover {
  background-color: var(--color-primary-soft);
  border-color: transparent;
}

.full-width {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(58, 123, 255, 0.18),   /* electric blue glow */
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(15, 26, 43, 0.30),     /* deep navy glow */
      transparent 65%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.hero-text {
  animation: heroFade 0.7s ease-out both;
}

.hero-card {
  animation: heroFade 0.7s ease-out both;
  animation-delay: 0.15s;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-text-soft);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-try-sab {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.hero-try-sab a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-try-sab a:hover {
  text-decoration: underline;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Hero card */
.hero-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-card-header h2 {
  font-size: 1rem;
  font-weight: 600;
}

.hero-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
}

.hero-build {
  border-radius: var(--radius-lg);
  background-color: #f9fafb;
  padding: 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-build-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.hero-build-row .label {
  color: var(--color-text-soft);
}

.hero-build-row .value {
  font-weight: 500;
  text-align: right;
}

.hero-footnote {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.feature-card h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-item {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(31, 111, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-item h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Advisor Sab */
.advisor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.bullet-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-soft);
}

.bullet-list li {
  margin-bottom: 0.35rem;
}

.sab-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.sab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

.sab-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.sab-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #3a7bff, #0f1a2b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.sab-name {
  font-weight: 600;
}

.sab-role {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.sab-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sab-bubble {
  font-size: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  max-width: 100%;
}

.sab-bubble-user {
  align-self: flex-end;
  background-color: #e5e7eb;
}

.sab-bubble-sab {
  align-self: flex-start;
  background-color: rgba(31, 111, 235, 0.08);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-inner p {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.cta-note a {
  color: var(--color-primary-soft);
  text-decoration: none;
}

.cta-note a:hover {
  text-decoration: underline;
}

/* Contact section */
.contact-section {
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details p {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-bottom: 0.3rem;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 0.6rem;
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-family: inherit;
  background-color: #ffffff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary-soft);
  border-color: var(--color-primary);
}

.form-help {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Footer */
.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 1.8rem;
}

.footer-logo .logo-main {
  color: #e5e7eb;
}

.footer-logo .logo-au {
  color: var(--color-primary-soft);
}

.footer-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-column p,
.footer-column li {
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-column a {
  color: inherit;
  text-decoration: none;
}

.footer-column a:hover {
  color: #e5e7eb;
}

.footer-column ul {
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none; /* simple for now; later we can add mobile menu */
  }

  .hero-grid,
  .advisor-grid,
  .features-grid,
  .steps-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-card {
    order: -1;
  }

  .site-header {
    position: static;
  }
}

@media (max-width: 600px) {
  .hero-card,
  .feature-card,
  .step-item,
  .sab-card,
  .contact-form {
    border-radius: 16px;
  }

  .container {
    width: min(100% - 1.5rem, 100%);
  }

  .section {
    padding: 3.5rem 0;
  }
}