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

:root {
  /* Colors */
  --bg-main: #180E2A;
  --bg-secondary: #23113D;
  --purple-signature: #3B1361;
  --purple-accent: #4C1D7A;
  --hover-deep: #2D1249;
  --orange-main: #F28C3C;
  --orange-accent: #FF8A3D;
  --text-main: #FFFFFF;
  --text-secondary: #D9D2E8;
  --border-color: #4C1D7A;

  /* Typography */
  --font-heading: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --spacing-section: 120px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--orange-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange-accent);
}

/* Typography Base */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 5vw, 4.5rem);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-section) 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--orange-main);
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background-color: var(--orange-accent);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--purple-signature);
  color: var(--text-main) !important;
  border: 1px solid var(--purple-accent);
}

.btn-secondary:hover {
  background-color: var(--hover-deep);
  color: var(--text-main) !important;
}

/* Header */
header {
  padding: 2rem 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.logo {
  max-height: 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.login-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.header-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 100;
}
.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Diagonal Background Pattern */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, var(--bg-secondary) 25%, transparent 25%, transparent 50%, var(--bg-secondary) 50%, var(--bg-secondary) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* Section specific styling */
.text-center {
  text-align: center;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-title, .hero-description, .hero-actions-wrapper {
  text-align: left;
}

.tagline {
  color: var(--orange-main);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5ch;
}

/* Animated Words */
.animated-words {
  display: inline-flex;
  flex-direction: column;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--orange-main);
  text-align: left;
}
.animated-words span {
  animation: cycleWords 8s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
  display: block;
  height: 1.2em;
  line-height: 1.2em;
}

@keyframes cycleWords {
  0%, 15% { transform: translateY(0); }
  25%, 40% { transform: translateY(-1.2em); }
  50%, 65% { transform: translateY(-2.4em); }
  75%, 90% { transform: translateY(-3.6em); }
  100% { transform: translateY(-4.8em); }
}

.hero-visual {
  flex: 0 0 450px;
  border-radius: var(--radius);
  border: 1px solid var(--purple-accent);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Problem Section */
.problem-section {
  background-color: var(--bg-secondary);
}

.problem-list {
  max-width: 550px;
  margin: 2rem auto;
  text-align: left;
}

.problem-list li {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 2.5rem;
}

.problem-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
  top: 2px;
}

/* Is / Is Not Section */
.is-not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.is-not-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: left;
}

.is-not-card.negative {
  background-color: rgba(231, 76, 60, 0.05);
  border-color: rgba(231, 76, 60, 0.2);
}

.is-not-card h3 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.is-not-card ul {
  list-style: none;
}

.is-not-card ul li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  position: relative;
  padding-left: 2rem;
}

.is-not-card.negative ul li::before {
  content: '❌';
  position: absolute;
  left: 0;
  top: 2px;
}

.is-not-card.positive {
  border-color: var(--orange-main);
}

.is-not-card.positive ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 2px;
}

/* Option Stack (Le Système) */
.options-stack {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.option-stacked-card {
  padding: 3rem;
  border-radius: var(--radius);
  text-align: left;
  position: relative;
  background-color: var(--bg-secondary);
}

.option-stacked-card.opt-1 {
  border-left: 4px solid #E74C3C;
  border-top: 1px solid rgba(231, 76, 60, 0.2);
  border-right: 1px solid rgba(231, 76, 60, 0.2);
  border-bottom: 1px solid rgba(231, 76, 60, 0.2);
  background-color: rgba(231, 76, 60, 0.05);
}

.option-stacked-card.opt-2 {
  border-left: 4px solid var(--orange-main);
  border-top: 1px solid var(--purple-accent);
  border-right: 1px solid var(--purple-accent);
  border-bottom: 1px solid var(--purple-accent);
  background-color: var(--purple-signature);
  box-shadow: 0 10px 40px rgba(242, 140, 60, 0.1);
}

.option-stacked-card h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.option-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  font-weight: 700;
}

.opt-1 .option-number { color: rgba(231, 76, 60, 0.5); }
.opt-2 .option-number { color: var(--orange-main); }

.option-stacked-card ul {
  list-style: none;
}

.option-stacked-card ul li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  position: relative;
  padding-left: 2rem;
}

.opt-1 ul li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  top: 2px;
}

.opt-2 ul li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 2px;
}

.vs-circle {
  width: 50px;
  height: 50px;
  background-color: var(--bg-main);
  border: 2px solid var(--purple-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-secondary);
  margin: -1.5rem auto;
  position: relative;
  z-index: 5;
}


