/* ============================================
   Hotspot Manager - Static Landing CSS
   Vanilla CSS (no Tailwind, no build step)
   ============================================ */

:root {
  --background: 222 47% 6%;
  --foreground: 210 30% 92%;
  --card: 222 40% 9%;
  --card-foreground: 210 30% 92%;
  --primary: 187 80% 48%;
  --primary-foreground: 210 40% 4%;
  --secondary: 222 30% 14%;
  --muted: 222 25% 14%;
  --muted-foreground: 210 15% 55%;
  --accent: 200 90% 55%;
  --border: 222 25% 15%;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(187 80% 48%), hsl(210 90% 50%));
  --gradient-glow: linear-gradient(135deg, hsl(187 80% 48% / 0.15), hsl(210 90% 50% / 0.15));
  --shadow-glow: 0 0 60px hsl(187 80% 48% / 0.2);
}

.light {
  --background: 210 20% 98%;
  --foreground: 210 40% 8%;
  --card: 0 0% 100%;
  --muted: 210 15% 92%;
  --muted-foreground: 210 10% 45%;
  --secondary: 210 20% 93%;
  --border: 210 15% 88%;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Utilities */
.text-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bg-gradient-primary { background-image: var(--gradient-primary); }
.bg-gradient-glow { background-image: var(--gradient-glow); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.glass {
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
}
.glass-strong {
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.6);
}
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

.pulse-glow { animation: pulseGlow 4s ease-in-out infinite; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  background-image: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .9; }

.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  color: hsl(var(--foreground));
  transition: background .2s;
}
.btn-glass:hover { background: hsl(var(--muted) / 0.5); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .3s;
}
.navbar.scrolled { background: hsl(var(--card) / 0.85); backdrop-filter: blur(24px); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.navbar-logo img { height: 2.5rem; width: auto; }
.nav-links { display: none; gap: 2rem; align-items: center; }
.nav-links a { font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); transition: color .2s; }
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-actions { display: none; gap: .75rem; align-items: center; }
.nav-actions .login { font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.nav-actions .login:hover { color: hsl(var(--foreground)); }
.nav-actions .cta { background-image: var(--gradient-primary); color: hsl(var(--primary-foreground)); padding: .625rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; }
.icon-btn { padding: .5rem; border-radius: .5rem; color: hsl(var(--muted-foreground)); transition: background .2s, color .2s; display: inline-flex; }
.icon-btn:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.mobile-menu-btn { display: inline-flex; }
.mobile-actions { display: flex; align-items: center; gap: .5rem; }
.mobile-login { font-size: .8125rem; font-weight: 600; padding: .45rem .8rem; border-radius: var(--radius); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); white-space: nowrap; }
.mobile-menu { display: none; border-top: 1px solid hsl(var(--border)); }
.mobile-menu.open { display: block; animation: fadeInUp .3s ease-out; }
.mobile-menu .container { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.mobile-menu a { font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); padding: .5rem 0; }
.mobile-menu .cta { text-align: center; margin-top: .5rem; background-image: var(--gradient-primary); color: hsl(var(--primary-foreground)); padding: .625rem 1.25rem; border-radius: var(--radius); }

@media (min-width: 768px) {
  .navbar-inner { height: 5rem; }
  .navbar-logo img { height: 3rem; }
  .nav-links, .nav-actions { display: flex; }
  .mobile-actions { display: none; }
  .mobile-menu, .mobile-menu.open { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;  display: flex; align-items: center;
  padding-top: 5rem; padding-bottom: 4rem; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 9999px; filter: blur(80px); }
.blob-1 { top: 25%; left: 25%; width: 24rem; height: 24rem; background: hsl(var(--primary) / 0.1); animation: pulseGlow 4s ease-in-out infinite; }
.blob-2 { bottom: 25%; right: 25%; width: 20rem; height: 20rem; background: hsl(var(--accent) / 0.1); animation: pulseGlow 4s ease-in-out infinite 1.5s; }
.hero-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, hsl(var(--primary) / .3), transparent); }

.hero-inner { max-width: 64rem; margin: 0 auto; text-align: center; position: relative; z-index: 10; }

