/* ============================================================
   Make A Day Brighter — Global Styles
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sun: #FFD500;
  --amber: #FFB300;
  --orange: #FF8C42;
  --coral: #FF6B6B;
  --sky: #2AABE2;
  --deep: #1A7BB5;
  --ink: #1E2A3A;
  --ink-soft: #47586E;
  --cream: #FFFDF6;
  --white: #FFFFFF;
  --grad-sun: linear-gradient(135deg, #FFD500 0%, #FF8C42 100%);
  --grad-warm: linear-gradient(135deg, #FFD500 0%, #FF8C42 55%, #FF6B6B 100%);
  --grad-sky: linear-gradient(135deg, #2AABE2 0%, #1A7BB5 100%);
  --grad-hero: linear-gradient(160deg, #FFFDF6 0%, #FFF6D6 45%, #FFE9C2 100%);
  --shadow-sm: 0 4px 14px rgba(30, 42, 58, 0.08);
  --shadow-md: 0 12px 34px rgba(30, 42, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 42, 58, 0.16);
  --radius: 20px;
  --radius-lg: 28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 14px 0;
}
.nav.scrolled {
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 52px; width: auto; transition: height .3s; }
.nav.scrolled .nav-brand img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  position: relative; transition: color .25s;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 3px; width: 0;
  background: var(--grad-warm); border-radius: 3px; transition: width .3s ease;
}
.nav-links a:not(.btn):hover { color: var(--orange); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.7rem; color: var(--ink); line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.97); }
.btn-sun {
  background: var(--grad-warm); color: var(--ink);
  box-shadow: 0 10px 26px rgba(255, 140, 66, 0.35);
}
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 140, 66, 0.45); }
.btn-sky { background: var(--grad-sky); color: #fff; box-shadow: 0 10px 26px rgba(42, 171, 226, 0.35); }
.btn-sky:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(42, 171, 226, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,.75); color: var(--ink);
  border: 2px solid rgba(30,42,58,.12); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: .9rem; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.tag {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: rgba(255, 213, 0, 0.18); color: #A66A00;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.tag.blue { background: rgba(42,171,226,.14); color: var(--deep); }
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.hand { font-family: 'Caveat', cursive; }
.hl { background: linear-gradient(transparent 58%, rgba(255,213,0,.55) 58%); padding: 0 4px; border-radius: 4px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative;
  background: var(--grad-hero); overflow: hidden; padding: 140px 0 80px;
}
.hero::before {
  content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,0,.5) 0%, rgba(255,213,0,0) 65%);
  top: -420px; right: -260px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,226,.22) 0%, rgba(42,171,226,0) 65%);
  bottom: -380px; left: -240px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(255,179,0,.4);
  border-radius: 999px; font-weight: 600; font-size: .88rem; color: #8a5a00;
  box-shadow: var(--shadow-sm); margin-bottom: 26px; backdrop-filter: blur(6px);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,140,66,.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,140,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,140,66,0); }
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--amber), var(--orange) 45%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.float-chip {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 18px;
  box-shadow: var(--shadow-md); font-weight: 700; font-size: .92rem;
  display: flex; align-items: center; gap: 8px; animation: floaty 5s ease-in-out infinite;
}
.float-chip.a { top: -18px; left: -14px; }
.float-chip.b { bottom: -16px; right: -10px; animation-delay: 2.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--ink-soft); font-size: 1.4rem; animation: floaty 2.4s ease-in-out infinite; z-index: 2;
}

/* particles */
.particle {
  position: absolute; bottom: -40px; z-index: 1; pointer-events: none; opacity: 0;
  animation: rise linear forwards;
}
@keyframes rise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: .85; }
  85% { opacity: .5; }
  100% { transform: translateY(-105vh) rotate(50deg); opacity: 0; }
}

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 5; margin-top: -58px;
}
.stats-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 34px 18px; text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 1px;
  background: rgba(30,42,58,.09);
}
.stat .num {
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-art { position: relative; }
.about-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.05rem; }
.about-sign { font-family: 'Caveat', cursive; font-size: 1.7rem; color: var(--orange); margin-top: 10px; }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, #FFFDF6 0%, #F2FAFE 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 42px 32px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step .n {
  position: absolute; top: 18px; right: 24px; font-size: 3.4rem; font-weight: 800;
  color: rgba(30,42,58,.06);
}
.step .ico {
  width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center;
  justify-content: center; font-size: 1.9rem; margin-bottom: 22px; background: rgba(255,213,0,.16);
}
.step:nth-child(2) .ico { background: rgba(255,140,66,.14); }
.step:nth-child(3) .ico { background: rgba(42,171,226,.13); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Brightener promo ---------- */
.promo {
  background: var(--grad-sky); border-radius: var(--radius-lg); color: #fff;
  padding: 64px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.promo::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,0,.35) 0%, transparent 68%);
  top: -200px; right: -140px;
}
.promo h2 { color: #fff; }
.promo p { color: rgba(255,255,255,.88); margin-bottom: 26px; font-size: 1.05rem; }
.promo .mini-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-lg); transform: rotate(2.5deg); position: relative; z-index: 2;
}
.promo .mini-card .mc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.promo .mini-card img { height: 46px; width: auto; }
.promo .mini-card .hand { font-size: 1.55rem; line-height: 1.35; color: var(--ink); }
.promo .mini-card .from { margin-top: 14px; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Wall ---------- */
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wall-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  border-top: 4px solid var(--sun);
}
.wall-card:nth-child(3n+2) { border-top-color: var(--sky); }
.wall-card:nth-child(3n) { border-top-color: var(--coral); }
.wall-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wall-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 20px; }
.wall-foot { display: flex; align-items: center; gap: 12px; }
.wall-ava {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: #fff; background: var(--grad-sun); font-size: .9rem;
}
.wall-card:nth-child(3n+2) .wall-ava { background: var(--grad-sky); }
.wall-card:nth-child(3n) .wall-ava { background: linear-gradient(135deg, #FF6B6B, #FF8C42); }
.wall-foot .who .nm { font-weight: 700; font-size: .95rem; }
.wall-foot .who .loc { color: var(--ink-soft); font-size: .82rem; }
.wall-note { text-align: center; margin-top: 34px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Kit ---------- */
.kit { background: linear-gradient(180deg, #F2FAFE 0%, #FFFDF6 100%); }
.kit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.kit-art img {
  border-radius: 50%; box-shadow: var(--shadow-lg); background: #fff;
  animation: floaty 6s ease-in-out infinite;
}
.kit-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 14px; }
.kit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.kit-list li strong { color: var(--ink); }
.kit-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,213,0,.25);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 3px;
}
.kit-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Share ---------- */
.share { text-align: center; }
.follow-strip {
  margin-top: 34px; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.follow-strip span { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.btn-fb {
  background: #1877F2; color: #fff; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 26px rgba(24, 119, 242, 0.35);
}
.btn-fb:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(24, 119, 242, 0.45); }
.hashtag {
  font-family: 'Caveat', cursive; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 10px 0 34px;
}
.share-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.share-btns .btn { font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.78); margin-bottom: 22px; }
.contact-info a.mail { color: var(--sun); font-weight: 600; text-decoration: none; }
.story-form-wrap { max-width: 640px; margin: 56px auto 0; text-align: center; }
.story-form-wrap h3 { font-size: 1.3rem; margin-bottom: 8px; }
.story-form-wrap > p { color: var(--ink-soft); margin-bottom: 24px; }
.story-form { text-align: left; }
.story-consent {
  display: flex; align-items: center; gap: 10px; color: var(--ink-soft);
  font-size: .92rem; cursor: pointer;
}
.story-consent input { width: 18px; height: 18px; accent-color: var(--orange); }
.cform { display: grid; gap: 16px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform input, .cform textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; font-family: inherit; font-size: .97rem;
  transition: border-color .25s, background .25s;
}
.cform input::placeholder, .cform textarea::placeholder { color: rgba(255,255,255,.45); }
.cform input:focus, .cform textarea:focus {
  outline: none; border-color: var(--sun); background: rgba(255,255,255,.11);
}
.form-status { font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #8BE38B; }
.form-status.err { color: #FF9B9B; }

/* ---------- Footer ---------- */
footer { background: #16202D; color: rgba(255,255,255,.72); padding: 54px 0 40px; text-align: center; }
footer img { height: 74px; width: auto; margin: 0 auto 14px; background: #fff; border-radius: 50%; padding: 8px; }
footer .fbrand { font-family: 'Caveat', cursive; font-size: 1.6rem; color: var(--sun); }
footer p { font-size: .92rem; margin-top: 8px; }
footer a { color: rgba(255,255,255,.72); }
footer a:hover { color: var(--sun); }
footer .fsocial { margin: 18px 0 6px; }
footer .fsocial a {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: border-color .25s, color .25s, transform .25s;
}
footer .fsocial a:hover { border-color: var(--sun); transform: translateY(-2px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .kit-art img, .hero-scroll { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero-inner, .about-grid, .kit-grid, .contact-grid, .promo { grid-template-columns: 1fr; }
  .promo { padding: 40px 28px; }
  .steps, .wall-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 90px 30px 34px;
    background: rgba(255,253,246,.98); backdrop-filter: blur(16px);
    flex-direction: column; gap: 22px; transform: translateY(-110%);
    transition: transform .35s ease; box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; z-index: 1002; }
  .cform .row { grid-template-columns: 1fr; }
}
