/* ==================================================================
   Fluenta — the public pages
   ------------------------------------------------------------------
   Everything the signed-out visitor sees: the launch-offer strip, the
   admission-portal banners, the Google / Apple buttons, the footer,
   and the policy pages.

   Every class here starts with `fl-`. Nothing in this file can reach
   a class the portal already uses, so it can be added to any page
   without disturbing what is already on it.
   ================================================================== */

:root{
  --fl-p:#5528ef;
  --fl-p2:#7148ff;
  --fl-c:#12bce8;
  --fl-navy:#10254a;
  --fl-ink:#17233b;
  --fl-muted:#6f7788;
  --fl-line:#dfe4ed;
  --fl-amber:#ffb703;
}

/* ------------------------------------------------------------------
   1. LAUNCH OFFER — the strip across the very top
   ------------------------------------------------------------------ */
.fl-launch{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  gap:14px; flex-wrap:wrap;
  padding:11px 18px;
  background:linear-gradient(100deg,#2d0f8f,var(--fl-p) 38%,#4f6bff 66%,var(--fl-c));
  color:#fff;
  font-size:14.5px; font-weight:650;
  text-align:center;
  overflow:hidden;
  box-shadow:0 2px 18px #5528ef4d;
  z-index:12;
}

/* A slow band of light travelling across it. This is what makes the
   strip read as "a live offer" instead of a static sentence. */
.fl-launch:after{
  content:"";
  position:absolute; top:0; bottom:0; left:-45%;
  width:45%;
  background:linear-gradient(100deg,transparent,#ffffff38,transparent);
  transform:skewX(-18deg);
  animation:fl-sweep 5.5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes fl-sweep{
  0%,62%{left:-45%}
  100%{left:118%}
}

.fl-launch > *{position:relative; z-index:1}

.fl-launch-tag{
  display:inline-flex; align-items:center; gap:7px;
  background:#ffffff26;
  border:1px solid #ffffff5c;
  border-radius:99px;
  padding:4px 13px;
  font-size:11.5px; font-weight:850; letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
}
.fl-launch-dot{
  width:7px; height:7px; border-radius:50%;
  background:#7bf7a8;
  box-shadow:0 0 0 0 #7bf7a8b3;
  animation:fl-pulse 1.9s ease-out infinite;
}
@keyframes fl-pulse{
  70%{box-shadow:0 0 0 9px #7bf7a800}
  100%{box-shadow:0 0 0 0 #7bf7a800}
}

.fl-launch-main{font-weight:850; font-size:15.5px; letter-spacing:-.2px}
.fl-launch-pc{
  display:inline-block;
  background:var(--fl-amber);
  color:#2b1a00;
  border-radius:7px;
  padding:1px 8px;
  font-weight:900;
  margin:0 2px;
}
.fl-launch-sub{opacity:.9; font-weight:600; font-size:13.5px}

/* The countdown. Fixed-width digits so it does not jiggle every
   second as the numbers change. */
.fl-launch-clock{
  display:inline-flex; align-items:center; gap:6px;
  background:#00000030;
  border-radius:8px;
  padding:4px 10px;
  font-variant-numeric:tabular-nums;
  font-weight:800;
  white-space:nowrap;
}
.fl-launch-clock b{font-size:15px}
.fl-launch-clock span{font-size:11px; opacity:.75; font-weight:700}

.fl-launch-cta{
  background:#fff; color:var(--fl-p);
  border-radius:99px;
  padding:7px 17px;
  font-weight:850; font-size:13.5px;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 3px 12px #0000002e;
  transition:transform .15s ease;
}
.fl-launch-cta:hover{transform:translateY(-1px)}

@media(max-width:780px){
  .fl-launch{gap:9px; padding:10px 13px; font-size:13px}
  .fl-launch-main{font-size:14px}
  .fl-launch-sub{display:none}
}

/* ------------------------------------------------------------------
   2. ADMISSION PORTAL — the strip and the big card
   ------------------------------------------------------------------ */
.fl-adm-strip{
  display:flex; align-items:center; justify-content:center;
  gap:12px; flex-wrap:wrap;
  padding:9px 18px;
  background:linear-gradient(97deg,#06203f,#0b3f6e 55%,#0d7490);
  color:#eaf6ff;
  font-size:14px; font-weight:650;
  text-align:center;
  text-decoration:none;
  border-bottom:1px solid #ffffff1f;
  z-index:11;
}
.fl-adm-strip:hover{filter:brightness(1.13)}
.fl-adm-strip b{color:#fff}
.fl-adm-strip-tag{
  background:#ffffff1f; border:1px solid #ffffff42;
  border-radius:99px; padding:3px 11px;
  font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase;
  white-space:nowrap;
}
.fl-adm-strip-go{
  display:inline-flex; align-items:center; gap:6px;
  font-weight:850; color:#8fe3ff; white-space:nowrap;
}
@media(max-width:700px){ .fl-adm-strip{font-size:12.5px; gap:8px} }

/* The card that sits under the headline on the left-hand side. */
.fl-adm-card{
  display:block;
  position:relative;
  margin:26px 0 0;
  max-width:580px;
  padding:22px 24px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(130deg,#0a1f3d,#123a6b 52%,#0e6e8c);
  box-shadow:0 16px 40px #0a1f3d3d;
  border:1px solid #ffffff21;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.fl-adm-card:hover{transform:translateY(-3px); box-shadow:0 22px 52px #0a1f3d4f}
.fl-adm-card:after{
  content:"";
  position:absolute; right:-70px; top:-70px;
  width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle,#12bce847,transparent 68%);
  pointer-events:none;
}
.fl-adm-card-top{
  display:flex; align-items:center; gap:9px;
  margin-bottom:12px;
}
.fl-adm-card-tag{
  background:#12bce82e; border:1px solid #12bce87a; color:#9ae8ff;
  border-radius:99px; padding:4px 11px;
  font-size:10.5px; font-weight:850; letter-spacing:.09em; text-transform:uppercase;
}
.fl-adm-card h3{
  margin:0 0 8px;
  font-size:23px; line-height:1.2; letter-spacing:-.5px; font-weight:850;
  color:#fff;
}
.fl-adm-card p{
  margin:0 0 15px;
  font-size:14.5px; line-height:1.5; color:#cfe4f7; font-weight:500;
  max-width:430px;
}
.fl-adm-card-go{
  display:inline-flex; align-items:center; gap:9px;
  background:#fff; color:#0a2a4d;
  border-radius:10px;
  padding:10px 18px;
  font-size:14px; font-weight:850;
}
.fl-adm-card-go i{font-style:normal; transition:transform .18s ease}
.fl-adm-card:hover .fl-adm-card-go i{transform:translateX(4px)}
/* On a phone the headline wraps on its own; the hand-placed break
   then lands in the middle of a line. */
@media(max-width:620px){
  .fl-adm-card h3 br{display:none}
  .fl-adm-card{padding:19px 18px}
  .fl-adm-card h3{font-size:20px}
}
.fl-adm-card-note{
  display:block; margin-top:11px;
  font-size:12px; color:#9fc2de; font-weight:500;
}

/* ------------------------------------------------------------------
   3. GOOGLE / APPLE SIGN-IN
   ------------------------------------------------------------------ */
.fl-or{
  display:flex; align-items:center; gap:13px;
  margin:19px 0 15px;
  color:var(--fl-muted); font-size:12.5px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase;
}
.fl-or:before,.fl-or:after{
  content:""; flex:1; height:1px; background:var(--fl-line);
}

.fl-sso{display:grid; gap:10px}
.fl-sso-btn{
  display:flex; align-items:center; justify-content:center; gap:11px;
  width:100%;
  padding:12px 16px;
  border-radius:10px;
  border:1px solid var(--fl-line);
  background:#fff;
  color:#1f2937;
  font-size:15px; font-weight:750;
  text-decoration:none;
  cursor:pointer;
  transition:border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.fl-sso-btn:hover{border-color:#b9bfcc; box-shadow:0 3px 12px #11182714}
.fl-sso-btn:active{transform:translateY(1px)}
.fl-sso-btn svg{width:19px; height:19px; flex:0 0 19px}
.fl-sso-apple{background:#000; border-color:#000; color:#fff}
.fl-sso-apple:hover{background:#1a1a1a; border-color:#1a1a1a}
.fl-sso-note{
  margin:11px 0 0;
  font-size:12px; color:var(--fl-muted); line-height:1.5;
}

/* ------------------------------------------------------------------
   4. THE PUBLIC FOOTER
   ------------------------------------------------------------------ */
.fl-foot{
  background:#0c1526;
  color:#aebacd;
  padding:34px 6vw 22px;
  font-size:14px; line-height:1.6;
}
.fl-foot a{color:#cdd8e8; text-decoration:none}
.fl-foot a:hover{color:#fff; text-decoration:underline}
.fl-foot-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:1.5fr 1fr 1fr;
  gap:34px;
}
.fl-foot h4{
  margin:0 0 13px;
  font-size:12px; font-weight:850; letter-spacing:.1em; text-transform:uppercase;
  color:#fff;
}
.fl-foot-brand{display:flex; align-items:center; gap:11px; margin-bottom:13px}
.fl-foot-brand img{width:42px; height:34px; object-fit:cover; object-position:left; border-radius:7px}
.fl-foot-brand b{color:#fff; font-size:19px; font-weight:850; letter-spacing:-.3px}
.fl-foot-brand small{display:block; font-size:11px; color:#7d8ba1; font-weight:600}
.fl-foot-about{margin:0; max-width:400px; color:#92a0b5; font-size:13.5px}
.fl-foot ul{list-style:none; margin:0; padding:0}
.fl-foot li{margin-bottom:8px}
.fl-foot-contact li{display:flex; gap:9px; align-items:flex-start}
.fl-foot-contact i{font-style:normal; opacity:.6; width:17px; flex:0 0 17px; text-align:center}
.fl-foot-bottom{
  max-width:1180px; margin:26px auto 0;
  padding-top:17px; border-top:1px solid #1e293b;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  font-size:12.5px; color:#73839a;
}
.fl-foot-bottom nav{display:flex; gap:17px; flex-wrap:wrap}
@media(max-width:860px){
  .fl-foot-grid{grid-template-columns:1fr; gap:26px}
  .fl-foot-bottom{flex-direction:column}
}

/* ------------------------------------------------------------------
   5. THE POLICY PAGES
   ------------------------------------------------------------------ */
.fl-doc-top{
  background:linear-gradient(135deg,#170b4e,#5224e5 62%,#3f5cff);
  color:#fff;
  padding:40px 6vw 46px;
}
.fl-doc-top-in{max-width:880px; margin:0 auto}
.fl-doc-top .fl-foot-brand{margin-bottom:22px}
.fl-doc-top .fl-foot-brand b{color:#fff}
.fl-doc-top .fl-foot-brand small{color:#c9bfff}
.fl-doc-top h1{
  margin:0 0 9px;
  font-size:clamp(29px,4.4vw,42px); line-height:1.1; letter-spacing:-1.3px; font-weight:850;
}
.fl-doc-top p{margin:0; color:#ddd6ff; font-size:15.5px; max-width:620px}
.fl-doc-back{
  display:inline-block; margin-bottom:17px;
  color:#c9bfff; text-decoration:none; font-size:13.5px; font-weight:700;
}
.fl-doc-back:hover{color:#fff}

.fl-doc{
  max-width:880px; margin:0 auto;
  padding:34px 6vw 56px;
  color:var(--fl-ink);
  font-size:15.5px; line-height:1.72;
}
.fl-doc h2{
  margin:34px 0 12px;
  font-size:21px; font-weight:850; letter-spacing:-.4px; color:var(--fl-navy);
}
.fl-doc h2:first-child{margin-top:0}
.fl-doc h3{margin:23px 0 9px; font-size:16.5px; font-weight:800; color:var(--fl-navy)}
.fl-doc p{margin:0 0 14px}
.fl-doc ul,.fl-doc ol{margin:0 0 15px; padding-left:21px}
.fl-doc li{margin-bottom:8px}
.fl-doc a{color:var(--fl-p); font-weight:650}
.fl-doc strong{font-weight:800}
.fl-doc-note{
  background:#f5f2ff;
  border-left:3px solid var(--fl-p);
  border-radius:0 11px 11px 0;
  padding:15px 19px;
  margin:0 0 22px;
  font-size:14.5px;
  color:#453a74;
}
.fl-doc-note.warn{background:#fff7e8; border-left-color:#d08700; color:#6b4600}
.fl-doc-when{
  margin-top:30px; padding-top:16px; border-top:1px solid var(--fl-line);
  font-size:13px; color:var(--fl-muted);
}

/* Contact cards */
.fl-cards{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(235px,1fr));
  gap:15px; margin:0 0 26px;
}
.fl-card{
  border:1px solid var(--fl-line); border-radius:14px;
  padding:19px 20px; background:#fff;
  box-shadow:0 5px 18px #1118270a;
  text-decoration:none; color:inherit; display:block;
}
.fl-card:hover{border-color:#c3b9ff; box-shadow:0 9px 26px #5528ef17}
.fl-card i{
  display:grid; place-items:center;
  width:40px; height:40px; border-radius:11px;
  background:#f0edff; color:var(--fl-p);
  font-style:normal; font-size:18px; margin-bottom:12px;
}
.fl-card b{display:block; font-size:15px; margin-bottom:3px; color:var(--fl-navy)}
.fl-card span{font-size:14px; color:var(--fl-muted); word-break:break-word}
.fl-card.wa i{background:#e6f8ee; color:#128c7e}

/* ------------------------------------------------------------------
   6. ROOM FOR THE STRIPS
   ------------------------------------------------------------------
   The login screen is built to fill the window. With one or two
   strips above it, that pushes the Login button under the fold on a
   laptop. This gives the strips their height back.

   :has() is ignored by anything that does not understand it, so an
   old browser simply gets the page as it is today.
   ------------------------------------------------------------------ */
body:has(.fl-launch) .login{min-height:calc(100vh - 46px)}
body:has(.fl-adm-strip) .login{min-height:calc(100vh - 40px)}
body:has(.fl-launch):has(.fl-adm-strip) .login{min-height:calc(100vh - 86px)}

@media (prefers-reduced-motion: reduce){
  .fl-launch:after,.fl-launch-dot{animation:none}
  .fl-adm-card,.fl-sso-btn,.fl-launch-cta{transition:none}
}
