:root {
    --primary-blue: #4a6baf;      
    --darker-blue: #3a5796;
}
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:  "Mozilla Headline", "Segoe UI", sans-serif;
    background-color: #f8f9fa;
    color: #222;
    line-height: 1.6;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: "Mozilla Headline", sans-serif;
    color: white;
}

#background_video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

/* ===== NAVBAR ===== */
#header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

#brand-cont {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0.8rem;
    text-decoration: none;
}
 
#logo-brand {
    width: 100px;
    position: absolute;
    left: 0;
    height: auto;
}

#name-brand {
    font-size: 1.3rem;
    font-weight: bold;
    color: whitesmoke;
    margin-left: 5rem;
}

#menu ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

#menu ul li, #menu ul li a {
    cursor: pointer;
    transition: color 0.3s ease;
}

#menu ul li a{
    text-decoration: none;
    color: white;
}
#menu ul li:hover, #download_menu_btn a:hover {
    color: var(--darker-blue);
}

#get_license_btn{
    padding: 10px;
    background-color: var(--primary-blue);
    border-radius: 10px;
    color: white;
}

#get_license_btn:hover{
    background-color: var(--darker-blue);
}
/* ===== BURGER BUTTON ===== */
#burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

#burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    display: none;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#mobile-menu ul {
    list-style: none;
    padding: 1rem;
}

#mobile-menu ul li  {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--darker-blue);
    cursor: pointer;
}
#mobile-menu ul li a{
  text-decoration: none;
}
#mobile-menu ul li a:not(#get_license_btn) {
  text-decoration: none;
  color: var(--primary-blue);
}
#mobile-menu ul li a:hover {
    color: var(--darker-blue);
}

/* ===== HERO ===== */
#hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

#hero-text-cont {
    max-width: 800px;
}

#hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#hero-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

#hero-cta:hover {
    background: var(--darker-blue);
}

/* ===== FEATURES SLIDER ===== */
/* Section Features */
#features {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

#features h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
}

#features-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.feature-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
  flex: 0 0 250px;
  scroll-snap-align: start;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.15);
}

.feature-card img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.feature-card p {
  color: #555;
  font-size: 0.9rem;
}

/* Info sous les features */
#features-info {
  max-width: 700px;
  margin: 3rem auto 0;
  text-align: center;
  color: #333;
}

#features-info h2 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

#features-info p {
  font-size: 1rem;
}

/* ===== DOWNLOAD ===== */
#download {
  background-color: var(--primary-blue);
  color: white;
  padding: 3rem 1rem;
}

.download-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

#download-image {
  flex: 1 1 300px;
  text-align: center;
}

#download-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#download-text {
  flex: 1 1 400px;
}

#download-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#download-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* From Uiverse.io by 0xnihilism */ 
.brutalist-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 169px;
  height: 60px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border: 3px solid #fff;
  outline: 3px solid #000;
  box-shadow: 6px 6px 0 var(--darker-blue);
  transition: all 0.1s ease-out;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.brutalist-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
  transition: none;
  opacity: 0;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.brutalist-button:hover::before {
  opacity: 1;
  animation: slide 2s infinite;
}

.brutalist-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #000;
  background-color: #000;
  color: #fff;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.brutalist-button:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 #00a4ef;
  background-color: #fff;
  color: #000;
  border-color: #000;
}

.ms-logo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}

.brutalist-button:hover .ms-logo {
  transform: rotate(-10deg) scale(1.1);
}

.brutalist-button:active .ms-logo {
  transform: rotate(10deg) scale(0.9);
}

.ms-logo-square {
  width: 100%;
  height: 100%;
}

.ms-logo-square:nth-child(1) {
  background-color: #f25022;
}
.ms-logo-square:nth-child(2) {
  background-color: #7fba00;
}
.ms-logo-square:nth-child(3) {
  background-color: #00a4ef;
}
.ms-logo-square:nth-child(4) {
  background-color: #ffb900;
}

.button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}

.brutalist-button:hover .button-text {
  transform: skew(-5deg);
}

.brutalist-button:active .button-text {
  transform: skew(5deg);
}

.button-text span:first-child {
  font-size: 11px;
  text-transform: uppercase;
}

