
/* =====================================================
   LOCALREVIEWGUARD — ENTERPRISE DESIGN SYSTEM
   Version 2.0
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* VARIABLES */

:root {
  --bg: #080c18;
  --bg-secondary: #0c1222;
  --surface: #111a2e;
  --surface-light: #17233b;
  --border: rgba(148, 163, 184, 0.13);

  --primary: #547bff;
  --primary-light: #83a1ff;
  --purple: #9b70ff;

  --text: #f4f6ff;
  --muted: #a0abc2;
  --success: #40d6a0;

  --container: 1160px;
  --radius: 20px;
  --transition: .25s ease;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background:
    radial-gradient(
      ellipse at 15% 10%,
      rgba(46, 91, 190, .13),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 85% 45%,
      rgba(117, 65, 210, .10),
      transparent 35%
    ),
    var(--bg);

  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
select {
  font: inherit;
}

.container {
  width: min(
    var(--container),
    calc(100% - 48px)
  );
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(8, 12, 24, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -.7px;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;

  border-radius: 12px;
  color: white;

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--purple)
  );

  box-shadow: 0 5px 25px rgba(84, 123, 255, .25);
}

.logo-highlight {
  color: var(--primary-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a,
.login-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.main-nav a:hover,
.login-link:hover {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

#languageSelect {
  color: white;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 10px;
  outline: none;
  cursor: pointer;
}

#languageSelect option {
  background: var(--surface);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  min-height: 48px;
  padding: 0 21px;

  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;

  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  color: white;
  background: linear-gradient(
    110deg,
    #4778ff,
    #8059ed
  );

  box-shadow: 0 8px 25px rgba(84, 123, 255, .2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(84, 123, 255, .35);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-light);
  border-color: rgba(130, 160, 255, .4);
}

/* HERO */

.hero {
  position: relative;
  padding: 115px 0 105px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  top: 30px;
  right: -200px;

  background: rgba(84, 123, 255, .12);
  filter: blur(120px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--primary-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  margin-bottom: 23px;
}

.hero h1 {
  max-width: 620px;

  font-family: 'Manrope', sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2.8px;
  line-height: 1.13;
}

.gradient-text {
  background: linear-gradient(
    100deg,
    #82a6ff,
    #a887ff,
    #c3a5ff
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 510px;
  margin-top: 25px;

  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

.hero-note span {
  color: var(--success);
  font-weight: 800;
}

/* DASHBOARD PREVIEW */

.dashboard-preview {
  position: relative;
  padding: 25px;

  background: linear-gradient(
    145deg,
    rgba(23, 35, 59, .96),
    rgba(13, 20, 38, .96)
  );

  border: 1px solid rgba(130, 160, 255, .18);
  border-radius: 23px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.preview-label {
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.preview-top h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  margin-top: 5px;
}

.status-badge {
  padding: 7px 12px;
  border-radius: 30px;

  background: rgba(84, 123, 255, .12);
  color: var(--primary-light);

  font-size: 10px;
  font-weight: 700;
}

.preview-empty {
  min-height: 270px;
  padding: 35px 22px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  border: 1px dashed rgba(130, 160, 255, .28);
  border-radius: 16px;
  background: rgba(5, 10, 23, .25);
}

.preview-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;

  border-radius: 16px;
  background: rgba(84, 123, 255, .13);
  color: var(--primary-light);

  font-size: 27px;
  margin-bottom: 20px;
}

.preview-empty h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  margin-bottom: 10px;
}

.preview-empty p {
  max-width: 330px;
  color: var(--muted);
  font-size: 13px;
}

.preview-disconnected {
  margin-top: 20px;
  padding: 8px 13px;

  border-radius: 8px;
  background: rgba(255, 255, 255, .05);

  color: #c4cee2;
  font-size: 11px;
}

.preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

/* GENERAL SECTIONS */

.section {
  padding: 105px 0;
}

.features-section {
  background: rgba(255, 255, 255, .012);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2,
.security-content h2,
.cta-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1.25;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 17px;
}

/* FEATURE CARDS */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 29px;

  background: linear-gradient(
    145deg,
    rgba(20, 31, 53, .8),
    rgba(13, 20, 36, .8)
  );

  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 145, 255, .35);

  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.feature-icon {
  width: 47px;
  height: 47px;

  display: grid;
  place-items: center;

  margin-bottom: 22px;
  border-radius: 13px;

  background: rgba(84, 123, 255, .13);
  color: var(--primary-light);

  font-size: 22px;
}

.feature-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* STEPS */

.how-section {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  padding: 30px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(110, 145, 255, .35);
  transform: translateY(-4px);
}

.step-number {
  display: inline-block;
  margin-bottom: 22px;

  font-family: 'Manrope', sans-serif;
  font-size: 34px;
  font-weight: 800;

  color: var(--primary-light);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 13px;
}

/* SECURITY */

.security-section {
  background: linear-gradient(
    120deg,
    rgba(29, 48, 91, .3),
    rgba(84, 63, 150, .12)
  );

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-content {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  gap: 35px;
  max-width: 950px;
}

.security-symbol {
  width: 85px;
  height: 85px;

  display: grid;
  place-items: center;

  border-radius: 24px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--purple)
  );

  font-size: 39px;
  box-shadow: 0 12px 40px rgba(84, 123, 255, .2);
}

.security-content h2 {
  max-width: 700px;
}

.security-content p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}

