/* ============================================================
   SITE SNIPER — Premium Design System
   Built by RJ Business Solutions | 2026-04-15
   ============================================================ */

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

:root {
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-dark: #0891b2;
  --pink: #ec4899;
  --pink-light: #f472b6;
  --dark: #030712;
  --darker: #010409;
  --card: #0d1117;
  --card-hover: #161b22;
  --border: #1e293b;
  --border-light: #334155;
  --text: #94a3b8;
  --text-light: #cbd5e1;
  --text-white: #f1f5f9;
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --error: #ef4444;
  --error-light: #f87171;
  --purple: #a855f7;
  --blue: #3b82f6;
  --stripe: #635BFF;
  --gradient: linear-gradient(135deg, var(--cyan), var(--pink));
  --gradient-subtle: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(236,72,153,0.15));
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(6,182,212,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Poppins', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--text-white); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; }
h4 { font-size: 0.9375rem; }
p { color: var(--text); }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan-light); }
code, .mono { font-family: var(--font-mono); }
small { font-size: 0.75rem; color: var(--text); }

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

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-divider { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xxs { font-size: 0.625rem; }
.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-pink { color: var(--pink) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-error { color: var(--error) !important; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-mono { font-family: var(--font-mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }
.w-full { width: 100%; }

@media (max-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hide-mobile { display: none; }
}

/* ── GLASS CARD ────────────────────────────────────────────── */
.glass {
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.glass:hover { border-color: rgba(6,182,212,0.2); }
.glass-solid {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.glass-solid:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}
.navbar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.navbar-brand:hover .navbar-logo { transform: scale(1.08); }
.navbar-logo { width: 40px; height: 40px; border-radius: var(--radius-sm); transition: transform var(--transition); object-fit: cover; }
.navbar-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; }
.navbar-subtitle { font-size: 0.625rem; color: var(--text); margin-top: -2px; display: block; }
.navbar-links { display: flex; align-items: center; gap: 0.25rem; }
.navbar-link {
  font-size: 0.8125rem;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.navbar-link:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.navbar-link.active { color: var(--cyan); background: rgba(6,182,212,0.1); }

@media (max-width: 640px) {
  .navbar-links { gap: 0; }
  .navbar-link { padding: 0.5rem 0.6rem; font-size: 0.75rem; }
  .navbar-link span { display: none; }
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(6,182,212,0.3);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(6,182,212,0.4); }

.btn-secondary {
  background: var(--card);
  color: var(--text-white);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { color: var(--text-white); border-color: var(--border-light); background: rgba(255,255,255,0.03); }

.btn-danger { background: rgba(239,68,68,0.15); color: var(--error-light); border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover:not(:disabled) { background: rgba(239,68,68,0.25); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
.btn-block { width: 100%; }

/* ── INPUTS ────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: all var(--transition);
  outline: none;
}
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }
.input::placeholder { color: #475569; }
.input.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

.input-icon-wrapper { position: relative; }
.input-icon-wrapper .input { padding-left: 2.75rem; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 0.875rem; }

.select {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--text-white);
  font-size: 0.875rem;
  transition: all var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }

label { font-size: 0.75rem; color: var(--text); margin-bottom: 0.25rem; display: block; font-weight: 500; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}
.checkbox-label:hover { color: var(--text-white); }
.checkbox-label input[type="checkbox"] { accent-color: var(--cyan); width: 16px; height: 16px; cursor: pointer; }

/* ── BADGES & TAGS ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
.badge-green { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-yellow { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--error); }
.badge-purple { background: rgba(168,85,247,0.15); color: var(--purple); }
.badge-blue { background: rgba(59,130,246,0.15); color: var(--blue); }
.badge-gray { background: rgba(148,163,184,0.1); color: var(--text); }
.badge-gradient { background: var(--gradient); color: white; }

.tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.625rem;
  background: var(--darker);
  color: var(--text);
  font-family: var(--font-mono);
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero { padding: 5rem 0 3rem; text-align: center; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(6,182,212,0.2);
  display: block;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; max-width: 600px; margin: 0 auto 2.5rem; color: var(--text); }

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2rem; }
  .hero-logo { width: 60px; height: 60px; }
}

/* ── ANALYZER BOX ──────────────────────────────────────────── */
.analyzer-box {
  max-width: 680px;
  margin: 0 auto;
}
.analyzer-input-row { display: flex; gap: 0.75rem; }
.analyzer-input-row .input-icon-wrapper { flex: 1; }
.analyzer-options { display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .analyzer-input-row { flex-direction: column; }
  .analyzer-input-row .btn { width: 100%; }
}

/* ── LIVE FEED ─────────────────────────────────────────────── */
.live-feed { margin-top: 1.5rem; }
.live-feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.live-feed-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem; color: var(--text-white); display: flex; align-items: center; gap: 0.5rem; }

.progress-track { width: 100%; height: 6px; background: var(--darker); border-radius: 100px; overflow: hidden; margin-bottom: 1rem; }
.progress-fill { height: 100%; background: var(--gradient); border-radius: 100px; transition: width 0.6s ease; min-width: 0; }

.log-container { max-height: 280px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.log-container::-webkit-scrollbar { width: 4px; }
.log-container::-webkit-scrollbar-track { background: transparent; }
.log-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  animation: fadeSlideIn 0.3s ease-out;
  border-bottom: 1px solid rgba(30,41,59,0.3);
}
.log-entry:last-child { border-bottom: none; }
.log-entry-icon { margin-top: 2px; flex-shrink: 0; }
.log-entry-message { flex: 1; color: var(--text-light); }
.log-entry-time { font-family: var(--font-mono); font-size: 0.625rem; color: #475569; white-space: nowrap; }

/* ── SCORE CARD ────────────────────────────────────────────── */
.score-card { padding: 2rem; }
.score-main { display: flex; align-items: center; gap: 2.5rem; }
.score-gauge { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.score-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-gauge-value { font-family: var(--font-heading); font-weight: 900; font-size: 2.5rem; line-height: 1; }
.score-gauge-max { font-size: 0.75rem; color: var(--text); }
.score-gauge-grade { font-size: 1rem; font-weight: 700; margin-top: 0.25rem; }

.sub-scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; flex: 1; }
.sub-score { text-align: center; padding: 0.75rem; border-radius: var(--radius-sm); background: var(--darker); }
.sub-score i { font-size: 1.125rem; margin-bottom: 0.5rem; display: block; }
.sub-score-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.375rem; display: block; }
.sub-score-label { font-size: 0.625rem; color: var(--text); margin-top: 0.25rem; display: block; }

.score-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.75rem; color: var(--text); flex-wrap: wrap; }
.score-meta i { margin-right: 0.3rem; }

@media (max-width: 768px) {
  .score-main { flex-direction: column; }
  .sub-scores { grid-template-columns: repeat(3, 1fr); }
}

/* ── PRICING CARDS ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pricing-card.popular { border-color: var(--cyan); box-shadow: 0 0 40px rgba(6,182,212,0.15); }
.pricing-card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-tier { font-size: 0.6875rem; text-transform: uppercase; color: var(--text); margin-bottom: 0.25rem; letter-spacing: 0.05em; }
.pricing-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-tagline { font-size: 0.75rem; color: var(--text); }
.pricing-price { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 900; margin: 0.75rem 0 0.25rem; }
.pricing-timeline { font-size: 0.75rem; color: var(--text); }
.pricing-features { flex: 1; border-top: 1px solid var(--border); padding-top: 1.25rem; margin-bottom: 1.25rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-light); padding: 0.35rem 0; }
.pricing-feature i { color: var(--success); margin-top: 3px; font-size: 0.75rem; flex-shrink: 0; }
.pricing-cta { text-align: center; }
.pricing-secure { text-align: center; font-size: 0.625rem; color: var(--text); margin-top: 0.75rem; }
.pricing-secure i { margin-right: 0.25rem; }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

/* ── TRUST SIGNALS ─────────────────────────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; padding: 2rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--text); }
.trust-item i { font-size: 1.25rem; }
.trust-item .fa-shield-alt { color: var(--success); }
.trust-item .fa-undo { color: var(--cyan); }
.trust-item .fa-stripe { color: var(--stripe); }
.trust-item .fa-headset { color: var(--pink); }

/* ── HISTORY LIST ──────────────────────────────────────────── */
.history-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.history-card:hover { border-color: rgba(6,182,212,0.3); transform: translateX(4px); box-shadow: var(--shadow-glow); }
.history-score-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.history-score-box .score-val { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; }
.history-info { flex: 1; min-width: 0; }
.history-url { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--text-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.35rem; font-size: 0.75rem; color: var(--text); flex-wrap: wrap; }
.history-arrow { color: var(--text); font-size: 0.75rem; flex-shrink: 0; }

/* ── RESULT SECTIONS ───────────────────────────────────────── */
.result-section { margin-bottom: 2.5rem; }
.result-section-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.result-section-header h2 { margin: 0; }
.result-section-header i { font-size: 1.25rem; }

.audit-card { padding: 1.25rem; }
.audit-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.audit-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.audit-score { font-family: var(--font-mono); font-weight: 700; font-size: 1.125rem; }
.audit-bar { width: 100%; height: 4px; background: var(--darker); border-radius: 100px; overflow: hidden; margin-bottom: 0.75rem; }
.audit-bar-fill { height: 100%; border-radius: 100px; transition: width 0.8s ease; }
.audit-info { font-size: 0.75rem; color: var(--text); margin-bottom: 0.5rem; }
.audit-rec { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.75rem; border-top: 1px solid rgba(30,41,59,0.3); }
.audit-rec:first-child { border-top: none; }
.audit-rec-icon { margin-top: 2px; }
.audit-rec-title { color: var(--text-light); }
.audit-rec-impact { font-size: 0.625rem; color: var(--text); display: block; }

/* ── ISSUE CARDS ───────────────────────────────────────────── */
.issue-card { padding: 1rem 1.25rem; border-left: 3px solid; }
.issue-card.critical { border-left-color: var(--error); }
.issue-card.major { border-left-color: var(--warning); }
.issue-card.minor { border-left-color: var(--blue); }
.issue-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.issue-desc { font-size: 0.8125rem; color: var(--text); margin-bottom: 0.5rem; }
.issue-values { display: flex; gap: 1rem; font-size: 0.6875rem; flex-wrap: wrap; }
.issue-current { color: var(--error-light); }
.issue-recommended { color: var(--success-light); }
.issue-revenue { font-size: 0.6875rem; color: var(--warning); margin-top: 0.25rem; }

/* ── INTEL / ARCHITECTURE ──────────────────────────────────── */
.intel-card { padding: 1.25rem; }
.intel-card h3 { font-size: 0.875rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.intel-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.8125rem; border-bottom: 1px solid rgba(30,41,59,0.3); }
.intel-row:last-child { border-bottom: none; }
.intel-row .label { color: var(--text); }
.intel-row .value { font-weight: 700; color: var(--text-white); }
.intel-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.8125rem; color: var(--text-light); }
.intel-item i { flex-shrink: 0; font-size: 0.75rem; }

/* ── REBUILT PAGES ─────────────────────────────────────────── */
.design-system-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 1.25rem; }
.color-swatch { display: flex; align-items: center; gap: 0.5rem; }
.color-swatch-dot { width: 36px; height: 36px; border-radius: var(--radius-xs); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.color-swatch-info { font-size: 0.75rem; }
.color-swatch-label { color: var(--text); display: block; }
.color-swatch-hex { font-family: var(--font-mono); font-size: 0.625rem; color: #475569; display: block; }
.design-meta { display: flex; gap: 1.5rem; margin-top: 0.75rem; font-size: 0.75rem; color: var(--text); }

.page-card { padding: 1rem 1.25rem; transition: all var(--transition); }
.page-card:hover { border-color: rgba(6,182,212,0.3); }
.page-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.page-card-info { flex: 1; min-width: 0; }
.page-card-path-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.page-card-changes { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.page-card-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ── PROPOSAL ──────────────────────────────────────────────── */
.proposal-card { padding: 2.5rem; }
.proposal-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.proposal-for { font-size: 0.6875rem; color: var(--cyan); font-family: var(--font-mono); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.proposal-business { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.proposal-meta { font-size: 0.8125rem; color: var(--text); margin-top: 0.25rem; }
.proposal-logo { width: 50px; height: 50px; border-radius: var(--radius-sm); }
.proposal-section { margin-bottom: 2rem; }
.proposal-section h4 { font-size: 0.875rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.proposal-section p { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }
.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ba-before { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--radius-sm); padding: 0.75rem; font-size: 0.8125rem; }
.ba-before .label { color: var(--error-light); font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.25rem; }
.ba-after { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); border-radius: var(--radius-sm); padding: 0.75rem; font-size: 0.8125rem; }
.ba-after .label { color: var(--success-light); font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.25rem; }
.ba-text { color: var(--text); }

.timeline-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; }
.timeline-number { width: 28px; height: 28px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; color: white; flex-shrink: 0; }
.timeline-phase { font-weight: 700; color: var(--text-white); font-size: 0.8125rem; }
.timeline-duration { color: var(--text); font-size: 0.8125rem; margin-left: 0.5rem; }
.timeline-deliverables { font-size: 0.75rem; color: var(--text); margin-top: 0.15rem; }

.guarantee-box { background: var(--gradient-subtle); border: 1px solid rgba(6,182,212,0.2); border-radius: var(--radius); padding: 1.25rem; }
.guarantee-box h4 { color: var(--cyan); }

.next-step { display: flex; align-items: center; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.875rem; color: var(--text-light); }
.next-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--darker); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--cyan); flex-shrink: 0; }

/* ── SEO SECTION ───────────────────────────────────────────── */
.seo-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.seo-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.seo-stat-value { font-family: var(--font-heading); font-weight: 900; font-size: 2rem; display: block; }
.seo-stat-label { font-size: 0.75rem; color: var(--text); margin-top: 0.25rem; display: block; }

.meta-fix { background: var(--darker); border-radius: var(--radius-sm); padding: 0.75rem; font-size: 0.75rem; }
.meta-fix-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.meta-fix-page { font-family: var(--font-mono); color: var(--cyan); }
.meta-fix-field { color: var(--text); }
.meta-fix-before { color: var(--error-light); }
.meta-fix-after { color: var(--success-light); margin-top: 0.25rem; }

.conversion-element { font-size: 0.8125rem; padding: 0.5rem 0 0.5rem 0.75rem; border-left: 2px solid var(--pink); }
.conversion-type { font-weight: 700; color: var(--text-white); }
.conversion-location { color: var(--text); font-size: 0.75rem; }
.conversion-desc { color: #64748b; font-size: 0.75rem; margin-top: 0.15rem; }

.conversion-lift-box { background: var(--darker); border-radius: var(--radius-sm); padding: 0.75rem; margin-top: 1rem; }
.conversion-lift-label { font-size: 0.625rem; color: var(--warning); font-weight: 700; margin-bottom: 0.25rem; }
.conversion-lift-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--text-white); }

@media (max-width: 768px) { .seo-stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── PAYMENT SUCCESS ───────────────────────────────────────── */
.success-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.success-icon.ok { background: rgba(16,185,129,0.15); }
.success-icon.fail { background: rgba(239,68,68,0.15); }
.success-icon i { font-size: 2rem; }

.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; font-size: 0.875rem; }
.order-label { color: var(--text); }
.order-value { font-weight: 700; color: var(--text-white); }

.complete-banner { padding: 1.25rem; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25); border-radius: var(--radius); text-align: center; margin-top: 1.25rem; }

/* ── AGENTS PIPELINE ───────────────────────────────────────── */
.agent-card { text-align: center; padding: 1.5rem 1rem; }
.agent-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; }
.agent-icon i { color: white; font-size: 1.125rem; }
.agent-num { font-size: 0.625rem; color: var(--cyan); font-family: var(--font-mono); margin-bottom: 0.25rem; }
.agent-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; margin-bottom: 0.35rem; }
.agent-desc { font-size: 0.75rem; color: var(--text); }

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 800px; margin: 0 auto; }
.step-card { text-align: center; }
.step-number { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: white; }
.step-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.8125rem; color: var(--text); }

