:root {
  --ivory: #fbf6ef;
  --paper: #f7efe6;
  --blush: rgba(242, 214, 217, 0.45);
  --accent: #a5bdc1;
  --accent-deep: #7a9ba1;
  --ink: #15100f;
  --cocoa: #2f211f;
  --muted: #6f5b58;
  --border: rgba(47, 33, 31, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 80px rgba(21, 16, 15, 0.1);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--cocoa);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 10% -5%, var(--blush), transparent 55%),
    radial-gradient(800px 480px at 95% 10%, rgba(165, 189, 193, 0.25), transparent 50%),
    linear-gradient(180deg, var(--ivory), var(--paper));
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.site-nav.is-scrolled {
  box-shadow: 0 8px 32px rgba(21, 16, 15, 0.06);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--accent-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}

.lang-toggle button.is-active {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.25rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent-deep);
}

.hero__lead {
  max-width: 580px;
  margin: 0 auto 12px;
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  color: var(--muted);
  line-height: 1.6;
}

.hero__lead-sub {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0.9;
}

.hero__domain {
  display: inline-block;
  margin: 0 0.2em;
  padding: 0.15em 0.55em;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}

.hero__domain:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(21, 16, 15, 0.08);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero__visual {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.phone-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 12px;
}

.phone-mock--solo {
  grid-template-columns: 1fr;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
}

.phone-mock--solo .phone-card {
  transform: none;
}

.phone-mock--solo .phone-card:hover {
  transform: translateY(-4px);
}

.phone-mock--solo figcaption a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.phone-mock--solo figcaption a:hover {
  text-decoration: underline;
}

.phone-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
}

.phone-card:nth-child(2) {
  transform: translateY(12px);
}

.phone-card:hover {
  transform: translateY(-4px);
}

.phone-card__screen {
  aspect-ratio: 9/16;
  border-radius: 16px;
  background: var(--ivory);
  overflow: hidden;
  position: relative;
}

.phone-card__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mini davetiye preview (no cover photo) */
.invite-preview {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12% 8% 14%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(242, 214, 217, 0.55), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(165, 189, 193, 0.22), transparent 65%),
    linear-gradient(175deg, #fbf6ef 0%, #f7efe6 48%, #f3ebe3 100%);
  overflow: hidden;
}

.invite-preview__decor {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%23d7a7ae' fill-opacity='.35' d='M40 62c-8-6-14-12-14-20a10 10 0 0 1 20 0c0 8-6 14-14 20z'/%3E%3C/svg%3E");
  background-size: 56px 56px;
}

.invite-preview__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-width: 100%;
}

.invite-preview__pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: clamp(0.45rem, 2.2vw, 0.58rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.invite-preview__ampersand {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 12vw, 2.75rem);
  line-height: 1;
  color: var(--accent-deep);
  opacity: 0.35;
  user-select: none;
}

.invite-preview__names {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  text-align: center;
  width: 100%;
}

.invite-preview__name {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(0.62rem, 3vw, 0.78rem);
  line-height: 1.2;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.invite-preview__name + .invite-preview__name {
  margin-top: 2px;
  font-size: clamp(0.58rem, 2.8vw, 0.72rem);
  color: var(--cocoa);
}

/* Examples section cards */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.example-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(21, 16, 15, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.example-card__preview {
  aspect-ratio: 4/3;
  background: var(--ivory);
  overflow: hidden;
  position: relative;
}

.example-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-card__preview .invite-preview {
  padding: 10% 8% 12%;
}

.example-card__preview .invite-preview__ampersand {
  font-size: clamp(2.5rem, 8vw, 3.25rem);
}

.example-card__body {
  padding: 18px 20px 20px;
}

.example-card__body h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.example-card__body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.example-card__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.phone-card figcaption {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* —— Sections —— */
section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--ink);
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(21, 16, 15, 0.04);
  transition: transform 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(165, 189, 193, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.package-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(21, 16, 15, 0.05);
}

.package-card.is-featured {
  border-color: var(--accent-deep);
  box-shadow: 0 20px 60px rgba(122, 155, 161, 0.2);
  transform: scale(1.02);
}

.package-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.package-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: var(--ink);
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.package-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-card li::before {
  content: "✓";
  color: var(--accent-deep);
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */
.contact-section {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 16px;
  color: var(--ink);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.contact-channel:hover {
  background: #fff;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
}

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

.form-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-msg.is-ok {
  color: #2d6a4f;
}

.form-msg.is-err {
  color: #9b2226;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(251, 246, 239, 0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .package-card.is-featured {
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phone-mock:not(.phone-mock--solo) {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  .phone-mock:not(.phone-mock--solo) .phone-card:nth-child(2) {
    transform: none;
  }
  .phone-mock:not(.phone-mock--solo) .phone-card:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
    place-items: center;
  }
  .nav-actions .btn--ghost {
    display: none;
  }
  section {
    padding: 56px 0;
  }
  .hero {
    padding-bottom: 56px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1120px);
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .contact-form {
    padding: 20px;
  }
}
