/* Budi Organiziran — home page (shop). Loads after styles.css and planer.css. */

.h-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.h-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.h-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.h-hero__shot { position: relative; }
.h-hero__shot .frame { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.h-hero__chip { left: -24px; bottom: 12%; }

/* Featured product */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  background: var(--tinta); color: #fff;
  border-radius: 28px; padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(194, 24, 91, .55);
}
.feature__shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); transition: transform .4s var(--ease-out); }
.feature__shot img { width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) { .feature__shot:hover { transform: scale(1.015); } }
.feature__body { display: flex; flex-direction: column; gap: 18px; padding: 8px 8px 8px 0; }
.feature__body > p { color: var(--on-dark-2); font-size: 17px; }
.feature__status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #7EE2A8; }
.feature__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3FD07F; box-shadow: 0 0 0 4px rgba(63, 208, 127, .22); }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature__tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--on-dark-2); }
.feature__buy { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.feature .price__note, .feature .price__old { color: var(--on-dark-3); }
.feature .btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.feature .btn--line:hover { background: #fff; color: var(--tinta); }
.feature .btn--xl { min-height: 58px; font-size: 17px; }

/* Upcoming planners */
.soon-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: clamp(48px, 6vw, 72px) 0 20px; }
.soon-head p { color: var(--text-2); font-size: 17px; }
.soon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.soon {
  position: relative; background: #fff; border: 1px solid var(--roza-line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .soon:hover { transform: translateY(-3px); border-color: var(--malina); box-shadow: 0 18px 36px -20px rgba(194, 24, 91, .45); }
}
.soon__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--roza-2); display: grid; place-content: center; margin-bottom: 6px; }
.soon__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--malina); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soon h4 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.soon p { color: var(--text-3); font-size: 15px; line-height: 1.5; }
.soon__badge { position: absolute; top: 22px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--malina); background: var(--roza-2); padding: 4px 10px; border-radius: 999px; }
.soon--more { background: transparent; border: 2px dashed var(--roza-line); }
.soon--more .soon__icon { background: transparent; border: 2px dashed var(--roza-line); }