@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; max-width: 400px; } }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 2rem 1.5rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { width: 32px; height: 32px; border-radius: var(--radius-xs); }
.footer-info { font-size: 0.6875rem; color: var(--text); line-height: 1.4; }
.footer-company { font-weight: 600; color: var(--text-white); display: block; }
.footer-links { display: flex; align-items: center; gap: 1rem; }
.footer-link { font-size: 0.75rem; color: var(--text); transition: color var(--transition); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; }
.footer-link:hover { color: var(--text-white); }

/* ── LOADING STATES ────────────────────────────────────────── */
.spinner { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 50%, var(--card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-xs); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.pulse-glow { animation: pulseGlow 2s infinite; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.3); } 50% { box-shadow: 0 0 25px 5px rgba(6,182,212,0.15); } }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
.slide-in { animation: slideInLeft 0.5s ease-out; }
.fade-in { animation: fadeSlideIn 0.4s ease-out; }

/* ── CANCELLED BANNER ──────────────────────────────────────── */
.cancel-banner {
  max-width: 640px;
  margin: 0 auto 2rem;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--warning-light);
}

/* ── EMPTY STATE ───────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 2.5rem; color: var(--text); margin-bottom: 1rem; display: block; opacity: 0.5; }
.empty-state p { color: var(--text); margin-bottom: 0.75rem; }
