@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

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

:root {
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --cyan-light: #67e8f9;
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --magenta: #f472b6;
  --emerald: #2dd4bf;
  --bg: #020617;
  --surface: #070b1d;
  --surface-elevated: #0f172a;
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
}

/* --- Base Noise Overlay --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3column%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan);
  opacity: 0.5;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

body.hovering .cursor-outline {
  width: 60px;
  height: 60px;
  opacity: 0.3;
  background: rgba(34, 211, 238, 0.1);
  border-color: transparent;
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-outline {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  position: relative;
  overflow: hidden;
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 2.2rem;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

nav a:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 4px 14px 0 rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
  background: #fff;
  color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1rem;
  border-radius: 1.1rem;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:active::after {
  opacity: 1;
}

.btn .arrow {
  transition: transform 0.3s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Hero --- */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(
    to right, 
    var(--cyan), 
    var(--cyan-light), 
    var(--blue), 
    var(--cyan)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 450;
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 29, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-multi {
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Stats Bar --- */
.stats-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

/* --- Products --- */
.how-it-works {
  padding: 8rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.step-card {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: var(--surface-elevated);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number.cyan { background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.step-number.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.step-number.magenta { background: rgba(244, 114, 182, 0.1); color: var(--magenta); }
.step-number.emerald { background: rgba(45, 212, 191, 0.1); color: var(--emerald); }

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Network (Bento Grid) --- */
.features {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05), transparent 50%), var(--bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1.25rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
  border-color: var(--cyan);
  background: var(--surface-elevated);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 2;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  z-index: 2;
}

.feature-icon {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  transition: all 0.5s ease;
  color: var(--text-muted);
  opacity: 0.15;
  overflow: visible;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-8deg);
  color: var(--cyan);
  opacity: 0.25;
}

/* Bento Spans */
.bento-big { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-big .feature-icon { top: auto; bottom: -1rem; right: -1rem; left: auto; }
.bento-big:hover .feature-icon { transform: scale(1.15); }

/* --- Brands Marquee --- */
.brands-section {
  padding: 8rem 0;
}

.marquee-wrapper {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brand-logo {
  height: 2.2rem;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.brand-logo:hover {
  opacity: 1;
}

/* --- Contact Section --- */
.contact-section {
  padding: 10rem 0;
  background: radial-gradient(circle at 50% 100%, rgba(244, 114, 182, 0.05), transparent 50%), var(--bg);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.contact-cards.hidden {
  display: none;
}

.contact-steps {
  position: relative;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem 1.75rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--cyan);
  background: var(--surface-elevated);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
}

.cc-label {
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card:hover .cc-label {
  opacity: 0.3;
  transform: translateX(4px);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-card-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.9rem;
}

.marquee-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  padding: 0 2.25rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 2.5rem;
  min-width: 2rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.brand-logo:hover {
  opacity: 0.7;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-33.3333%); }
  100% { transform: translateX(0); }
}

.marquee-left {
  animation: marquee-left 60s linear infinite;
}

.marquee-right {
  animation: marquee-right 60s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-left,
  .marquee-right {
    animation: none;
  }
  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .marquee-content:nth-child(n+2) {
    display: none;
  }
}

/* --- Investors Grid --- */
.investors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.investor-card {
  padding: 1.5rem;
  text-align: center;
}

.investor-card h3 {
  font-size: 1rem;
}

.investor-card p {
  font-size: 0.8rem;
}


@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* --- Contact Section --- */
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0;
  position: relative;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 6s ease-in-out infinite;
}

.contact-bg .blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(0,212,255,0.07);
  top: 10%;
  left: 20%;
}

.contact-bg .blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(26,92,255,0.06);
  bottom: 15%;
  right: 10%;
  animation-delay: -2s;
  animation-duration: 7s;
}

.contact-bg .blob-3 {
  width: 350px;
  height: 350px;
  background: rgba(217,70,239,0.05);
  top: 50%;
  right: 30%;
  animation-delay: -4s;
}

.contact-section h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 500px;
  margin: 0 auto 3.5rem;
  text-align: center;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.contact-card {
  padding: 2rem 1.5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.cc-label {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.contact-card:hover .cc-label {
  opacity: 0.55;
}

.cc-cyan .cc-label, .cc-label--cyan { color: #2ec4d6; }
.cc-blue .cc-label, .cc-label--blue { color: #4d7ae8; }
.cc-emerald .cc-label, .cc-label--emerald { color: #2db88a; }
.cc-magenta .cc-label, .cc-label--magenta { color: #c85dd6; }

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.3s;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  transition: color 0.3s;
}

.contact-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.25rem;
  transition: color 0.3s;
}

.cc-cyan .contact-card-cta { color: #2ec4d6; }
.cc-blue .contact-card-cta { color: #4d7ae8; }
.cc-emerald .contact-card-cta { color: #2db88a; }
.cc-magenta .contact-card-cta { color: #c85dd6; }

.contact-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0.03) 30%,
    rgba(255,255,255,0.08) 45%,
    rgba(255,255,255,0.14) 50%,
    rgba(255,255,255,0.08) 55%,
    rgba(255,255,255,0.03) 70%,
    transparent 100%
  );
  pointer-events: none;
  transform: skewX(-15deg);
}

.contact-card:hover::after {
  animation: card-shine 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes card-shine {
  0% { left: -75%; opacity: 0; }
  15% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

.cc-cyan:hover {
  background: rgba(46,196,214,0.12);
}
.cc-blue:hover {
  background: rgba(77,122,232,0.12);
}
.cc-emerald:hover {
  background: rgba(45,184,138,0.12);
}
.cc-magenta:hover {
  background: rgba(200,93,214,0.12);
}

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

.contact-card:hover p {
  color: var(--text-secondary);
}

.contact-card:hover .contact-card-cta .arrow {
  transform: translateX(4px);
}

.contact-card-cta .arrow {
  transition: transform 0.3s;
}

/* --- Contact Form (Step 2) --- */
.contact-form-panel {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-panel.hidden {
  display: none;
}

.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

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

.contact-form-header {
  margin-bottom: 2.5rem;
}

.contact-form-header .cc-label {
  margin-bottom: 0.5rem;
}

.contact-form-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0,212,255,0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 5rem;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

button.contact-card {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Info Grid --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.contact-info-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

a.contact-info-card:hover {
  background: rgba(255,255,255,0.03);
}

.contact-info-icon {
  margin-bottom: 0.75rem;
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Mobile Nav --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .hero p {
    font-size: 1.15rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .bento-big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-tall {
    grid-row: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .stats-bar {
    padding: 2rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-item {
    padding: 0.5rem 0;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .how-it-works,
  .features,
  .brands-section {
    padding: 4rem 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .step-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .step-number {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    border-radius: 0.75rem;
  }

  .step-number svg {
    width: 14px;
    height: 14px;
  }

  .step-card h3 {
    font-size: 1.2rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1rem;
    margin-top: 2rem;
  }

  .feature-card {
    padding: 1.25rem;
    border-radius: 1rem;
    min-height: 140px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .feature-icon {
    width: 4rem;
    height: 4rem;
    top: -0.5rem;
    right: -0.5rem;
  }

  .feature-icon svg {
    width: 100%;
    height: 100%;
  }

  .bento-big,
  .bento-tall,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .brands-section .section-subtitle {
    padding: 0 1rem;
  }

  .brand-logo {
    height: 1.5rem;
  }

  .marquee-content {
    gap: 2rem;
    padding: 0 1rem;
  }

  .marquee-wrapper {
    margin-top: 2rem;
  }

  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 2.5rem;
  }

  .contact-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .contact-section h2 {
    font-size: 2rem;
  }

  .contact-lead {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .cc-label {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .contact-card h3 {
    font-size: 1rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .contact-info-card {
    padding: 1rem 0.5rem;
  }

  .contact-info-value {
    font-size: 0.9rem;
  }

  .contact-form-panel {
    padding: 0 0.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
  }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 99;
  }

  nav.open a {
    font-size: 1.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  nav.open a.btn {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  header {
    padding: 0.75rem 0;
  }

  .logo img {
    height: 1.75rem;
  }

  footer {
    padding: 2rem 0;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-large {
    justify-content: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .section-subtitle {
    padding: 0 0.5rem;
  }

  .brand-logo {
    height: 1.25rem;
  }

  .marquee-content {
    gap: 1.5rem;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dark);
}

/* View Transitions */
::view-transition-group(label-brand),
::view-transition-group(label-agency),
::view-transition-group(label-property),
::view-transition-group(label-other) {
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