.waitlist {
  margin-top: 16px; background: var(--tinta); color: #fff; border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.waitlist .notify__field { flex: 1 1 240px; min-width: 0; }
.waitlist .input { width: 100%; min-width: 0; }
.waitlist .notify__label { color: var(--on-dark-2); }
.waitlist select.input { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2185B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; cursor: pointer; }
.waitlist .btn { min-height: 56px; }
.waitlist .notify__status { color: #7EE2A8; }
.waitlist .notify__status.is-error { color: #FF8FBA; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why__item { background: var(--tinta-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.why__big { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #FF6FA8; margin-bottom: 10px; }
.why__item h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.why__item p { color: var(--on-dark-2); font-size: 16px; }

@media (max-width: 1020px) {
  .h-hero__grid, .feature { grid-template-columns: 1fr; }
  .h-hero__shot .frame { transform: none; }
  .h-hero__shot .hero-video { transform: none; }
  .h-hero__chip { left: 8px; bottom: -18px; }
  .feature__body { padding: 0 6px 6px; }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .soon-grid { grid-template-columns: 1fr; }
  .waitlist .btn { width: 100%; }
}

/* ---------- Mobile polish (home) ---------- */
@media (max-width: 600px) {
  .h-hero { padding: 36px 0 56px; }
  .h-hero__copy { gap: 20px; }
  .h-hero__chip { left: 6px; bottom: -16px; font-size: 12px; }
  .feature { padding: 14px; border-radius: 22px; }
  .feature__body { gap: 14px; }
  .feature .cta-row .btn { width: 100%; }
  .soon { padding: 18px; }
  .why__item { padding: 26px 22px; }
  .why__big { font-size: 52px; }
}

/* ---------- Upcoming planners as 3D books ---------- */
.books { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 48px 32px !important; padding-top: 8px; }
.book { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.book__3d {
  --tilt: -24deg;
  position: relative; aspect-ratio: 3 / 4; margin: 0 22px 14px 4px;
  transform: perspective(1100px) rotateY(var(--tilt)) rotateX(3deg);
  transform-style: preserve-3d; transform-origin: left center;
  transition: transform .7s var(--ease-out);
}
/* page block (thickness) */
.book__3d::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; right: -16px; width: 18px;
  background: repeating-linear-gradient(90deg, #fff 0 2px, #e9e3e5 2px 3px);
  transform: rotateY(64deg); transform-origin: left center; border-radius: 0 3px 3px 0;
}
/* floor shadow */
.book__3d::after {
  content: ""; position: absolute; left: 6%; right: -8%; bottom: -18px; height: 26px;
  background: radial-gradient(closest-side, rgba(29, 29, 31, .38), transparent);
  transform: translateZ(-40px); filter: blur(2px); z-index: -1;
}
.book__cover {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 4px 14px 14px 4px; padding: 20% 12% 12% 17%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--malina); color: #fff;
  box-shadow: 18px 26px 40px -18px rgba(29, 29, 31, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
/* spine / hinge */
.book__cover::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, .08) 70%, rgba(255, 255, 255, .18) 88%, rgba(0, 0, 0, .12));
}
/* sheen */
.book__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .08));
}
.book__brand { position: absolute; top: 7%; left: 17%; font-size: clamp(8px, .75vw, 10px); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.book__icon { width: clamp(34px, 3.4vw, 46px); height: clamp(34px, 3.4vw, 46px); border-radius: 12px; display: grid; place-content: center; background: rgba(255, 255, 255, .16); margin-bottom: auto; }
.book__icon svg { width: 55%; height: 55%; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.book__kicker { font-size: clamp(10px, .9vw, 12px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.book__title { font-size: clamp(17px, 1.75vw, 25px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.book__title span { background: #fff; color: var(--malina); padding: 0 .16em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.book__ribbon {
  position: absolute; top: 14%; right: -30%; width: 90%; transform: rotate(38deg);
  background: var(--fuksija); color: #fff; text-align: center; padding: 5px 0;
  font-size: clamp(8px, .8vw, 11px); font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
}
.book__name { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.book__desc { font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* colour variants */
.book--tinta .book__cover { background: var(--tinta); }
.book--tinta .book__title span { background: var(--malina); color: #fff; }
.book--tinta .book__icon { background: rgba(194, 24, 91, .35); }
.book--fuksija .book__cover { background: var(--fuksija); }
.book--fuksija .book__title span { background: var(--tinta); color: #fff; }
.book--fuksija .book__ribbon { background: var(--tinta); }
.book--sljiva .book__cover { background: #7E1240; }
.book--sljiva .book__title span { background: var(--fuksija); color: #fff; }
.book--bijela .book__cover { background: #fff; color: var(--tinta); box-shadow: 18px 26px 40px -18px rgba(29, 29, 31, .45), inset 0 0 0 1px var(--roza-line); }
.book--bijela .book__title span { background: var(--malina); color: #fff; }
.book--bijela .book__icon { background: var(--roza-2); color: var(--malina); }
.book--bijela .book__cover::before { background: linear-gradient(90deg, rgba(194, 24, 91, .25), rgba(194, 24, 91, .05) 80%); }
.book--roza .book__cover { background: var(--roza-2); color: var(--tinta); box-shadow: 18px 26px 40px -18px rgba(29, 29, 31, .4), inset 0 0 0 1px var(--roza-line); }
.book--roza .book__title span { background: var(--malina); color: #fff; }
.book--roza .book__icon { background: #fff; color: var(--malina); }
.book--roza .book__cover::before { background: linear-gradient(90deg, rgba(194, 24, 91, .22), rgba(194, 24, 91, .04) 80%); }
.book--idea .book__cover { background: transparent; color: var(--malina); border: 2px dashed var(--roza-line); box-shadow: none; justify-content: center; align-items: center; padding: 12%; text-align: center; }
.book--idea .book__cover::before, .book--idea .book__cover::after, .book--idea .book__3d::before { display: none; }
.book--idea .book__icon { margin: 0 auto 10px; background: var(--roza-2); }
.book--idea .book__title { color: var(--tinta); }
.book--idea .book__title span { background: var(--malina); color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .book:hover .book__3d { transform: perspective(1100px) rotateY(-8deg) rotateX(2deg) translateY(-10px); }
}
@media (max-width: 1020px) { .books { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) {
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 22px !important; }
  .book__3d { --tilt: -18deg; margin-right: 18px; }
  .book__title { font-size: clamp(15px, 4.4vw, 20px); }
  .book__brand { font-size: 7px; }
  .book__name { font-size: 15px; }
  .book__desc { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .book__3d { transition: none; } }
.book__icon { display: flex !important; align-items: center; justify-content: center; }
.book__icon svg { width: 56% !important; height: 56% !important; margin: 0 !important; flex: none; }
.book__brand { top: auto !important; bottom: 6% !important; left: 17% !important; }
.book__cover { padding-bottom: 22% !important; }

/* ---------- Upcoming planners as phones (digital planners, not paper) ---------- */
.books { gap: 52px 36px !important; }
.book__3d {
  aspect-ratio: 9 / 17 !important; margin: 0 14px 18px 6px !important;
  background: #121214; border-radius: 34px; padding: 9px;
  border: 1px solid #3a3a40;
  box-shadow: 0 0 0 2px #0a0a0b, 22px 30px 44px -20px rgba(29, 29, 31, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: perspective(1200px) rotateY(var(--tilt)) rotateX(4deg) !important;
}
.book__3d { --tilt: -20deg; }
/* side buttons instead of page edges */
.book__3d::before {
  content: ""; position: absolute; right: -4px; top: 22%; width: 4px; height: 12%; bottom: auto;
  background: #2a2a2f; border-radius: 0 3px 3px 0; transform: none;
  box-shadow: 0 calc(100% + 10px) 0 #2a2a2f;
}
.book__3d::after { left: 10%; right: -4%; bottom: -24px; }
.book__cover {
  inset: 9px !important; border-radius: 26px !important;
  padding: 22% 11% 24% 11% !important; gap: 7px !important;
  box-shadow: none !important;
}
.book--bijela .book__cover, .book--roza .book__cover { box-shadow: inset 0 0 0 1px var(--roza-line) !important; }
/* no book spine on a phone screen */
.book__cover::before { display: none !important; }
/* dynamic island */
.book__status { position: absolute; top: 3.5%; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 13%; font-size: clamp(8px, .7vw, 10px); font-weight: 700; z-index: 2; }
.book__status s { width: 18px; height: 8px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .8; position: relative; text-decoration: none; }
.book__status::before { content: ""; position: absolute; left: 50%; top: -2px; width: 30%; height: 14px; transform: translateX(-50%); background: #0a0a0b; border-radius: 999px; }
/* fake app rows under the title */
.book__ui { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 10px; }
.book__ui i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.book__ui i:nth-child(1) { width: 92%; }
.book__ui i:nth-child(2) { width: 74%; }
.book__ui i:nth-child(3) { width: 56%; background: rgba(255, 255, 255, .4); }
.book--bijela .book__ui i, .book--roza .book__ui i { background: rgba(194, 24, 91, .14); }
.book--bijela .book__ui i:nth-child(3), .book--roza .book__ui i:nth-child(3) { background: rgba(194, 24, 91, .35); }
/* "Uskoro" becomes a pill badge on the screen */
.book__ribbon {
  top: 9% !important; right: 9% !important; left: auto !important; width: auto !important;
  transform: none !important; padding: 4px 10px !important; border-radius: 999px;
  font-size: clamp(8px, .72vw, 10px) !important; letter-spacing: .12em !important;
}
.book__icon { margin-top: 8%; }
.book__brand { bottom: 7% !important; left: 11% !important; }
/* home indicator */
.book__cover > .book__brand::after { content: ""; position: absolute; left: 50%; bottom: -16px; }
.book__3d .book__cover { background-clip: padding-box; }
/* idea card: an empty phone outline */
.book--idea .book__3d { background: transparent; border: 2px dashed var(--roza-line); box-shadow: none; }
.book--idea .book__3d::before { display: none; }
.book--idea .book__cover { border: 0 !important; }
@media (hover: hover) and (pointer: fine) {
  .book:hover .book__3d { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-12px) !important; }
}
@media (max-width: 760px) {
  .book__3d { --tilt: -14deg; border-radius: 26px; padding: 7px; margin-right: 10px !important; }
  .book__cover { inset: 7px !important; border-radius: 20px !important; padding: 24% 10% 26% 10% !important; }
  .book__ui { gap: 4px; margin-top: 6px; }
  .book__ui i { height: 6px; }
  .book__status s { width: 13px; height: 6px; }
}

/* Catalog card: the planner video instead of a static screenshot */
.feature__shot.hero-video { width: 100%; justify-self: stretch; box-shadow: none; border-color: rgba(255, 255, 255, .14); }
@media (hover: hover) and (pointer: fine) { .feature__shot.hero-video:hover { transform: none; } }
@media (min-width: 1021px) { .feature { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
