:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --text-main: #09090B;
  --text-muted: #71717A;
  --border: #E4E4E7;
  --border-hover: #D4D4D8;
  --btn-bg: #18181B;
  --btn-text: #FFFFFF;
  --btn-hover: #27272A;
  --brand-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  --brand-text: linear-gradient(135deg, #0284C7, #4F46E5);
  --icon-bg: #F4F4F5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 24px rgba(59, 130, 246, 0.15);
  --accent: #0284C7;
  --accent-bg: rgba(2, 132, 199, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

[data-theme="dark"] {
  --bg: #09090B;
  --surface: #121214;
  --surface-glass: rgba(18, 18, 20, 0.7);
  --text-main: #FAFAFA;
  --text-muted: #A1A1AA;
  --border: #27272A;
  --border-hover: #3F3F46;
  --btn-bg: #FAFAFA;
  --btn-text: #09090B;
  --btn-hover: #E4E4E7;
  --brand-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  --brand-text: linear-gradient(135deg, #38BDF8, #818CF8);
  --icon-bg: #18181B;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 32px rgba(59, 130, 246, 0.2);
  --accent: #38BDF8;
  --accent-bg: rgba(56, 189, 248, 0.1);
}

/* --- BASE LAYOUT & TYPOGRAPHY --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

::selection {
  background: var(--accent-bg);
  color: var(--accent);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 1200px;
  max-width: 90%;
  margin: auto;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 550px;
  margin: auto;
}

.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: var(--brand-glow);
  filter: blur(100px);
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
  transition: background 0.4s ease;
}

.gradient-text {
  background: var(--brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text) !important;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- GLOBAL COMPONENTS --- */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero p {
  color: var(--text-muted);
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

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

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: auto;
}

.bento-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.bento-item p {
  color: var(--text-muted);
  font-size: 15px;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--brand-glow);
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* --- SECURITY PAGE SPECIFIC STYLES --- */
.mono-badge {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.5px;
}

.badge-emerald {
  background: #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

/* Security Status Grid */
.security-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.status-pill {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.status-pill:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.status-pill-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Reporting Glass Card */
.security-card-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.security-card {
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-top: 4px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.security-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--border-hover);
  border-top-color: #10B981;
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-20deg);
  animation: shine 8s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.security-card h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.security-card p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.email-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 32px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
}

.email-placeholder i {
  color: #10B981;
  font-size: 20px;
}

.security-card .btn-primary {
  position: relative;
  z-index: 1;
}

/* Process Timeline */
.timeline-container {
  margin-top: 48px;
  position: relative;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-color: #10B981;
}

.timeline-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Scope Grid */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.scope-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.scope-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scope-list li {
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.scope-list i {
  margin-top: 4px;
  font-size: 18px;
}

.scope-in h3 i,
.scope-in .scope-list i {
  color: #10B981;
}

.scope-out h3 i,
.scope-out .scope-list i {
  color: #F43F5E;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .security-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .timeline-step:nth-child(4),
  .timeline-step:nth-child(5) {
    grid-column: auto;
  }

  .timeline-line {
    display: none;
  }

  .hero h1 {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

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

  .security-status-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

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

  .security-card {
    padding: 40px 24px;
  }

  .email-placeholder {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .cta-box h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 92%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .bento-item {
    padding: 24px;
  }
}