:root {
  --primary: #fe2c55;
  --primary-dark: #d81742;
  --accent: #25f4ee;
  --ink: #15141b;
  --muted: #6d6875;
  --surface: #ffffff;
  --surface-soft: #faf9fb;
  --line: #ece9ef;
  --footer: #0d0c12;
  --shadow-sm: 0 12px 30px rgba(21, 20, 27, .08);
  --shadow-lg: 0 30px 76px rgba(254, 44, 85, .18);
}

* { box-sizing: border-box; }
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, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; }
a { transition: color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.alload-navbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  background: rgba(13, 12, 18, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}

.nav-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.alload-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--accent), #24232a 42%, var(--primary) 78%); box-shadow: -5px -2px 18px rgba(37,244,238,.2), 6px 8px 22px rgba(254,44,85,.34); font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a { padding: .62rem .85rem; color: rgba(255,255,255,.7); font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.hero-section { position: relative; overflow: hidden; padding: 92px 0 104px; text-align: center; background: radial-gradient(circle at 50% -10%, #ffe3eb 0, #f8fbfc 34%, #fff 72%); }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none; background-image: linear-gradient(rgba(254,44,85,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(37,244,238,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 76%); }
.hero-content { position: relative; z-index: 1; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .68; pointer-events: none; }
.hero-orb-one { width: 300px; height: 300px; top: 7%; left: -175px; background: rgba(37,244,238,.16); }
.hero-orb-two { width: 250px; height: 250px; right: -110px; bottom: 4%; background: rgba(254,44,85,.15); }
.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(254,44,85,.16); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 8px 24px rgba(254,44,85,.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; text-align: left; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.85); 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) { margin-top: .15rem; color: var(--muted); font-size: .84rem; }
.download-icon { display: inline-grid; flex: 0 0 42px; height: 42px; place-items: center; color: var(--primary); background: #fff0f3; border-radius: 13px; }
.download-input { display: flex; gap: .7rem; padding: .5rem; border: 1px solid #e5e0e7; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(21,20,27,.06); transition: border-color .2s ease, box-shadow .2s ease; }
.download-input:focus-within { border-color: rgba(254,44,85,.5); box-shadow: 0 0 0 4px rgba(254,44,85,.09), 0 12px 30px rgba(21,20,27,.08); }
.download-input input { min-width: 0; flex: 1; height: 52px; padding: .65rem .85rem; border: 0; border-radius: 12px; outline: 0; color: var(--ink); background: #fff; font: inherit; }
.download-input input::placeholder { color: #9a949f; }
.btn-search, .btn-media-download { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.25rem; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #ff5274, var(--primary) 58%, var(--primary-dark)); box-shadow: 0 13px 28px rgba(254,44,85,.28); font: inherit; font-weight: 750; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn-search:hover, .btn-search:focus, .btn-media-download:hover, .btn-media-download:focus { transform: translateY(-2px); box-shadow: 0 17px 35px rgba(254,44,85,.36); }
.btn-search:disabled { opacity: .64; cursor: wait; transform: none; }
.form-help { display: block; margin: .75rem .45rem 0; color: var(--muted); font-size: .82rem; }
.error { margin-top: 1.25rem; padding: .95rem 1rem; color: #a41332; border: 1px solid #fecdd6; border-radius: 14px; background: #fff1f3; }

.result { margin-top: 1.5rem; padding-top: 1.5rem; text-align: center; border-top: 1px solid var(--line); }
.result-kicker { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; color: #168f8b; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.media-preview { overflow: hidden; max-width: 370px; margin: 0 auto; border-radius: 18px; background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.media-preview img { display: block; width: 100%; max-height: 430px; object-fit: contain; }
.username { margin: 1rem 0 .35rem; font-weight: 800; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .85rem; }
.btn-media-download { min-height: 48px; box-shadow: 0 12px 22px rgba(254,44,85,.25), 0 22px 44px rgba(254,44,85,.2), 0 0 0 5px rgba(254,44,85,.06); }
.btn-media-download.nowm { color: #111217; background: linear-gradient(135deg, #7cfff9, var(--accent) 62%, #13d6d0); box-shadow: 0 12px 22px rgba(37,244,238,.22), 0 22px 44px rgba(20,184,178,.2), 0 0 0 5px rgba(37,244,238,.08); }
.btn-media-download.nowm:hover, .btn-media-download.nowm:focus { box-shadow: 0 15px 28px rgba(37,244,238,.28), 0 28px 54px rgba(20,184,178,.24), 0 0 0 6px rgba(37,244,238,.1); }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 1.25rem 0 0; color: var(--muted); font-size: .82rem; }

.feature-section, .instructions { padding: 96px 0; }
.section-heading { max-width: 660px; margin: 0 auto 2.8rem; text-align: center; }
.section-heading h2, .instructions h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.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(21,20,27,.12); }
.feature-icon { display: inline-grid; width: 50px; height: 50px; margin-bottom: 1.25rem; place-items: center; border-radius: 15px; color: var(--primary); background: #fff0f3; font-size: 1.15rem; }
.feature-card h3 { margin-bottom: .65rem; font-size: 1.25rem; }
.feature-card p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.instructions { background: var(--surface-soft); }
.instructions-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 5rem; }
.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(21,20,27,.05); }
.steps-list > li > span { display: inline-grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), #15141b 78%); font-weight: 800; box-shadow: 4px 5px 14px rgba(254,44,85,.2); }
.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; text-decoration: none; }
.footer-link:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.35rem; font-size: .82rem; }

@media (max-width: 840px) {
  .feature-grid { grid-template-columns: 1fr; }
  .instructions-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1120px); }
  .alload-navbar, .nav-inner { min-height: 68px; }
  .nav-links a:not(.active) { display: none; }
  .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-card-heading span:not(.download-icon) { display: none; }
  .download-input { flex-direction: column; }
  .download-input .btn-search { width: 100%; }
  .result-actions { flex-direction: column; }
  .btn-media-download { width: 100%; white-space: normal; }
  .privacy-note { align-items: flex-start; text-align: left; }
  .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; }
}
