/*
 * HUD.ME - Oficiálna Landing Page (Dizajn Webflow "Black")
 * Kompletné CSS štýly a konfigurácia dizajnu
 * Všetky komentáre sú v slovenskom jazyku pre jednoduchú editáciu.
 */

/* Import lokálneho prémiového fontu Onest ExtraBold 800 */
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Definícia CSS premenných pre konzistentný vizuál */
:root {
  /* Typografia */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Farby pre tmavý režim (vibe) */
  --color-bg: #080808;
  /* Veľmi tmavé pozadie */
  --color-text: #ffffff;
  /* Biela pre texty */
  --color-text-muted: #888888;
  /* Tlmená sivá */
  --color-accent: #FFF200;
  /* Žltá farba pre interaktívne prvky a zvýraznenia */
  --color-accent-glow: rgba(255, 242, 0, 0.25);

  /* Sklenený efekt – jazykový prepínač */
  --lang-glass-bg: rgba(8, 8, 8, 0.42);
  --lang-glass-bg-hover: rgba(255, 242, 0, 0.14);
  --lang-glass-border: rgba(255, 242, 0, 0.35);
  --lang-glass-border-strong: rgba(255, 242, 0, 0.55);
  --lang-glass-blur: 18px;
  --lang-glass-highlight: rgba(255, 255, 255, 0.1);

  /* Nastavenia pre placeholder bloky */
  --placeholder-bg: #e5e7eb;
  --placeholder-text: #111827;

  /* Bočné rozostupy (Padding) - podľa zadania */
  --side-padding-desktop: 80px;
  /* Hlavný spacing pre desktop */
  --side-padding-mobile: 20px;
  /* Hlavný spacing pre mobil */
}

/* Globálne nastavenia */
html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--color-bg);
}

/* Typografická hierarchia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Zjednotený bočný padding pre sekcie */
.custom-section-padding {
  padding-left: var(--side-padding-mobile);
  padding-right: var(--side-padding-mobile);
}

@media (min-width: 1024px) {
  .custom-section-padding {
    padding-left: var(--side-padding-desktop);
    padding-right: var(--side-padding-desktop);
  }
}

/* ======================================================== */
/* 2. HERO SEKČIA & ŠTRUKTÚRA                               */
/* ======================================================== */

/* Sticky scroll paralax pre Hero sekciu */
.hero-section-track {
  position: relative;
  width: 100%;
  background-color: var(--color-bg);
}

.hero-sticky-container {
  position: relative;
  /* Zmenené zo sticky pre spoločný posun sekcií */
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-left: var(--side-padding-mobile);
  padding-right: var(--side-padding-mobile);
}

@media (min-width: 1024px) {
  .hero-sticky-container {
    padding-left: var(--side-padding-desktop);
    padding-right: var(--side-padding-desktop);
  }
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-section-text-holder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
  /* Zabraňuje osekávaniu žiary navrchu a na bokoch */
  padding-top: 3rem;
  z-index: 10;
}

.hero-section-sticky {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-sticky-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-text-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-text-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  font-family: 'Onest', var(--font-headings);
  font-weight: 800;
  font-size: 22vw;
  line-height: 0.9;
  font-style: normal;
  /* Explicitne vynútené vzpriamené písmo */
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: -0.02em;
  /* Mierne zväčšené rozostupy pre odstránenie optického skosenia písmena D */
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .hero-text {
    font-size: 17vw;
  }
}

@media (min-width: 1024px) {
  .hero-text {
    font-size: 19.5vw;
    /* Fluidné prispôsobenie pre 24" monitory bez zalomenia */
  }
}

/* Čistá sýta žltá farba pre "HUD" a biela pre ".ME" */
.hero-brand-hud {
  color: #FFF200;
  display: inline-block;
}

.hero-brand-me {
  color: #ffffff;
  display: inline-block;
}

.hero-text-blur {
  position: absolute;
  font-family: 'Onest', var(--font-headings);
  font-weight: 800;
  font-size: 22vw;
  line-height: 0.9;
  font-style: normal;
  text-transform: uppercase;
  color: #FFF200;
  -webkit-text-fill-color: #FFF200;
  /* Prekrytie transparentnosti pre správny rozptyl rozmazania */
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  /* Mierne jasnejšia žiara */
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .hero-text-blur {
    font-size: 17vw;
  }
}

