/* ===========================
   COOKI — Global Styles
   =========================== */

/* Parkinsans — self-hosted brand font */
@font-face {
  font-family: 'Parkinsans';
  src: url('assets/Parkinsans/Parkinsans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand palette — per Cooki Brand Guidelines v1.0 */
  --lime:      #F0F4AB;
  --lime-dk:   #CEDA5A;
  --blue:      #C5E6FF;
  --blue-dk:   #8DCEF0;
  --mint:      #DDF1E1;
  --pink:      #F7C4E9;
  --pink-dk:   #E890CC;
  --peach:     #FCCBB9;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #F7C4E9 0%, #FCCBB9 100%);
  --grad-lime-blue: linear-gradient(135deg, #F0F4AB 0%, #C5E6FF 100%);
  --grad-mint-blue: linear-gradient(135deg, #DDF1E1 0%, #C5E6FF 100%);

  /* Neutrals */
  --bg:        #FFFFFF;
  --bg-soft:   #F8FBF5;
  --white:     #FFFFFF;
  --text:      #231F20;
  --muted:     #7C7C7C;
  --border:    #EBEBEB;
  --card-bg:   #FFFFFF;

  /* Shadows */
  --shadow:    0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Misc */
  --radius:    16px;
  --radius-sm: 10px;
  --font:      'Parkinsans', sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--pink-dk); }

img { max-width: 100%; display: block; }

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); line-height: 1.7; }

/* ===========================
   LAYOUT UTILITIES
   =========================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.section--alt { background: var(--bg-soft); }

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  background: var(--lime);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.page-hero .section-label {
  background: transparent;
  border: 1.5px solid var(--text);
}

.section-title  { margin-bottom: 12px; }

.section-subtitle {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--grad-primary);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(250, 199, 220, 0.5);
}
.btn--primary:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 199, 220, 0.6);
  filter: brightness(0.96);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn--dark {
  background: var(--text);
  color: var(--white);
}
.btn--dark:hover {
  background: #3a3a3a;
  color: var(--white);
  transform: translateY(-2px);
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo image in nav */
.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a:hover,
.nav__links a.active { color: var(--pink-dk); }

.nav__cta {
  background: var(--grad-primary) !important;
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(250, 199, 220, 0.4);
  transition: all var(--transition) !important;
}
.nav__cta:hover {
  filter: brightness(0.95) !important;
  transform: translateY(-1px);
  color: var(--text) !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 12px 24px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}
.nav__mobile a:hover { background: var(--bg-soft); color: var(--pink-dk); }

/* ===========================
   HERO
   =========================== */

.hero {
  padding: 80px 0 60px;
  overflow: hidden;
  background: var(--grad-mint-blue);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--text);
  margin-bottom: 20px;
}

.hero__title { margin-bottom: 20px; }

.hero__title em {
  font-style: normal;
}

.hero__desc {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__store-badge img {
  height: 52px;
  width: auto;
  transition: transform var(--transition), opacity var(--transition);
}
.hero__store-badge:hover img {
  transform: translateY(-2px);
  opacity: 0.85;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.hero__trust-dots { display: flex; }
.hero__trust-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-left: -6px;
}
.hero__trust-dot:first-child { margin-left: 0; }

.hero__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__screenshot {
  width: 260px;
  position: relative;
  z-index: 2;
  display: block;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--white);
  border-radius: 36px;
  border: 8px solid #231F20;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.phone-mockup__notch {
  width: 100px;
  height: 24px;
  background: #231F20;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
}

.phone-mockup__screen {
  padding: 16px 12px;
  height: calc(100% - 24px);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-mockup__screen--img {
  padding: 0;
}
.phone-mockup__screen--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.phone-card__img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: var(--grad-lime-blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.phone-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.phone-card__sub {
  font-size: 0.65rem;
  color: var(--muted);
}

.phone-card__heart {
  float: right;
  font-size: 0.9rem;
}

.hero__blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #DDF1E1 0%, transparent 70%);
  border-radius: 50%;
  top: -80px;
  right: -80px;
  z-index: 1;
  pointer-events: none;
}

/* ===========================
   FEATURES
   =========================== */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Feature icon backgrounds using brand palette */
.ic--pink   { background: var(--pink); }
.ic--peach  { background: var(--peach); }
.ic--lime   { background: var(--lime); }
.ic--blue   { background: var(--blue); }
.ic--mint   { background: var(--mint); }
.ic--grad   { background: var(--grad-primary); }

/* ===========================
   SCREENSHOTS / APP SHOWCASE
   =========================== */

.screenshots__grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Real App Store screenshot images */
.screenshot-img {
  height: 400px;
  width: auto;
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  display: block;
}

.screenshot-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* ===========================
   PRICING STRIP
   =========================== */

.pricing-strip {
  background: var(--grad-lime-blue);
  padding: 64px 0;
  text-align: center;
}

.pricing-strip h2 { color: var(--text); }

.pricing-strip p { color: var(--text); opacity: 0.75; }

.pricing-strip__price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  margin: 16px 0 4px;
}

.pricing-strip__price sub {
  font-size: 1.2rem;
  font-weight: 700;
}

.pricing-strip__period {
  font-size: 1rem;
  margin-bottom: 8px;
}

.pricing-strip__subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  opacity: 0.75;
}

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 36px 32px;
  width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing-card--featured {
  background: var(--text);
  border-color: var(--text);
  color: white;
}

.pricing-card--featured p,
.pricing-card--featured li {
  opacity: 0.8;
}

.pricing-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card__price {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-card__price sub {
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card__period {
  font-size: 0.85rem;
  margin: 0;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.pricing-card__features li::before {
  content: "✓  ";
  font-weight: 700;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #231F20;
  color: #AAAAAA;
  padding: 48px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

/* Logo image in footer */
.footer__logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__heading {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CCCCCC;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: #888888;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--pink); }

.footer__bottom {
  border-top: 1px solid #2A2A2A;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===========================
   INNER PAGE HERO
   =========================== */

.page-hero {
  background: var(--grad-lime-blue);
  padding: 60px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===========================
   FAQ / ACCORDION
   =========================== */

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}
.faq__question:hover { background: var(--bg-soft); }

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--grad-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}

.faq__item.is-open .faq__answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.faq__category {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 36px auto 12px;
  max-width: 720px;
  opacity: 0.5;
}
.faq__category:first-child { margin-top: 0; }

/* ===========================
   PROSE (Terms / Privacy)
   =========================== */

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
  color: var(--text);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--muted);
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose ul li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.prose a { color: var(--pink-dk); }
.prose a:hover { color: var(--text); }

.prose .effective-date {
  display: inline-block;
  background: var(--mint);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 32px;
}

/* ===========================
   CONTACT FORM
   =========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--pink-dk);
  box-shadow: 0 0 0 3px rgba(244, 160, 196, 0.2);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__desc  { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__mockup { order: -1; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > :first-child { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }

  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  .features__grid { grid-template-columns: 1fr; }

  .screenshot-img { height: 300px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .hero__actions { flex-direction: column; align-items: center; }
}
