/* Base styles for Multi Suisse landing page */
@font-face {
  font-family: "Hind";
  src: url("../fonts/hind/Hind-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/hind/Hind-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/LibreFranklin-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/LibreFranklin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/LibreFranklin-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/LibreFranklin-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/LibreFranklin-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Global Variables */
:root{
  --bg:#0f1220;
  --panel:#151935;
  --text:#e8eaf5;
  --muted:darkgrey;
  --brand:#7c5cff;
  --brand-2:#42e3ff;
  --ok:#4ade80;
  --warn:#f59e0b;
  --danger:#f87171;
  --ring: rgba(124,92,255,.35);
  --radius:14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04);
  --container: 1200px;
  --headings-font: "Libre Franklin";
  /* font-theme */
/* @link https://utopia.fyi/type/calculator?c=320,16,1.618,1240,18,1.778,3,1,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

  --step--1: clamp(0.618rem, 0.6129rem + 0.0255vw, 0.6327rem);
  --step-0: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
  --step-1: clamp(1.618rem, 1.485rem + 0.6648vw, 2.0003rem);
  --step-2: clamp(2.6179rem, 2.2915rem + 1.6322vw, 3.5564rem);
  --step-3: clamp(4.2358rem, 3.5097rem + 3.6305vw, 6.3234rem);

}
/* Some Resetting + Fonts */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin:0; padding:0; }
body{
  font-family: "Hind";
  font-weight: 300;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(66,227,255,.12), transparent 70%),
    radial-gradient(800px 400px at 10% -20%, rgba(124,92,255,.18), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, btn {
  font-family: Libre Franklin;
}
section h2{ font-size: var(--step-1); margin-bottom: 30px; font-weight: 600;}
p, a, h3, label {
  font-size: var(--step-0);
  color: var(--muted);
  font-weight: 400;
  margin-block-start: 0%;
  margin-block-end: 0%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
a { color: inherit; text-decoration: none; }
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;}

/* Keep container gutters, but let nav/footer content span viewport width */
header .container.nav,
footer .container{ max-width: none; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font: inherit;
  font-size: var(--step-0);
  font-weight: 500;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#0b0e1a;
  padding:12px 18px; border-radius: 12px; border: none; cursor:pointer;
  box-shadow: 0 8px 20px rgba(124,92,255,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(124,92,255,.45); }
.btn.ghost{
  background: transparent; color: var(--text); border:1px solid rgba(232,234,245,.15);
  box-shadow: none;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(124,92,255,.12); color: #d6d0ff;
  border:1px solid rgba(124,92,255,.35);
  padding:6px 10px; border-radius: 999px; font-weight:600; font-size: 12px;
  letter-spacing:.2px;
}
header{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: linear-gradient(180deg, rgba(15,18,32,.75), rgba(15,18,32,.55));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.3px; }
.brand .dot{ width:12px; height:12px; border-radius:999px; background: radial-gradient(circle at 30% 30%, #fff, #fff0 40%), linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 0 18px rgba(124,92,255,.7); }
.brand-logo{ height: 28px; width: auto; display:block; }
.nav-links{
  display:flex;
  gap:20px;
  align-items:center;
  font-size: var(--step-0);
}
.nav-links > a,
.nav-links > .dropdown > .dropdown-toggle{
  color: var(--muted);
  font-size: inherit;
  font-weight: 600;
}

.mobile-toggle{ display:none; background:transparent; border:none; color:var(--text); font-size:22px; }

/* Dropdown styles */
.dropdown{ position: relative; }
.dropdown-toggle{
  background: transparent; border: none; color: var(--muted); font-weight: 600;
  cursor: pointer; padding: 0; font: inherit; display: inline-flex; align-items: center; gap: 6px;
}
.dropdown-toggle:hover{ color: var(--text); }
.dropdown-menu{
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 180px;
  background: rgba(10,12,24,.98);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
  display: none; z-index: 60;
}
.dropdown-menu a{ display:block; padding:8px 10px; border-radius:8px; color: var(--muted); }
.dropdown-menu a:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.dropdown.open .dropdown-menu{ display:block; }
@media (max-width: 860px){
  .nav-links{
    position:absolute; left:0; right:0; top:64px;
    background: rgba(10,12,24,.96);
    padding:16px 24px;
    border-bottom:1px solid rgba(255,255,255,.06);
    display:flex; flex-direction:column; align-items:flex-start; gap:14px;
    visibility:hidden; opacity:0; transform: translateY(-8px);
    pointer-events:none;
    transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; /* delay hiding for fade-out */
  }
  .nav-links.open{ visibility:visible; opacity:1; transform:none; pointer-events:auto; transition: opacity .4s ease, transform .4s ease, visibility 0s linear 0s; }
  .mobile-toggle{ display:block; }
  /* Mobile dropdown: inline list */
  .dropdown-menu{ position: static; min-width: 0; width: 100%; background: transparent; border: none; box-shadow: none; padding: 6px 0 0; }
  .dropdown-menu a{ padding:8px 0; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .nav-links{ transition: none !important; transform:none !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
}

/* Hero */
.hero{
  padding: 96px 0 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.headline{
  font-size: var(--step-2);
  line-height: 1.05; font-weight: 500; letter-spacing: -0.02em;
  margin: 14px 0 14px;
  text-wrap: balance;
  /* Hero title entrance: Slide + Fade + Soft Blur */
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
}
.headline.is-in{ animation: heroIn 600ms ease-out forwards; }
/* Stagger: headline starts after hero image */
.headline.is-in{ animation-delay: .1s; }
@keyframes heroIn{ to{ opacity:1; transform:none; filter:blur(0); } }

@media (prefers-reduced-motion: reduce){
  .headline{ opacity:1; transform:none; filter:none; }
  .headline.is-in{ animation:none; }
}


/* Hero media card animation (first) */
.hero-media-card{
  opacity: 0; transform: translateY(8px); filter: blur(6px);
}
.hero-media-card.is-in{
  animation: heroIn 600ms ease-out forwards; /* no delay: starts first */
}
@media (prefers-reduced-motion: reduce){
  .hero-media-card{ opacity:1; transform:none; filter:none; }
  .hero-media-card.is-in{ animation:none; }
}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px; display:flex; align-items:center; gap:14px;
  box-shadow: var(--shadow);
}
.stat{ display:flex; align-items:center; gap:10px; color: #b9c0de; font-weight: 700; }
.stat .pill{ background: rgba(66,227,255,.14); color:#d9f8ff; border:1px solid rgba(66,227,255,.35); padding:6px 10px; border-radius:999px; font-size: 12px; font-weight:800; }

/* Trust */
.trust{ padding: 28px 0 12px; color: var(--muted); font-size: 14px; }
.logos{ display:flex; gap:28px; flex-wrap:wrap; opacity:.8 }
.logo{ padding:10px 14px; border:1px dashed rgba(255,255,255,.08); border-radius:12px; }

/* Features */
.section{ padding: 72px 0; }
.kicker{ color: #c3beff; letter-spacing:.2px; font-weight:700; font-size: 12px; text-transform: uppercase; }
.muted{ color: var(--muted); }
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px){ .grid-3{ grid-template-columns: 1fr; } }
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}
.icon{
  width:36px; height:36px; border-radius:10px; display:inline-grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(66,227,255,.2));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.check{ color: var(--ok); }
.list{ display:grid; gap:8px; margin: 10px 0 0; padding:0; list-style:none; }


/* CTA banner */
.cta{
  margin: 20px 0 0;
  padding: 26px;
  border-radius: 16px;
  background:
    radial-gradient(500px 200px at 80% 0%, rgba(66,227,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}

footer{
  margin-top: 48px; padding: 28px 0; color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid{ display:grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap:18px; }
@media (max-width: 960px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.foot-col a{ color: var(--muted); display:block; padding:6px 0; }
.copyright{ margin-top: 22px; font-size: 12px; opacity: 0.4; text-align:center; }

/* Optional: Light mode
@media (prefers-color-scheme: light){
  :root{
    --bg:#f7f7fb; --text:#0f1220; --muted:#4b556b;
  }
}
*/

/* Hero media */
.hero-media-wrap{
  aspect-ratio: 16/10;
  overflow: hidden;
  background:
    radial-gradient(400px 180px at 70% 0%, rgba(124,92,255,.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-media{
  width:100%; height:100%; object-fit:cover; display:block;
}