.button-text span:last-child {
  font-size: 16px;
  text-transform: uppercase;
}


/* ===== LICENCE ===== */
#license {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

#license h2 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-weight: 700;
}

.license-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.license-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.1);
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.license-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.15);
}

.license-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 10px 35px rgb(0 119 255 / 0.3);
}

.license-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.price .save {
  font-size: 0.9rem;
  color: #28a745;
  margin-left: 0.5rem;
  font-weight: 600;
}

.license-card ul {
  list-style: none;
  margin-bottom: 2rem;
  color: #555;
  text-align: left;
  padding-left: 1.1rem;
}

.license-card ul li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2rem;
}

.license-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
}

.btn-select {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-select:hover {
  background: var(--darker-blue);
}

/* ===== TESTIMONIES===== */
#testimonies-cont {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#testimonies-cont h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary-blue);
  font-weight: 700;
}

#testimonies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.content .header strong {
  font-size: 1.1rem;
  color: var(--darker-blue);
}

.content .header .para {
  font-size: 0.9rem;
  color: #777;
  margin: 0.2rem 0 1rem;
}

.footer {
  text-align: left;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.quotes {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
  fill: var(--primary-blue);
}

.footer .para {
  font-style: italic;
  font-size: 1rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

/* ===== NEWSLETTER ===== */
#newsletter {
  background-color: #f0f4f8; /* couleur claire, douce */
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  max-width: 600px;
  margin: 50px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#newsletter-title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-blue); /* couleur principale du site */
  font-weight: 700;
}

#newsletter-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #333;
  line-height: 1.5;
}

#newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#newsletter-form input[type="email"] {
  flex-grow: 1;
  min-width: 250px;
  padding: 12px 15px;
  border: 1.5px solid var(--primary-blue);
  border-radius: 6px;
  font-size: 1rem;
  outline-offset: 2px;
  transition: border-color 0.3s ease;
}

#newsletter-form input[type="email"]:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 8px rgba(74,107,175,0.5);
}

#newsletter-form input[type="submit"] {
  background-color: var(--primary-blue);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#newsletter-form input[type="submit"]:hover {
  background-color: var(--primary-blue);
}

/* ===== FOOTER ===== */
footer {
  background-color: #343a40; /* sombre */
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.footer-content p {
  margin: 0 0 8px 0;
}

.footer-content nav a {
  color: #adb5bd; /* gris clair */
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.footer-content nav a:hover {
  color: var(--primary-blue); /* couleur principale */
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    #burger {
          display: flex;
      }
    #menu ul {
        display: none; 
    }
    #hero-section {
        flex-direction: column;
        text-align: center;
    }
    #hero-image {
        width: 90%;
        margin-top: 1.5rem;
    }
    #download {
        flex-direction: column;
        text-align: center;
    }
    #license-key {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #hero-title {
        font-size: 1.8rem;
    }
    #hero-text {
        font-size: 1rem;
    }
    #slider-features {
        width: calc(240px * 10 + 1.5rem * 9);
    }
    #slider-features .slider-items,
    #testimoies .card-testimonies {
        width: 240px;
    }
    .download-container {
    flex-direction: column;
    text-align: center;
  }
  #download-text {
    flex: none;
  }
  #download-image {
    flex: none;
    margin-bottom: 2rem;
  }
  .license-container {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
    #slider-features .slider-items,
    #testimoies .card-testimonies {
        width: 180px;
    }
    #slider-features {
        width: calc(180px * 10 + 1.5rem * 9);
    }
    #logo-brand {
        width: 50px;
    }
    #name-brand {
        font-size: 1rem;
        margin-left: 2.5rem;
    }
    #hero-title {
        font-size: 1.5rem;
    }
    #hero-text {
        font-size: 0.9rem;
    }
    #newsletter-form {
    flex-direction: column;
  }

  #newsletter-form input[type="email"],
  #newsletter-form input[type="submit"] {
    width: 100%;
  }

  .footer-content nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
  }
  .footer-content nav a {
    margin: 0;
  }
}

@media (max-width: 400px) {
    #hero-section {
        padding: 10px;
        height: 100vh;
    }
}