.servers-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem;
  padding: .5rem 1rem; border-radius: 9999px;
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--primary) / 0.2);
  margin-bottom: 1.5rem;
}
.server-item { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 500; color: hsl(var(--foreground) / .8); }
.dot-wrap { position: relative; display: inline-flex; height: .5rem; width: .5rem; }
.dot-ping { position: absolute; inset: 0; border-radius: 9999px; background: #4ade80; opacity: .75; animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
.dot { position: relative; display: inline-block; height: .5rem; width: .5rem; border-radius: 9999px; background: #22c55e; }

.hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.hero .subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto 2.5rem; }

.hero-cta { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; margin-bottom: 4rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 32rem; margin: 0 auto; }
.stat-value { font-size: clamp(1.5rem, 4vw, 1.875rem); font-weight: 700; }
.stat-label { font-size: .8rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; }

.steps-block { margin-top: 4rem; }
.steps-block h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: .5rem; }
.steps-block .lead { color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(5, 1fr); } }
.step-card {
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem; padding: 1.25rem;
  transition: border-color .3s;
}
.step-card:hover { border-color: hsl(var(--primary) / .4); }
.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-weight: 700; font-size: .875rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.step-card p { font-size: .75rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; position: relative; }
@media (min-width: 640px) { .section { padding: 8rem 0; } }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { font-size: .875rem; font-weight: 500; color: hsl(var(--primary)); margin-bottom: .75rem; display: block; }
.section-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-lead { color: hsl(var(--muted-foreground)); font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }

/* Features grid */
.features-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem; padding: 2rem;
  transition: box-shadow .5s;
}
.feature-card:hover { box-shadow: var(--shadow-glow); }
.feature-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background-image: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: hsl(var(--primary-foreground));
}
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; }
.feature-card p { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 1rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.feature-tag { font-size: .7rem; padding: .25rem .625rem; border-radius: 9999px; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }

/* How it works */
.how-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
.how-card {
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem; padding: 2rem; height: 100%;
}
.how-num { font-size: 3rem; font-weight: 700; color: hsl(var(--primary) / .15); display: block; margin-bottom: 1rem; line-height: 1; }
.how-icon { width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.how-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .5rem; }
.how-card p { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* Why us */
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  display: flex; gap: 1rem; padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  transition: box-shadow .5s;
}
.why-card:hover { box-shadow: var(--shadow-glow); }
.why-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .5rem;
  background: hsl(var(--primary) / .1); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-card h3 { font-weight: 600; margin-bottom: .25rem; }
.why-card p { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: .75rem; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; text-align: left; font-weight: 500;
}
.faq-question .chevron { transition: transform .3s; flex-shrink: 0; color: hsl(var(--muted-foreground)); }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }

/* CTA */
.cta-card {
  position: relative; overflow: hidden;
  background: hsl(var(--card) / 0.6); backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1.5rem; padding: 3rem 2rem; text-align: center;
}
@media (min-width: 640px) { .cta-card { padding: 4rem; } }
.cta-card h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.cta-card p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; position: relative; z-index: 10; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
.cta-blob-1 { position: absolute; top: 0; right: 0; width: 16rem; height: 16rem; background: hsl(var(--primary) / .1); border-radius: 9999px; filter: blur(80px); }
.cta-blob-2 { position: absolute; bottom: 0; left: 0; width: 12rem; height: 12rem; background: hsl(var(--accent) / .1); border-radius: 9999px; filter: blur(80px); }

/* Footer */
.footer { border-top: 1px solid hsl(var(--border)); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer img { height: 2.5rem; margin-bottom: 1rem; }
.footer p, .footer li { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }
.footer h4 { font-weight: 600; margin-bottom: .75rem; font-size: .875rem; color: hsl(var(--foreground)); }
.footer ul { display: flex; flex-direction: column; gap: .5rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: hsl(var(--foreground)); }
.footer-bottom { border-top: 1px solid hsl(var(--border)); padding-top: 1.5rem; text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); }

/* Fonctionnalités à venir */
.feature-tag.soon { opacity: .85; background: transparent; border: 1px dashed hsl(var(--primary) / .5); }
.soon-badge { display: inline-block; vertical-align: middle; margin-left: .4rem; font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; background: hsl(38 92% 50% / .18); color: hsl(38 92% 60%); border: 1px solid hsl(38 92% 50% / .45); }

/* Logo CodeTicket */
.navbar-logo .ct-brand, .footer .ct-brand { color: hsl(var(--foreground)); }
.footer .ct-brand { margin-bottom: 1rem; }
@media (max-width: 380px) { .navbar-logo .ct-brand-tag { display: none; } }

/* Bandeau des services sur 2 lignes (mobile) */
@media (max-width: 560px) { .servers-pill { border-radius: 1rem; } }