.security-list {
  list-style: none;
  margin-top: 25px;
  display: grid;
  gap: 12px;
}

.security-list li {
  color: #d4ddf1;
  font-size: 13px;
}

.security-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  margin-right: 12px;
}

/* CTA */

.cta-section {
  text-align: center;
}

.cta-content {
  max-width: 760px;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
}

.cta-content p {
  color: var(--muted);
  margin: 20px 0 28px;
  font-size: 14px;
}

.cta-content small {
  display: block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}

/* FOOTER */

.site-footer {
  padding: 65px 0 22px;

  background: #060a14;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 50px;
}

.footer-brand p {
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-column h4 {
  margin-bottom: 5px;
  font-size: 13px;
}

.footer-column a {
  color: var(--muted);
  font-size: 12px;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;

  padding-top: 23px;
  border-top: 1px solid var(--border);

  color: var(--muted);
  font-size: 11px;
}

/* TABLET */

@media (max-width: 1000px) {

  .main-nav {
    gap: 16px;
  }

  .header-content {
    gap: 15px;
  }

  .hero-grid {
    gap: 35px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* MOBILE */

@media (max-width: 760px) {

  .container {
    width: calc(100% - 36px);
  }

  .header-content {
    min-height: auto;
    padding: 15px 0;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 17px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    order: 3;
    width: 100%;

    display: flex;
    overflow-x: auto;
    gap: 23px;

    padding: 12px 0 3px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    white-space: nowrap;
    font-size: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 11px;
    font-size: 10px;
  }

  .login-link {
    display: none;
  }

  #languageSelect {
    padding: 7px;
    font-size: 11px;
  }

  .hero {
    padding: 75px 0 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    letter-spacing: -1.9px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.85;
  }

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

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

  .hero-note {
    gap: 10px;
    font-size: 11px;
  }

  .dashboard-preview {
    padding: 18px;
  }

  .preview-empty {
    min-height: 245px;
    padding: 25px 15px;
  }

  .preview-empty h3 {
    font-size: 17px;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .security-content h2 {
    font-size: 31px;
    letter-spacing: -1px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .feature-card {
    padding: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .step-card {
    padding: 24px;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .security-symbol {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }

  .cta-content h2 {
    font-size: 34px;
  }

  .cta-content .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* PETITS ÉCRANS */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 28px);
  }

  .logo {
    font-size: 15px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .btn {
    font-size: 9px;
    padding: 0 8px;
  }

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

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .section-heading h2 {
    font-size: 28px;
  }
}

/* ACCESSIBILITÉ */

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

