/*=========================================================
  FLUCORA LINK PAGE - By Webstudio Jack
=========================================================*/

:root{
  --white:#FFFFFF;
  --bg:#F5F8FD;
  --blue:#3B9BEF;
  --navy:#0E2341;
  --blue-soft:rgba(59,155,239,.10);
  --blue-border:rgba(59,155,239,.20);
  --shadow:0 18px 50px rgba(14,35,65,.10);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--navy);
  overflow-x:hidden;
  min-height:100vh;
  position:relative;
}

.background-glow{
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(circle at 50% 18%, rgba(59,155,239,.13), transparent 34%),
    radial-gradient(circle at 50% 65%, rgba(255,255,255,.95), transparent 58%),
    linear-gradient(180deg,#fff 0%,var(--bg) 42%,#fff 100%);
}

.background-signal{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  opacity:.55;
}

.background-signal::before{
  content:"";
  position:absolute;
  width:820px;
  height:820px;
  left:50%;
  top:270px;
  transform:translateX(-50%);
  border-radius:50%;
  background:
    repeating-radial-gradient(circle,
      rgba(59,155,239,.045) 0 2px,
      transparent 2px 66px);
  mask-image:radial-gradient(circle,#000 0 55%,transparent 80%);
}

.container{
  width:min(94%,520px);
  margin:auto;
  padding-top:48px;
  padding-bottom:58px;
}

.hero{
  text-align:center;
  animation:fadeUp .8s ease both;
}

.logo{
  width:255px;
  max-width:74%;
  display:block;
  margin:0 auto 26px;
}

h1{
  font-size:42px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-1.8px;
  margin-bottom:10px;
  color:var(--navy);
}

.subtitle{
  color:var(--blue);
  font-size:18px;
  font-weight:600;
  line-height:1.45;
  margin-bottom:14px;
}

.product{
  position:relative;
  min-height:420px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:22px;
  margin-bottom:18px;
  isolation:isolate;
}

.product-image{
  position:relative;
  z-index:3;
  width:118%;
  max-width:none;
  margin-left:-5%;
  border-radius:32px;
  clip-path:inset(0 round 32px);
  overflow:hidden;
  filter:
    drop-shadow(0 26px 28px rgba(14,35,65,.14))
    drop-shadow(0 0 38px rgba(59,155,239,.10));
}

.signal-rings{
  position:absolute;
  left:50%;
  top:53%;
  width:1px;
  height:1px;
  z-index:5;
  pointer-events:none;
}

.signal-rings span{
  position:absolute;
  left:0;
  top:0;
  width:120px;
  height:120px;
  border:2px solid rgba(59,155,239,.24);
  border-radius:50%;
  transform:translate(-50%,-50%) scale(.35);
  opacity:0;
  box-shadow:0 0 14px rgba(59,155,239,.04);
  animation:wifiPulse 3.4s ease-out infinite;
}

.signal-rings span:nth-child(2){animation-delay:.85s;}
.signal-rings span:nth-child(3){animation-delay:1.70s;}
.signal-rings span:nth-child(4){animation-delay:2.55s;}


.links{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-bottom:28px;
}

.link-card{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-decoration:none;
  color:var(--navy);
  padding:17px 20px;
  border-radius:18px;
  border:1.5px solid rgba(59,155,239,.58);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(14,35,65,.075);
  overflow:hidden;
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

.link-card::before{
  content:"";
  position:absolute;
  top:0;
  left:-150%;
  width:65%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(59,155,239,.10),transparent);
  transition:.75s;
}

.link-card:hover::before{
  left:170%;
}

.link-card:hover{
  transform:translateY(-3px);
  border-color:rgba(59,155,239,.90);
  box-shadow:
    0 18px 36px rgba(14,35,65,.10),
    0 0 0 1px rgba(59,155,239,.05);
}

.link-card.primary-link{
  border-color:rgba(59,155,239,.72);
}

.left{
  display:flex;
  align-items:center;
  gap:13px;
  z-index:2;
}

.icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  justify-content:center;
  align-items:center;
  color:var(--blue);
  border:1px solid rgba(59,155,239,.13);
  background:linear-gradient(180deg,rgba(59,155,239,.10),rgba(59,155,239,.045));
  transition:.3s;
  flex:0 0 46px;
}

.icon img{
  width:24px;
  height:24px;
}

.text{
  font-size:18px;
  font-weight:650;
  letter-spacing:-.1px;
}

.arrow{
  font-size:28px;
  color:var(--blue);
  transition:.3s;
  z-index:2;
  margin-left:12px;
}

.link-card:hover .arrow{
  transform:translateX(7px);
}

.link-card:hover .icon{
  background:rgba(59,155,239,.14);
  box-shadow:0 8px 22px rgba(59,155,239,.12);
}

.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:20px 0 46px;
}

