:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f3f4f6;
  --color-accent: #6fe176;
  --color-accent-strong: #35b24d;
  --color-accent-soft: #4fa3c7;
  --color-text-main: #0f172a;
  --color-text-muted: #4b5563;
  --color-text-light: #f9fafb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 14px 34px rgba(15, 23, 42, 0.16);
  --radius-card: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.25s ease;
  --max-width: 1080px;
  --nav-height: 72px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg);
}

/* Disable dark overlay */
.page-bg-overlay {
  display: none;
}

/* Page wrapper */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 1.2rem 2.6rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-main);
  margin-top: 0;
}

p {
  margin-top: 0;
}

/* ========== HEADER ========== */
.site-header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  border: 2px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-contact {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.45);
}

.btn.hero-secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-book-btn {
  padding-inline: 1.4rem;
}

/* ========== HERO (CUSTOM PLANNER) ========== */
.custom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.35fr);
  gap: 1.8rem;
  padding: 1.9rem 1.8rem;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #e0f2fe, #f0fdf4 55%, #f9fafb);
  box-shadow: var(--shadow-soft);
  margin-bottom: 2.6rem;
  align-items: stretch;
}

/* Left: copy + CTAs */
.custom-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.hero-list {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-list li + li {
  margin-top: 0.25rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

/* Right: why custom card */
.custom-hero-card {
  align-self: stretch;
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-hero-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.custom-hero-card ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.custom-hero-card li + li {
  margin-top: 0.2rem;
}

.hero-note {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

/* ========== SECTION HEADER SHARED ========== */
.section-header {
  margin-bottom: 1.4rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.section-header p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ========== IDEA CARDS ========== */
.custom-ideas {
  margin-bottom: 2.8rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.idea-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.idea-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.26);
  border-color: rgba(148, 163, 184, 0.9);
}

.card-image {
  height: 170px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast);
}

.idea-card:hover .card-image img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.card-body {
  padding: 0.95rem 1rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.card-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
}

.card-tags li {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #eef2ff;
  color: #4338ca;
}

/* ========== CUSTOM PLANNER FORM ========== */
.custom-planner {
  margin-bottom: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.3fr);
  gap: 1.6rem;
}

.planner-card {
  border-radius: 18px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.planner-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.planner-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.planner-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--color-text-main);
  outline: none;
  background: #ffffff;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 1px rgba(79, 172, 199, 0.18);
  background: #f9fafb;
}

.field-hint {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.planner-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Below form CTA */
.planner-book-row {
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.planner-book-row p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Right: output sample */
.planner-output {
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  background: #f9fafb;
  color: var(--color-text-main);
}

.planner-output h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

#customPlannerDaysList {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

#customPlannerDaysList li + li {
  margin-top: 0.2rem;
}

/* ========== FOOTER ========== */
.page-footer {
  margin-top: 1.6rem;
  padding: 1.1rem 0 1rem;
  background-color: #000000;
  color: #e5e7eb;
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.9rem;
    height: auto;
  }

  .custom-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .custom-hero-card {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-planner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page {
    padding-inline: 1rem;
  }

  .custom-hero {
    padding: 1.5rem 1.3rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