@media (min-width: 1024px) {
  .hero-text-blur {
    font-size: 19.5vw;
  }
}

/* Maketa smartfónu iPhone */
.iphone-holder {
  position: relative;
  margin-top: -1.5rem;
  width: 13.5rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .iphone-holder {
    width: 14rem;
    margin-top: -3.5rem;
  }
}

@media (min-width: 1024px) {
  .iphone-holder {
    width: 17rem;
    margin-top: -4.5rem;
  }
}

.iphone-image {
  width: 100%;
  height: auto;
  display: block;
  /* Zrýchlená animácia a pridaná hardvérová akcelerácia */
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.iphone-holder:hover .iphone-image,
.iphone-holder:hover .iphone-drop-shadow,
.iphone-holder:hover .iphone-screen {
  /* Mierne zmenšený skok (translateY z -5px na -3px) pre plynulejší pocit */
  transform: translateY(-3px) scale(1.02);
}

/* Nastavenie obrazovky podľa phone-placeholder.svg (124.193×272.34 mm)
   centrované v telefon-background.webp (640×1333 px, vonk. šírka 140.017 mm) */
.iphone-screen {
  position: absolute;
  top: 1.5%;
  left: 3.2%;
  width: 93.6%;
  height: 97%;
  overflow: hidden;
  z-index: 12;
  transition: transform 0.3s ease-out;
  will-change: transform;
  -webkit-mask-image: url('images/phone-placeholder.svg');
  mask-image: url('images/phone-placeholder.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.iphone-screen-image {
  display: block;
  width: 100%;
  height: auto;
}

.iphone-drop-shadow {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 242, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  /* Aj tieň musí mať rovnakú rýchlosť a GPU akceleráciu */
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.hero-section-paragraph-holder {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 2xl;
  width: 100%;
  z-index: 30;
}

.hero-paragraph-holder p {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .hero-paragraph-holder p {
    font-size: 1.25rem;
  }
}

/* ======================================================== */
/* FORMULÁRE & INTERAKTÍVNE PRVKY                           */
/* ======================================================== */

.from-wra-er {
  width: 100%;
  max-width: 28rem;
  margin-top: 1.5rem;
}

.from-holder {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .from-holder {
    flex-direction: row;
  }
}

.text-field-form {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #121212;
  border: 1px solid #222222;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  flex-grow: 1;
  transition: all 0.3s ease;
}

.text-field-form:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  outline: none;
}

.button.from {
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  background-color: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.button.from:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px var(--color-accent-glow);
}

/* ======================================================== */
/* LOGO GRID (Dôveryhodnosť)                                */
/* ======================================================== */

.logo-grid-holder {
  width: 100%;
  margin-top: 6rem;
  border-top: 1px solid #141414;
  padding-top: 4rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
  justify-items: center;
  align-items: center;
}

@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.logo-small-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 100%;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-small-container:hover {
  opacity: 1;
  transform: scale(1.05);
}

.logo-small {
  max-height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.fade-in-move-on-scroll p {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-top: 2.5rem;
}

/* ======================================================== */
/* 3. EXPERIENCE SEKČIA (O MNE / O APLIKÁCII)               */
/* ======================================================== */

.experience-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.center-title {
  width: 100%;
  text-align: center;
  max-width: 3xl;
  margin-left: auto;
  margin-right: auto;
}

.title {
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .title {
    font-size: 3.5rem;
  }
}

.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.experience-card {
  position: relative;
  background-color: #0c0c0c;
  border: 1px solid #161616;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 1.75rem;
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}

@media (min-width: 768px) {
  .experience-card {
    padding: 2.5rem;
  }
}

.experience-card:hover {
  border-color: rgba(255, 242, 0, 0.4);
  box-shadow: 0 20px 40px -15px rgba(255, 242, 0, 0.15);
  transform: translateY(-4px);
}

.experience-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.experience-card-image-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #050505;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-card:hover .experience-card-image {
  transform: scale(1.04);
}

.experience-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.9) 100%);
  pointer-events: none;
}

.experience-card-text-holder {
  margin-top: 1.75rem;
}

.card-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.6rem;
  }
}

.experience-paragraph-holder p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ======================================================== */
/* 4. INTEGRATIONS SEKČIA                                   */
/* ======================================================== */

