/* StickyFridge homepage — direction 1a "buzdolabı kapağı" from the Claude
   Design project (Homepage Directions, turn 2). Faithful port of the 1440
   desktop + 390 mobile comps into one fluid page. Invite/legal pages keep
   assets/style.css. */

:root {
  --bg: #0a0a0c;
  --door-top: #16161c;
  --door-mid: #0e0e13;
  --card: #15151a;
  --panel: #0f0f13;
  --banner: #111116;
  --line: #26262e;
  --line-2: #1d1d24;
  --line-strong: #33333d;
  --text: #fafaf9;
  --body-c: #d6d3d1;
  --muted: #a8a29e;
  --faint: #78716c;
  --accent: #f97316;
  --accent-hi: #fb923c;
  --accent-deep: #c2410c;
  --note-a: #fff7ed;
  --note-b: #f7ead6;
  --note-ink: #1c1917;
  --note-amber: #a16207;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2 { margin: 0; text-wrap: balance; }

@keyframes sfin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sfpin {
  0% { opacity: 0; transform: translateY(-24px); }
  65% { opacity: 1; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}

/* ================= DOOR / HERO ================= */
.door {
  position: relative;
  background: linear-gradient(180deg, var(--door-top) 0%, var(--door-mid) 62%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.door::before { /* orange breath */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 640px at 70% 36%, rgba(249, 115, 22, 0.11), transparent 62%);
}
.door::after { /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(160% 110% at 50% 0%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}
.door-edge {
  position: absolute; left: clamp(24px, 7.5vw, 108px); top: 0; bottom: 0; width: 1px;
  background: rgba(255, 255, 255, 0.05);
}
.door-top {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.door-handle {
  position: absolute; left: clamp(14px, 4.4vw, 64px); top: 170px; width: 11px; height: 340px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2c2c35, #17171d);
  border: 1px solid #30303a;
  box-shadow: 6px 10px 24px rgba(0, 0, 0, 0.5);
}

.nav {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px clamp(20px, 6vw, 88px) 0 clamp(20px, 10.5vw, 152px);
}
.wordmark { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.wordmark img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 0 18px rgba(249, 115, 22, 0.28); }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.nav-cta:hover { color: var(--text); }

.hero {
  position: relative; z-index: 1;
  display: flex; gap: 56px; align-items: center;
  padding: 88px clamp(20px, 6vw, 88px) 124px clamp(20px, 10.5vw, 152px);
}
.hero-copy { width: min(610px, 100%); flex: none; }
.hero h1 {
  font-size: clamp(45px, 5.7vw, 82px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.035em;
  animation: sfin 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  margin: 28px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65;
  color: var(--muted); max-width: 540px;
  animation: sfin 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s both;
}
.hero-cta-wrap { margin-top: 40px; animation: sfin 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s both; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 17px; padding: 17px 30px; border-radius: 16px;
  box-shadow: 0 0 44px rgba(249, 115, 22, 0.35);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn svg { flex: none; }
.cta-note { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* the pinned-note collage */
.collage { position: relative; flex: 1; height: 560px; min-width: 0; }
.pin { position: absolute; }
.pin-lift { transition: transform 0.25s; }
.pin-lift:hover { transform: translateY(-3px); }
.pin-1 { top: 6px; left: -4px; animation: sfpin 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s both; }
.pin-2 { top: 104px; left: 112px; animation: sfpin 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s both; }
.pin-3 { bottom: 128px; left: 56px; animation: sfpin 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) 0.75s both; }
.pin-4 { bottom: -10px; right: 26px; animation: sfpin 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) 0.55s both; }

.snote {
  position: relative;
  background: linear-gradient(165deg, var(--note-a), var(--note-b));
  border-radius: 5px; color: var(--note-ink);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  width: 168px; padding: 16px 18px 20px;
}
.snote .t { font-size: 19px; font-weight: 700; }
.snote .d { margin-top: 5px; font-size: 14px; font-weight: 600; color: var(--note-amber); }
.magnet {
  position: absolute; top: -13px; left: 50%; margin-left: -14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb26b, var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}
.magnet.gray { background: radial-gradient(circle at 35% 30%, #8b8b96, #4a4a55 60%, var(--line)); box-shadow: 0 4px 9px rgba(0, 0, 0, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.3); }

.bignote {
  position: relative; width: 322px; padding: 26px 28px 30px;
  background: linear-gradient(160deg, var(--note-a) 0%, #fdf1e0 70%, #f5e6cf 100%);
  border-radius: 6px; color: var(--note-ink);
  transform: rotate(-2.5deg);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55);
}
.bignote::after { /* folded corner */
  content: ""; position: absolute; right: 0; bottom: 0; width: 30px; height: 30px;
  background: linear-gradient(315deg, #0d0d11 50%, #ecd9bd 50%, #f8ecd9 100%);
  border-radius: 0 0 6px 0;
}
.bignote .magnet { top: -16px; margin-left: -17px; width: 34px; height: 34px; }
.bignote-head { display: flex; align-items: baseline; justify-content: space-between; }
.bignote-head .t { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; }
.bignote-head .w { font-size: 12px; font-weight: 600; color: var(--faint); }
.bignote .day { margin-top: 2px; font-size: 74px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.week-row { display: flex; gap: 7px; margin-top: 10px; }
.week-row .c {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent); color: var(--note-a);
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.week-row .c.miss { background: transparent; border: 1.5px dashed #d3c3a4; }
.week-row .c.today { background: transparent; border: 1.5px solid var(--accent); }

.reaction-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 10px 18px 10px 10px;
  transform: rotate(2deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(249, 115, 22, 0.12);
}
.reaction-pill .av {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--note-a); color: var(--note-ink);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.reaction-pill .n { font-size: 15px; font-weight: 600; }
.reaction-pill .e { font-size: 20px; line-height: 1; }

/* ================= SECTIONS ================= */
.sec { padding: 104px clamp(20px, 8.3vw, 120px) 110px; }
.sec + .sec, .sec.bordered { border-top: 1px solid var(--line-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.sec h2 { margin: 16px 0 0; font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; max-width: 760px; }
.sec h2.big { font-size: clamp(34px, 4vw, 58px); letter-spacing: -0.04em; line-height: 1.06; max-width: 900px; }

/* steps */
.steps { display: flex; gap: 40px; margin-top: 68px; }
.step {
  flex: 1; position: relative; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 52px 28px 36px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s;
}
.step:hover { border-color: #3a3a44; }
.step:nth-child(1) { transform: rotate(-1deg); }
.step:nth-child(2) { transform: rotate(0.7deg); }
.step:nth-child(3) { transform: rotate(-0.5deg); }
.step-magnet {
  position: absolute; top: -18px; left: 50%; margin-left: -18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb26b, var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5), inset 0 -2px 5px rgba(0, 0, 0, 0.25);
  color: var(--bg); font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-visual { display: flex; justify-content: center; gap: 8px; height: 34px; align-items: center; }
.mini-chip {
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.mini-chip.hot { border-color: var(--accent); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.avatar.dim { background: var(--line); border: 1.5px solid #3a3a44; color: var(--muted); }
.avatar.lit { background: var(--note-a); border: 1.5px solid var(--accent); color: var(--note-ink); box-shadow: 0 0 18px rgba(249, 115, 22, 0.3); }
.dash-link { width: 36px; height: 1.5px; background: repeating-linear-gradient(90deg, #4a4a55 0 5px, transparent 5px 10px); }
.check { border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.check.s { width: 26px; height: 26px; font-size: 13px; }
.check.l { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); }
.step-title { margin-top: 22px; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }

/* neden cards */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  transition: border-color 0.2s;
}
.why-card:hover { border-color: #3a3a44; }
.why-stage {
  position: relative; height: 168px; border-radius: 16px; background: var(--panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  overflow: hidden;
}
.why-title { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.photo-mini {
  width: 150px; background: #1a1a21; border: 1px solid #2c2c35; border-radius: 14px; padding: 8px;
  transform: rotate(-2deg); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.photo-mini .ph {
  position: relative; height: 84px; border-radius: 9px;
  background: linear-gradient(160deg, #2b2b34, #191920);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.photo-mini .badge {
  position: absolute; left: 6px; bottom: 6px;
  background: rgba(10, 10, 12, 0.78); border-radius: 6px; padding: 3px 7px;
  font-size: 10px; font-weight: 700; color: var(--text);
}
.photo-mini .meta { display: flex; justify-content: space-between; margin-top: 7px; padding: 0 3px 2px; font-size: 10px; font-weight: 600; }
.photo-mini .meta span:last-child { color: var(--muted); }
.emoji-row { display: flex; gap: 8px; }
.emoji-pill { background: #1a1a21; border: 1px solid #2c2c35; border-radius: 999px; padding: 7px 13px; font-size: 16px; }
.emoji-pill.hot { background: rgba(249, 115, 22, 0.14); border-color: rgba(249, 115, 22, 0.45); }
.mini-reaction {
  display: flex; align-items: center; gap: 9px;
  background: #1a1a21; border: 1px solid #2c2c35; border-radius: 999px;
  padding: 8px 16px 8px 8px; transform: rotate(-1.5deg);
}
.mini-reaction .av { width: 26px; height: 26px; border-radius: 50%; background: var(--note-a); color: var(--note-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mini-reaction .n { font-size: 13px; font-weight: 600; }
.mini-reaction .e { font-size: 16px; line-height: 1; }
.grid-row { display: flex; gap: 7px; }
.grid-row .g { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); }
.grid-row .g.miss { background: transparent; border: 1.5px dashed #3a3a44; }
.score { font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }

/* templates */
.tchips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tchip {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 24px; font-size: 16px; font-weight: 600;
  transition: border-color 0.2s;
}
.tchip:hover { border-color: var(--accent); }
.ai-banner {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center;
  margin-top: 44px; background: var(--banner); border: 1px solid var(--line);
  border-radius: 24px; padding: 44px 48px;
}
.ai-banner p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--body-c); }
.ai-banner p strong { color: var(--text); font-weight: 700; }
.ai-demo { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.ai-photo {
  width: 104px; height: 104px; border-radius: 18px;
  background: linear-gradient(160deg, #2b2b34, #191920); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.ai-arrow { font-size: 20px; color: var(--muted); }
.ai-kcal {
  background: rgba(249, 115, 22, 0.14); border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 14px; padding: 12px 18px;
  font-size: 18px; font-weight: 800; color: var(--accent); white-space: nowrap;
}

/* social proof */
.proof-sec { text-align: center; }
.rating-big { font-size: clamp(62px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rating-stars { margin-top: 14px; font-size: clamp(21px, 2vw, 26px); letter-spacing: 6px; color: var(--accent); }
.rating-cap { margin-top: 12px; font-size: 18px; font-weight: 600; color: var(--muted); }
.review-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 56px; margin-top: 64px; }
.review-lift { transition: transform 0.25s; }
.review-lift:hover { transform: translateY(-4px); }
.review-note {
  position: relative; width: min(330px, 86vw); padding: 30px 30px 26px; text-align: left;
  background: linear-gradient(165deg, var(--note-a), var(--note-b));
  border-radius: 6px; color: var(--note-ink);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.5);
}
.review-note::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  background: linear-gradient(315deg, var(--bg) 50%, #ecd9bd 50%, #f8ecd9 100%);
  border-radius: 0 0 6px 0;
}
.review-note .magnet { top: -14px; margin-left: -15px; width: 30px; height: 30px; }
.review-note .stars { font-size: 14px; letter-spacing: 3px; color: var(--accent-deep); }
.review-note .quote { margin-top: 12px; font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.review-note .who { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--faint); }
.rot-l { transform: rotate(-2deg); }
.rot-r { transform: rotate(1.5deg); }

/* closing */
.closing {
  position: relative; text-align: center;
  padding: 150px clamp(20px, 8.3vw, 120px) 140px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg) 0%, #101015 100%);
  overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 420px at 50% 62%, rgba(249, 115, 22, 0.13), transparent 70%);
}
.closing > * { position: relative; }
.closing h2 { font-size: clamp(40px, 4.9vw, 70px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.closing h2 span { color: var(--accent); }
.closing .btn { margin-top: 44px; box-shadow: 0 0 44px rgba(249, 115, 22, 0.4); }
.closing .free-note { margin-top: 22px; font-size: 16px; font-weight: 500; color: var(--muted); }

/* footer */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 34px clamp(20px, 8.3vw, 120px);
  border-top: 1px solid var(--line-2);
}
.foot-mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.foot-note {
  width: 18px; height: 18px; background: var(--note-a); border-radius: 3px;
  transform: rotate(-5deg);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; font-weight: 500; color: var(--muted); }
.foot-links a { transition: color 0.15s; }
.foot-links a:hover { color: var(--text); }

/* reveal (added via JS only) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }

/* ================= responsive ================= */
@media (max-width: 980px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 0; }
  .door-handle, .door-edge { display: none; }
  .nav { padding: 18px 20px 0; }
  .wordmark { font-size: 16px; }
  .wordmark img { width: 36px; height: 36px; border-radius: 9px; }
  .nav-cta.text { display: none; }
  .nav-cta.round {
    display: flex; width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: var(--bg);
    align-items: center; justify-content: center;
  }
  .hero { padding: 48px 24px 0; }
  .hero-cta-wrap { width: 100%; }
  .hero-cta-wrap .btn { display: flex; width: 100%; }
  .cta-note { text-align: center; }
  .collage { width: 100%; flex: none; height: 392px; margin-top: 20px; }
  .pin-1 { top: 26px; left: 14px; }
  .pin-2 { top: 56px; left: max(104px, calc(100% - 260px)); }
  .pin-3 { bottom: 74px; left: 22px; }
  .pin-4 { bottom: 18px; right: 16px; }
  .snote { width: 118px; padding: 12px 14px 15px; }
  .snote .t { font-size: 15px; }
  .snote .d { font-size: 12px; }
  .bignote { width: 236px; padding: 20px 22px 24px; }
  .bignote-head .t { font-size: 18px; }
  .bignote .day { font-size: 52px; }
  .week-row { gap: 5px; margin-top: 8px; }
  .week-row .c { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
  .sec { padding: 64px 24px 68px; }
  .steps { flex-direction: column; gap: 42px; margin-top: 52px; }
  .step { transform: none !important; }
  .why { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .why-stage { height: 140px; }
  .ai-banner { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .ai-demo { justify-content: flex-start; }
  .ai-photo { width: 78px; height: 78px; font-size: 31px; border-radius: 15px; }
  .review-notes { flex-direction: column; align-items: center; gap: 38px; margin-top: 48px; }
  .review-note .quote { font-size: 23px; }
  .closing { padding: 84px 24px 80px; }
  footer { flex-direction: column; gap: 12px; }
  .foot-links { gap: 18px; }
}

@media (max-width: 979.9px) { .nav-cta.round { display: flex; } }
@media (min-width: 980px) { .nav-cta.round { display: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* v1.1: footer app icon + full review bodies */
.foot-icon { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 10px rgba(249, 115, 22, 0.25); }
.review-note .body { margin: 12px 0 0; font-size: 15px; line-height: 1.6; font-weight: 500; color: #57534e; }