.feature{
  text-align:center;
  padding:18px 7px;
  border-top:1px solid rgba(59,155,239,.16);
}

.feature-title{
  display:block;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  margin-bottom:9px;
}

.feature-value{
  display:block;
  color:var(--navy);
  font-size:15px;
  font-weight:700;
  line-height:1.35;
}

footer{
  text-align:center;
  padding-top:10px;
  border-top:0;
}

.socials{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:22px;
}

.socials a{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--blue);
  border:1px solid rgba(59,155,239,.10);
  box-shadow:0 8px 22px rgba(14,35,65,.07);
  transition:.3s;
}

.socials a:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(14,35,65,.11);
}

.socials img{
  width:22px;
  height:22px;
}

.mail{
  display:inline-block;
  color:var(--blue);
  text-decoration:none;
  font-size:16px;
  margin-bottom:11px;
  font-weight:600;
}

footer p{
  color:rgba(14,35,65,.55);
  font-size:13px;
}

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

@keyframes wifiPulse{
  0%{
    transform:translate(-50%,-50%) scale(.35);
    opacity:0;
  }
  12%{opacity:.46;}
  70%{opacity:.18;}
  100%{
    transform:translate(-50%,-50%) scale(4.8);
    opacity:0;
  }
}


.hero,.links,.features,footer{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease,transform .7s ease;
}

.hero.visible,.links.visible,.features.visible,footer.visible{
  opacity:1;
  transform:translateY(0);
}

.hero{
  opacity:1;
  transform:none;
}

@media (max-width:560px){
  .container{
    width:min(92%,500px);
    padding-top:38px;
  }

  h1{font-size:36px;}
  .subtitle{font-size:17px;}

  .product{
    min-height:360px;
    margin-top:-6px;
  }

  .product-image{
    width:124%;
    margin-left:-9%;
  }

  .text{font-size:16px;}
  .link-card{padding:15px 16px;}

  .features{
    gap:10px;
  }

  .feature-value{
    font-size:13px;
  }
}

@media (max-width:390px){
  h1{font-size:32px;}
  .product{min-height:330px;}
  .icon{width:42px;height:42px;flex-basis:42px;}
  .icon img{width:21px;height:21px;}
  .text{font-size:15px;}
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }

  .signal-rings span{
    opacity:.12;
    transform:translate(-50%,-50%) scale(3);
  }
}


/*=========================================================
  MOBILE-FIRST FINAL TUNING
=========================================================*/

/* Tablets / smaller laptops */
@media (max-width: 768px){
  body{
    min-height:100svh;
  }

  .container{
    width:min(92%,560px);
    padding-top:34px;
    padding-bottom:40px;
  }

  .logo{
    width:225px;
    margin-bottom:20px;
  }

  h1{
    font-size:38px;
    line-height:1.08;
    letter-spacing:-1.3px;
  }

  .subtitle{
    font-size:17px;
    margin-bottom:8px;
  }

  .product{
    min-height:360px;
    margin-top:20px;
    margin-bottom:14px;
  }

  .product-image{
    width:110%;
    margin-left:-3%;
    border-radius:28px;
    clip-path:inset(0 round 28px);
  }

  .signal-rings{
    top:52%;
  }

  .link-card{
    min-height:76px;
    padding:15px 16px;
    border-radius:17px;
  }

  .text{
    font-size:16.5px;
    line-height:1.25;
  }

  .icon{
    width:44px;
    height:44px;
    flex-basis:44px;
  }

  .arrow{
    font-size:26px;
  }

  .socials{
    gap:12px;
    margin-bottom:18px;
  }

  .socials a{
    width:44px;
    height:44px;
  }
}