.effortlessly-integration-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.effortlessly-integration-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  padding-bottom: 4rem;
}

.iphone-holder-effortlessly-integration {
  position: relative;
  width: 14rem;
  z-index: 20;
}

@media (min-width: 640px) {
  .iphone-holder-effortlessly-integration {
    width: 18rem;
  }
}

@media (min-width: 1024px) {
  .iphone-holder-effortlessly-integration {
    width: 22rem;
  }
}

.effortlessly-integration---iphone-holder {
  position: relative;
  width: 100%;
}

/* Plávajúce logá integrácií */
.logo-holder-effortlessly-integration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}

.logo-holder {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: #0c0c0c;
  border: 1px solid #161616;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .logo-holder {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.95rem;
  }
}

.logo-image {
  width: 100%;
  height: auto;
}

.logo-image.blured {
  display: none;
}

/* Umiestnenie a plávajúce animácie log */
@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(8px) rotate(-4deg);
  }
}

.logo-holder:nth-child(1) {
  top: 10%;
  left: 5%;
  animation: float1 6s ease-in-out infinite;
}

.logo-holder:nth-child(2) {
  top: 15%;
  right: 5%;
  animation: float2 6s ease-in-out infinite 0.5s;
}

.logo-holder:nth-child(3) {
  top: 40%;
  left: -5%;
  animation: float2 5s ease-in-out infinite 1s;
}

.logo-holder:nth-child(4) {
  top: 45%;
  right: -5%;
  animation: float1 7s ease-in-out infinite 1.5s;
}

.logo-holder:nth-child(5) {
  bottom: 15%;
  left: 0%;
  animation: float1 6s ease-in-out infinite 2s;
}

.logo-holder:nth-child(6) {
  bottom: 20%;
  right: 0%;
  animation: float2 5s ease-in-out infinite 2.5s;
}

.logo-holder:nth-child(7) {
  top: -5%;
  left: 35%;
  animation: float1 8s ease-in-out infinite 0.2s;
}

.workflow-section {
  margin-top: 6rem;
  text-align: center;
  max-width: 2xl;
  width: 100%;
}

.line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 242, 0, 0) 0%, rgba(255, 242, 0, 0.45) 50%, rgba(255, 242, 0, 0) 100%);
  margin-top: 3.5rem;
}

/* ======================================================== */
/* KONTAKTNÝ FORMULÁR HUD.ME                                 */
/* ======================================================== */

.hud-contact-section {
  margin-top: 4rem;
  width: 100%;
  text-align: left;
}

.hud-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hud-contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}

.hud-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hud-contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 242, 0, 0.25);
  background-color: rgba(255, 242, 0, 0.08);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hud-contact-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hud-contact-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  max-width: 34rem;
}

.hud-contact-email-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.hud-contact-email-card:hover {
  border-color: rgba(255, 242, 0, 0.45);
  background-color: rgba(255, 242, 0, 0.06);
  transform: translateY(-1px);
}

.hud-contact-email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background-color: rgba(255, 242, 0, 0.12);
  color: var(--color-accent);
  flex-shrink: 0;
}

.hud-contact-email-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hud-contact-email-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hud-contact-email-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hud-contact-email-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;
}

.hud-contact-form-container {
  height: 100%;
}

.hud-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #434343;
  background-color: #0c0c0c;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hud-contact-form:focus-within {
  border-color: rgba(255, 242, 0, 0.35);
  box-shadow: 0 20px 40px -20px rgba(255, 242, 0, 0.15);
}

@media (min-width: 640px) {
  .hud-contact-form {
    padding: 2rem;
  }
}

.hud-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hud-form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.hud-form-field input,
.hud-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #434343;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: #080808;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hud-form-field input:focus,
.hud-form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 242, 0, 0.6);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.hud-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.hud-contact-submit {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 9999px;
  background-color: var(--color-accent);
  color: #080808;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hud-contact-submit::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  top: 0;
  left: -100px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
}

