@font-face {
  font-family: 'Chillax';
  src: url('./fonts/Chillax-Variable.woff2') format('woff2'),
       url('./fonts/Chillax-Variable.woff') format('woff'),
       url('./fonts/Chillax-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
}

:root {
  --primary-blue: #033B4B;
  --secondary-blue: #074250;
  --accent-blue: #0B554E;
  --deep-blue: #022A36;
  --text-white: #ffffff;
  --highlight-yellow: #FBD761;
  --yellow-hover: #F5C93A;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.15);
  --muted: rgba(255, 255, 255, 0.78);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-white);
  background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue));
  background-attachment: fixed;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Chillax', 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--highlight-yellow);
}

.nowrap {
  white-space: nowrap;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight-yellow);
  margin-bottom: 18px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 59, 75, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Chillax', 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--text-white);
}

.brand-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--highlight-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-circle img {
  width: 28px;
  height: auto;
}

.brand .time {
  color: var(--highlight-yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--highlight-yellow);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  opacity: 0.75;
  transition: opacity 0.2s, background-color 0.2s;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--text-white);
  cursor: pointer;
  width: 40px;
  height: 40px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--highlight-yellow);
  color: var(--primary-blue);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.store-btn i {
  font-size: 1.7rem;
  width: 28px;
  text-align: center;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  line-height: 1.2;
  opacity: 0.85;
}

.store-btn strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
}

/* Hero */

.hero {
  margin-top: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-bottom: 28px;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 36px;
}

/* Phone mockup (placeholder until real screenshots exist) */

.phone {
  justify-self: center;
  width: 290px;
  border: 12px solid var(--deep-blue);
  border-radius: 40px;
  background: #fff;
  color: var(--primary-blue);
  padding: 18px 16px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.phone-notch {
  width: 72px;
  height: 8px;
  border-radius: 8px;
  background: var(--deep-blue);
  margin: 0 auto 22px;
}

.phone-title {
  font-family: 'Chillax', 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.phone-sub {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 6px 0 14px;
}

.phone-search {
  background: #EEF4F4;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #5B6B70;
  margin-bottom: 18px;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #EEF4F4;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

.phone-row .wait {
  font-weight: 500;
  font-size: 0.75rem;
  color: #5B6B70;
}

.phone-row .wait i {
  margin-right: 4px;
  color: var(--accent-blue);
}

.phone-cta {
  margin-top: 10px;
  background: var(--highlight-yellow);
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

/* Sections */

.section {
  padding: 88px 0 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px 40px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--highlight-yellow);
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Kund / Business tabs: app buttons with the apps' own icons */

.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 28px auto 0;
  scroll-margin-top: 96px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 26px 8px 8px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Chillax', 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  color: var(--text-white);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  --ring: rgba(251, 215, 97, 0.85);
}

.tab:hover {
  transform: translateY(-2px);
}

.tab.active {
  background: var(--highlight-yellow);
  border-color: var(--highlight-yellow);
  color: var(--primary-blue);
  box-shadow: 0 0 28px rgba(251, 215, 97, 0.45), 0 10px 24px rgba(0, 0, 0, 0.2);
  --ring: rgba(3, 59, 75, 0.6);
}

.tab-icon {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}

.tab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24%;
  object-fit: cover;
}

/* Soft ring that spreads out from each icon and fades: App first, then Business,
   twice, then it stops. The icons themselves never move. */
.tab-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24%;
  border: 2px solid var(--ring);
  opacity: 0;
  pointer-events: none;
  animation: icon-ring 2.4s ease-out 0.6s 2 both;
}

.tab[data-tab="business"] .tab-icon::after {
  animation-delay: 1.4s;
}

@keyframes icon-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  45% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-icon::after {
    animation: none;
  }
}

.tab-panel[hidden] {
  display: none;
}

/* Feature grid */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.features.features-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.feature i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 215, 97, 0.15);
  color: var(--highlight-yellow);
  font-size: 1.15rem;
}

.feature p {
  color: var(--muted);
}

/* Real screenshot inside the phone frame */

.phone.shot {
  padding: 0;
  overflow: hidden;
  background: var(--deep-blue);
}

.phone.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Business queue illustration */

.queue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #EEF4F4;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.queue-item strong,
.queue-item span {
  display: block;
}

.queue-item div > span {
  font-size: 0.75rem;
  color: #5B6B70;
}

.queue-item.new {
  background: #FFF6D6;
  border: 1px solid var(--highlight-yellow);
}

.pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #5B6B70;
}

.pill.pill-active {
  background: var(--accent-blue);
  color: #fff;
}

.queue-actions {
  display: flex;
  gap: 6px;
}

.mini-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
}

.mini-btn.yes {
  background: var(--accent-blue);
}

.mini-btn.no {
  background: #9AA7AB;
}

/* Business call to action */

.pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.pricing p {
  max-width: 560px;
  margin-bottom: 0;
}

.pricing-cta {
  flex-shrink: 0;
}

/* Business band */

.band {
  background: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
  color: var(--text-white);
}

.band p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: var(--muted);
}

/* About page */

.about-hero {
  margin-top: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
}

.about-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.about-hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 760px;
}

.about-hero p + p {
  margin-top: 16px;
}

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.person {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.person img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.person h3 {
  font-size: 1.35rem;
}

.person .role {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 4px 0 10px;
  opacity: 0.9;
}

.person p {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.socials a {
  font-size: 1.3rem;
  color: var(--highlight-yellow);
}

.socials a:hover {
  color: var(--text-white);
}

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.award {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.award-logo img {
  max-height: 92px;
  max-width: 170px;
  object-fit: contain;
}

/* White-only logos need to turn dark on the light tile */
.award-logo img.to-dark {
  filter: brightness(0);
}

.award-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.award-badge.win {
  background: var(--highlight-yellow);
  color: var(--primary-blue);
}

.award p {
  font-weight: 600;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.thank-you {
  display: none;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--highlight-yellow);
  font-weight: 600;
}

/* Footer */

.site-footer {
  margin-top: 88px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--highlight-yellow);
}

.copyright {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }

  .team,
  .contact {
    grid-template-columns: 1fr;
  }

  .steps,
  .steps.steps-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features.features-3 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .pricing {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header .wrap {
    height: 64px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .brand-circle {
    width: 38px;
    height: 38px;
  }

  .brand-circle img {
    width: 23px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--primary-blue);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    font-size: 1.05rem;
  }

  .nav .lang-switcher {
    margin-top: 8px;
  }

  .hero,
  .about-hero {
    margin-top: 8px;
    padding: 36px 22px;
    border-radius: 20px;
  }

  .hero .lead {
    font-size: 1.05rem;
  }

  .phone {
    width: 260px;
  }

  .steps,
  .steps.steps-3 {
    grid-template-columns: 1fr;
  }

  .tabs {
    gap: 10px;
    margin-top: 16px;
  }

  .tab {
    gap: 10px;
    padding: 6px 18px 6px 6px;
    font-size: 1rem;
  }

  .tab-icon {
    width: 38px;
    height: 38px;
  }

  .section {
    padding-top: 64px;
  }

  .section h2 {
    margin-bottom: 28px;
  }

  .band {
    padding: 36px 22px;
    border-radius: 20px;
  }

  .person {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  .store-btn {
    flex: 1 1 160px;
  }
}

/* Very narrow phones: the two pills stack instead of shrinking */
@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .tab {
    width: 100%;
    max-width: 280px;
  }
}
