/* ==============================================
   DESIGN TOKENS
   ============================================== */
:root {
  --primary: #ff4757;
  --primary-hover: #ff1717;
  --secondary: #76b947;
  --radius: 3px;
  --border: 2px solid #000;
  --border-bold: 3px solid #000;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 4px 10px #999;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --text: #111;
  --text-secondary: #333;
  --text-muted: #666;
  --container-max: 1100px;
  --section-pad: 80px 20px;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

/* ==============================================
   TYPOGRAPHY
   ============================================== */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 48px;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px #999;
}

.btn--primary:disabled {
  background: #ccc;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn--large {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  padding: var(--section-pad);
  background: #fff;
  border-bottom: var(--border-bold);
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  margin: 0 auto 28px;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 24px;
  display: inline-block;
  border-bottom: 5px solid #000;
  padding-bottom: 10px;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ==============================================
   TEASER
   ============================================== */
.teaser {
  padding: var(--section-pad);
  background: #fff;
  border-bottom: var(--border);
}

.teaser .section-title {
  text-align: left;
  max-width: 700px;
}

.teaser__body p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 18px;
}

.teaser__body p:last-child {
  margin-bottom: 0;
}

.teaser__punchline {
  font-style: italic;
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1.2rem !important;
}

/* ==============================================
   FEATURES
   ============================================== */
.features {
  padding: var(--section-pad);
  background: #fafafa;
  border-bottom: var(--border);
}

.features .section-title {
  text-align: center;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: var(--border-bold);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card__title {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==============================================
   PREVIEW
   ============================================== */
.preview {
  padding: var(--section-pad);
  background: #fff;
  border-bottom: var(--border);
}

.preview .section-title {
  text-align: center;
}

.preview__caption {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Browser chrome shell */
.browser-mockup {
  max-width: 680px;
  margin: 0 auto;
  border: var(--border-bold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.browser-mockup__chrome {
  background: #e8e8e8;
  border-bottom: 2px solid #000;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.browser-mockup__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  border: 1px solid #999;
}

.browser-mockup__address-bar {
  flex: 1;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Blocked page replica — inside the viewport */
.browser-mockup__viewport {
  background: #868686;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.blocked-demo {
  background: #fff;
  border: 3px solid #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.blocked-demo__icon {
  margin: 0 auto 20px;
  animation: pulse 2.5s ease-in-out infinite;
}

.blocked-demo__title {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.blocked-demo__message {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.5;
}

.blocked-demo__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 0;
}

.blocked-demo__stats {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.blocked-demo__bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.blocked-demo__bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.blocked-demo__tip {
  font-size: 0.6rem;
  color: #999;
  font-style: italic;
}

/* ==============================================
   FINAL CTA
   ============================================== */
.cta-final {
  padding: var(--section-pad);
  background: #f5f5f5;
  border-bottom: var(--border);
  text-align: center;
}

.cta-final .section-title {
  margin-bottom: 20px;
}

.cta-final__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  padding: 28px 20px;
  background: #111;
  color: #aaa;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px 16px;
  }

  .teaser .section-title {
    text-align: center;
  }

  .teaser__body p {
    max-width: 100%;
  }

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

  .blocked-demo__buttons {
    flex-direction: column;
  }

  .blocked-demo__buttons .btn {
    width: 100%;
  }

  .blocked-demo {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .browser-mockup__chrome {
    flex-wrap: wrap;
  }

  .browser-mockup__address-bar {
    width: 100%;
  }
}
