/* ==========================================================================
   WP Seguro — Landing Page Styles
   Version: 1.0.0
   Author: Francisco Moroso
   ========================================================================== */

/* ==========================================================================
   Self-hosted Inter font faces
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v13-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v13-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v13-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-v13-latin-800.woff2') format('woff2');
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-dark: #047857;
  --accent-glow: rgba(16, 185, 129, 0.15);
  --accent-glow-strong: rgba(16, 185, 129, 0.3);

  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;

  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --info: #3b82f6;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-full: 9999px;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--accent-glow);

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--gray-900);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--accent-glow-strong);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 4px 16px var(--accent-glow-strong);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn--danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn--danger:hover {
  background: var(--danger-hover);
  border-color: var(--danger-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn--white {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  color: var(--gray-900);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header--scrolled {
  padding: 12px 0;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.header__logo:hover {
  color: var(--white);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

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

.header__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}

.header__link:hover {
  color: var(--white);
}

.header__link--cta {
  color: var(--gray-900);
  background: var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.header__link--cta:hover {
  background: var(--accent-hover);
  color: var(--gray-900);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--gray-900) 0%, var(--gray-800) 60%, #1a2332 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Analyzer Form */
.analyzer {
  max-width: 560px;
  margin: 0 auto 32px;
}

.analyzer__form {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.analyzer__form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.analyzer__input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
}

.analyzer__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.analyzer__btn {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

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

.analyzer__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Loading state */
.analyzer__loading {
  display: none;
  text-align: center;
  margin-top: 24px;
}

.analyzer__loading.is-active {
  display: block;
}

.analyzer__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

.analyzer__status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  min-height: 24px;
}

/* Error state */
.analyzer__error {
  display: none;
  margin-top: 16px;
  padding: 12px 18px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.9375rem;
  text-align: center;
}

.analyzer__error.is-active {
  display: block;
}

/* Hero badges row */
.hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

.hero__trust-badge svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* ==========================================================================
   Report Modal
   ========================================================================== */
.report-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.report-overlay.is-active {
  display: flex;
}

.report {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.35s ease;
  position: relative;
}

.report__header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.report__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.report__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.report__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 1.125rem;
  transition: all var(--transition);
}

.report__close:hover {
  background: var(--gray-200);
  color: var(--gray-700);
}

.report__domain {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

/* Score section */
.report__score {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--gray-200);
}

.report__score-circle {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.report__score-circle svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.report__score-circle .score-bg {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 8;
}

.report__score-circle .score-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease;
}

.report__score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.report__score-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
}

.report__score-info {
  flex: 1;
}

.report__score-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.report__score-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Severity badges in report */
.report__severities {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.severity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

.severity-badge--critical {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.severity-badge--high {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.severity-badge--medium {
  background: var(--warning-bg);
  color: #d97706;
  border: 1px solid var(--warning-border);
}

.severity-badge--low {
  background: var(--info-bg);
  color: var(--info);
  border: 1px solid var(--info-border);
}

/* Findings table */
.report__findings {
  padding: 0 32px 28px;
}

.report__findings-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 20px 0 12px;
}

.finding {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.finding:last-child {
  border-bottom: none;
}

.finding__severity {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.finding__severity--critical { background: var(--danger); }
.finding__severity--high { background: #ea580c; }
.finding__severity--medium { background: var(--warning); }
.finding__severity--low { background: var(--info); }

.finding__text {
  flex: 1;
}

.finding__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.finding__desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Report CTA */
.report__cta {
  padding: 20px 32px 28px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius) var(--radius);
}

.report__cta p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.report__cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Section base
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--gray-900);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section__desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==========================================================================
   Amenazas / Problems section
   ========================================================================== */
.threats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.threat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.threat-card:hover {
  border-color: var(--danger-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.threat-card__icon {
  width: 48px;
  height: 48px;
  background: var(--danger-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--danger);
}

.threat-card__icon svg {
  width: 24px;
  height: 24px;
}

.threat-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.threat-card__desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

.threat-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--danger);
}

/* ==========================================================================
   Servicios / Services section
   ========================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__features {
  text-align: left;
  margin-top: 12px;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-card__feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Proceso / Steps section
   ========================================================================== */
.steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.steps__line {
  position: absolute;
  top: 40px;
  left: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-glow));
}

.step {
  display: flex;
  gap: 28px;
  padding: 0 0 48px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step__number {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--accent-glow);
}

.step__content {
  flex: 1;
  padding-top: 16px;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

.step__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}

/* ==========================================================================
   Precios / Pricing section
   ========================================================================== */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing__toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
}

.pricing__toggle-label.is-active {
  color: var(--gray-900);
  font-weight: 600;
}

.pricing__toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition);
}

.pricing__toggle-switch.is-active {
  background: var(--accent);
}

.pricing__toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow);
}

.pricing__toggle-switch.is-active::after {
  transform: translateX(22px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

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

.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
  transform: scale(1.04);
  z-index: 1;
}

.pricing-card--featured:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.pricing-card__price {
  margin-bottom: 24px;
}

.pricing-card__amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-card__currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-500);
  vertical-align: super;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.pricing-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color var(--transition);
  gap: 16px;
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 0 20px;
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__info {
  padding-right: 24px;
}

.contact__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact__info-desc {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact__whatsapp {
  margin-top: 20px;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.is-active {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--success-bg);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success__desc {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.footer__logo:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--white);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2s ease infinite;
  z-index: -1;
}

/* ==========================================================================
   Scroll-to-top button
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  color: var(--gray-600);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

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

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scoreReveal {
  from {
    stroke-dashoffset: 314;
  }
}

/* Scroll reveal classes */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive — Tablet (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .threats,
  .services,
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card--featured {
    transform: none;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__info {
    padding-right: 0;
  }
}

/* ==========================================================================
   Responsive — Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  /* Header mobile */
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--gray-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__link {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header__link--cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: none;
  }

  /* Hero mobile */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.0625rem;
  }

  .analyzer__form {
    flex-direction: column;
  }

  .analyzer__btn {
    justify-content: center;
  }

  .hero__badges {
    gap: 16px;
  }

  /* Grids to single column */
  .threats,
  .services,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps__line {
    left: 28px;
  }

  .step__number {
    width: 56px;
    height: 56px;
    font-size: 1.125rem;
  }

  .step {
    gap: 20px;
  }

  /* Report modal */
  .report-overlay {
    padding: 20px 12px;
  }

  .report__header,
  .report__findings,
  .report__cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .report__score {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .report__severities {
    justify-content: center;
  }

  .report__cta-buttons {
    flex-direction: column;
  }

  .report__cta-buttons .btn {
    width: 100%;
  }

  /* Pricing */
  .pricing-card--featured {
    order: -1;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Floating buttons */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .scroll-top {
    right: 82px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  .header,
  .whatsapp-float,
  .scroll-top,
  .analyzer,
  .hero__badges,
  .footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
    background: var(--white) !important;
    color: var(--gray-900) !important;
  }

  .hero__title,
  .hero__subtitle {
    color: var(--gray-900) !important;
  }

  .section {
    padding: 30px 0;
    break-inside: avoid;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .pricing-card,
  .service-card,
  .threat-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .report-overlay {
    position: static;
    background: none;
    display: block !important;
  }

  .report {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
