/* ═══════════════════════════════════════════════
   ÉCOLEALERTE — style.css
   ═══════════════════════════════════════════════ */

:root {
  --bg: #0f1923;
  --surface: #162030;
  --surface2: #1d2d40;
  --border: rgba(255,255,255,0.07);
  --text: #e8edf2;
  --text-muted: #5a7a96;
  --text-dim: #3a5570;
  --accent: #2a9fd6;
  --danger: #e63946;
  --danger-dark: #b02030;
  --danger-glow: rgba(230,57,70,0.2);
  --success: #2ec4b6;
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCREENS ── */
.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}
.screen.active { display: flex; }


/* ═══════════════════════════════════════════════
   LOGIN
   ═══════════════════════════════════════════════ */

#screen-login {
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

#screen-login::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42,159,214,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--danger);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(230,57,70,0.3);
}

.brand-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.login-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ── CHAMPS ── */
.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.field select option { background: var(--surface2); }

/* ── BOUTON PRINCIPAL ── */
.btn-primary {
  width: 100%;
  background: var(--danger);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(230,57,70,0.25);
  transition: transform 0.1s;
}
.btn-primary:active { transform: scale(0.98); }

.demo-hint {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════
   DASHBOARD — TOPBAR
   ═══════════════════════════════════════════════ */

/* ── TOPBAR ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 16px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.topbar-school {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.conn-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  flex-shrink: 0;
}

.status-dot.disconnected {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: none;
}

.btn-logout {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

/* Sur petit écran, les boutons passent en dessous */
@media (max-width: 480px) {
  .topbar {
    padding: 48px 16px 12px;
  }

  .topbar-right {
    width: 100%;
    justify-content: flex-end;
  }

  .conn-indicator span {
    display: none; /* cache le texte "Connecté", garde juste le point */
  }
}

/* ═══════════════════════════════════════════════
   BOUTON INTRUSION
   ═══════════════════════════════════════════════ */

.alert-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s;
}

.alert-zone.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.alert-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 500;
}

.alert-btn-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

.alert-btn-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  opacity: 0;
  animation: ring-pulse 2s ease-out infinite;
}
.alert-btn-ring:nth-child(2) { animation-delay: 0.5s; }
.alert-btn-ring:nth-child(3) { animation-delay: 1s; }

@keyframes ring-pulse {
  0%   { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0; }
}

.alert-btn {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f05060, var(--danger) 60%, var(--danger-dark));
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 0 0 6px rgba(230,57,70,0.1),
    0 8px 40px rgba(230,57,70,0.35),
    inset 0 2px 0 rgba(255,255,255,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}
.alert-btn:active { transform: scale(0.94); }

.alert-btn-icon { font-size: 36px; }
.alert-btn-text { font-size: 13px; font-weight: 700; color: white; letter-spacing: 1.5px; text-transform: uppercase; }
.alert-btn-sub  { font-size: 10px; color: rgba(255,255,255,0.7); }

.alert-hint {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}


/* ═══════════════════════════════════════════════
   BANNIÈRE ALERTE ACTIVE
   ═══════════════════════════════════════════════ */

.active-alert {
  display: none;
  background: var(--danger);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.active-alert::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}

