/* PrompterGo — Landing éditoriale, esprit wearekult */

/* DM Sans — self-hosted (variable font, weights 300-700) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #060607;
  --color-surface: #0e0f12;
  --color-surface-2: #161720;
  --color-card: #181a23;
  --color-text: #f5f6fa;
  --color-text-muted: #adb0bb;
  --color-border: #2a2d3a;
  --color-accent: #ffffff;
  --color-accent-dark: #0f1014;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --space-xs: 0.25rem;
  --space-s: 0.5rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --radius: 999px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

main {
  overflow: hidden;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

.section-centered {
  max-width: 900px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 var(--space-m);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #d0d2dc;
}

/* -------------------------------------------------------
   Header
------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-m) var(--space-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

a.logo:hover {
  color: var(--color-text);
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.nav > a:not(.btn) {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

.nav > a:not(.btn):hover {
  color: var(--color-text);
}

.lang-picker {
  position: relative;
}

.lang-picker-btn {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-picker-btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.lang-picker-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 52px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .lang-picker-menu {
  right: auto;
  left: 0;
}

.lang-picker:hover .lang-picker-menu,
.lang-picker:focus-within .lang-picker-menu {
  display: flex;
  flex-direction: column;
}

.lang-picker-item {
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
  transition: background 0.12s, color 0.12s;
}

.lang-picker-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  opacity: 1;
}

.lang-picker-item.active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

/* -------------------------------------------------------
   Buttons
------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-small {
  padding: 0.45rem var(--space-m);
  font-size: 0.875rem;
  background: transparent;
  color: #eceef5;
  border: 1px solid var(--color-border);
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-small:hover {
  background: #eceef5;
  color: #0f1014;
}

.btn-light {
  padding: 0.92rem 1.45rem;
  font-size: 0.86rem;
  background: #ffffff;
  color: #0d0e11;
  border: 1px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.btn-light:hover {
  background: #e9ebf3;
  border-color: #e9ebf3;
  color: #0d0e11;
  transform: translateY(-1px);
}

.btn-primary {
  padding: 0.92rem 1.45rem;
  font-size: 0.86rem;
  background: #ffffff;
  color: #0d0e11;
  border: 1px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.btn-primary:hover {
  background: #e9ebf3;
  border-color: #e9ebf3;
  color: #0d0e11;
}

.btn-icon-svg {
  flex-shrink: 0;
}

.hero-kult {
  position: relative;
  padding: 8rem var(--space-l) 7rem;
  background:
    radial-gradient(900px 420px at 12% 5%, rgba(93, 116, 255, 0.26), transparent 55%),
    radial-gradient(860px 430px at 92% 12%, rgba(255, 90, 170, 0.2), transparent 60%),
    radial-gradient(760px 500px at 52% 100%, rgba(16, 205, 192, 0.2), transparent 60%),
    linear-gradient(140deg, #0c0d13 0%, #08090f 45%, #0b0c13 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 6, 7, 0.05), rgba(6, 6, 7, 0.5));
  pointer-events: none;
}

.hero-centered {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 2.6rem;
  align-items: center;
  text-align: left;
}

.hero-copy {
  max-width: 610px;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 var(--space-m);
  padding: 0.34rem 0.76rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.hero-content h1 {
  margin: 0 0 var(--space-l);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 var(--space-xl);
  font-size: 1.08rem;
  color: #d2d5df;
  max-width: 590px;
  line-height: 1.72;
}

.hero-device-wrap {
  display: flex;
  justify-content: center;
}

.hero-device {
  width: min(280px, 74vw);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, #12141e 0%, #0d0e14 100%);
  padding: 0.68rem;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.36);
}

.iphone-frame {
  position: relative;
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1.2rem;
  border-radius: 0 0 14px 14px;
  background: #0a0b10;
  border: 1px solid #1a1d29;
  z-index: 2;
}

.prompter-lines {
  border-radius: 30px;
  background: #07080c;
  border: 1px solid #20232f;
  min-height: 460px;
  padding: 2.1rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  overflow: hidden;
}

.screen-line {
  display: block;
  width: 100%;
  height: 11px;
  border-radius: 7px;
  background: #2c3040;
  opacity: 0.5;
  transition: background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.screen-line.short {
  width: 62%;
}

.screen-line.mid {
  width: 81%;
}

.screen-line.lit {
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------------
   Features
------------------------------------------------------- */
.features-section {
  padding: 5.4rem 0;
  background: #0c0d13;
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  margin: 0 0 var(--space-2xl);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: #5a6077;
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.85rem;
  color: #e2e4ee;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* -------------------------------------------------------
   FAQ
------------------------------------------------------- */
.faq-section {
  padding: 5.4rem 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

[dir="rtl"] .faq-question::after {
  order: -1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 700px;
}

/* -------------------------------------------------------
   Final CTA
------------------------------------------------------- */
.final-cta {
  position: relative;
  padding: 6.2rem var(--space-l);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(860px 420px at 15% 16%, rgba(93, 116, 255, 0.26), transparent 55%),
    radial-gradient(820px 400px at 92% 18%, rgba(255, 90, 170, 0.18), transparent 56%),
    linear-gradient(135deg, #0f1118 0%, #0a0b12 100%);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 18, 0.08), rgba(10, 11, 18, 0.45));
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.cta-inner h2 {
  margin: 0 0 var(--space-m);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.cta-inner p {
  margin: 0 0 var(--space-xl);
  color: #d4d7e2;
  line-height: 1.75;
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem var(--space-l);
  background: #090a10;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-dark {
  background: #07080d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-l);
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.footer-heading {
  margin: 0 0 0.5rem;
  color: #eceef5;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.footer-muted {
  margin: 0 0 0.3rem;
  color: #9fa3b1;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: block;
  margin: 0 0 0.35rem;
  line-height: 1.55;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 0.88rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* -------------------------------------------------------
   Pages info (support, privacy, terms, legal)
------------------------------------------------------- */
.info-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem var(--space-l) 5rem;
}

.info-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
}

.info-card h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.info-card p {
  margin: 0 0 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.info-card h2 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.info-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--color-text-muted);
}

.info-list li {
  margin-bottom: 0.45rem;
}

/* -------------------------------------------------------
   Privacy policy
------------------------------------------------------- */
.privacy-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: -0.2rem 0 1.8rem !important;
  letter-spacing: 0.01em;
}

.privacy-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.1rem 1.4rem 0.7rem;
  margin: 0 0 2rem;
}

.privacy-summary-title {
  margin: 0 0 0.55rem !important;
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #9a9dab !important;
}

/* -------------------------------------------------------
   Page share (fallback desktop /share/)
------------------------------------------------------- */
.page-share .share-main {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-l);
  gap: var(--space-2xl);
}

.share-card {
  max-width: 460px;
  width: 100%;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.share-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: var(--space-l);
  object-fit: cover;
}

.share-card h1 {
  margin: 0 0 var(--space-m);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.share-lead {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.share-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: var(--space-l);
}

.share-hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.share-about {
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.share-about h2 {
  margin: 0 0 var(--space-l);
  font-size: 1rem;
  font-weight: 600;
  color: #a6a9b5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.share-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.share-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.share-features li span:first-child {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

@media (max-width: 920px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.7rem;
  }

  .hero-copy,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-device-wrap {
    justify-content: center;
  }

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

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

@media (max-width: 640px) {
  .nav-link-desktop {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .hero-kult {
    padding-top: 6.4rem;
    padding-bottom: 5.4rem;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .hero-device {
    width: min(250px, 82vw);
  }

  .prompter-lines {
    min-height: 420px;
  }

  .cta-inner h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

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

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