/* ─────────────────────────────────────
   UTREISE / DEPARTURE  –  Shared styles
   ───────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600;700;900&family=Barlow+Condensed:wght@400;600;700;900&display=swap');

:root {
  --sky:       #6dbcd6;
  --sky-light: #a8d8ea;
  --sky-pale:  #daf0f7;
  --deep:      #1a2e3b;
  --deep-mid:  #243447;
  --teal:      #3a8fa5;
  --white:     #f8fbfd;
  --muted:     #5a7a8a;
  --radius:    18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Barlow', sans-serif; background: var(--white); color: var(--deep); overflow-x: hidden; }
img   { display: block; max-width: 100%; }
a     { color: inherit; }


/* ══════════════════════════════════════
   FIXED NAV – frosted glass + gråblå farge
   rgba gir frosted look, fargen er sterk nok
   til å synes på hvit bakgrunn
══════════════════════════════════════ */
.lang-toggle {
  position: fixed; top: 20px; left: 20px; z-index: 200;
  display: flex; gap: 4px;
  background: rgba(30, 68, 88, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 30px; padding: 4px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.30);
}
.lang-btn {
  padding: 6px 16px; border-radius: 24px; border: none;
  font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 13px;
  cursor: pointer; text-decoration: none; display: inline-block;
  background: transparent; color: #fff;
  transition: background 0.2s;
}
.lang-btn.active  { background: #fff; color: #1a2e3b; }
.lang-btn:not(.active):hover { background: rgba(255,255,255,0.20); }

.store-links {
  position: fixed; top: 20px; right: 20px; z-index: 200;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
}
.store-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 30px; text-decoration: none;
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px;
  background: rgba(30, 68, 88, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.30);
  transition: background 0.2s, transform 0.2s;
}
.store-btn svg   { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }
.store-btn:hover { background: rgba(58,143,165,0.90); transform: translateY(-2px); }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #3d8fae 0%, #5baec8 30%, #6dbcd6 55%, #9dd5e8 80%, #c4eaf5 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 80px 100px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
}
.hero-left {
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; z-index: 1;
}
.hero-icon-slot {
  width: 96px; height: 96px; border-radius: 22px;
  background: rgba(255,255,255,0.15);
  border: 2px dashed rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; overflow: hidden;
}
.hero-icon-slot img  { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.hero-icon-slot span { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.05em; text-align: center; padding: 8px; }

/* Actual logo image in hero */
.hero-logo-img {
  height: 68px; width: auto; max-width: 260px;
  object-fit: contain;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.05s both;
}

.hero-appname {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(58px, 9vw, 96px);
  font-weight: 900; color: white; line-height: 0.95;
  text-shadow: 0 4px 40px rgba(26,46,59,0.18);
  letter-spacing: -0.02em; margin-bottom: 14px;
  animation: fadeUp 0.6s 0.15s both;
}
.hero-tagline {
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 300; color: rgba(255,255,255,0.78);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.25s both;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.92);
  max-width: 400px; line-height: 1.65; font-weight: 300;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.35s both;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.45s both;
}
.cta-btn {
  padding: 13px 28px; border-radius: 50px;
  font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: all 0.25s; letter-spacing: 0.02em;
}
.cta-primary  { background: white; color: var(--deep); box-shadow: 0 8px 32px rgba(26,46,59,0.2); }
.cta-primary:hover  { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(26,46,59,0.28); }
.cta-secondary { background: rgba(255,255,255,0.15); color: white; border: 1.5px solid rgba(255,255,255,0.5); }
.cta-secondary:hover { background: rgba(255,255,255,0.28); transform: translateY(-3px); }

.hero-right {
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.3s both;
}


/* ══════════════════════════════════════
   iPHONE FRAME
══════════════════════════════════════ */
.iphone {
  position: relative; width: 260px;
  background: #1a1a1e; border-radius: 50px; padding: 14px 10px;
  box-shadow:
    0 0 0 1.5px #3a3a42,
    0 40px 80px rgba(0,0,0,0.4),
    0 20px 40px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.iphone::before {
  content: '';
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 28px; background: #000; border-radius: 20px; z-index: 2;
}
.iphone-screen { border-radius: 40px; overflow: hidden; background: #000; position: relative; }
.iphone-screen img { width: 100%; display: block; }
.iphone--large { width: 300px; }


/* ══════════════════════════════════════
   SECTION TYPOGRAPHY
══════════════════════════════════════ */
.section-eyebrow {
  text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 5.5vw, 54px); font-weight: 800;
  text-align: center; color: var(--deep); line-height: 1.05; margin-bottom: 14px;
}
.section-sub {
  text-align: center; font-size: 17px; color: var(--muted);
  max-width: 520px; margin: 0 auto 56px; line-height: 1.65; font-weight: 300;
}


/* ══════════════════════════════════════
   SCREENSHOTS / CAROUSEL
══════════════════════════════════════ */
.screenshots-section {
  padding: 100px 40px 80px;
  background: var(--white);
}

/* overflow:hidden is REQUIRED – without it flex-basis:100% on each slide
   has no definite containing-block width to resolve against, so slides
   collapse or stack side-by-side and navigation appears to do nothing.  */
.carousel-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;        /* REQUIRED: gives track a definite width so flex-basis:100%
                         on each slide resolves to wrapper width, not slide content size */
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;    /* belt-and-suspenders: ensures slide never shrinks below wrapper width */
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 0 28px; gap: 24px;
}

/* Strip the large drop-shadow from iphone frames inside the carousel.
   overflow:hidden would clip that shadow and produce a visible rectangle.
   The hero phone (outside .carousel-slide) keeps its full shadow.       */
