/* ============ RESET ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============ UTILITIES ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.section-header .chip {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: var(--font-size-h2);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: var(--font-size-body);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============ NOISE OVERLAY ============ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.03;
  mix-blend-mode: soft-light;
}

/* ============ NAVBAR — frosted glass pill ============ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 24px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.navbar-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--color-text);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(102,150,255,0.25), 0 4px 6px -4px rgba(102,150,255,0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.1;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 20px -3px rgba(102,150,255,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.15s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ NAVBAR SCROLL EFFECT ============ */
.navbar-inner {
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.navbar-inner.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-color: rgba(226,232,240,0.6);
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  padding: 0 24px;
}

.mobile-menu.active {
  max-height: 320px;
  padding: 12px 24px 24px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 12px;
  padding: 12px 24px;
  color: #fff !important;
  border-radius: var(--radius-button);
}

.mobile-menu a:hover {
  color: var(--color-heading);
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============ PREMIUM HOVER EFFECTS ============ */
.feature-card {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
}

.step-card {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
}

.best-for-card {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.best-for-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
}

.discovery-item {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.discovery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
}

/* ============ MOVING BORDER BADGE ============ */
.moving-border-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  background: var(--color-bg);
  margin-bottom: 32px;
  overflow: hidden;
}

.moving-border-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-pill);
  background: conic-gradient(from var(--angle, 0deg), transparent 60%, var(--accent) 80%, transparent 100%);
  animation: rotate-border 3s linear infinite;
  z-index: -2;
}

.moving-border-badge::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  z-index: -1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  to { --angle: 360deg; }
}

/* ============ HERO ============ */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
  text-align: left;
}

.hero h1 {
  font-size: var(--font-size-h1);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}


.hero-stats {
  display: flex;
  gap: 16px;
}

.hero-stat {
  flex: 1;
  padding: 16px 20px;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.hero-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
}

/* Hero Dark Card */
.hero-card {
  width: 420px;
  flex-shrink: 0;
  background: var(--dark-card-bg);
  border-radius: 20px;
  padding: 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
}

.hero-card-header .icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.hero-card-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  position: relative;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.hero-card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hero-card-list-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.hero-card-best-fit {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.hero-card-best-fit .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
  margin-bottom: 8px;
}

.hero-card-best-fit p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
}

/* ============ FEATURES ============ */
.features {
  padding: var(--section-padding) 0;
}

.features--cool,
.features--warm,
.features--beige {
  background: var(--color-bg);
}

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

.features-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.03;
  pointer-events: none;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon--blue {
  background: rgba(102, 150, 255, 0.1);
  color: #6696FF;
}

.feature-icon--green {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.feature-icon--amber {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.feature-icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
  line-height: 1.3;
  position: relative;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  position: relative;
}

/* ============ DISCOVERY LAYER ============ */
.discovery {
  padding: var(--section-padding) 0;
  background: var(--color-bg-muted);
}

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

.discovery-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.discovery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.03;
  pointer-events: none;
}

.discovery-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
  position: relative;
}

.discovery-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  position: relative;
}

/* ============ WHY SAUNDER ============ */
.why-saunder {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}


/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.03;
  pointer-events: none;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 16px;
  line-height: 1;
  position: relative;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
  position: relative;
}

.step-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  position: relative;
}

/* ============ BEST FOR ============ */
.best-for {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.best-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.best-for-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.best-for-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.03;
  pointer-events: none;
}

.best-for-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-bg-muted);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.best-for-icon svg {
  width: 20px;
  height: 20px;
}

.best-for-card p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

/* ============ CTA — dark gradient card ============ */
.cta-section {
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-section .container {
  max-width: 800px;
  padding: 80px 40px;
  border-radius: 24px;
  background: var(--cta-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section .container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.05;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
  position: relative;
}

.cta-section .subtitle {
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(102,150,255,0.25);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://assets.aceternity.com/noise.webp') repeat;
  opacity: 0.1;
  pointer-events: none;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 20px -3px rgba(102,150,255,0.3);
}

/* ============ FAQ ============ */
.faq {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  background: var(--color-bg);
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--color-bg-muted);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--color-text-light);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-help {
  max-width: 800px;
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.faq-help a {
  color: var(--color-text);
  text-decoration: underline;
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-text);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: all 0.2s;
  margin-bottom: 0;
}

.social-links a:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-light);
}

.footer-bottom a {
  font-size: 13px;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--color-text);
}

.footer-logo-watermark {
  margin-top: 60px;
  text-align: center;
  opacity: 0.05;
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  box-shadow: 0 4px 12px rgba(102, 150, 255, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}