/* Standard phones */
@media (max-width: 560px){
  .container{
    width:min(91%,500px);
    padding-top:26px;
    padding-bottom:32px;
  }

  .logo{
    width:205px;
    max-width:70%;
    margin-bottom:18px;
  }

  h1{
    font-size:34px;
    letter-spacing:-1.1px;
    margin-bottom:8px;
  }

  .subtitle{
    font-size:16px;
    line-height:1.4;
    max-width:320px;
    margin:0 auto 4px;
  }

  .product{
    min-height:330px;
    margin-top:18px;
    margin-bottom:12px;
  }

  .product-image{
    width:108%;
    margin-left:-2%;
    border-radius:24px;
    clip-path:inset(0 round 24px);
  }

  .signal-rings span{
    border-width:2.2px;
  }

  .links{
    gap:13px;
    margin-bottom:24px;
  }

  .link-card{
    min-height:72px;
    padding:14px 14px;
    border-radius:16px;
  }

  .left{
    gap:12px;
    min-width:0;
  }

  .text{
    font-size:16px;
    white-space:normal;
  }

  .icon{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:13px;
  }

  .icon img{
    width:22px;
    height:22px;
  }

  .arrow{
    flex:0 0 auto;
    font-size:25px;
    margin-left:8px;
  }

  footer{
    padding-top:6px;
  }

  .socials{
    gap:10px;
    margin-bottom:16px;
  }

  .socials a{
    width:43px;
    height:43px;
  }

  .mail{
    font-size:15px;
  }

  footer p{
    font-size:12px;
  }
}

/* Small phones: iPhone SE / compact Android */
@media (max-width: 390px){
  .container{
    width:92%;
    padding-top:22px;
  }

  .logo{
    width:185px;
    margin-bottom:16px;
  }

  h1{
    font-size:31px;
    letter-spacing:-.9px;
  }

  .subtitle{
    font-size:15px;
    max-width:290px;
  }

  .product{
    min-height:300px;
    margin-top:16px;
    margin-bottom:10px;
  }

  .product-image{
    width:106%;
    margin-left:-1%;
    border-radius:22px;
    clip-path:inset(0 round 22px);
  }

  .links{
    gap:11px;
  }

  .link-card{
    min-height:68px;
    padding:12px 12px;
    border-radius:15px;
  }

  .left{
    gap:10px;
  }

  .icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .icon img{
    width:20px;
    height:20px;
  }

  .text{
    font-size:14.8px;
    line-height:1.2;
  }

  .arrow{
    font-size:23px;
    margin-left:6px;
  }

  .socials a{
    width:41px;
    height:41px;
  }
}

