/* -------------
   Base styles
------------- */

:root {
  --bg-main: #111c28;
  --text-main: #ffffff;
  --accent-green: #75e966;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* Links */

a {
  color: inherit;
  text-decoration: none;
}

/* Sections */

.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* -------------
   Navbar
------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-main);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12); /* fehér soft shadow alatta */
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;  /* <<< FONTOS! */
  position: relative;       /* <<< kell a jobbra igazított zászlókhoz */
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* Home logo button */

.nav-logo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--accent-green);
  color: #111c28;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2); /* fehér shadow */
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateZ(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-logo-button img {
  width: 22px;
  height: 22px;
  display: block;
}

.nav-logo-button:hover,
.nav-logo-button:focus-visible {
  transform: scale(1.05); /* rányomásra megnagyobbodik */
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

/* Right side nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* CENTER NAVIGATION */
.nav-center {
  display: flex;
  align-items: center;
  gap: 1.2rem;  /* távolság Home és Our Mission között */
}


.nav-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
  transform: translateZ(0);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  background: #ffffff;
  color: #111c28;
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}

/* Language switch (flags) */

.lang-switch {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
}


.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transform: translateZ(0);
  transition: opacity 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.lang-flag img {
  width: 24px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.lang-flag:hover,
.lang-flag:focus-visible {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}

/* Aktív nyelv: zöld keret */
.lang-flag.active img {
  box-shadow: 0 0 0 2px var(--accent-green),
    0 6px 18px rgba(0, 0, 0, 0.7);
}


/* -------------
   Hero GIF
------------- */

.hero-gif-section {
  padding: 3.5rem 1.5rem 1rem;
  display: flex;
  justify-content: center;
}

.hero-gif {
  max-width: 700px;
  width: 100%;
  display: block;
  border-radius: 1.2rem;
}

/* -------------
   Section titles
------------- */

.section-title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* -------------
   Layout grids
------------- */

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Cards */

.card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Solution modules spacing */

.solution-modules {
  margin-bottom: 3rem;
}

/* -------------
   Hero split: H1 + CTA + app icon + video
------------- */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.6rem;
  margin: 0 0 0.8rem;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-green);
  color: #111c28;
  box-shadow: 0 10px 28px rgba(117, 233, 102, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(117, 233, 102, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #ffffff;
  color: #111c28;
  transform: scale(1.04);
}

/* APP ICON KÖZÉPEN A CTA-K ALATT */

.app-icon-center {
  text-align: center;
  margin: 1.8rem 0 0;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  display: inline-block;
  box-shadow: 0 24px 45px rgba(255, 255, 255, 0.22); /* fehér, tech-es shadow */
}

/* Hero media (video) */

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-frame {
  width: 100%;
  max-width: 380px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
}

.demo-video {
  width: 100%;
  display: block;
}

/* -------------
   Timeline
------------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-step {
  text-align: center;
}

.timeline-circle {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: var(--accent-green);
  color: #111c28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.timeline-step h3 {
  margin: 0 0 0.5rem;
}

.timeline-step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* -------------
   Benefits
------------- */

.card-column {
  height: 100%;
}

.benefit-list {
  padding-left: 1.1rem;
  margin: 0;
}

.benefit-list li {
  margin-bottom: 0.5rem;
}

/* -------------
   Testimonial
------------- */

.testimonial {
  margin-top: 2rem;
  padding: 1.8rem 1.9rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: radial-gradient(circle at top left, rgba(117, 233, 102, 0.16), transparent),
    rgba(0, 0, 0, 0.4);
}

.testimonial-text {
  margin: 0 0 0.8rem;
  font-style: italic;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* -------------
   FAQ
------------- */

.faq-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
}

.faq-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* -------------
   Contact form
------------- */

.contact-form {
  max-width: 520px;
  margin-top: 2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  padding: 0.55rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* -------------
   Footer
------------- */

.footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 100px;
  height: auto;
  display: block;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

.brand-green {
  color: var(--accent-green);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--accent-green);
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.15s ease;
}

.footer-text-block {
  display: flex;
  flex-direction: column;
}

/* Designer credit */
.footer-design {
  margin: 0.3rem 0 0;              /* finom kis távolság */
  font-size: 0.78rem;              /* kicsi, elegáns */
  letter-spacing: 0.5px;           /* modern tech vibe */
  text-transform: lowercase;       /* kisbetűs minden */
  color: rgba(255, 255, 255, 0.6); /* diszkrét fehér */
}

.footer-design .brand-green {
  color: var(--accent-green);      /* parais design zöld */
  font-weight: 500;
}

.footer-text-block {
  display: flex;
  flex-direction: column;
}


.footer-link:hover::after,
.footer-link:focus-visible::after {
  width: 100%;
}

/* -------------
   Responsive
------------- */

@media (max-width: 900px) {
  .three-columns {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .hero-gif-section {
    padding-top: 2.5rem;
  }

  .hero-media {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* -------------
   Cookie banner
------------- */

.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none; /* alapból rejtve, JS mutatja, ha kell */
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}

.cookie-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 1.5rem 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-main);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.cookie-text {
  flex: 1 1 260px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-text p {
  margin: 0 0 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.cookie-flag {
  width: 20px;
  height: auto;
  border-radius: 3px;
  margin-top: 2px;
  flex-shrink: 0;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-secondary {
  padding-inline: 1.4rem;
  font-size: 0.9rem;
}

/* mobilon középre igazítva */
@media (max-width: 640px) {
  .cookie-banner {
    margin: 0 0.8rem 0.8rem;
    padding: 1.2rem 1.1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}
