
:root {
  --bg1: #0a3d66;
  --bg2: #092f55;
  --text: #0f172a;
  --muted: #64748b;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow2: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --blue: #2f6fed;
  --green: #4caf50;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0b1220;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}

a { color: inherit; }

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

/* HERO */
.hero {
  padding: 34px 0 22px;
}

.hero__inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: block;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.96);
}

.hero__subtitle {
  margin: 0 0 22px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255,255,255,0.80);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.btn--primary {
  background: rgba(47, 111, 237, 0.92);
  color: white;
  border-color: rgba(47, 111, 237, 0.65);
}

.btn--secondary {
  background: rgba(255,255,255,0.86);
  color: #0b1220;
  border-color: rgba(255,255,255,0.55);
}

.hero__media {
  display: flex;
  justify-content: center;
  position: relative; /* ADDED: enables overlay text */
}

.hero__image {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* ADDED: hero text overlay (keeps hero.png clean, text is responsive) */
.hero__overlay {
  position: absolute;
  left: clamp(16px, 6vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 6px 18px rgba(0,0,0,0.28);
  pointer-events: none;
}

.hero__overlay h1 {
  margin: 0 0 10px 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__overlay p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.35;
  opacity: 0.95;
}

/* CARDS */
.cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,0.55);
}

.card__icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

.card__icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.card__icon--blue {
  background: rgba(47, 111, 237, 0.16);
  color: rgba(47, 111, 237, 0.95);
}

.card__icon--green {
  background: rgba(76, 175, 80, 0.16);
  color: rgba(76, 175, 80, 0.95);
}

.card__title {
  margin: 0 0 10px;
  font-size: 26px;
  color: #0b1220;
}

.card__text {
  margin: 0 0 18px;
  color: #475569;
  font-size: 16px;
}

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

.store__badge {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  min-width: 160px;
  height: 52px;
  justify-content: center;
  align-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.store__badge--apple,
.store__badge--google {
  background: #0b1220;
}

.store__small {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.9;
  line-height: 1.1;
}

.store__big {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

/* QUOTE */
.review { padding-top: 12px; padding-bottom: 54px; }

.quote {
  position: relative;
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.quote__mark {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 90px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.10);
  user-select: none;
}

.quote__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.quote__logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(76, 175, 80, 0.15);
  color: rgba(16, 185, 129, 0.95);
}

.quote__logo svg { width: 24px; height: 24px; }

.quote__title {
  font-weight: 700;
  color: #0b1220;
}

.quote__text {
  margin: 0 0 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.55;
}

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

.quote__attribution {
  color: #64748b;
  font-size: 13px;
  max-width: 760px;
}

.quote__more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quote__more:hover { text-decoration: underline; }

/* FOOTER */
.footer {
  padding: 18px 0 28px;
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__media { justify-content: center; }
  .cards__grid { grid-template-columns: 1fr; }
}

/* ADDED: mobile-friendly hero overlay so it doesn't cover the phone */
@media (max-width: 640px) {
  .hero__overlay {
    left: 18px;
    top: 22px;
    transform: none;
    max-width: calc(100% - 36px);
  }
  .hero__overlay h1 { margin-bottom: 6px; }
}

/* SUPPORT PANEL (Accordion) */
.support {
  /* layout */
  padding: 0; /* padding ide u inner, da animacija visine bude čista */
  margin-top: 10px;

  /* visual */
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);

  /* IMPORTANT: text color for dark background */
  color: rgba(255,255,255,0.88);

  /* accordion behavior */
  overflow: clip;                 /* modern; prevents bleed during animation */
  max-height: 0;                  /* closed */
  opacity: 0;                     /* closed */
  transform: translateY(-4px);    /* subtle lift when closed */

  transition:
    max-height 280ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

/* Force light text inside Support panel */
.support,
.support h1,
.support h2,
.support h3,
.support p,
.support label,
.support span {
  color: rgba(255,255,255,0.88);
}

/* Fallback if overflow: clip isn't supported (optional) */
@supports not (overflow: clip) {
  .support { overflow: hidden; }
}

.support.is-open {
  max-height: 1200px;             /* must be larger than the panel content */
  opacity: 1;
  transform: translateY(0);
}

/* Inner spacing */
.support__inner {
  max-width: 820px;
  padding: 24px 0;                /* moved from .support */
}

/* Typography + spacing */
.support__title { margin: 0 0 8px; }
.support__hint { margin: 0 0 16px; opacity: .85; }

/* Form layout */
.support__form { margin: 0; }

.support__row {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.support__label {
  font-size: 14px;
  opacity: .9;
}

/* Inputs */
.support__input,
.support__textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,0.92);
  outline: none;
}

.support__input::placeholder,
.support__textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

.support__input:focus,
.support__textarea:focus {
  border-color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,.24);
}

/* Actions */
.support__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.support__btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

.support__btn:hover {
  background: rgba(255,255,255,.12);
}

.support__btn--ghost {
  background: transparent;
}

.support__btn--ghost:hover {
  background: rgba(255,255,255,.06);
}

.support__status { font-size: 14px; opacity: .85; }
.support__micro {
  margin-top: 12px;
  font-size: 13px;
  opacity: .75;
  color: rgba(255,255,255,0.85);
}