.active-alert.visible {
  display: block;
  animation: alert-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alert-in {
  from { transform: scale(0.9) translateY(10px); opacity: 0; }
  to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.active-alert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}

.blink { animation: blink 0.8s step-end infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.active-alert-title { font-size: 18px; font-weight: 700; }
.active-alert-body  { font-size: 13px; opacity: 0.85; line-height: 1.6; position: relative; }

.btn-cancel {
  margin-top: 14px;
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px;
  color: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}


/* ═══════════════════════════════════════════════
   JOURNAL
   ═══════════════════════════════════════════════ */

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.log-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { transform: translateX(-8px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.log-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.log-badge.intrusion { background: rgba(230,57,70,0.15); }
.log-badge.cancel    { background: rgba(46,196,182,0.12); }

.log-info { flex: 1; min-width: 0; }
.log-name   { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-detail { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.log-time {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.log-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-dim);
  font-size: 13px;
}


/* ═══════════════════════════════════════════════
   ALERTE PLEIN ÉCRAN
   ═══════════════════════════════════════════════ */

#screen-alert {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--danger);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 32px;
  animation: strobe 1s step-end infinite;
}

@keyframes strobe {
  0%, 100% { background: #e63946; }
  50%       { background: #c0202e; }
}

.alert-screen-icon {
  font-size: 72px;
  margin-bottom: 16px;
  animation: shake 0.5s ease both;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  20%       { transform: rotate(-8deg); }
  40%       { transform: rotate(8deg); }
  60%       { transform: rotate(-6deg); }
  80%       { transform: rotate(6deg); }
}

.alert-screen-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.alert-screen-info {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 6px;
  line-height: 1.6;
}

.alert-screen-time {
  font-family: 'DM Mono', monospace;
  font-size: 24px;
  font-weight: 500;
  margin: 20px 0;
  opacity: 0.9;
}

.btn-safe {
  width: 100%;
  max-width: 320px;
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}


/* ═══════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.visible { display: flex; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  padding: 32px 24px 48px;
  width: 100%;
  max-width: 480px;
  animation: modal-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-icon  { font-size: 48px; text-align: center; margin-bottom: 16px; }
.modal-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.modal-sub   { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; line-height: 1.5; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-confirm {
  width: 100%;
  background: var(--danger);
  border: none;
  border-radius: var(--radius-sm);
  padding: 18px;
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(230,57,70,0.3);
}

.btn-secondary {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}


/* ═══════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.log-list {
  list-style: none;
  padding-left: 0;
}

.log-badge.exercise { background: rgba(231,111,81,0.15); }

/* ═══════════════════════════════════════════════
   LANDING PAGE — ecolealerte.fr
   ═══════════════════════════════════════════════ */
.landing body {
  font-family: 'DM Sans', sans-serif;
  background: #080d14;
  color: #f0f4f8;
  overflow-x: hidden;
}

.landing nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(8,13,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ═══════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════ */
.landing { font-family: 'DM Sans', sans-serif; background: #080d14; color: #f0f4f8; overflow-x: hidden; }
.landing nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; background: rgba(8,13,20,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.07); }
.landing .nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.landing .nav-logo span { color: #e63946; }
.landing .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.landing .nav-links a { color: #8899aa; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.landing .nav-links a:hover { color: #f0f4f8; }
.landing .nav-cta { background: #e63946; color: white !important; padding: 10px 20px; border-radius: 8px; font-weight: 500; font-size: 14px !important; transition: opacity 0.2s !important; }
.landing .nav-cta:hover { opacity: 0.85; }
.landing .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.landing .hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(230,57,70,0.12) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(123,0,176,0.08) 0%, transparent 60%); }
.landing .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent); }
.landing .hero-content { position: relative; max-width: 800px; }
.landing .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); border-radius: 100px; padding: 6px 16px; font-size: 13px; color: #ff8a8a; margin-bottom: 32px; animation: fadeUp 0.6s ease both; }
.landing .hero-title { font-family: 'Syne', sans-serif; font-size: clamp(48px, 8vw, 88px); font-weight: 800; line-height: 1.0; margin-bottom: 24px; animation: fadeUp 0.6s 0.1s ease both; }
.landing .hero-title .accent { color: #e63946; }
.landing .hero-sub { font-size: clamp(16px, 2vw, 20px); color: #8899aa; line-height: 1.6; max-width: 560px; margin: 0 auto 48px; font-weight: 300; animation: fadeUp 0.6s 0.2s ease both; }
.landing .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
.landing .btn-primary { background: #e63946; color: white; padding: 16px 32px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 8px 32px rgba(230,57,70,0.3); }
.landing .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(230,57,70,0.4); }
.landing .btn-secondary { background: #162030; color: #f0f4f8; padding: 16px 32px; border-radius: 12px; font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid rgba(255,255,255,0.07); transition: border-color 0.2s; }
.landing .btn-secondary:hover { border-color: rgba(255,255,255,0.2); }
.landing .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.07); border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.landing .stat { background: #080d14; padding: 48px 32px; text-align: center; }
.landing .stat-number { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: #e63946; display: block; }
.landing .stat-label { font-size: 14px; color: #8899aa; margin-top: 8px; }
.landing .section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }
.landing .section-label { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #e63946; margin-bottom: 16px; }
.landing .section-title { font-family: 'Syne', sans-serif; font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.landing .section-sub { font-size: 18px; color: #8899aa; font-weight: 300; max-width: 560px; line-height: 1.6; margin-bottom: 64px; }
.landing .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.landing .feature-card { background: #162030; border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 32px; transition: border-color 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.landing .feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #e63946, transparent); opacity: 0; transition: opacity 0.3s; }
.landing .feature-card:hover { border-color: rgba(230,57,70,0.3); transform: translateY(-4px); }
.landing .feature-card:hover::before { opacity: 1; }
.landing .feature-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.landing .feature-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.landing .feature-desc { font-size: 15px; color: #8899aa; line-height: 1.6; font-weight: 300; }
.landing .how-section { background: #162030; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); padding: 100px 24px; }
.landing .how-inner { max-width: 1100px; margin: 0 auto; }
.landing .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; margin-top: 64px; }
.landing .step { text-align: center; }
.landing .step-number { width: 56px; height: 56px; border-radius: 50%; background: rgba(230,57,70,0.1); border: 2px solid rgba(230,57,70,0.3); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #e63946; margin: 0 auto 24px; }
.landing .step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.landing .step-desc { font-size: 14px; color: #8899aa; line-height: 1.6; }
.landing .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 64px; }
.landing .pricing-card { background: #162030; border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 40px 32px; position: relative; }
.landing .pricing-card.featured { border-color: rgba(230,57,70,0.4); background: linear-gradient(135deg, rgba(230,57,70,0.05), #162030); }
.landing .pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #e63946; color: white; font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.landing .pricing-name { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.landing .pricing-price { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; margin: 24px 0 4px; }
.landing .pricing-price span { font-size: 18px; font-weight: 400; color: #8899aa; }
.landing .pricing-desc { font-size: 14px; color: #8899aa; margin-bottom: 32px; line-height: 1.5; }
.landing .pricing-features { list-style: none; margin-bottom: 32px; }
.landing .pricing-features li { font-size: 14px; color: #8899aa; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 10px; }
.landing .pricing-features li::before { content: '✓'; color: #e63946; font-weight: 700; flex-shrink: 0; }
.landing .btn-pricing { display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: opacity 0.2s; }
.landing .btn-pricing.primary { background: #e63946; color: white; }
.landing .btn-pricing.secondary { background: #1d2d40; color: #f0f4f8; border: 1px solid rgba(255,255,255,0.07); }
.landing .btn-pricing:hover { opacity: 0.85; }
.landing .cta-section { padding: 120px 24px; text-align: center; position: relative; overflow: hidden; }
.landing .cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(230,57,70,0.08), transparent); }
.landing .cta-content { position: relative; }
.landing .cta-title { font-family: 'Syne', sans-serif; font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin-bottom: 24px; line-height: 1.1; }
.landing .cta-sub { font-size: 18px; color: #8899aa; margin-bottom: 48px; font-weight: 300; }
.landing footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 48px 24px; text-align: center; }
.landing .footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.landing .footer-logo span { color: #e63946; }
.landing .footer-links { display: flex; justify-content: center; gap: 32px; list-style: none; margin-bottom: 32px; flex-wrap: wrap; }
.landing .footer-links a { color: #8899aa; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.landing .footer-links a:hover { color: #f0f4f8; }
.landing .footer-copy { font-size: 13px; color: #8899aa; }
.landing .demo-section { padding: 100px 24px; background: #162030; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.landing .demo-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.landing .demo-phone { background: #080d14; border: 2px solid rgba(255,255,255,0.07); border-radius: 40px; padding: 20px; max-width: 280px; margin: 0 auto; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.landing .demo-phone::before { content: ''; display: block; width: 80px; height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; margin: 0 auto 20px; }
.landing .demo-screen { background: #e63946; border-radius: 24px; padding: 32px 20px; text-align: center; }
.landing .demo-screen-icon { font-size: 48px; margin-bottom: 12px; }
.landing .demo-screen-title { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.landing .demo-screen-sub { font-size: 13px; opacity: 0.8; margin-bottom: 20px; line-height: 1.5; }
.landing .demo-screen-btn { background: white; color: #e63946; border: none; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 13px; cursor: pointer; width: 100%; }
.landing .pulse { animation: pulse 2s infinite; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (max-width: 768px) {
  .landing nav { padding: 16px 20px; }
  .landing .nav-links { display: none; }
  .landing .stats { grid-template-columns: 1fr; }
  .landing .demo-inner { grid-template-columns: 1fr; }
}