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

:root {
  --primary: #FF6B1A;
  --bg: #FFFAF6;
  --dark: #2A1A0A;
  --muted: #B07050;
  --border: #F0D9C8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Nunito', sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(440px, 92%);
  margin: 0 auto;
}

.section {
  padding: 38px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 30px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 4%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
}

.menu-toggle {
  display: inline-block;
  border: 1px solid var(--border);
  background: #fff4ec;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  margin: 4px auto;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 840px;
  z-index: 1;
}

.brand-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.brand-reveal-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  animation: logo-spin-fast 1s ease-out both;
}

.brand-reveal-text {
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-12px);
  animation: logo-text-in 0.6s ease-out 0.45s forwards;
}

.hero h1 {
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 95%;
  font-size: 0.98rem;
}

.accent {
  color: var(--primary);
}

.emoji-bg {
  position: absolute;
  inset: 20% -2%;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  opacity: 0.06;
  letter-spacing: 14px;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
}

.step-card {
  border-radius: 28px;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.plan-card {
  position: relative;
}

.plan-card h3 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.price {
  font-size: 1.8rem;
  margin: 0 0 18px;
  color: var(--dark);
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 4px;
}

.feature-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
}

.plan-card-featured {
  box-shadow: 0 14px 30px rgba(255, 107, 26, 0.2);
}

.badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.plan-card .btn {
  width: 100%;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--white);
}

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

.delete-page .delete-card {
  margin-top: 18px;
  text-align: left;
}

.delete-page .delete-form {
  display: grid;
  gap: 12px;
}

.delete-page .delete-form label {
  font-weight: 600;
}

.delete-page .delete-form input,
.delete-page .delete-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--dark);
  background: var(--white);
}

.delete-page .delete-form textarea {
  resize: vertical;
}

.delete-page .delete-form .btn {
  width: 100%;
  margin-top: 4px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff0e8;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.site-footer {
  background: #fff6ef;
  border-top: 1px solid var(--border);
  padding: 28px 0 24px;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--dark);
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content {
  max-width: 860px;
}

.legal-card h1 {
  margin-bottom: 10px;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.legal-card p, .legal-card li {
  color: #4b2d16;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 10, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  width: min(420px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  position: relative;
}

.modal-card input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  font: inherit;
}

.modal-card .btn {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.inline-error {
  min-height: 1.2rem;
  color: #c33500;
  margin-top: 10px;
  text-align: center;
}

.success-screen {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.success-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  width: min(560px, 94%);
}

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .container {
    width: min(520px, 94%);
  }

  .section {
    padding: 48px 0;
  }
}

.nav-links.open {
  display: flex;
}

@keyframes logo-spin-fast {
  0% {
    transform: rotate(0deg) scale(0.7);
    opacity: 0;
  }
  40% {
    transform: rotate(650deg) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: rotate(720deg) scale(1);
    opacity: 1;
  }
}

@keyframes logo-text-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
