/* Glucube StartLanding — styles
 * Brand: #4382FF primary, #43BCFF secondary, Lato font.
 */

:root {
  --gc-primary: #4382FF;
  --gc-primary-dark: #2c5fbf;
  --gc-secondary: #43BCFF;
  --gc-ink: #0a1f44;
  --gc-text: #1f2a44;
  --gc-muted: #6b7691;
  --gc-bg: #ffffff;
  --gc-bg-soft: #f3f7ff;
  --gc-border: #e3eaf5;
  --gc-success: #1aa56b;

  --gc-radius-sm: 8px;
  --gc-radius: 14px;
  --gc-radius-lg: 22px;
  --gc-shadow: 0 10px 30px rgba(67, 130, 255, 0.12);
  --gc-shadow-soft: 0 4px 14px rgba(10, 31, 68, 0.06);

  --gc-container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--gc-text);
  background: var(--gc-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--gc-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gc-ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--gc-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand img { height: 28px; width: auto; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gc-muted);
}
.lang-switch select {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 30px 6px 10px;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-sm);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%236b7691' d='M0 0l5 6 5-6z'/></svg>") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--gc-text);
  cursor: pointer;
}
.lang-switch select:focus {
  outline: 2px solid var(--gc-primary);
  outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 24px;
  background: linear-gradient(180deg, var(--gc-bg-soft) 0%, #ffffff 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gc-primary);
  background: rgba(67, 130, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  color: var(--gc-ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gc-muted);
  margin: 0 0 28px;
  max-width: 56ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__art {
  display: flex;
  justify-content: center;
}
.hero__art-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: var(--gc-radius-lg);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(67, 188, 255, 0.35), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(67, 130, 255, 0.45), transparent 60%),
    linear-gradient(135deg, #1c3a78 0%, #4382FF 100%);
  box-shadow: var(--gc-shadow);
  position: relative;
  overflow: hidden;
}
.hero__art-card::after {
  content: "";
  position: absolute;
  inset: 8% 14%;
  border-radius: 18px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 14px, transparent 14px 28px),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--gc-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gc-primary); outline-offset: 3px; }

.btn--primary {
  background: var(--gc-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(67, 130, 255, 0.32);
}
.btn--primary:hover { background: var(--gc-primary-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--gc-ink);
  border-color: var(--gc-border);
}
.btn--ghost:hover { background: var(--gc-bg-soft); color: var(--gc-ink); }

/* Store badges */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0a1f44;
  color: #fff;
  border-radius: var(--gc-radius);
  padding: 12px 20px;
  min-width: 200px;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.btn-store:hover {
  background: #14306b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-store__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.btn-store__label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.btn-store__label small {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-store__label strong {
  font-size: 17px;
  font-weight: 800;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--gc-bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--gc-ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section__sub {
  color: var(--gc-muted);
  font-size: 17px;
  margin: 0;
}

/* ---------- Download / QR ---------- */
.download-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-soft);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  padding: 10px;
}
.qr canvas, .qr img { width: 100% !important; height: auto !important; }
.download-card__copy { min-width: 0; }
.download-card__copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--gc-ink);
}
.download-card__copy p {
  margin: 0 0 18px;
  color: var(--gc-muted);
}
.download-card__sub--mobile { display: none; }
[data-os="ios"] .download-card__sub--desktop,
[data-os="android"] .download-card__sub--desktop { display: none; }
[data-os="ios"] .download-card__sub--mobile,
[data-os="android"] .download-card__sub--mobile { display: block; }
[data-os="ios"] .qr-wrap,
[data-os="android"] .qr-wrap { display: none; }

/* ---------- Steps ---------- */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--gc-shadow-soft);
  border-color: rgba(67, 130, 255, 0.35);
}
.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gc-primary), var(--gc-secondary));
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title {
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gc-ink);
}
.step__text {
  margin: 0;
  color: var(--gc-muted);
  font-size: 15.5px;
}

/* ---------- Help ---------- */
.help-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-secondary) 100%);
  color: #fff;
  border-radius: var(--gc-radius-lg);
  padding: 40px;
  box-shadow: var(--gc-shadow);
}
.help-card h2 { color: #fff; margin: 0 0 8px; font-size: 26px; font-weight: 900; }
.help-card p { color: rgba(255,255,255,0.9); margin: 0 0 22px; }
.help-card .btn { background: #fff; color: var(--gc-primary); }
.help-card .btn:hover { background: #f3f7ff; color: var(--gc-primary-dark); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--gc-border);
  padding: 28px 0;
  font-size: 14px;
  color: var(--gc-muted);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.site-footer a { color: var(--gc-muted); }
.site-footer a:hover { color: var(--gc-ink); }
.site-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__art-card { max-width: 280px; aspect-ratio: 1 / 1; }
  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .qr { margin: 0 auto; }
  .download-card__copy { text-align: center; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .btn-store { min-width: 0; flex: 1 1 auto; padding: 12px 14px; }
  .btn-store__label strong { font-size: 15px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
