:root {
  --primary: #0866ff;
  --primary-dark: #004ccc;
  --primary-soft: #eaf2ff;
  --ink: #101828;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #e7ebf2;
  --footer: #071225;
  --shadow-sm: 0 12px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 28px 70px rgba(8, 102, 255, .18);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.035em; }
a { transition: color .2s ease, opacity .2s ease, transform .2s ease; }

.alload-navbar {
  min-height: 76px;
  padding: .75rem 0;
  background: rgba(7, 18, 37, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(16px);
}

.alload-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff !important; font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none !important; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2b7cff, #0866ff 60%, #0345ae); box-shadow: 0 8px 22px rgba(8,102,255,.42); font-size: 1.1rem; }
.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,.7); font-size: .94rem; font-weight: 650; padding: .6rem .85rem; }
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active { color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,.2); }

.hero-section { position: relative; overflow: hidden; padding: 92px 0 104px; background: radial-gradient(circle at 50% -10%, #dceaff 0, #f5f8ff 34%, #fff 72%); }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .38; pointer-events: none; background-image: linear-gradient(rgba(8,102,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(8,102,255,.06) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 76%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; pointer-events: none; }
.hero-orb-one { width: 290px; height: 290px; top: 8%; left: -170px; background: rgba(8,102,255,.14); }
.hero-orb-two { width: 230px; height: 230px; right: -105px; bottom: 5%; background: rgba(76,154,255,.18); }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.15rem; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { padding: .62rem .9rem; border: 1px solid rgba(8,102,255,.16); border-radius: 999px; background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(8,102,255,.08); }
.hero-section h1 { max-width: 790px; margin: 0 auto 1.2rem; font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: 1.02; }
.hero-copy { max-width: 680px; margin: 0 auto 2.4rem; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }

.download-card { position: relative; max-width: 820px; margin: 0 auto; padding: 1.55rem; border: 1px solid rgba(255,255,255,.85); border-radius: 26px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.8); backdrop-filter: blur(20px); }
.download-card-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.1rem; }
.download-card-heading div { display: flex; flex-direction: column; }
.download-card-heading strong { font-size: 1rem; }
.download-card-heading span:not(.download-icon) { color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.download-icon { display: inline-grid; flex: 0 0 42px; height: 42px; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 13px; }
.download-input { display: flex; gap: .7rem; padding: .5rem; border: 1px solid #dce3ec; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.06); transition: border-color .2s ease, box-shadow .2s ease; }
.download-input:focus-within { border-color: rgba(8,102,255,.55); box-shadow: 0 0 0 4px rgba(8,102,255,.1), 0 12px 30px rgba(16,24,40,.08); }
.download-input .form-control { min-width: 0; height: 52px; padding: .65rem .85rem; border: 0; border-radius: 12px; box-shadow: none !important; color: var(--ink); font-size: 1rem; }
.download-input .form-control::placeholder { color: #98a2b3; }
.btn-blue { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .72rem 1.25rem; border: 0; border-radius: 13px; color: #fff !important; background: linear-gradient(135deg, #2d7eff, var(--primary) 58%, var(--primary-dark)); box-shadow: 0 12px 26px rgba(8,102,255,.28); font-weight: 750; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn-blue:hover, .btn-blue:focus { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(8,102,255,.36); }
.btn-blue:disabled { opacity: .62; transform: none; }
.form-help { display: block; margin: .75rem .45rem 0; color: var(--muted); }
.loading-wrap { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-top: 1.25rem; color: var(--primary); font-weight: 700; }
.loading-wrap .fa { font-size: 1.45rem; }
.alert { margin: 1.25rem 0 0; border: 0; border-radius: 14px; }
.story-container { margin-left: 0; margin-right: 0; border: 0 !important; }
.media-preview { overflow: hidden; border-radius: 18px; background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.media-preview img { width: 100%; max-height: 380px; object-fit: contain; }
.media-meta { color: var(--ink); }
.btn-media-download { box-shadow: 0 14px 34px rgba(8,102,255,.34); }

.feature-section, .instructions { padding: 96px 0; }
.feature-section { background: var(--surface); }
.section-heading { max-width: 660px; margin: 0 auto 2.8rem; }
.section-heading h2, .instructions h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.feature-card { padding: 2rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(16,24,40,.12); }
.feature-icon { display: inline-grid; width: 50px; height: 50px; margin-bottom: 1.25rem; place-items: center; border-radius: 15px; color: var(--primary); background: var(--primary-soft); font-size: 1.15rem; }
.feature-card h3 { margin-bottom: .65rem; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.instructions { background: var(--surface-soft); }
.instruction-copy { margin: 1rem 0 0; color: var(--muted); line-height: 1.75; }
.steps-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(16,24,40,.05); }
.steps-list > li > span { display: inline-grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: var(--primary); font-weight: 800; }
.steps-list strong { display: block; margin-bottom: .2rem; }
.steps-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.alload-footer { padding: 56px 0 24px; color: rgba(255,255,255,.72); background: var(--footer); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-main p { margin: 0; }
.footer-link { color: #fff; font-weight: 700; }
.footer-link:hover { color: #9cc3ff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.35rem; font-size: .82rem; }

@media (max-width: 767.98px) {
  .alload-navbar { min-height: 68px; }
  .navbar-collapse { padding-top: .8rem; }
  .hero-section { padding: 68px 0 76px; }
  .hero-section h1 { font-size: 2.45rem; }
  .hero-copy { font-size: 1rem; }
  .download-card { padding: 1.1rem; border-radius: 21px; }
  .download-input { flex-direction: column; }
  .download-input .btn { width: 100%; }
  .feature-section, .instructions { padding: 72px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
