/* =========================================================
   Davetly • Ana Tema
   Sıcak, cana yakın, açık tonlar
   ========================================================= */

:root {
  --c-primary:        #f5a3b7;
  --c-primary-2:      #e88aa3;
  --c-secondary:      #ffd9b3;
  --c-accent:         #b8e0d2;
  --c-cream:          #fff8f3;
  --c-cream-2:        #fef0e6;
  --c-text:           #4a3b3b;
  --c-text-soft:      #7a6868;
  --c-muted:          #a89898;
  --c-white:          #ffffff;
  --c-line:           #f4e4dc;

  --grad-warm:   linear-gradient(135deg,#ffd9b3 0%,#f5a3b7 50%,#e8b4cb 100%);
  --grad-soft:   linear-gradient(135deg,#fff8f3 0%,#ffeae0 100%);
  --grad-button: linear-gradient(135deg,#f5a3b7 0%,#e88aa3 100%);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-1:  0 4px 18px rgba(232,138,163,.12);
  --shadow-2:  0 12px 40px rgba(232,138,163,.18);
  --shadow-3:  0 20px 60px rgba(232,138,163,.25);

  --font-body:    'Poppins', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Dancing Script', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-text); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--c-text); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; transition: all .25s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--grad-button); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: #fff; }
.btn-light { background: #fff; color: var(--c-text); box-shadow: var(--shadow-1); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-ghost { background: transparent; color: var(--c-text); }
.btn-ghost:hover { background: rgba(255,255,255,.5); }
.btn-outline { background: transparent; border: 2px solid var(--c-primary); color: var(--c-primary-2); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,243,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--c-text); }
.brand-icon { font-size: 1.6rem; animation: float 3s ease-in-out infinite; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 8px 14px; color: var(--c-text); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--c-primary-2); }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 20px;
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-130%); transition: transform .35s ease;
    box-shadow: var(--shadow-2);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a, .main-nav .btn { width: 100%; text-align: center; }
}

/* ---- Flash ---- */
.flash { padding: 12px 0; font-size: .95rem; font-weight: 500; }
.flash-success { background: #d6f5e6; color: #1a6e3a; }
.flash-error   { background: #fde0e0; color: #a02828; }
.flash-warning { background: #fff3cd; color: #7a5a00; }
.flash-info    { background: #d6ecff; color: #155a9a; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 80px 0 100px;
  background: var(--grad-soft);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.hero::before { width: 380px; height: 380px; background: var(--c-primary); top: -80px; left: -80px; animation: blob 14s ease-in-out infinite; }
.hero::after  { width: 460px; height: 460px; background: var(--c-secondary); bottom: -120px; right: -100px; animation: blob 18s ease-in-out infinite reverse; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); border: 1px solid var(--c-line);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; font-weight: 500; color: var(--c-primary-2);
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { font-family: var(--font-script); color: var(--c-primary-2); font-weight: 500; }
.hero p.lead { font-size: 1.1rem; color: var(--c-text-soft); margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--c-primary-2); }
.hero-stats .stat span { font-size: .85rem; color: var(--c-muted); }

.hero-card-stack { position: relative; min-height: 480px; }
.hero-card {
  position: absolute; width: 280px; padding: 26px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--c-line);
}
.hero-card-1 { top: 0; left: 30px; transform: rotate(-6deg); animation: floatY 6s ease-in-out infinite; }
.hero-card-2 { top: 80px; right: 0; transform: rotate(5deg); animation: floatY 7s ease-in-out infinite .8s; }
.hero-card-3 { bottom: 0; left: 80px; transform: rotate(-3deg); animation: floatY 8s ease-in-out infinite 1.4s; }
.hero-card .ribbon {
  display: inline-block; padding: 4px 12px; border-radius: 30px;
  background: var(--c-cream-2); color: var(--c-primary-2); font-size: .75rem; font-weight: 600;
  margin-bottom: 14px;
}
.hero-card h4 { font-family: var(--font-script); font-size: 1.6rem; color: var(--c-primary-2); margin-bottom: 6px; }
.hero-card .date { font-size: .9rem; color: var(--c-muted); }
.hero-card .countdown-mini { display: flex; gap: 8px; margin-top: 14px; }
.hero-card .countdown-mini div { flex: 1; background: var(--c-cream); padding: 8px; border-radius: 10px; text-align: center; }
.hero-card .countdown-mini strong { font-family: var(--font-display); display: block; color: var(--c-primary-2); font-size: 1.2rem; }
.hero-card .countdown-mini small { font-size: .65rem; color: var(--c-muted); }

@media (max-width: 860px) {
  .hero { padding: 50px 0 70px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-stack { min-height: 380px; max-width: 380px; margin: 0 auto; }
  .hero-card { width: 240px; padding: 20px; }
}

/* ===== Section base ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-eyebrow {
  display: inline-block; font-family: var(--font-script);
  font-size: 1.4rem; color: var(--c-primary-2); margin-bottom: 8px;
}
.section-head p { color: var(--c-text-soft); margin-top: 12px; }

/* ---- Features ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--c-line);
  padding: 30px 26px; border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--grad-soft); margin-bottom: 18px;
}
.feature h3 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.feature p { color: var(--c-text-soft); font-size: .95rem; }

/* ---- Categories ---- */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 18px; }
.cat-card {
  background: #fff; border: 1px solid var(--c-line);
  padding: 26px 18px; border-radius: var(--radius);
  text-align: center; transition: all .3s;
  text-decoration: none; color: var(--c-text);
}
.cat-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-2); border-color: transparent; }
.cat-icon { font-size: 2.4rem; margin-bottom: 10px; display: inline-block; transition: transform .3s; }
.cat-card:hover .cat-icon { transform: scale(1.2) rotate(-8deg); }
.cat-card h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.cat-card small { color: var(--c-muted); font-size: .8rem; }

/* ---- Templates ---- */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.tpl-card {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--c-line);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.tpl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tpl-preview {
  height: 220px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem;
  position: relative; overflow: hidden;
}
.tpl-preview .name-script { font-family: var(--font-script); font-size: 2rem; }
.tpl-info { padding: 18px; display: flex; justify-content: space-between; align-items: center; }
.tpl-info h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.badge-premium {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: 30px;
  background: linear-gradient(135deg,#ffd700,#ffb347); color: #5a3a00;
  font-size: .7rem; font-weight: 700; letter-spacing: .5px;
}

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--c-line);
  padding: 30px 24px; border-radius: var(--radius);
  position: relative; counter-increment: step;
}
.step::before {
  content: counter(step,decimal-leading-zero);
  position: absolute; top: -20px; left: 24px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-button); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-1);
}
.step h3 { font-family: var(--font-body); font-size: 1.1rem; margin: 14px 0 8px; font-weight: 600; }
.step p { color: var(--c-text-soft); font-size: .95rem; }

