/* ============================================================
   LOOK AT YOUR NEW WEBSITE — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:           #06090f;
  --bg-surface:   #0b1120;
  --bg-elevated:  #101828;
  --border:       #1c2c42;
  --border-sub:   #111f33;
  --accent:       #3b82f6;
  --accent-hover: #2563eb;
  --accent-dim:   rgba(59, 130, 246, 0.12);
  --accent-glow:  rgba(59, 130, 246, 0.22);
  --accent-light: #60a5fa;
  --green:        #22c55e;
  --red-dim:      rgba(239, 68, 68, 0.5);
  --text:         #eef2f7;
  --text-sec:     #8899b0;
  --text-muted:   #475569;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  16px;
  --r-xl:  24px;
}

html {
  scroll-behavior: smooth;
}

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

a { color: inherit; }
img, svg { display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(130deg, var(--accent-light) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--accent-dim);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 24px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-sec);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--accent-dim);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  margin-left: auto;
}
.btn-nav:hover {
  background: var(--accent-hover);
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 15, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-sub);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: 40px;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  margin-right: -4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-sec);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 144px 0 104px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -180px;
  right: -240px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* --- Browser Mockup --- */

.hero-visual {
  position: relative;
}

.browser-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.browser-window {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(59, 130, 246, 0.07);
  animation: floatUp 7s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #060c18;
  border-bottom: 1px solid var(--border);
}

.traffic-lights {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.traffic-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.traffic-lights span:nth-child(1) { background: #ff5f57; }
.traffic-lights span:nth-child(2) { background: #febc2e; }
.traffic-lights span:nth-child(3) { background: #28c840; }

.address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.address-bar svg {
  color: var(--green);
  flex-shrink: 0;
}

/* — Mock site inside browser — */

.site-preview { background: #0a1020; }

.site-nav {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-logo-bar {
  width: 72px;
  height: 7px;
  background: var(--accent);
  border-radius: 4px;
  opacity: 0.8;
}

.site-nav-items {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}
.site-nav-items span {
  width: 28px;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.site-cta-bar {
  margin-left: auto;
  width: 52px;
  height: 18px;
  background: var(--accent);
  opacity: 0.7;
  border-radius: 4px;
}

.site-hero-area {
  padding: 24px 16px 20px;
  background: linear-gradient(140deg, #0a1428 0%, #0d1e3c 100%);
}

.site-title-block { margin-bottom: 14px; }

.site-t1 {
  height: 14px;
  width: 78%;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 3px;
  margin-bottom: 8px;
}
.site-t2 {
  height: 14px;
  width: 52%;
  background: linear-gradient(90deg, var(--accent-light) 0%, rgba(96, 165, 250, 0.35) 100%);
  border-radius: 3px;
}

.site-body-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}
.site-body-block span {
  height: 5px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
}
.site-body-block span:nth-child(1) { width: 92%; }
.site-body-block span:nth-child(2) { width: 76%; }
.site-body-block span:nth-child(3) { width: 84%; }

.site-btn-row {
  display: flex;
  gap: 8px;
}
.site-btn-a {
  width: 80px;
  height: 22px;
  background: var(--accent);
  opacity: 0.85;
  border-radius: 4px;
}
.site-btn-b {
  width: 60px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.site-cards-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 16px 16px;
  background: #0d1525;
}

.mock-card-item {
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 6px;
  padding: 10px;
}

.mock-card-icon {
  width: 20px;
  height: 20px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
  margin-bottom: 7px;
}

.mock-card-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-card-lines span {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.mock-card-lines span:first-child { width: 88%; }
.mock-card-lines span:last-child  { width: 60%; }

/* — Floating badges — */

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 3;
  white-space: nowrap;
}
.floating-badge svg { color: var(--accent-light); }

.badge-1 {
  bottom: 36px;
  left: -28px;
  animation: floatBadge1 5.5s ease-in-out infinite;
}
.badge-2 {
  top: 72px;
  right: -28px;
  animation: floatBadge2 5.5s ease-in-out infinite 0.9s;
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50%       { transform: translateY(-7px) rotate(2.5deg); }
}


/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
}

.stat-number {
  display: block;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  display: block;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 108px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 72px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-sec);
  line-height: 1.75;
}


/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}

.step-connector {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(96, 165, 250, 0.5), var(--border));
  margin-top: 40px;
  flex-shrink: 0;
}

.step-item {
  padding: 0 4px;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  opacity: 0.6;
  margin-bottom: 14px;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--accent-light);
}

.step-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-item p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.72;
}


/* ============================================================
   FEATURES GRID
   ============================================================ */

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  margin-bottom: 18px;
  color: var(--accent-light);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}


/* ============================================================
   WHO WE BUILD FOR
   ============================================================ */

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.business-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 16px 24px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  cursor: default;
}
.business-tile:hover {
  border-color: rgba(59, 130, 246, 0.38);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.tile-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent-light);
}

.business-tile h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.businesses-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}


/* ============================================================
   THE DIFFERENCE — ADVANTAGE SECTION
   ============================================================ */

.advantage-section {
  padding: 108px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.advantage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.advantage-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.advantage-content > p {
  font-size: 16px;
  color: var(--text-sec);
  margin-bottom: 32px;
  line-height: 1.7;
}

.advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.5;
}
.advantage-list li svg {
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* — Comparison columns — */

.advantage-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comparison-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.comparison-col.comparison-us {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.04);
}

.comp-header {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.comparison-them .comp-header { color: var(--text-muted); }
.comparison-us  .comp-header {
  color: var(--accent-light);
  border-bottom-color: rgba(59, 130, 246, 0.2);
}

.comparison-col ul {
  list-style: none;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comparison-col li {
  font-size: 12px;
  line-height: 1.45;
  padding: 7px 10px 7px 28px;
  border-radius: 6px;
  position: relative;
}

/* Bad item: red dash */
.comp-bad { color: var(--text-muted); }
.comp-bad::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--red-dim);
  border-radius: 2px;
}

/* Good item: blue checkmark via CSS */
.comp-good {
  color: var(--text-sec);
  background: rgba(59, 130, 246, 0.07);
}
.comp-good::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--accent-light);
  border-bottom: 2px solid var(--accent-light);
  border-radius: 0 1px 1px 0;
  transform: translateY(-60%) rotate(45deg);
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 128px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 480px at center, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-content > p {
  font-size: 18px;
  color: var(--text-sec);
  line-height: 1.72;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.footer-links a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
  .stat-divider { display: none; }

  .advantage-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}


/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-connector { display: none; }

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


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px;
    flex-direction: column;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }

  .btn-nav   { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 104px 0 72px; }

  .badge-1, .badge-2 { display: none; }

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

  .advantage-comparison {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


/* ============================================================
   RESPONSIVE — 540px
   ============================================================ */

@media (max-width: 540px) {
  .container { padding: 0 16px; }

  .section  { padding: 72px 0; }
  .advantage-section { padding: 72px 0; }
  .cta-section { padding: 88px 0; }

  .stat-number { font-size: 38px; }

  .features-grid { grid-template-columns: 1fr; }

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

  .section-header { margin-bottom: 48px; }
}