/* Personas Section */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.persona-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.persona-card:hover {
  transform: translateY(-5px);
  background-color: var(--hover-deep);
}

.persona-card .persona-tag {
  color: var(--orange-main);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

.persona-card ul {
  list-style: none;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  flex: 1;
}

.persona-card ul li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.persona-card ul li::before {
  content: '•';
  color: var(--orange-main);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.persona-cta {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
}

/* Carousel Arsenal */
.carousel-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 0 3rem;
}

.carousel-content {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  padding-bottom: 1rem;
}

.carousel-card {
  flex: 0 0 320px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.carousel-card .module-icon {
  height: 60px;
  object-fit: contain;
  margin: 0 auto 1.5rem auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--purple-signature);
  border: 1px solid var(--purple-accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--orange-main);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Future Pacing */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.roadmap-item {
  background-color: var(--bg-main);
  border-left: 2px solid var(--purple-accent);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.roadmap-image-container {
  position: relative;
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(76, 29, 122, 0.2);
  border: 1px solid var(--purple-accent);
  overflow: hidden;
}

.roadmap-image-container img {
  border-radius: calc(var(--radius) - 4px);
  width: 100%;
}

.roadmap-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
}

/* Ecosystem */
.ecosystem-list {
  max-width: 800px;
  margin: 0 auto;
}

.eco-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.eco-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-color: var(--orange-main);
}

.eco-icon {
  font-size: 1.5rem;
  font-weight: bold;
  background: var(--purple-signature);
  color: var(--orange-main);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Setup Steps */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.setup-step {
  text-align: center;
}

.setup-step h3 {
  margin-bottom: 0.5rem;
}

/* Pricing */
.pricing-section {
  background-color: var(--bg-secondary);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--bg-main);
  border: 1px solid var(--orange-main);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(242, 140, 60, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 0 40px rgba(242, 140, 60, 0.4);
  transform: translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--orange-main);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  margin: 2rem 0;
}

.price s {
  color: var(--text-secondary);
  font-size: 1.5rem;
  display: block;
}

.price .amount {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(35, 17, 61, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--purple-accent);
  padding: 1rem;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 100;
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Founder Note */
.founder-section {
  background-color: var(--bg-main);
}
.founder-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.founder-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 150px;
  color: rgba(242, 140, 60, 0.1);
  line-height: 1;
}
.founder-content {
  position: relative;
  z-index: 2;
}
.founder-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}
.founder-signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--purple-accent);
  padding-top: 2rem;
}
.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange-main);
}
@media (max-width: 768px) {
  .founder-card {
    padding: 2rem;
  }
}

/* Footer */
footer {
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--purple-accent);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-title, .hero-description, .hero-actions-wrapper {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 450px;
  }
  .tagline {
    justify-content: center;
  }
  .is-not-grid {
    grid-template-columns: 1fr;
  }
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-layout {
    flex-direction: column;
  }
  .roadmap-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    padding: 2rem;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--purple-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .header-actions.active {
    display: flex;
  }
  .login-link {
    justify-content: center;
    font-size: 1.125rem;
  }
  .header-btn {
    text-align: center;
    font-size: 1.125rem;
    padding: 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .eco-item {
    flex-direction: column;
  }
  .carousel-wrapper {
    padding: 0;
  }
  .carousel-content {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0 1rem 1rem 1rem;
  }
  .carousel-content::-webkit-scrollbar {
    display: none;
  }
  .carousel-card {
    scroll-snap-align: center;
    flex: 0 0 85%;
  }
  .carousel-btn {
    display: none;
  }
  .is-not-card, .option-stacked-card, .persona-card, .pricing-card, .founder-card {
    padding: 1.5rem;
  }
  .price .amount {
    font-size: 3rem;
  }
}

/* Le Coffre Carousel */
.coffre-card {
  flex: 0 0 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--purple-accent);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.coffre-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--purple-accent);
}
.coffre-card p {
  padding: 1.5rem;
  font-size: 1rem;
  margin: 0;
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .coffre-card {
    scroll-snap-align: center;
    flex: 0 0 100%;
  }
}

/* Hero Custom Responsive Grid & Sizing */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  margin-top: 0;
  align-items: stretch;
}

.hero-content-flex {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-visual-desktop-fit {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--purple-accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-visual-desktop-fit img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-visual-desktop-fit {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: var(--radius);
    border: 1px solid var(--purple-accent);
  }
  
  .hero-visual-desktop-fit img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
  }
}