/* ---- CTA strip ---- */
.cta-strip {
  background: var(--grad-warm); color: #fff;
  padding: 70px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
  content:'💕'; position: absolute; font-size: 8rem; opacity: .12;
}
.cta-strip::before { top: -20px; left: 5%; transform: rotate(-15deg); }
.cta-strip::after { bottom: -30px; right: 5%; transform: rotate(15deg); }
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { max-width: 580px; margin: 0 auto 26px; opacity: .95; }
.cta-strip .btn-light { color: var(--c-primary-2); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); margin-bottom: 14px;
  overflow: hidden; transition: box-shadow .25s;
}
.faq-item[open] { box-shadow: var(--shadow-1); }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--c-primary-2); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--c-text-soft); }

/* ---- Footer ---- */
.site-footer {
  background: #2b2024; color: #d8c5c5;
  padding: 60px 0 24px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.brand-light, .brand-light .brand-text { color: #fff; }
.site-footer h4 { font-family: var(--font-body); font-size: 1rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #d8c5c5; font-size: .92rem; }
.site-footer a:hover { color: var(--c-primary); }
.site-footer .muted { color: #a89898; font-size: .9rem; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #3d3034; margin-top: 40px; padding-top: 20px; text-align: center; color: #998888; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ===== Forms ===== */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid; place-items: center;
  padding: 40px 20px; background: var(--grad-soft);
  position: relative; overflow: hidden;
}
.auth-wrap::before { content:''; position: absolute; width: 400px; height: 400px; background: var(--c-primary); border-radius: 50%; filter: blur(80px); opacity: .35; top: -100px; left: -100px; animation: blob 14s ease-in-out infinite; }
.auth-wrap::after  { content:''; position: absolute; width: 400px; height: 400px; background: var(--c-secondary); border-radius: 50%; filter: blur(80px); opacity: .35; bottom: -100px; right: -100px; animation: blob 16s ease-in-out infinite reverse; }
.auth-card {
  position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius-lg);
  padding: 44px 38px; max-width: 460px; width: 100%;
  box-shadow: var(--shadow-3);
}
.auth-card h1 { font-size: 1.8rem; margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub { text-align: center; color: var(--c-text-soft); margin-bottom: 28px; }
.auth-card .switch { text-align: center; margin-top: 22px; color: var(--c-text-soft); font-size: .9rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 500; font-size: .9rem;
  margin-bottom: 6px; color: var(--c-text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--c-line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--c-text);
  background: var(--c-cream); transition: all .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: 0; border-color: var(--c-primary);
  background: #fff; box-shadow: 0 0 0 4px rgba(245,163,183,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .8rem; color: var(--c-muted); margin-top: 6px; }
@media (max-width:560px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Dashboard ===== */
.dash-wrap { padding: 40px 0 80px; min-height: 70vh; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { font-size: 1.8rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; margin-bottom: 36px; }
.stat-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 22px;
  display: flex; gap: 16px; align-items: center;
}
.stat-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad-soft); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--c-primary-2); }
.stat-card span { font-size: .85rem; color: var(--c-muted); }

.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 22px; }
.inv-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.inv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.inv-cover {
  height: 130px; background: var(--grad-warm);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-script); font-size: 1.8rem;
  position: relative;
}
.inv-cover .cat-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.85); color: var(--c-text); padding: 4px 10px; border-radius: 30px; font-family: var(--font-body); font-size: .75rem; font-weight: 600; }
.inv-status { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 30px; font-family: var(--font-body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.inv-status.published { background: #2ecc71; color: #fff; }
.inv-status.draft     { background: #f39c12; color: #fff; }
.inv-status.paused    { background: #95a5a6; color: #fff; }
.inv-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.inv-body h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.inv-meta { display: flex; gap: 12px; color: var(--c-muted); font-size: .82rem; flex-wrap: wrap; }
.inv-actions { padding: 14px 18px; border-top: 1px solid var(--c-line); display: flex; gap: 8px; flex-wrap: wrap; }
.inv-actions .btn { padding: 8px 14px; font-size: .82rem; }

.empty-state { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-lg); border: 2px dashed var(--c-line); }
.empty-state .em { font-size: 4rem; margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--c-text-soft); margin-bottom: 22px; }

/* ===== Wizard ===== */
.wiz-wrap { padding: 30px 0 80px; }
.wiz-steps {
  display: flex; gap: 0; margin-bottom: 36px;
  background: #fff; border-radius: 50px; padding: 8px;
  box-shadow: var(--shadow-1); overflow-x: auto;
}
.wiz-step {
  flex: 1 1 0; min-width: 100px;
  text-align: center; padding: 12px 14px; border-radius: 40px;
  font-size: .82rem; font-weight: 600; color: var(--c-muted);
  white-space: nowrap; cursor: pointer; transition: all .2s;
}
.wiz-step.active { background: var(--grad-button); color: #fff; box-shadow: var(--shadow-1); }
.wiz-step.done { color: var(--c-primary-2); }
.wiz-step .num { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--c-cream-2); color: var(--c-primary-2); margin-right: 6px; line-height: 22px; font-size: .75rem; }
.wiz-step.active .num { background: rgba(255,255,255,.3); color: #fff; }

.wiz-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-1);
}
.wiz-card h2 { margin-bottom: 6px; font-size: 1.6rem; }
.wiz-card .wiz-sub { color: var(--c-text-soft); margin-bottom: 28px; }
.wiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.cat-pick label {
  cursor: pointer; text-align: center;
  padding: 22px 12px; border-radius: var(--radius);
  border: 2px solid var(--c-line); transition: all .2s;
  background: var(--c-cream);
}
.cat-pick label:hover { transform: translateY(-3px); border-color: var(--c-primary); }
.cat-pick input { display: none; }
.cat-pick input:checked + .cat-pick-inner { /* handled via :has below */ }
.cat-pick label:has(input:checked) { border-color: var(--c-primary); background: #fff; box-shadow: var(--shadow-1); }
.cat-pick .ic { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.cat-pick .nm { font-size: .9rem; font-weight: 600; }

/* Event card in wizard */
.event-card {
  background: var(--c-cream); border: 1.5px solid var(--c-line);
  padding: 24px; border-radius: var(--radius); margin-bottom: 18px;
  position: relative;
}
.event-card .ev-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.event-card .ev-head h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.btn-icon { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--c-cream-2); cursor: pointer; color: var(--c-text); display: grid; place-items: center; font-size: 1rem; }
.btn-icon.danger { background: #fde0e0; color: #a02828; }
.btn-icon.danger:hover { background: #f5b8b8; }

.add-event-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius);
  border: 2px dashed var(--c-primary); background: transparent;
  color: var(--c-primary-2); font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: inherit; font-size: .95rem;
}
.add-event-btn:hover { background: var(--c-cream-2); }

.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .lbl { font-weight: 500; }
.toggle-row .desc { font-size: .82rem; color: var(--c-muted); margin-top: 2px; }

.switch { position: relative; width: 50px; height: 28px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--c-line); border-radius: 30px; cursor: pointer; transition: .3s; }
.switch .slider::before { content:''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.switch input:checked + .slider { background: var(--grad-button); }
.switch input:checked + .slider::before { transform: translateX(22px); }

.url-preview {
  background: var(--c-cream); padding: 12px 16px; border-radius: 12px;
  font-family: monospace; font-size: .9rem; color: var(--c-text-soft);
  border: 1px solid var(--c-line);
}
.url-preview .host { color: var(--c-muted); }
.url-preview .slug { color: var(--c-primary-2); font-weight: 600; }
.slug-status { font-size: .85rem; margin-top: 6px; }
.slug-status.ok { color: #1a6e3a; }
.slug-status.no { color: #a02828; }

.tpl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.tpl-pick label { cursor: pointer; }
.tpl-pick input { display: none; }
.tpl-pick .tpl-card { transition: all .2s; }
.tpl-pick label:has(input:checked) .tpl-card { box-shadow: 0 0 0 3px var(--c-primary), var(--shadow-2); }

/* ===== Animations ===== */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatY { 0%,100%{transform:translateY(0) rotate(var(--r,0))} 50%{transform:translateY(-14px) rotate(var(--r,0))} }
@keyframes blob { 0%,100%{transform:scale(1) translate(0,0)} 33%{transform:scale(1.1) translate(20px,-10px)} 66%{transform:scale(.95) translate(-10px,20px)} }
.hero-card-1 { --r: -6deg; }
.hero-card-2 { --r: 5deg; }
.hero-card-3 { --r: -3deg; }


/* ==========================================================================
   ONLINE-DAVETIYE-OLUSTUR (Landing Page) — lp-* sınıfları
   ========================================================================== */

/* HERO */
.lp-hero { padding: 60px 0 70px; background: linear-gradient(180deg, var(--c-cream) 0%, #fff 100%); position: relative; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.lp-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 14px 0 18px; }
.lp-hero h1 .accent { color: var(--c-primary); font-style: italic; }
.lp-hero .lead { font-size: 1.05rem; color: var(--c-text-soft); margin-bottom: 28px; line-height: 1.6; max-width: 540px; }
.hero-eyebrow { display:inline-block; background: var(--grad-soft); color: var(--c-primary-2); font-weight:600; font-size:.8rem; letter-spacing:.5px; padding:6px 14px; border-radius:30px; text-transform: uppercase; }
.lp-cta { display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-bullets { list-style:none; padding:0; display:flex; gap: 22px; flex-wrap:wrap; color: var(--c-text-soft); font-size:.92rem; }
.lp-bullets li { display:flex; align-items:center; gap:6px; }

/* HERO PHONE */
.lp-preview { position:relative; display:flex; justify-content:center; align-items:center; min-height: 460px; }
.lp-phone { width: 280px; height: 540px; background: #1c1212; border-radius: 38px; padding: 12px; box-shadow: 0 30px 70px rgba(232,138,163,.35), 0 6px 20px rgba(0,0,0,.18); position:relative; }
.lp-phone-notch { position:absolute; top: 14px; left:50%; transform:translateX(-50%); width: 110px; height: 22px; background:#1c1212; border-radius:0 0 16px 16px; z-index:3; }
.lp-phone-screen { background: linear-gradient(160deg, #fff5f7 0%, #fff 50%, #fef0e8 100%); border-radius: 28px; height: 100%; overflow:hidden; position:relative; padding: 38px 18px 18px; display:flex; flex-direction:column; gap:18px; }
.lp-phone-cover { text-align:center; padding: 22px 10px; }
.lp-phone-ornament { font-size: 1.5rem; color: var(--c-primary); }
.lp-phone-cat { display:inline-block; background:#fff; padding:4px 12px; border-radius:30px; font-size:.7rem; font-weight:600; color:var(--c-primary); margin: 8px 0 12px; box-shadow:0 4px 12px rgba(232,138,163,.18); }
.lp-phone-cover h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--c-text); margin: 8px 0 6px; }
.lp-phone-cover p { font-family: var(--font-script, 'Dancing Script', cursive); color: var(--c-primary); font-size: 1.1rem; margin-bottom: 8px; }
.lp-phone-cd { display:grid; grid-template-columns: repeat(4,1fr); gap: 6px; padding: 0 8px; }
.lp-phone-cd > div { background: #fff; border-radius: 10px; padding: 10px 4px; text-align:center; box-shadow: 0 2px 8px rgba(232,138,163,.15); }
.lp-phone-cd strong { display:block; font-family: var(--font-display); color: var(--c-primary); font-size: 1.2rem; line-height:1; }
.lp-phone-cd span { display:block; font-size:.62rem; color: var(--c-muted); margin-top:3px; text-transform:uppercase; letter-spacing:.3px; }

.lp-pet { position:absolute; font-size: 2rem; opacity: .7; animation: lpFloat 5s ease-in-out infinite; }
.lp-pet-1 { top: 30px; left: 5%; animation-delay: 0s; }
.lp-pet-2 { top: 60%; right: 0; animation-delay: 1s; font-size: 2.6rem; }
.lp-pet-3 { bottom: 18px; left: 18%; animation-delay: 2s; font-size: 1.7rem; }
@keyframes lpFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

@media (max-width: 880px) {
  .lp-hero { padding: 40px 0 50px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align:center; }
  .lp-hero .lead { margin-left:auto; margin-right:auto; }
  .lp-cta, .lp-bullets { justify-content:center; }
  .lp-phone { width: 240px; height: 480px; }
}

/* SON YAYINLANAN — yatay sonsuz kayan şerit */
.lp-recent { padding: 70px 0; }
.lp-recent .section-head { text-align:center; margin-bottom: 36px; }
.lp-recent .container { overflow: hidden; max-width: none; padding: 0; }
.lp-recent-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp-recent-grid { display: flex; gap: 22px; width: max-content; animation: lpScroll 50s linear infinite; padding: 8px 0; }
.lp-recent-grid:hover { animation-play-state: paused; }
.lp-recent-card { flex: 0 0 240px; width: 240px; background: #fff; border-radius: 16px; overflow: hidden; text-decoration:none; color: var(--c-text); box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: transform .25s, box-shadow .25s; border: 1px solid var(--c-line, #f0e7e7); }
.lp-recent-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(232,138,163,.25); }
.lp-recent-card .tpl-thumb { border-radius: 0 !important; height: 220px !important; }
.lp-recent-info { padding: 14px 16px 16px; }
.lp-recent-cat { display:inline-block; font-size:.7rem; background: var(--c-cream); color: var(--c-primary); padding:3px 10px; border-radius:30px; margin-bottom:8px; font-weight:600; }
.lp-recent-info strong { display:block; font-size:.95rem; line-height:1.3; margin-bottom:4px; }
.lp-recent-info small { color: var(--c-muted); font-size:.75rem; }
@keyframes lpScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 3 ADIMDA */
.lp-steps { padding: 70px 0; }
.lp-steps .section-head { text-align:center; margin-bottom: 40px; }
.lp-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.lp-step { background: #fff; border-radius: 20px; padding: 36px 26px 28px; text-align:center; position:relative; box-shadow: 0 12px 32px rgba(232,138,163,.12); transition: transform .25s, box-shadow .25s; border:1px solid rgba(255,255,255,.6); }
.lp-step:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(232,138,163,.22); }
.lp-step-num { position:absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--grad-button, linear-gradient(135deg, #f5a3b7, #e88aa3)); color:#fff; display:grid; place-items:center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(232,138,163,.45); }
.lp-step-icon { font-size: 2.6rem; margin: 8px 0 14px; }
.lp-step h3 { font-family: var(--font-body); font-size: 1.15rem; margin-bottom: 10px; color: var(--c-text); }
.lp-step p { color: var(--c-text-soft); font-size: .92rem; line-height: 1.55; margin: 0; }
@media (max-width: 880px) {
  .lp-steps-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* SECTION HEAD ortak */
.section-head { text-align:center; margin-bottom: 40px; max-width: 720px; margin-left:auto; margin-right:auto; padding: 0 16px; }
.section-eyebrow { display:inline-block; color: var(--c-primary-2); font-weight:600; font-size:.78rem; letter-spacing:1px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--c-text-soft); font-size: 1rem; }


/* ==========================================================================
   ONLINE-DAVETIYE-TASARLA-GIRIS — login + register tek ekran
   ========================================================================== */
.auth-lp { padding: 50px 0 60px; background: linear-gradient(180deg, var(--c-cream) 0%, #fff 100%); }
.auth-lp-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.auth-lp-side h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height:1.15; margin: 14px 0 16px; }
.auth-lp-side h1 .accent { color: var(--c-primary); font-style: italic; }
.auth-lp-side .lead { color: var(--c-text-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 22px; max-width: 520px; }

.auth-lp-card { background: #fff; border-radius: 22px; box-shadow: 0 22px 56px rgba(232,138,163,.18); padding: 28px 30px 30px; max-width: 460px; width: 100%; justify-self: end; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--c-cream); padding: 5px; border-radius: 14px; margin-bottom: 18px; }
.auth-tab { background: transparent; border: 0; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--c-text-soft); transition: all .25s; font-family: inherit; }
.auth-tab.active { background: #fff; color: var(--c-primary); box-shadow: 0 4px 14px rgba(232,138,163,.18); }
.auth-tab:hover:not(.active) { color: var(--c-primary-2); }

/* Sekme yüksekliği sabit kalsın: register formu (en uzun) baz alınır */
.auth-panes { position: relative; min-height: 520px; }
.auth-pane { display: block; }
.auth-pane[hidden] { display: none; }
.auth-pane-h { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; text-align: center; }
.auth-pane .auth-sub { text-align: center; color: var(--c-muted); font-size: .9rem; margin-bottom: 20px; }
/* .switch global toggle stilini ezer (display/width sıfırlama gerekli) */
.auth-pane p.switch { display: block; position: static; width: auto; height: auto; text-align: center; color: var(--c-text-soft); font-size: .9rem; margin: 16px 0 0; white-space: normal; }
.auth-pane p.switch a { color: var(--c-primary); font-weight: 600; text-decoration: none; }
.auth-pane p.switch a:hover { text-decoration: underline; }

.auth-msg { margin: 0 0 14px; }
.auth-msg .flash { border-radius: 12px; padding: 10px 14px; margin: 0 0 8px; font-size: .92rem; }
.auth-msg .flash:last-child { margin-bottom: 0; }

/* ===== Toast bildirimleri (sağ üst köşe) ===== */
.toast-stack { position: fixed; top: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); width: 360px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px 13px 14px; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(20,20,40,.18), 0 2px 6px rgba(20,20,40,.08); border-left: 4px solid var(--c-primary, #e88aa3); font-size: .92rem; line-height: 1.45; color: #1a1a2e; opacity: 0; transform: translateX(20px); transition: opacity .28s ease, transform .28s ease; }
.toast.in { opacity: 1; transform: translateX(0); }
.toast.out { opacity: 0; transform: translateX(20px); }
.toast-ic { font-size: 1.15rem; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.toast-txt { flex: 1; word-break: break-word; }
.toast-x { background: transparent; border: 0; color: #888; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 2px; margin: -2px -2px 0 4px; flex-shrink: 0; }
.toast-x:hover { color: #222; }
.toast-success { border-left-color: #2bb673; }
.toast-error   { border-left-color: #e74c3c; }
.toast-info    { border-left-color: #3aa0ff; }
@media (max-width: 520px) {
  .toast-stack { top: 70px; right: 10px; left: 10px; width: auto; }
}

@media (max-width: 880px) {
  .auth-lp-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .auth-lp-side .lead { margin-left:auto; margin-right:auto; }
  .auth-lp-side .lp-bullets { justify-content: center; }
  .auth-lp-card { justify-self: center; max-width: 100%; }
}
