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

:root {
  --bg-color: #ffffff;
  --text-primary: #0d1b26;
  --text-secondary: #3d5a6b;
  --text-muted: #6b8a99;
  --accent-color: #00b89a;
  --accent-hover: #009980;
  --accent-text: #007f6b;
  --danger-color: #e53935;
  --danger-hover: #c62828;
  --stop-color: #0a5c8a;
  --stop-hover: #084a70;
  --header-bg: #0d1b26;
  --header-text: #ffffff;
  --footer-bg: #f4f8fa;
  --border-color: #ddeaf0;
  --note-bg: #e8f7f4;
  --note-border: #b2e8de;
  --focus-ring: rgba(0, 184, 154, 0.28);
  --input-bg: #f8fcfb;
  --input-bg-focus: #ffffff;

  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--header-text);
  letter-spacing: -.01em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-cta svg {
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  padding: 46px 24px 80px;
  text-align: center;
  background: linear-gradient(160deg, #f0fff4 0%, #ffffff 60%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--note-bg);
  color: var(--accent-color);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(56, 161, 105, .35);
  transition: background .15s, transform .1s, box-shadow .15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(56, 161, 105, .4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.btn-secondary:hover {
  border-color: #c5ccd6;
  background: #f9fafb;
}

.hero-note {
  margin-top: 16px;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── MOCKUP ── */
.mockup-wrap {
  max-width: 900px;
  margin: 64px auto 0;
  padding: 0 24px;
}

.mockup-browser {
  background: #1e2330;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  background: #2a2f3e;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.d1 {
  background: #ff5f57;
}

.d2 {
  background: #febc2e;
}

.d3 {
  background: #28c840;
}

.browser-tab-strip {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.browser-tab-pill {
  background: #3a3f50;
  border-radius: 6px 6px 0 0;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: .7rem;
  color: #d1d5db;
  white-space: nowrap;
}

.browser-url {
  flex: 1;
  background: #3a3f50;
  border-radius: 6px;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: .72rem;
  color: #9ca3af;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-ext-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #3a3f50;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-ext-icon img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.browser-screen {
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

/* ── Fake webpage ── */
.fake-page {
  width: 100%;
  min-height: 360px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Nav */
.fake-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid #e8eaed;
}

.fake-nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fake-nav-logo-sq {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc04 75%, #ea4335 100%);
  opacity: .85;
}

.fake-nav-logo-text {
  width: 80px;
  height: 9px;
  border-radius: 4px;
  background: #e8eaed;
}

.fake-nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}

.fake-nav-link {
  height: 8px;
  border-radius: 4px;
  background: #e8eaed;
  width: 48px;
}

.fake-nav-cta {
  height: 26px;
  width: 56px;
  border-radius: 20px;
  background: #1a73e8;
  opacity: .8;
  flex-shrink: 0;
}

/* Hero two-column */
.fake-hero {
  display: flex;
  gap: 24px;
  padding: 28px 20px 20px;
  align-items: center;
}

.fake-hero-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fake-eyebrow {
  height: 8px;
  border-radius: 4px;
  background: #e8eaed;
  width: 55%;
}

.fake-h1 {
  height: 14px;
  border-radius: 4px;
  background: #d1d5db;
}

.fake-h1.w90 {
  width: 90%;
}

.fake-h1.w75 {
  width: 75%;
}

.fake-h1.w60 {
  width: 60%;
}

.fake-sub {
  height: 8px;
  border-radius: 4px;
  background: #e8eaed;
}

.fake-sub.w85 {
  width: 85%;
}

.fake-sub.w70 {
  width: 70%;
}

.fake-btn-row {
  display: flex;
  gap: 8px;
}

.fake-btn {
  height: 28px;
  width: 72px;
  border-radius: 20px;
  background: #1a73e8;
  opacity: .85;
}

.fake-btn.ghost {
  background: transparent;
  border: 1.5px solid #1a73e8;
}

/* Right-side visuals */
.fake-hero-right {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: center;
  height: 140px;
}

.fake-doc-icon {
  width: 56px;
  height: 72px;
  background: #e8f0fe;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.fake-doc-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 100%;
}

.fake-doc-lines div {
  height: 6px;
  border-radius: 3px;
  background: #4285f4;
  opacity: .5;
}

.fake-doc-lines div:nth-child(1) {
  width: 100%;
}

.fake-doc-lines div:nth-child(2) {
  width: 80%;
}

.fake-doc-lines div:nth-child(3) {
  width: 90%;
}

.fake-doc-lines div:nth-child(4) {
  width: 60%;
}

.fake-chart-area {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 100%;
}

.fake-bar {
  width: 14px;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4285f4 0%, #34a853 100%);
  opacity: .75;
}

.fake-bar:nth-child(2) {
  background: linear-gradient(180deg, #1a73e8 0%, #4285f4 100%);
  opacity: .85;
}

.fake-bar:nth-child(4) {
  background: linear-gradient(180deg, #0d47a1 0%, #1a73e8 100%);
  opacity: .9;
}

/* Ripple */
.fake-ripple {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid #e53935;
  border-radius: 50%;
  background: rgba(229, 57, 53, .12);
  bottom: 48px;
  left: 140px;
  animation: ripple-demo 2s ease-out infinite;
  pointer-events: none;
}

@keyframes ripple-demo {
  0% {
    transform: scale(.4);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── SnipSnap popup overlay ── */
.fake-popup {
  position: absolute;
  top: 44px;
  right: 18px;
  width: 188px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  padding: 12px 12px 10px;
  gap: 9px;
  z-index: 10;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.popup-header img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.popup-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.popup-badge {
  background: var(--danger-color);
  color: #fff;
  font-size: .52rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: .06em;
}

.popup-steps {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.popup-step {
  border-radius: 6px;
  padding: 6px 8px;
  font-size: .62rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fb;
}

.popup-step.done {
  color: #6b7280;
}

.popup-step.active {
  background: var(--note-bg);
  color: var(--text-primary);
  font-weight: 600;
}

.step-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #34a853;
  color: #fff;
  font-size: .52rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num {
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .54rem;
  flex-shrink: 0;
}

.popup-stop-btn {
  background: var(--danger-color);
  color: #fff;
  border-radius: 6px;
  padding: 7px 0;
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  cursor: pointer;
}

/* Recording status bar */
.popup-rec-status {
  font-size: .6rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.popup-rec-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger-color);
  margin-right: 4px;
  animation: blink 1.2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.popup-rec-bar {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #e5e7eb;
  overflow: hidden;
}

.popup-rec-fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  border-radius: 3px;
  animation: rec-progress 3s ease-in-out infinite alternate;
}

@keyframes rec-progress {
  from {
    width: 40%;
  }

  to {
    width: 80%;
  }
}

/* ── SECTION SHARED ── */
section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ── FEATURES ── */
.features {
  background: #f9fafb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--note-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 52px;
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-color) 0, var(--accent-color) 8px, transparent 8px, transparent 16px);
  opacity: .25;
  pointer-events: none;
}

.how-step {
  text-align: center;
}

.how-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(56, 161, 105, .3);
}

.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── PRIVACY HIGHLIGHT ── */
.privacy {
  background: linear-gradient(135deg, var(--header-bg) 0%, var(--accent-color) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.privacy .section-label {
  color: rgba(255, 255, 255, .7);
}

.privacy .section-title {
  color: var(--white);
  margin: 0 auto 16px;
  max-width: 620px;
}

.privacy .section-sub {
  color: rgba(255, 255, 255, .75);
  margin: 0 auto;
}

.privacy-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ── CTA FOOTER ── */
.cta-section {
  padding: 96px 24px;
  text-align: center;
}

.cta-section .section-title {
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-section .section-sub {
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-color);
  padding: 28px 24px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-secondary);
}

footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .how-grid::before {
    display: none;
  }

  .fake-popup {
    width: 160px;
    top: 36px;
    right: 10px;
  }

  .fake-nav-links {
    display: none;
  }

  .fake-hero-right {
    display: none;
  }
}