/*
Theme Name: KoT Piknik
Theme URI: https://kotpiknik.com
Author: KoT Piknik
Description: Pre-launch landing page theme for the KoT Piknik mobile app.
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kot-piknik
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;900&display=swap");

:root {
  --kp-cream: #f8fbf2;
  --kp-mint: #64ab43;
  --kp-green: #64ab43;
  --kp-deep: #003b3a;
  --kp-panel: rgba(0, 66, 67, 0.64);
  --kp-line: rgba(100, 171, 67, 0.28);
  --kp-gold: #ffb700;
  --kp-orange: #ffb700;
  --kp-red: #ef3e2f;
  --kp-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--kp-cream);
  background: #003438;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
body.kp-landing { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.kp-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 44, 46, 0.18), #003b3e 42rem, #003438 100%);
}
.kp-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 820px;
  background:
    linear-gradient(90deg, rgba(0, 43, 44, 0.86), rgba(0, 52, 52, 0.52) 48%, rgba(0, 45, 49, 0.18)),
    linear-gradient(180deg, rgba(0, 31, 32, 0.08), #003b3e),
    var(--kp-launch-bg) center top / cover no-repeat;
  pointer-events: none;
}
.kp-page::after {
  content: "";
  position: absolute;
  inset: auto -8vw -8rem;
  height: 260px;
  background:
    radial-gradient(ellipse at 10% 100%, rgba(100, 171, 67, 0.38), transparent 34%),
    radial-gradient(ellipse at 92% 100%, rgba(100, 171, 67, 0.33), transparent 35%);
  pointer-events: none;
}
.kp-shell { width: min(100% - 56px, 1160px); margin-inline: auto; }
.kp-icon, .kp-check { width: 25px; height: 25px; flex: 0 0 auto; }

.kp-hero-launch { position: relative; z-index: 1; min-height: 670px; padding: 28px 0 46px; }
.kp-topbar, .kp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.kp-brand, .kp-footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.kp-brand img {
  display: block;
  width: auto;
  height: clamp(70px, 7vw, 92px);
}
.kp-footer-brand img {
  display: block;
  width: auto;
  height: 34px;
}
.kp-links, .kp-footer nav { display: flex; align-items: center; gap: 34px; font-weight: 600; }
.kp-social { display: inline-grid; width: 32px; height: 32px; place-items: center; }

.kp-hero-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1.18fr) minmax(305px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: 42px;
}
.kp-hero-copy-block { max-width: 720px; padding-top: 28px; }
.kp-hero-copy-block h1 {
  margin: 0;
  color: white;
  font-size: clamp(4.1rem, 6.4vw, 5.9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
}
.kp-lead { margin: 22px 0 14px; color: var(--kp-green); font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 700; }
.kp-intro { max-width: 610px; margin: 0; color: white; font-size: clamp(1.12rem, 1.6vw, 1.36rem); }
.kp-hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.kp-hero-actions .kp-btn-ghost { max-width: 350px; }
.kp-hero-actions .kp-btn-gold { min-width: 248px; }
.kp-btn {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.15;
}
.kp-btn-ghost {
  color: white;
  background: rgba(0, 67, 70, 0.72);
  border: 1px solid var(--kp-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.kp-btn-gold {
  color: #073638;
  background: var(--kp-gold);
  box-shadow: 0 14px 30px rgba(255, 183, 0, 0.24);
}

.kp-phone-stage {
  display: grid;
  justify-items: center;
  align-self: start;
}
.kp-phone-mockup {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin-top: -18px;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.46));
}

.kp-about, .kp-features, .kp-submit, .kp-contact, .kp-footer { position: relative; z-index: 1; }
.kp-about { padding: 26px 0 28px; }
.kp-about-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 58px; align-items: center; }
.kp-island-badge { position: relative; min-height: 245px; }
.kp-island-picture {
  width: 245px;
  height: 245px;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 72% 18%, var(--kp-gold) 0 8%, transparent 9%), linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent), var(--kp-launch-bg) 22% 52% / 210% auto no-repeat;
  box-shadow: var(--kp-shadow);
}
.kp-flower {
  position: absolute;
  right: 42px;
  bottom: 20px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--kp-gold) 0 16%, transparent 17%), conic-gradient(from 10deg, #ffd456 0 12%, transparent 12% 20%, #ffd456 20% 32%, transparent 32% 40%, #ffd456 40% 52%, transparent 52% 60%, #ffd456 60% 72%, transparent 72% 80%, #ffd456 80% 92%, transparent 92%);
}
.kp-about h2, .kp-submit h2, .kp-contact h2 { margin: 0 0 14px; color: var(--kp-green); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
.kp-about p, .kp-submit p { max-width: 680px; margin: 0; font-size: 1.08rem; }
.kp-mini-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 30px; text-align: center; }
.kp-mini-benefits div { display: grid; justify-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; }
.kp-mini-benefits .kp-icon {
  width: 60px;
  height: 60px;
  padding: 14px;
  color: var(--kp-green);
  border: 1px solid rgba(100, 171, 67, 0.42);
  border-radius: 12px;
  background: rgba(0, 55, 58, 0.56);
}

.kp-features { padding: 22px 0 18px; }
.kp-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kp-card, .kp-submit-panel, .kp-form label {
  border: 1px solid var(--kp-line);
  background: rgba(0, 62, 65, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}
.kp-card { min-height: 180px; padding: 26px 24px; border-radius: 18px; text-align: center; }
.kp-card .kp-icon { width: 66px; height: 66px; margin-bottom: 16px; color: var(--kp-green); }
.kp-card:nth-child(2) .kp-icon, .kp-card:nth-child(4) .kp-icon { color: var(--kp-orange); }
.kp-card h3 { margin: 0 0 7px; font-size: 1.17rem; }
.kp-card p { margin: 0; color: white; font-size: 0.98rem; }

.kp-submit { padding: 30px 0 32px; }
.kp-submit-panel { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; min-height: 182px; padding: 34px 36px 34px 44px; border-radius: 18px; }
.kp-submit-panel p { max-width: 620px; }
.kp-submit-intro { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 46px; align-items: center; }
.kp-people { position: relative; align-self: stretch; min-height: 154px; }
.kp-people span { position: absolute; bottom: 0; width: 86px; height: 118px; border-radius: 45px 45px 20px 20px; background: linear-gradient(180deg, #8b552e 0 30%, var(--kp-gold) 30%); }
.kp-people span::before { content: ""; position: absolute; left: 17px; top: -34px; width: 52px; height: 52px; border-radius: 50%; background: #b8753d; }
.kp-people span:nth-child(1) { left: 0; background: linear-gradient(180deg, #744018 0 30%, var(--kp-gold) 30%); }
.kp-people span:nth-child(2) { left: 78px; height: 132px; background: linear-gradient(180deg, #245332 0 30%, var(--kp-green) 30%); }
.kp-people span:nth-child(3) { left: 156px; background: linear-gradient(180deg, #c9903a 0 30%, #ffcf42 30%); }
.kp-submit .kp-btn { white-space: nowrap; }

.kp-spot-form { display: grid; gap: 16px; }
.kp-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kp-spot-form label, .kp-choice-groups fieldset {
  margin: 0;
  border: 1px solid var(--kp-line);
  border-radius: 14px;
  background: rgba(0, 43, 45, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.kp-spot-form label { display: grid; gap: 7px; padding: 12px 14px; }
.kp-spot-form label span, .kp-choice-groups legend {
  color: var(--kp-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}
.kp-spot-form input, .kp-spot-form select, .kp-spot-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
}
.kp-spot-form input::placeholder, .kp-spot-form textarea::placeholder { color: rgba(255, 255, 255, 0.48); }
.kp-spot-form textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.kp-form-textarea { grid-column: 1 / -1; }
.kp-place-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.kp-place-search label { min-height: 64px; }
.kp-place-search-button {
  min-height: 64px;
  align-self: stretch;
}
.kp-place-selected, .kp-place-results {
  grid-column: 1 / -1;
}
.kp-place-selected {
  min-height: 20px;
  margin: 0;
  color: var(--kp-green);
  font-size: 0.94rem;
  font-weight: 800;
}
.kp-place-results {
  display: grid;
  gap: 8px;
}
.kp-place-map-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(100, 171, 67, 0.26);
  border-radius: 16px;
  background: rgba(0, 43, 45, 0.58);
}
.kp-place-map {
  width: 100%;
  height: 280px;
  background: rgba(0, 43, 45, 0.82);
}
.kp-place-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}
.kp-map-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--kp-line);
  border-radius: 999px;
  color: white;
  background: rgba(0, 62, 65, 0.72);
  cursor: pointer;
  font-weight: 800;
}
.kp-map-action .kp-icon {
  width: 19px;
  height: 19px;
  color: var(--kp-green);
}
.kp-place-map-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}
.kp-place-result {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(100, 171, 67, 0.26);
  border-radius: 12px;
  color: white;
  text-align: left;
  background: rgba(0, 43, 45, 0.58);
  cursor: pointer;
}
.kp-place-result:hover {
  border-color: var(--kp-green);
  background: rgba(0, 62, 65, 0.78);
}
.kp-place-result strong {
  color: var(--kp-green);
  font-size: 0.96rem;
}
.kp-place-result span, .kp-place-empty {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}
.kp-place-empty { margin: 0; }
.kp-choice-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kp-choice-groups fieldset { display: flex; flex-wrap: wrap; gap: 9px; padding: 15px; }
.kp-choice-groups legend { padding: 0 7px; }
.kp-choice-groups label {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
}
.kp-choice-groups input { width: 15px; height: 15px; accent-color: var(--kp-green); }
.kp-choice-groups label span { color: white; font-size: 0.9rem; font-weight: 700; }
.kp-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.kp-form-note { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.kp-form-status { min-height: 22px; margin: 0; font-weight: 700; }
.kp-form-status[data-status="success"] { color: var(--kp-green); }
.kp-form-status[data-status="error"] { color: var(--kp-red); }
.kp-form-status[data-status="loading"] { color: var(--kp-gold); }
.kp-spot-form button:disabled { cursor: wait; opacity: 0.65; }

.kp-contact { padding: 8px 0 34px; text-align: center; }
.kp-contact h2 { margin-bottom: 18px; }
.kp-form { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; width: min(860px, 100%); margin: 0 auto; }
.kp-form label { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 0 16px; border-radius: 10px; }
.kp-form label span { color: white; }
.kp-form input, .kp-form select { width: 100%; border: 0; outline: 0; color: white; background: transparent; }
.kp-form input::placeholder, .kp-form select { color: rgba(255, 255, 255, 0.68); }
.kp-form button { grid-column: 1 / -1; width: min(340px, 100%); margin: 0 auto; }
.kp-signup-form {
  grid-template-columns: 1fr;
  width: min(920px, 100%);
  text-align: left;
}
.kp-signup-form > label:not(.kp-consent), .kp-signup-form > button:last-of-type { display: none; }
.kp-signup-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kp-signup-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--kp-line);
  border-radius: 12px;
  background: rgba(0, 62, 65, 0.58);
}
.kp-signup-choices legend {
  padding: 0 7px;
  color: var(--kp-green);
  font-weight: 800;
}
.kp-signup-choices label, .kp-consent {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--kp-line);
  background: rgba(0, 43, 45, 0.46);
}
.kp-signup-choices label {
  width: auto;
  padding: 0 13px;
  border-radius: 999px;
}
.kp-signup-choices input, .kp-consent input {
  width: 15px;
  height: 15px;
  accent-color: var(--kp-green);
}
.kp-consent {
  justify-self: stretch;
  padding: 0 16px;
  border-radius: 10px;
  color: white;
  font-weight: 700;
}
.kp-signup-form .kp-form-status {
  text-align: center;
  line-height: 1.35;
}
.kp-signup-form button:disabled { cursor: wait; opacity: 0.65; }

.kp-footer { padding: 17px 0; border-top: 1px solid rgba(100, 171, 67, 0.26); background: rgba(0, 54, 57, 0.92); }
.kp-footer-brand { font-weight: 500; }
.kp-footer nav { gap: 28px; }

@media (max-width: 980px) {
  .kp-shell { width: min(100% - 36px, 1160px); }
  .kp-hero-grid, .kp-about-grid, .kp-submit-panel { grid-template-columns: 1fr; }
  .kp-hero-copy-block { max-width: 720px; }
  .kp-phone-stage { justify-items: start; }
  .kp-card-grid, .kp-mini-benefits, .kp-form-grid, .kp-choice-groups, .kp-signup-fields { grid-template-columns: repeat(2, 1fr); }
  .kp-submit-intro { grid-template-columns: 1fr; gap: 24px; }
  .kp-submit-panel { gap: 24px; padding: 34px; }
  .kp-people { display: none; }
}

@media (max-width: 700px) {
  .kp-page::before { height: 900px; background-position: 58% top; }
  .kp-topbar, .kp-footer-inner, .kp-hero-actions { flex-direction: column; align-items: flex-start; }
  .kp-links, .kp-footer nav { gap: 18px; }
  .kp-brand img { width: auto; height: 68px; }
  .kp-hero-copy-block h1 { font-size: clamp(3.6rem, 17vw, 5rem); }
  .kp-btn, .kp-hero-actions, .kp-hero-actions a { width: 100%; }
  .kp-phone-mockup { width: min(330px, 100%); }
  .kp-card-grid, .kp-mini-benefits, .kp-form, .kp-form-grid, .kp-choice-groups, .kp-signup-fields { grid-template-columns: 1fr; }
  .kp-place-search { grid-template-columns: 1fr; }
  .kp-place-search-button { width: 100%; }
  .kp-place-map { height: 240px; }
  .kp-place-map-actions { flex-direction: column; align-items: stretch; }
  .kp-about { padding-top: 46px; }
  .kp-island-picture { width: 220px; height: 220px; }
  .kp-submit-panel { padding: 28px 22px; text-align: left; }
  .kp-form-footer { flex-direction: column; align-items: stretch; }
}