.carousel-slide .iphone {
  box-shadow:
    0 0 0 1.5px #3a3a42,
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.phones-row {
  display: flex; gap: 32px; align-items: flex-start; justify-content: center;
}
.phones-row .iphone:nth-child(2) { margin-top: -24px; }

.slide-caption {
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--deep);
  background: rgba(26,46,59,0.07);
  border-radius: 20px;
  padding: 6px 18px;
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; margin-top: 20px;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(109,188,214,0.4);
  background: white; color: var(--teal); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 2px 12px rgba(26,46,59,0.08);
}
.carousel-btn:hover    { background: var(--sky-pale); border-color: var(--teal); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(109,188,214,0.3); transition: all 0.25s; cursor: pointer; border: none;
}
.dot.active { background: var(--teal); transform: scale(1.3); }


/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #edf7fb 0%, var(--white) 100%);
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; max-width: 1000px; margin: 0 auto;
}
.feature-card {
  background: white; border-radius: 14px; padding: 20px 20px 18px;
  border: 1px solid rgba(109,188,214,0.16);
  box-shadow: 0 2px 12px rgba(26,46,59,0.05); transition: all 0.25s;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,46,59,0.10);
  border-color: rgba(58,143,165,0.32);
}
/* Icon circle – filled colored background */
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }

/* Individual card accent colours */
.feature-card:nth-child(1) .feature-icon { background: #dff2f7; }
.feature-card:nth-child(1) .feature-icon svg { stroke: #2a8aa8; fill: none; }

.feature-card:nth-child(2) .feature-icon { background: #fff0e0; }
.feature-card:nth-child(2) .feature-icon svg { stroke: #d97b20; fill: none; }

.feature-card:nth-child(3) .feature-icon { background: #e4f4ee; }
.feature-card:nth-child(3) .feature-icon svg { stroke: #2a9a6a; fill: none; }

.feature-card:nth-child(4) .feature-icon { background: #ece8fd; }
.feature-card:nth-child(4) .feature-icon svg { stroke: #6b4dd4; fill: none; }

.feature-card:nth-child(5) .feature-icon { background: #e8edf5; }
.feature-card:nth-child(5) .feature-icon svg { stroke: #3d5a8a; fill: none; }

.feature-card:nth-child(6) .feature-icon { background: #fde8ec; }
.feature-card:nth-child(6) .feature-icon svg { stroke: #c03050; fill: none; }

.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--deep); line-height: 1.1;
}
.feature-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; font-weight: 300; }


/* ══════════════════════════════════════
   ABOUT / CONTACT
══════════════════════════════════════ */
.about-section {
  padding: 100px 24px; background: var(--deep); position: relative; overflow: hidden;
}
.about-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,188,214,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.about-inner {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky-light); margin-bottom: 10px; }
.about-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: white; line-height: 1.05; margin-bottom: 20px;
}
.about-text { font-size: 16px; color: rgba(255,255,255,0.62); line-height: 1.75; font-weight: 300; }
.about-text + .about-text { margin-top: 16px; }
.about-text strong { color: rgba(255,255,255,0.9); font-weight: 600; }

.contact-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 32px;
}
.contact-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; color: white; margin-bottom: 26px;
}
.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(109,188,214,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 3px; }
.contact-value { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85); }
.contact-value a { color: var(--sky-light); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }


/* ══════════════════════════════════════
   DISCLAIMER
══════════════════════════════════════ */
.disclaimer-section { padding: 80px 24px; background: #fffbf0; border-top: 3px solid #e8b840; }
.disclaimer-inner { max-width: 780px; margin: 0 auto; }
.disclaimer-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.disclaimer-icon {
  width: 58px; height: 58px; min-width: 58px; background: #f5c518;
  border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.disclaimer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 800; color: #7a4800; line-height: 1.1; padding-top: 8px;
}
.disclaimer-lead { font-size: 16px; color: #5a3e00; line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.disclaimer-lead strong { color: #3a2800; font-weight: 700; }
.disclaimer-points { display: flex; flex-direction: column; gap: 16px; }
.disclaimer-point { display: flex; gap: 14px; align-items: flex-start; }
.disc-num {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: rgba(229,174,48,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #7a4800; margin-top: 2px;
}
.disc-text { font-size: 15px; color: #5a3e00; line-height: 1.65; font-weight: 300; }
.disc-text strong { color: #3a2800; font-weight: 600; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer { background: #243447; padding: 48px 24px; text-align: center; }
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 900; color: white; margin-bottom: 6px; }
.footer-sub  { font-size: 13px; color: rgba(255,255,255,0.32); margin-bottom: 28px; }
.footer-nav  { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.42); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: var(--sky-light); }
.footer-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.1); margin: 0 auto 24px; }
.avinor-note { font-size: 12px; color: rgba(255,255,255,0.28); }
.avinor-note strong { color: rgba(255,255,255,0.5); }


/* ══════════════════════════════════════
   SCROLL REVEAL
   Content is VISIBLE by default.
   When JS runs it adds .js-ready to body
   which enables the animation.
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Default: always visible (no-JS fallback) */
.reveal { opacity: 1; transform: none; }

/* Only animate when JS has confirmed it's running */
body.js-ready .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.js-ready .reveal.visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 120px 32px 80px; text-align: center; }
  .hero-left { align-items: center; }
  .hero-right { display: none; }
  .hero-mobile-phone { display: flex; justify-content: center; padding: 0 24px 60px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (min-width: 861px) {
  .hero-mobile-phone { display: none; }
}
@media (max-width: 640px) {
  .store-btn span { display: none; }
  .iphone { width: 200px; }
  .iphone--large { width: 220px; }
  .phones-row { gap: 16px; }
}
