/* IMAKE • Landing Page Polish
   Install alongside index.php. Changes appearance only; does not alter the
   original six-image slideshow, login state, greetings or builder navigation.
   Main palette matches assets/css/style.css (Cake Builder). */
:root {
  --lp-berry:#963757;
  --lp-rose:#ca4a75;
  --lp-pink:#f2b7c9;
  --lp-blush:#fceaf0;
  --lp-cream:#fff9f4;
  --lp-chocolate:#3a2029;
  --lp-border:#eac8d3;
  --lp-gold:#d6aa4b;
}
html {scroll-behavior:smooth}
body {background:linear-gradient(140deg,#fffaf6 0%,#fff4f6 50%,#fff9f4 100%)}
body, .hero, .home-content {min-width:0}
.topbar {height:7px;background:linear-gradient(90deg,#522532 0%,#a33865 28%,#d69caf 55%,#923459 78%,#47232e 100%)}
header.site {
  position:relative;z-index:10;
  min-height:76px;padding:12px clamp(18px,3.4vw,56px);
  background:rgba(255,251,248,.97);
  border-bottom:1px solid #e9c7d1;
  box-shadow:0 5px 22px rgba(63,29,42,.085);
}
header.site::after {
  content:"";position:absolute;bottom:0;left:0;right:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#e5a2b8 28%,#d7ac6c 50%,#e5a2b8 72%,transparent);
  opacity:.7;
}
a.wordmark {padding:4px 9px 4px 0;transition:transform .22s ease}
a.wordmark:hover {transform:translateY(-1px)}
.wordmark {font-weight:900;letter-spacing:2px;color:var(--lp-chocolate);font-size:1.65rem}
.wordmark .cake {filter:drop-shadow(0 2px 2px rgba(150,55,87,.13))}
header .right {gap:clamp(6px,1.3vw,18px)}
header .right>a {
  padding:9px 14px;border:1px solid transparent;border-radius:100px;
  color:var(--lp-berry);font-size:.91rem;font-weight:750;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
header .right>a:hover {color:var(--lp-berry);background:#fff0f5;border-color:#f0cad7}
header .right>a:first-child {background:#fff0f4;border:1px solid #f3d3dd}
header .right>a:first-child:hover {background:#fce1eb;box-shadow:0 4px 12px rgba(150,55,87,.09)}
.header-cake-hello {
  border:1px solid #eec5d5;max-width:220px;background:linear-gradient(135deg,#fff1f5,#fce5ee);
  box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(150,55,87,.08);
}
a:focus-visible,button:focus-visible {outline:3px solid #b33e72;outline-offset:3px}

/* A framed, full-width photographic slideshow remains behind the hero. */
.hero {
  isolation:isolate;margin:16px clamp(10px,1.6vw,26px) 0;
  min-height:685px;padding:44px 24px 72px;
  border:4px solid #fff7f2;border-radius:30px;
  box-shadow:0 0 0 1px #e7c6d1,0 20px 45px rgba(72,28,43,.20);
  background:#482732;
}
.slides,.hero-scrim,.slide {border-radius:26px}
.slide {background-position:center center}
.hero-scrim {
  background:
    linear-gradient(180deg,rgba(42,21,31,.39),rgba(58,24,35,.20) 42%,rgba(42,17,30,.65)),
    radial-gradient(ellipse at 50% 46%,rgba(75,25,45,.18),rgba(40,15,28,.31) 85%);
}
.hero::before {
  content:"";position:absolute;inset:15px;pointer-events:none;z-index:2;
  border:1px solid rgba(255,248,241,.48);border-radius:17px;
  box-shadow:inset 0 0 0 5px rgba(255,246,248,.045);
}
.hero::after {
  content:"";position:absolute;z-index:2;pointer-events:none;
  inset:27px;border:1px solid rgba(238,195,209,.20);border-radius:11px;
}
.hero-ornament {
  position:absolute;z-index:3;top:50%;font-size:1.6rem;color:rgba(255,244,232,.78);
  text-shadow:0 0 22px rgba(255,240,200,.55);pointer-events:none;
}
.hero-ornament--left {left:5%}
.hero-ornament--right {right:5%}
.hero-inner {
  max-width:640px;padding:25px 46px 38px;
  border:2px solid rgba(255,238,242,.6);border-radius:27px;
  background:linear-gradient(150deg,rgba(89,42,60,.39),rgba(56,20,37,.38));
  box-shadow:inset 0 0 0 1px rgba(255,250,248,.13),0 20px 58px rgba(39,15,26,.25);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.hero-eyebrow {
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin:0 0 15px;color:#ffe9df;letter-spacing:.19em;font-size:.70rem;font-weight:900;
  text-shadow:0 2px 7px rgba(48,20,33,.55);
}
.hero-eyebrow span {font-size:1rem;color:#f7d29a}
.logo-badge {
  width:160px;height:160px;margin-bottom:20px;
  border:6px solid #fffbf8;
  outline:2px solid #f0c2d2;outline-offset:5px;
  background:radial-gradient(circle,#fff 53%,#fff4f6);
  box-shadow:0 10px 30px rgba(39,13,27,.32),inset 0 0 0 1px #f6dbe4;
}
.logo-badge img {width:128px;max-height:130px;object-fit:contain}
.hero h1 {
  font-size:clamp(3.7rem,6.2vw,5rem);letter-spacing:.15em;line-height:1.04;
  text-shadow:0 6px 20px rgba(35,12,24,.45);
}
.hero-divider {display:flex;align-items:center;justify-content:center;gap:12px;color:#ffe9df;margin:9px auto 0;max-width:185px}
.hero-divider::before,.hero-divider::after {content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#f1c6d6)}
.hero-divider::after {transform:rotate(180deg)}
.hero-divider span {font-size:1.02rem;color:#ffcedd}
.hero .tag {font-size:1.16rem;line-height:1.45;margin:9px 0 0;font-weight:700}
.hero .sub {
  display:table;border:1px solid rgba(255,244,240,.25);
  border-radius:100px;padding:8px 16px;margin-top:15px;
  background:rgba(255,246,241,.13);font-size:.91rem;
}
.hero-cta-row {margin-top:24px}
.cta {
  min-height:57px;padding:15px 37px;border:2px solid #fff8f3;
  background:linear-gradient(125deg,#fffaf1,#ffece2);
  color:var(--lp-berry);font-size:1.07rem;letter-spacing:.015em;
  box-shadow:0 10px 24px rgba(41,14,28,.25),inset 0 0 0 1px #f3cbd9;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.cta:hover {background:#fff;transform:translateY(-3px);box-shadow:0 16px 34px rgba(39,13,27,.35)}
.cta .arrow {display:inline-grid;place-items:center;width:28px;height:28px;
  border-radius:50%;background:#f7dce7;color:var(--lp-berry);font-size:1.1rem;
  transition:transform .2s ease}
.cta:hover .arrow {transform:translateX(3px)}
.dots {
  bottom:16px;gap:12px;padding:11px 16px;
  border:1px solid rgba(255,255,255,.33);border-radius:100px;
  background:rgba(59,27,43,.45);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  box-shadow:0 5px 18px rgba(35,14,25,.18)
}
.dots button {width:10px;height:10px;border:1.6px solid #fff8f0;opacity:.9}
.dots button.active {background:#fff3ee;box-shadow:0 0 0 3px rgba(242,183,201,.25)}
.hero-scallop {height:24px;margin:0 22px;background:radial-gradient(circle at 12px 0,#fff0f5 12px,transparent 12.8px) repeat-x 0 0/24px 24px;opacity:.92}

/* Existing How It Works section gets distinct pastry-like cards and borders. */
.home-content {background:transparent}
.section-wrap {width:min(1180px,calc(100% - 42px))}
.how-section {padding:28px 0 45px;background:transparent}
.how-card {
  position:relative;overflow:hidden;
  border:2px solid #f1cfdb;border-radius:29px;padding:35px 40px 39px;
  background:linear-gradient(150deg,#fffdfa 0%,#fff7f9 100%);
  box-shadow:0 15px 35px rgba(96,40,61,.10),inset 0 0 0 5px #fff;
}
.how-card::before {
  content:"";height:5px;position:absolute;top:0;left:12%;right:12%;border-radius:0 0 12px 12px;
  background:linear-gradient(90deg,transparent,#d895af,#cba06c,#d895af,transparent);
}
.eyebrow {color:var(--lp-berry)}
.section-title {letter-spacing:-.018em}
.title-heart {margin-top:12px}
.title-heart::before,.title-heart::after {height:1.5px;background:#e7adc1}
.how-steps {gap:18px;margin-top:36px}
.how-steps::before {top:52px;border-top:2px dashed #eed2dc}
.how-step {
  border:1px solid #f0dbe2;border-radius:20px;
  background:linear-gradient(150deg,rgba(255,255,255,.94),rgba(255,247,249,.95));
  padding:19px 12px 22px;box-shadow:0 5px 17px rgba(100,42,63,.045);
  transition:transform .23s ease,box-shadow .23s ease,border-color .23s ease;
}
.how-step:hover {transform:translateY(-5px);border-color:#e6b6c7;box-shadow:0 12px 24px rgba(100,42,63,.10)}
.step-visual {width:100px;height:90px;background:radial-gradient(circle at 45% 32%,#fff7fa,#f9d9e5);border:1px solid #f0cad7;margin-bottom:10px}
.step-number {width:34px;height:34px;left:-7px;top:-8px;border:2px solid #fff8f5;font-size:1rem}
.how-step h3 {font-size:1.05rem}
.how-step p {font-size:.86rem}

/* About area: a cake-pink editorial panel with soft gilded photo frame. */
.about-section {
  padding:58px 0;background:
    radial-gradient(circle at 7% 25%,rgba(219,149,177,.13) 0 90px,transparent 92px),
    linear-gradient(115deg,#fbe5ed 0%,#fff8f4 53%,#fce8ee 100%);
  border-top:1px solid #f0d2dc;border-bottom:1px solid #f0d2dc;
}
.about-grid {gap:32px}
.about-copy {padding:17px 0}
.about-copy .mini-rule {height:3px;width:60px;border-radius:8px;background:linear-gradient(90deg,#b94072,#e7afc0)}
.about-cake {padding:12px 13px 17px}
.about-cake::before {
  content:"";position:absolute;inset:8px 6px 12px;border:2px solid #f6d7e0;
  border-radius:35px;box-shadow:inset 0 0 0 7px rgba(255,252,248,.7);
}
.about-cake img {border:6px solid #fffdfb;border-radius:28px;outline:1px solid #e9b7c6;box-shadow:0 18px 32px rgba(80,38,53,.16)}
.feature-list {padding:10px 22px;background:rgba(255,255,255,.79);border:1px solid #ebc9d5;border-radius:24px;box-shadow:0 10px 25px rgba(95,38,57,.06)}
.feature {grid-template-columns:55px 1fr;gap:12px}
.feature-icon {width:52px;height:52px;border:1px solid #f0ccd7;background:#fff3f7}
.feature-icon svg {width:29px;height:29px}

/* Photo gallery: premium blush cards without changing images or copy. */
.popular-section {padding:54px 0 70px;background:linear-gradient(180deg,#fffaf7,#fff5f8)}
.popular-head {margin-bottom:28px}
.creation-grid {gap:17px}
.creation-card {
  border:2px solid #f1d7df;border-radius:19px;background:#fff;
  box-shadow:0 8px 20px rgba(80,38,53,.08);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.creation-card:hover {transform:translateY(-5px);border-color:#dfaabf;box-shadow:0 16px 30px rgba(80,38,53,.14)}
.creation-card img {height:162px;transition:transform .4s ease}
.creation-card:hover img {transform:scale(1.045)}
.creation-info {padding:14px 9px 18px;border-top:1px solid #f4dde6}
.creation-info h3 {font-size:.87rem;color:var(--lp-chocolate)}
.creation-price {color:var(--lp-berry);font-weight:800}
.customer-reviews {border-top:2px solid #f0cbd7}

/* Keep the whole hero (logo, heading, subtitle, CTA) centered on every viewport. */
@media (max-width:980px) {
  .hero {min-height:660px}
  .about-grid {gap:25px}
  .creation-grid {gap:12px}
  .creation-card img {height:190px}
}
@media (max-width:720px) {
  header.site {min-height:65px;padding:10px 15px}
  .wordmark {font-size:1.36rem}
  header .right>a {padding:8px 10px}
  .hero {margin:10px 9px 0;padding:30px 15px 60px;min-height:620px;border-radius:23px;border-width:3px}
  .slides,.hero-scrim,.slide {border-radius:20px}
  .hero::before {inset:10px;border-radius:14px}
  .hero::after {inset:19px}
  .hero-ornament {display:none}
  .hero-inner {max-width:530px;padding:22px 22px 30px;border-radius:24px}
  .hero h1 {font-size:3.7rem;letter-spacing:.12em}
  .logo-badge {width:142px;height:142px;margin-bottom:18px}
  .logo-badge img {width:113px;max-height:115px}
  .hero-scallop {margin:0 8px}
  .how-card {padding:30px 20px}
  .how-steps {grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
  .about-section {padding:45px 0}
  .feature-list {padding:8px 17px}
  .creation-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:480px) {
  header.site {min-height:60px;gap:4px;padding:9px 9px}
  .wordmark {font-size:1.16rem;letter-spacing:1px}
  header .right {gap:4px}
  header .right>a {font-size:.72rem;padding:6px 7px}
  .header-cake-hello {max-width:28vw;font-size:.68rem;padding:6px 8px}
  .hero {min-height:575px;padding:24px 12px 60px}
  .hero-inner {padding:20px 15px 27px}
  .hero-eyebrow {font-size:.58rem;letter-spacing:.12em;gap:6px}
  .logo-badge {width:118px;height:118px;margin-bottom:15px;outline-offset:3px}
  .logo-badge img {width:94px;max-height:95px}
  .hero h1 {font-size:3.15rem;letter-spacing:.1em}
  .hero .tag {font-size:1rem}
  .hero .sub {font-size:.76rem;padding:8px 11px}
  .hero-cta-row {margin-top:20px}
  .cta {font-size:.97rem;min-height:54px;padding:11px 25px}
  .dots {padding:10px 12px;gap:11px}
  .how-card {padding:27px 13px}
  .how-steps {gap:12px}
  .how-step {padding:14px 9px 19px}
  .step-visual {width:83px;height:73px}
  .step-visual svg {width:49px;height:49px}
  .section-title {font-size:1.6rem}
  .creation-card img {height:155px}
  .creation-grid {gap:10px}
  .creation-info h3 {font-size:.77rem}
}
@media (max-width:360px) {
  .hero h1 {font-size:2.65rem}
  header .right>a {padding:6px 4px}
  .hero-inner {padding:17px 10px 23px}
  .hero-eyebrow {font-size:.5rem}
  .hero .sub {font-size:.7rem}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  .slide.active {animation:none}
  .cta,.how-step,.creation-card,.creation-card img,a.wordmark,header .right>a {transition:none}
}
