/* =========================================================
   Şeker Patlat — tanıtım sitesi stilleri
   ========================================================= */

:root {
  --cream: #fbf3e2;
  --cream-deep: #f3e3c3;
  --gold: #d99a3d;
  --gold-deep: #b5741e;
  --terracotta: #c0392b;
  --terracotta-deep: #96291d;
  --pink: #e6a4a0;
  --pistachio: #8fa31e;
  --ink: #3b2a1e;
  --ink-soft: #6b5844;
  --white: #ffffff;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 45px -20px rgba(59, 42, 30, 0.35);
  --shadow-card: 0 12px 30px -16px rgba(59, 42, 30, 0.28);

  --font-display: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--terracotta-deep);
}

p {
  margin: 0 0 1em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons & badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(192, 57, 43, 0.6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(192, 57, 43, 0.7);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}
.store-badge:hover {
  transform: translateY(-2px);
}
.store-badge--light {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.store-badge__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM251.9 88.7c26.9-32 24.5-61.2 23.7-71.7-23.8 1.4-51.4 16.4-67.1 34.9-17.3 19.5-27.5 43.6-25.3 70.9 25.9 2 49.5-11.4 68.7-34.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.store-badge__icon--play {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M325.3 234.3L104.6 13.5C99 8 91.6 5 83.9 5c-11.6 0-22.1 6.9-26.7 17.6L268.5 256 57.2 489.4c4.6 10.7 15.1 17.6 26.7 17.6 7.6 0 15-3 20.6-8.5l220.7-220.8-.1-.4 220.9 127.4c14.2 8.2 32.4 3.3 40.6-10.9s3.3-32.4-10.9-40.6L349 256l226.7-98.2c14.2-8.2 19.1-26.4 10.9-40.6s-26.4-19.1-40.6-10.9L325.3 234.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
}
.store-badge__text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 226, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 42, 30, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--terracotta-deep);
}
.logo__mark {
  font-size: 1.5rem;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover {
  color: var(--terracotta);
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: rgba(59, 42, 30, 0.08);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}
.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: var(--gold);
  top: -120px;
  right: -80px;
  opacity: 0.35;
}
.hero__blob--2 {
  width: 320px;
  height: 320px;
  background: var(--pink);
  bottom: -100px;
  left: -80px;
  opacity: 0.3;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(217, 154, 61, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  max-width: 14ch;
}

.hero__desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 12px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--terracotta);
}
.hero__stats span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

/* Phone mockup — proportion matched to the 560x1216 screenshots */
.phone {
  width: 240px;
  aspect-ratio: 560 / 1216;
  background: var(--ink);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}

.phone--front {
  position: relative;
  z-index: 2;
}
.phone--back {
  position: absolute;
  width: 220px;
  right: 6%;
  top: 4%;
  transform: rotate(9deg);
  opacity: 0.85;
  z-index: 1;
  filter: saturate(0.9) brightness(0.97);
}

.floaty {
  position: absolute;
  font-size: 2rem;
  filter: drop-shadow(0 8px 12px rgba(59, 42, 30, 0.25));
  animation: floaty 5s ease-in-out infinite;
  z-index: 3;
}
.floaty--1 { top: 6%; left: 2%; animation-delay: 0s; font-size: 2.4rem; }
.floaty--2 { bottom: 12%; left: -4%; animation-delay: 1.2s; }
.floaty--3 { top: 2%; right: 8%; animation-delay: 0.6s; font-size: 1.8rem; }
.floaty--4 { bottom: 4%; right: 4%; animation-delay: 1.8s; font-size: 1.6rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-6deg); }
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}
.section--tint {
  background: var(--cream-deep);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section__lead {
  color: var(--ink-soft);
}

/* ---------- Feature grid ---------- */

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.feature-card__icon {
  font-size: 2rem;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(217, 154, 61, 0.16);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Sweets grid ---------- */

.sweet-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.sweet-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 14px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--sweet-color, var(--gold));
  transition: transform 0.2s ease;
}
.sweet-card:hover {
  transform: translateY(-4px);
}
.sweet-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: color-mix(in srgb, var(--sweet-color, var(--gold)) 22%, white);
}
.sweet-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.sweet-card p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.gallery__item {
  margin: 0;
  text-align: center;
}
.phone--gallery {
  width: 220px;
  margin: 0 auto 20px;
  position: relative;
}
.gallery__item figcaption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--terracotta-deep);
  margin-bottom: 6px;
}
.gallery__item figcaption span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */

.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */

.cta {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  color: var(--white);
  padding: 80px 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.cta p {
  color: rgba(255, 255, 255, 0.85);
}

.notify-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.notify-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 12px;
}
.notify-form__row {
  display: flex;
  gap: 10px;
}
.notify-form input {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.notify-form__msg {
  margin: 12px 0 0;
  font-size: 0.88rem;
}
.notify-form__msg--ok {
  color: #d9f2d0;
}
.notify-form__msg--error {
  color: #ffd7d0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.logo--footer {
  color: var(--white);
  margin-bottom: 14px;
}
.footer__brand p {
  max-width: 34ch;
  font-size: 0.92rem;
}
.footer__stores {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer__links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer__links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.footer__links a:hover {
  color: var(--gold);
}
.footer__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom p {
  margin: 0;
}

/* ---------- Legal pages (privacy / support) ---------- */

.legal-page {
  padding-top: 56px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--terracotta);
}
.legal-back:hover {
  text-decoration: underline;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 6px;
}
.legal-updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
}
.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  color: var(--ink);
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.legal-page li {
  margin-bottom: 6px;
}
.legal-page a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: rgba(192, 57, 43, 0.35);
}
.legal-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}
.legal-page .faq {
  margin: 20px 0 8px;
}

/* ---------- Contact form ---------- */

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin: 24px 0 60px;
}
.contact-form__field {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(59, 42, 30, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions,
  .hero__stats {
    justify-content: center;
  }
  .hero__art {
    margin-top: 32px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sweet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .notify-form__row {
    flex-direction: column;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-card);
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .sweet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero__stats {
    gap: 20px;
  }
  .store-badge {
    padding: 9px 16px 9px 12px;
  }
}