.hud-contact-submit:hover:not(:disabled):not(.is-sent) {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hud-contact-submit:hover:not(:disabled):not(.is-sent)::before {
  animation: hud-google-play-shine 1.5s ease-out infinite;
}

.hud-contact-submit.is-sent {
  background-color: #22c55e;
  color: #ffffff;
  cursor: default;
  pointer-events: none;
  transform: none;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.hud-contact-submit.is-sent::before {
  display: none;
}

.hud-form-status {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hud-form-status.is-success {
  border: 1px solid rgba(255, 242, 0, 0.35);
  background-color: rgba(255, 242, 0, 0.08);
  color: var(--color-text);
}

.hud-form-status.is-error {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background-color: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

/* ======================================================== */
/* 5. FEATURES SEKČIA (Štatistiky a rozloženie)             */
/* ======================================================== */

.sticky-section {
  width: 100%;
}

.grid-6-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .grid-6-col {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.trusted-content {
  display: flex;
  flex-direction: column;
}

.content-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .content-sticky {
    position: sticky;
    top: 6rem;
  }
}

.title.smaller {
  font-size: 2rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .title.smaller {
    font-size: 3rem;
  }
}

.trusted-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.trusted-item {
  border-bottom: 1px solid #141414;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trusted-item.last {
  border-bottom: none;
  padding-bottom: 0;
}

.trusted-item-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.trusted-no {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--color-accent);
  line-height: 1;
}

/* ======================================================== */
/* DOWNLOAD SEKČIA (Stiahnutie a módy)                      */
/* ======================================================== */

.download-badge-holder {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 3rem;
}

.download-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.download-badge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.download-badge-button:hover {
  transform: translateY(-3px);
}

/* Google Play badge – shine a hover (inšpirované CTA tlačidlom) */
.hud-google-play-btn {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  padding: 0.4rem 0.65rem;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.hud-google-play-btn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  top: 0;
  left: -100px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
}

.hud-google-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hud-google-play-btn:hover::before {
  animation: hud-google-play-shine 1.5s ease-out infinite;
}

.hud-google-play-btn .download-badge-image {
  position: relative;
  z-index: 1;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.hud-google-play-btn:hover .download-badge-image {
  transform: scale(1.02);
}

@keyframes hud-google-play-shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.download-badge-image {
  height: 4.25rem;
  width: auto;
}

.dark-and-light-mode-holder {
  width: 100%;
  margin-top: 6rem;
  display: flex;
  justify-content: center;
}

.dark-and-light-mode-container {
  width: 100%;
  max-width: 28rem;
  position: relative;
}

.dark-and-light-mode-sticky {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dark-mode-holder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-iphone {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-hand-holder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-hand {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.dark-mode-app-holder {
  position: absolute;
  top: 9.8%;
  left: 20%;
  width: 60%;
  height: 70%;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #000;
}

.dark-mode-app {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================== */
/* 6. SPODNÁ CTA SEKČIA (Vysoko kontrastná biela sekcia)     */
/* ======================================================== */

.cards-section {
  background-color: #ffffff !important;
  color: #080808 !important;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.cards-section .title {
  color: #080808 !important;
}

.cards-section p {
  color: #444444 !important;
}

.cards-grid-holder {
  width: 100%;
  margin-top: 5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-background {
  background-color: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 1.5rem;
  padding: 2.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-background:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: #d1d1d1;
}

.card-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card-image-holder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.black-text {
  color: #080808 !important;
}

/* Druhá mriežka pod CTA */
.cards-second-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .cards-second-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.simple-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Špeciálne rozloženie pre strednú logovú kartu */
.card-logo-holder {
  background-color: #080808;
  border-radius: 1.5rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  position: relative;
  overflow: hidden;
}

.card-logo-wrapper {
  z-index: 10;
}

.card-logo-container {
  width: 5rem;
  height: 5rem;
  background-color: #0c0c0c;
  border: 1px solid #161616;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.card-logo {
  width: 2.5rem;
  height: auto;
}

.card-bg-image-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.card-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================== */
/* 7. PÄTA (FOOTER) – VIDĚT.MĚ                              */
/* ======================================================== */

.hud-main-footer {
  background-color: #060606;
  border-top: 1px solid #141414;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .hud-main-footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.hud-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hud-footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.hud-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hud-footer-brand {
    align-items: flex-start;
  }
}

.hud-footer-logo-link {
  display: inline-flex;
  transition: opacity 0.25s ease;
}

.hud-footer-logo-link:hover {
  opacity: 0.85;
}

.hud-footer-logo {
  height: 35px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .hud-footer-logo {
    height: 28px;
  }
}

.hud-footer-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.hud-footer-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hud-footer-link:hover {
  color: var(--color-accent);
  border-bottom-color: rgba(255, 242, 0, 0.55);
}

/* Optimalizácia a podpora pre Lenis Smooth Scroll */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ======================================================== */
/* 8. PLÁVAJÚCE JAZYKOVÉ TLAČIDLO V HERO SEKČII              */
/* ======================================================== */

.hero-lang-wrapper {
  position: absolute;
  top: 30px;
  right: var(--side-padding-mobile);
  z-index: 50;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero-lang-wrapper {
    top: 40px;
    right: var(--side-padding-desktop);
  }
}

.lang-dropdown-container {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--lang-glass-border);
  border-radius: 10px;
  background: var(--lang-glass-bg);
  backdrop-filter: blur(var(--lang-glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--lang-glass-blur)) saturate(1.35);
  color: #ffffff;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 var(--lang-glass-highlight);
  transition:
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  background: var(--lang-glass-bg-hover);
  border-color: var(--lang-glass-border-strong);
  color: #ffffff;
  box-shadow:
    0 0 22px var(--color-accent-glow),
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.lang-btn[aria-expanded="true"] {
  background: rgba(255, 242, 0, 0.12);
  border-color: var(--lang-glass-border-strong);
  box-shadow:
    0 0 20px var(--color-accent-glow),
    inset 0 1px 0 var(--lang-glass-highlight);
}

.lang-icon-img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.lang-btn:hover .lang-icon-img,
.lang-btn[aria-expanded="true"] .lang-icon-img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.lang-btn[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 var(--lang-glass-highlight);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 110;
  isolation: isolate;
}

.lang-dropdown-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-color: var(--lang-glass-border);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.6),
    0 0 24px var(--color-accent-glow),
    inset 0 1px 0 var(--lang-glass-highlight);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lang-item.is-active {
  background: rgba(255, 242, 0, 0.12);
  color: var(--color-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* ======================================================== */
/* 9. MOBILNÉ ÚPRAVY HERO SEKČIE (PREKRYTIE A VEĽKOSŤ TEXTU) */
/* ======================================================== */

@media (max-width: 639px) {
  .hero-text {
    font-size: 22vw !important;
    /* Zväčšenie textu HUD.ME takmer po okraj */
  }

  .hero-text-blur {
    font-size: 22vw !important;
  }

  .hero-section-text-holder {
    padding-top: 1.5rem;
    /* Posunutie textu vyššie */
  }

  .iphone-holder {
    width: 12.5rem !important;
    /* Zväčšenie telefónu na mobiloch */
    margin-top: -0.25rem !important;
    /* Posunutie telefónu nižšie, menší prekryv textu */
  }
}

/* ======================================================== */
/* 10. PRECHOD SLIDESHOW A LANDSCAPE TELEFÓN V INTEGRÁCIÁCH */
/* ======================================================== */

#hero-screen,
#card-1-screen,
#card-4-screen {
  transition: opacity 0.3s ease-in-out;
}

.experience-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experience-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.experience-bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55em;
  border-radius: 50%;
  background-color: #FFF200;
}

.experience-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.experience-lang-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.phone-landscape {
  --phone-landscape-width: 320px;
  width: var(--phone-landscape-width) !important;
  height: calc(var(--phone-landscape-width) * 640 / 1333) !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .phone-landscape {
    --phone-landscape-width: 400px;
  }
}

@media (min-width: 1024px) {
  .phone-landscape {
    --phone-landscape-width: 520px;
  }
}

.phone-landscape .effortlessly-integration---iphone-holder {
  width: calc(var(--phone-landscape-width) * 640 / 1333) !important;
  height: var(--phone-landscape-width) !important;
  transform: rotate(-90deg);
  transform-origin: center center;
  position: absolute;
  top: auto;
  left: auto;
}

/* Landscape PNG (na šírku): rovnaká logika ako portrét – width + height auto */
.phone-landscape .iphone-screen-image {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% * 1333 / 640 * 97 / 93.6);
  height: calc(100% * 640 / 1333 * 93.6 / 97);
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
}

/* Dočasne skryté sekcie pod kontaktom */
#features,
#download,
#sign-up {
  display: none !important;
}

/* Plávajúce logá okolo iPhonu v sekcii integrácie */
.logo-holder-effortlessly-integration {
  display: none !important;
}