/* Very narrow phones */
@media (max-width: 350px){
  .container{
    width:93%;
  }

  h1{
    font-size:28px;
  }

  .subtitle{
    font-size:14px;
  }

  .product{
    min-height:275px;
  }

  .link-card{
    padding:11px 10px;
  }

  .text{
    font-size:14px;
  }

  .icon{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
}


/*=========================================================
  MOBILE HORIZONTAL OVERFLOW FIX
  Prevents iOS/Safari from allowing the page to slide sideways.
=========================================================*/

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

@supports (overflow: clip){
  html,
  body{
    overflow-x:clip;
  }
}

.container,
.hero,
.links,
footer{
  max-width:100%;
}

@media (max-width:768px){
  .hero{
    overflow-x:clip;
  }

  .container{
    box-sizing:border-box;
  }

  .product{
    width:100%;
    max-width:100%;
  }

  .product-image{
    width:100%;
    max-width:100%;
    margin-left:0;
  }

  .links{
    width:100%;
    max-width:100%;
  }

  .link-card{
    width:100%;
    max-width:100%;
  }
}

@media (max-width:560px){
  .container{
    width:92%;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
  }

  .product-image{
    width:100%;
    max-width:100%;
    margin-left:0;
  }

  .signal-rings{
    left:50%;
  }
}

@media (max-width:390px){
  .container{
    width:92%;
    max-width:100%;
  }

  .product-image{
    width:100%;
    max-width:100%;
    margin-left:0;
  }
}


/* Webstudio Jack footer credit */
.footer-credit {
  color: rgba(14,35,65,.55);
  font-size: 13px;
}

.footer-credit a {
  color: #3B9BEF;
  text-decoration: none;
  font-weight: 600;
  transition: opacity .25s ease;
}

.footer-credit a:hover {
  opacity: .7;
}


/*=========================================================
  FLUCORA LOGO - FINAL SIZE & SPACING
=========================================================*/

.logo{
  width:340px;
  max-width:82%;
  height:auto;
  display:block;
  margin:0 auto 8px;
}

@media (max-width:768px){
  .logo{
    width:300px;
    max-width:82%;
    margin-bottom:7px;
  }
}

@media (max-width:560px){
  .logo{
    width:270px;
    max-width:84%;
    margin-bottom:6px;
  }
}

@media (max-width:390px){
  .logo{
    width:245px;
    max-width:86%;
    margin-bottom:6px;
  }
}


/*=========================================================
  FLUCORA LOGO - LARGE + TIGHT SPACING OVERRIDE
=========================================================*/

/* Less empty space at the top of the whole page */
.container{
  padding-top:18px;
}

/* The WebP contains transparent padding, so display it much larger
   and pull the surrounding layout closer to the visible logo. */
.logo{
  width:520px;
  max-width:100%;
  height:auto;
  margin:-48px auto -58px;
  display:block;
}

@media (max-width:768px){
  .container{
    padding-top:14px;
  }

  .logo{
    width:460px;
    max-width:100%;
    margin:-42px auto -50px;
  }
}

@media (max-width:560px){
  .container{
    padding-top:10px;
  }

  .logo{
    width:390px;
    max-width:100%;
    margin:-34px auto -42px;
  }
}

@media (max-width:390px){
  .container{
    padding-top:8px;
  }

  .logo{
    width:350px;
    max-width:100%;
    margin:-30px auto -38px;
  }
}


/*=========================================================
  FLUCORA LOGO - GAP FIX
  Explicitly removes the large visual gaps caused by
  transparent padding inside the WebP logo file.
=========================================================*/

.container{
  padding-top:0 !important;
}

.logo{
  width:560px !important;
  max-width:108% !important;
  margin:-88px auto -86px !important;
}

@media (max-width:768px){
  .container{
    padding-top:0 !important;
  }

  .logo{
    width:500px !important;
    max-width:106% !important;
    margin:-76px auto -72px !important;
  }
}

@media (max-width:560px){
  .container{
    padding-top:0 !important;
  }

  .logo{
    width:430px !important;
    max-width:104% !important;
    margin:-62px auto -58px !important;
  }
}

@media (max-width:390px){
  .logo{
    width:390px !important;
    max-width:104% !important;
    margin:-56px auto -52px !important;
  }
}


/*=========================================================
  FLUCORA LOGO - TRUE CENTER FIX
  Centers the logo element independently of its oversized width.
=========================================================*/

.logo{
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

@media (max-width:768px){
  .logo{
    left:50% !important;
    transform:translateX(-50%) !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/*=========================================================
  FLUCORA BUTTONS - CENTERED TEXT + BRAND COLORS
=========================================================*/

.link-card{
  position:relative;
}

/* Keep the icon fixed on the left, while the label itself
   is centered across the full button. */
.link-card .left{
  width:100%;
}

.link-card .text{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 130px);
  text-align:center;
  color:#005392;
}

/* Turquoise/green from the Flucora globe icon */
.link-card .arrow{
  color:#22C7C9;
}

@media (max-width:560px){
  .link-card .text{
    width:calc(100% - 112px);
  }
}

@media (max-width:390px){
  .link-card .text{
    width:calc(100% - 100px);
  }
}


/*=========================================================
  IOS / WHATSAPP VIEWPORT + SCROLL STABILITY FIX
=========================================================*/

/* Voorkomt dat Safari/WhatsApp tijdens het laden zelf de
   scrollpositie verschuift wanneer afbeeldingen/layout veranderen. */
html,
body{
  scroll-behavior:auto !important;
  overflow-anchor:none;
}

body{
  min-height:100dvh;
}

/* Ook descendants mogen de browser niet als scroll-anker gebruiken. */
.container,
.hero,
.product,
.links,
footer{
  overflow-anchor:none;
}

/* Extra ruimte onderaan voor de onderste iPhone/Safari/WhatsApp balk.
   Zo blijven de social icons en footer credit altijd bereikbaar. */
footer{
  padding-bottom:calc(28px + env(safe-area-inset-bottom, 0px));
}

@media (max-width:768px){
  body{
    min-height:100dvh !important;
  }

  .container{
    padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  footer{
    padding-bottom:calc(26px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width:560px){
  .container{
    padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
