/* ============================================
   KujdesPlus – Single Page Styles
   Primary: #00AE4B
   ============================================ */

:root {
  --primary: #00AE4B;
  --primary-dark: #008f3c;
  --primary-light: #e8f5ec;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --bg-light: #f8faf9;
  --border: #e0e8e4;
  --shadow: 0 4px 20px rgba(0, 174, 75, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.logo__img--footer {
  filter: brightness(0) invert(1);
}

.logo__text {
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
}

.nav__link:hover {
  color: var(--primary);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switcher__sep {
  color: var(--border);
  font-size: 1rem;
  user-select: none;
}

.lang-switcher__btn {
  padding: 0.4rem 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity var(--transition);
}

.lang-switcher__btn:hover {
  opacity: 0.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

a.btn {
  text-decoration: none;
}

a.btn:visited {
  color: inherit;
}

a.btn--primary,
a.btn--primary:visited {
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary-light);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 6rem;
}

.hero__carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
}

.hero__carousel-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

.hero__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero__slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), opacity var(--transition);
}

.hero__carousel-arrow:hover {
  background: var(--white);
  opacity: 1;
}

.hero__carousel-arrow--prev {
  left: 1rem;
}

.hero__carousel-arrow--next {
  right: 1rem;
}

.hero__carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero__carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.hero__carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero__carousel-dot--active {
  background: var(--white);
  transform: scale(1.2);
}

.hero__content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero__content h1 .highlight {
  color: var(--primary);
}

.hero__subheadline {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 480px;
}

.hero__cta {
  margin-bottom: 1.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__badges {
  display: flex;
  gap: 0.5rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.9rem;
}

/* ========== Section common ========== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 2rem;
  color: var(--text);
}

.section__title .highlight {
  color: var(--primary);
}

/* ========== Features grid (6 cards) ========== */
.features {
  background: var(--bg-light);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card--dark {
  background: var(--primary);
  color: var(--white);
}

.feature-card--dark .feature-card__link {
  color: rgba(255, 255, 255, 0.95);
}

.feature-card--with-bg {
  position: relative;
  overflow: hidden;
}

.feature-card__bg {
  height: 180px;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-light);
}

.feature-card__bg--1 .feature-card__bg {
  background-image: url("images/1.png");
}

.feature-card__bg--2 .feature-card__bg {
  background-image: url("images/2.png");
}

.feature-card__bg--3 .feature-card__bg {
  background-image: url("images/3.png");
}

.feature-card__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 48px;
  text-align: center;
  color: var(--white);
}

.feature-card__icon::before {
  display: inline-block;
  vertical-align: middle;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-card--dark .feature-card__desc {
  color: rgba(255, 255, 255, 0.9);
}

.feature-card__link {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========== Benefits (split) ========== */
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.benefits__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.benefits__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.benefits__item:last-child {
  border-bottom: none;
}

.benefits__item strong {
  color: var(--primary);
}

.benefits__carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
}

.benefits__carousel-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

.benefits__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.benefits__slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.benefits__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), opacity var(--transition);
}

.benefits__carousel-arrow:hover {
  background: var(--white);
}

.benefits__carousel-arrow--prev {
  left: 1rem;
}

.benefits__carousel-arrow--next {
  right: 1rem;
}

.benefits__carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.benefits__carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.benefits__carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.benefits__carousel-dot--active {
  background: var(--white);
  transform: scale(1.2);
}

/* ========== Market feedback (testimonials style) ========== */
.market {
  background: var(--bg-light);
}

.market__slider {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.market__track {
  display: flex;
  transition: transform 0.35s ease-out;
}

.market__track .market-card {
  flex: 0 0 100%;
  min-width: 0;
}

.market-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.market-card__quote {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.market-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.market-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.market__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.market__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.market__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.market__dot:hover {
  background: var(--primary);
  opacity: 0.8;
}

.market__dot--active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.market__arrows {
  display: flex;
  gap: 0.5rem;
}

.market__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.market__arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== How it works (phone + steps) ========== */
.how__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.how__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.how__phone {
  width: 280px;
  border-radius: 32px;
  overflow: hidden;
  border: 8px solid #1a1a1a;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
}

.how__phone img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.how__subtitle {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.how__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.how__step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.how__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.how__step-title {
  font-weight: 700;
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.how__step-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.how__stores {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: #000;
  transition: opacity var(--transition);
}

.store-badge:hover {
  color: #fff;
  opacity: 0.9;
}

.store-badge i {
  font-size: 1.5rem;
}

.store-badge--light {
  background: #fff;
  color: #333;
}

.store-badge--light:hover {
  color: #333;
}

.store-badge--coming i {
  font-size: 1.1rem;
  width: 1.1em;
  text-align: center;
  display: inline-block;
}

/* ========== Final CTA ========== */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  background: var(--primary);
  color: var(--white);
}

.cta-section__content {
  padding: 4rem 2rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-section__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: var(--white);
}

.cta-section__content p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  max-width: 440px;
}

.cta-section__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-section__content .btn--primary {
  background: var(--white);
  color: var(--primary);
}

.cta-section__content .btn--primary:hover {
  background: var(--bg-light);
}

.cta-section__content a.btn--primary:visited {
  color: var(--primary);
}

.cta-section__content .btn--outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-section__content .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cta-section__small {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

.cta-section__media {
  min-height: 400px;
  background: url("images/care.jpeg") center/cover no-repeat;
}

/* ========== Footer ========== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 1.5rem 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand .logo {
  color: var(--white);
}

.footer__desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 1rem 0;
  max-width: 280px;
  line-height: 1.5;
}

.footer__stores {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer__stores .store-badge {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
}

.footer__stores .store-badge i {
  font-size: 1.1rem;
  width: 1.1em;
  text-align: center;
  display: inline-block;
}

.footer__col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  opacity: 0.9;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer__col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__contact p {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a,
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
}

.footer__social a:hover,
.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.footer__social i {
  font-size: 1.1rem;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5rem 1rem 3rem;
  }

  .hero__content h1,
  .hero__subheadline {
    max-width: none;
  }

  .hero__carousel {
    order: -1;
  }

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

  .benefits__inner,
  .how__inner {
    grid-template-columns: 1fr;
  }

  .benefits__inner {
    text-align: center;
  }

  .how__phone-wrap {
    order: -1;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-section__content {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .cta-section__content p {
    max-width: none;
  }

  .cta-section__media {
    min-height: 280px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .nav {
    display: none;
  }

  .header .btn--primary {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .logo__text {
    font-size: 1.1rem;
  }

  .logo__img {
    height: 36px;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }


  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__desc {
    max-width: none;
  }

  .footer__stores {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header__inner {
    padding: 0.6rem 0.75rem;
  }

  .header .btn--primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .lang-switcher__btn {
    font-size: 1.25rem;
  }

  .hero {
    padding: 4.5rem 0.75rem 2.5rem;
  }

  .how__phone {
    width: 220px;
  }
}
