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

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  background: #f4f4f8;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(244, 244, 248, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(49, 46, 129, 0.08);
  border-bottom: 1px solid rgba(49, 46, 129, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  display: block;
}

.logo:hover .logo-icon {
  transform: rotate(5deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: #1e1b4b;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #312e81, #4f46e5);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #312e81;
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-selector {
  background: rgba(49, 46, 129, 0.08);
  border: 1px solid rgba(49, 46, 129, 0.3);
  color: #312e81;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  outline: none;
}

.lang-selector option {
  background: #f4f4f8;
  color: #1e1b4b;
  padding: 0.5rem;
  font-weight: 500;
}

.lang-selector:hover {
  background: rgba(49, 46, 129, 0.15);
  border-color: rgba(49, 46, 129, 0.5);
}

.lang-selector:focus {
  border-color: #312e81;
  box-shadow: 0 0 0 3px rgba(49, 46, 129, 0.15);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  background: #f4f4f8;
}

/* ---- FORMES DROITE (indigo) ---- */

/* Grande forme principale — rectangle incliné indigo foncé bas-droit */
.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -100px;
  width: 520px;
  height: 520px;
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 60%, #4f46e5 100%);
  transform: rotate(18deg);
  border-radius: 40px;
  z-index: 1;
}

/* Forme secondaire — rectangle moyen indigo moyen */
.hero::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: 140px;
  width: 300px;
  height: 300px;
  background: linear-gradient(145deg, #4f46e5 0%, #6366f1 100%);
  transform: rotate(18deg);
  border-radius: 28px;
  z-index: 2;
  opacity: 0.85;
}

.Picmile-clk{
  height: 42px;
}
#vis-img{
  position: relative;
  left: 5px;
}
/* Troisième forme indigo — petite, lavande clair, plus haute */
.hero-shape-3 {
  position: absolute;
  right: 240px;
  bottom: 320px;
  width: 170px;
  height: 170px;
  background: linear-gradient(145deg, #818cf8 0%, #a5b4fc 100%);
  transform: rotate(18deg);
  border-radius: 20px;
  z-index: 3;
  opacity: 0.6;
  pointer-events: none;
}

/* ---- BARRES GAUCHE (teal / orange / jaune — côté texte/CTA) ---- */
/*
  3 barres rectangulaires obliques collées côte à côte,
  comme les chevrons Splunk mais avec les couleurs des patterns.
  Inclinées à -16deg, débordant du bord bas-gauche.
*/

/* Barre 1 — Teal (la plus à gauche, déborde du bord) */
.hero-shape-grey-1 {
  position: absolute;
  left: -90px;
  bottom: -80px;
  width: 110px;
  height: 520px;
  background: #06b6d4;
  transform: rotate(-16deg);
  border-radius: 14px;
  z-index: 0;
  opacity: 0.28;
  pointer-events: none;
}

/* Barre 2 — Orange (collée à droite de la teal) */
.hero-shape-grey-2 {
  position: absolute;
  left: 32px;
  bottom: -80px;
  width: 110px;
  height: 520px;
  background: #f97316;
  transform: rotate(-16deg);
  border-radius: 14px;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
}

/* Barre 3 — Jaune (la plus à droite du groupe) */
.hero-shape-grey-3 {
  position: absolute;
  left: 154px;
  bottom: -80px;
  width: 110px;
  height: 520px;
  background: #fbbf24;
  transform: rotate(-16deg);
  border-radius: 14px;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}

/* ========== HERO CONTENT ========== */
.hero-content {
  max-width: 600px;
  z-index: 10;
  position: relative;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f0e1a;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #3d3a5c;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  box-shadow: 0 10px 40px rgba(79, 70, 229, 0.35);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(79, 70, 229, 0.5);
}

.arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* ========== ARTISTIC PATTERNS ========== */
.patterns-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  z-index: 10;
  position: relative;
}

.pattern {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.pattern:hover {
  transform: scale(1.05) rotate(5deg);
}

/* Pattern 1 - Modern Dark Teal */
.pattern-1 {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.4);
}

.pattern-1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
    conic-gradient(from 45deg,
      #06b6d4, #22d3ee, #67e8f9, #a5f3fc, #0891b2, #06b6d4);
  border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
  animation: rotate 10s linear infinite;
}

/* Pattern 2 - Vivid Modern Yellow */
.pattern-2 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.4);
}

.pattern-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    linear-gradient(135deg,
      #fde047 0%, #fbbf24 25%, #f59e0b 50%, #d97706 75%, #b45309 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 10s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

/* Pattern 3 - Vivid Orange/Maroon */
.pattern-3 {
  background: linear-gradient(135deg, #f97316 0%, #991b1b 100%);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.35);
}

.pattern-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    conic-gradient(from 0deg at 50% 50%,
      #f97316 0deg, #fb923c 72deg, #dc2626 144deg,
      #991b1b 216deg, #7f1d1d 288deg, #f97316 360deg);
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  animation: rotate 12s linear infinite;
}

/* ========== KEYFRAMES ========== */
@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .patterns-container { gap: 1.5rem; }
  .pattern { width: 140px; height: 140px; }
  .hero::before { width: 400px; height: 400px; right: -100px; }
  .hero::after  { width: 240px; height: 240px; right: 50px; }
  .hero-shape-3 { width: 130px; height: 130px; right: 180px; }
  .hero-shape-grey-1 { width: 340px; height: 340px; left: -110px; }
  .hero-shape-grey-2 { width: 170px; height: 170px; left: 40px; }
}

@media (max-width: 768px) {
  .nav-links { gap: 1.5rem; }
  .hero {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 120px 5% 60px;
  }
  .hero-content { text-align: center; }
  .patterns-container { flex-direction: row; gap: 1rem; }
  .pattern { width: 100px; height: 100px; }
  .hero::before { width: 280px; height: 280px; right: -60px; bottom: -60px; }
  .hero::after  { width: 170px; height: 170px; right: 30px; bottom: 80px; }
  .hero-shape-3 { width: 100px; height: 100px; right: 130px; bottom: 200px; }
  .hero-shape-grey-1 { width: 260px; height: 260px; left: -90px; bottom: -50px; }
  .hero-shape-grey-2 { width: 140px; height: 140px; left: 30px; bottom: 140px; }
}

@media (max-width: 640px) {
  .navbar { padding: 1rem 4%; }
  .nav-links { display: none; }
  .logo { font-size: 1.25rem; }
  .cta-button { padding: 0.875rem 2rem; font-size: 1rem; }
  .pattern { width: 80px; height: 80px; }
  .hero::before { width: 200px; height: 200px; right: -50px; bottom: -40px; }
  .hero::after  { width: 120px; height: 120px; right: 20px; bottom: 60px; }
  .hero-shape-3 { width: 70px; height: 70px; right: 90px; bottom: 150px; }
  .hero-shape-grey-1 { width: 180px; height: 180px; left: -70px; }
  .hero-shape-grey-2 { display: none; }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
  display: none;
  background: rgba(49, 46, 129, 0.1);
  border: 1px solid rgba(49, 46, 129, 0.3);
  color: #312e81;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(49, 46, 129, 0.2);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(244, 244, 248, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(49, 46, 129, 0.15);
  z-index: 999;
  animation: slideDown 0.3s ease-out;
}

.mobile-nav.active { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  display: block;
  color: #1e1b4b;
  text-decoration: none;
  padding: 1rem;
  border-bottom: 1px solid rgba(49, 46, 129, 0.08);
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(49, 46, 129, 0.06);
  padding-left: 1.5rem;
  color: #312e81;
}

.mobile-nav .lang-selector {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .mobile-menu-btn { display: block; }
}