@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

:root { --cream: #fffaf5; --paper: #fff; --ink: #211d1a; --muted: #776f69; --rose: #a85156; --rose-dark: #7f373d; --line: #e7ded7; --serif: "Playfair Display", Georgia, serif; --sans: "Manrope", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input, textarea { font: inherit; }
.site-header { display: flex; width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; align-items: center; justify-content: space-between; }
.logo { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.logo span { color: var(--rose); }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav > a:not(.nav-button), .back-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav-button { border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; font-size: 12px; font-weight: 600; text-decoration: none; }
.landing-hero { display: grid; width: min(1180px, calc(100% - 48px)); min-height: 680px; margin: 0 auto; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 80px; padding: 58px 0 82px; }
.kicker { margin: 0 0 18px; color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.hero-text h1 { max-width: 680px; margin: 0; font: 500 clamp(48px, 5.3vw, 76px)/1.04 var(--serif); letter-spacing: -.035em; }
.lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.primary-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 0 25px; background: var(--rose); color: white; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 12px 30px rgb(168 81 86 / 22%); }
.primary-button:hover { background: var(--rose-dark); }
.text-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 37px; color: var(--muted); font-size: 11px; }
.phone-stage { position: relative; display: grid; min-height: 550px; place-items: center; }
.glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, #e9c6b8, #f8e9df 60%, transparent 70%); }
.phone { position: relative; z-index: 1; width: 275px; height: 555px; overflow: hidden; border: 8px solid #191716; border-radius: 42px; background: #111; box-shadow: 0 32px 80px rgb(54 37 30 / 28%); transform: rotate(3deg); }
.phone::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / 78%)); content: ""; }
.phone-bar { position: absolute; z-index: 4; top: 10px; left: 50%; width: 82px; height: 22px; border-radius: 20px; background: #111; transform: translateX(-50%); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-copy { position: absolute; z-index: 2; right: 20px; bottom: 36px; left: 20px; display: flex; flex-direction: column; align-items: center; color: white; text-align: center; }
.phone-copy small { font-size: 8px; letter-spacing: .22em; }
.phone-copy strong { margin: 10px 0 15px; font: 500 31px/1 var(--serif); }
.phone-copy strong i { padding: 0 3px; font-size: 18px; }
.phone-copy > span { font-size: 9px; letter-spacing: .18em; }
.floating-card { position: absolute; z-index: 2; right: 3%; bottom: 58px; display: flex; min-width: 155px; align-items: center; gap: 12px; border: 1px solid rgb(255 255 255 / 70%); border-radius: 17px; padding: 13px 17px; background: rgb(255 255 255 / 78%); box-shadow: 0 15px 40px rgb(45 36 32 / 15%); backdrop-filter: blur(12px); }
.floating-card b { color: var(--rose); font: 500 38px/1 var(--serif); }
.floating-card span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.steps { padding: 100px max(24px, calc((100% - 1180px) / 2)); background: white; }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 40px; }
.section-heading p { color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.section-heading h2, .showcase h2 { max-width: 690px; margin: 0; font: 500 clamp(36px, 4vw, 58px)/1.1 var(--serif); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.step-grid article { min-height: 235px; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: #fffdfb; }
.step-grid article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #f6e8e1; color: var(--rose); font-size: 11px; font-weight: 700; }
.step-grid h3 { margin: 42px 0 11px; font: 500 23px/1.2 var(--serif); }
.step-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.showcase { display: grid; padding: 110px max(24px, calc((100% - 1180px) / 2)); grid-template-columns: 1.1fr .9fr; gap: 80px; background: #241f1c; color: white; }
.showcase > div > p:not(.kicker) { max-width: 620px; margin: 25px 0 34px; color: #c8bfba; line-height: 1.7; }
.primary-button.dark { background: white; color: #211d1a; box-shadow: none; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list span { display: flex; min-height: 120px; align-items: flex-end; border: 1px solid #514946; border-radius: 18px; padding: 20px; color: #e2d8d2; font: 500 18px/1.2 var(--serif); }
footer { display: flex; min-height: 130px; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100% - 1180px) / 2)); background: white; }
footer p { color: var(--muted); font-size: 12px; }

.editor-page { background: #f7f3ef; }
.editor-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 100px; }
.editor-intro { max-width: 700px; margin-bottom: 50px; }
.editor-intro h1 { margin: 0; font: 500 clamp(42px, 5vw, 67px)/1.05 var(--serif); }
.editor-intro > p:last-child { margin: 18px 0 0; color: var(--muted); }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 66px; align-items: start; }
.editor-form { display: grid; gap: 20px; }
.form-section { position: relative; display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: white; }
.form-number { position: absolute; top: 32px; right: 30px; color: #b7aaa2; font-size: 11px; letter-spacing: .16em; }
.form-section h2 { margin: 0 0 6px; font: 500 25px/1.2 var(--serif); }
.form-section label { display: grid; gap: 8px; color: #514a46; font-size: 12px; font-weight: 600; }
.form-section label small { color: var(--muted); font-size: 10px; font-weight: 500; }
.form-section input, .form-section textarea { width: 100%; border: 1px solid #ddd3cc; border-radius: 11px; padding: 13px 14px; background: #fffcfa; color: var(--ink); outline: none; resize: vertical; }
.form-section input:focus, .form-section textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgb(168 81 86 / 10%); }
.photo-help { margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.photo-upload > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.photo-picker { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 14px; border: 1px dashed #cdbeb5; border-radius: 14px; padding: 10px; background: #fffcfa; cursor: pointer; }
.photo-picker > img { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; }
.photo-picker > b { display: grid; gap: 6px; }
.photo-picker strong { color: var(--rose); font-size: 12px; }
.photo-picker small { color: var(--muted); font-size: 10px; font-weight: 500; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.generate-button { width: 100%; border-radius: 13px; }
.link-error { margin: 0; border: 1px solid #e5b9b9; border-radius: 12px; padding: 13px 15px; background: #fff4f4; color: #8b2929; font-size: 13px; }
.result-box { border: 1px solid #c7dacb; border-radius: 18px; padding: 23px; background: #f5fbf6; }
.result-box strong { color: #2f6540; }
.result-box p { margin: 8px 0 13px; color: var(--muted); font-size: 12px; }
.result-box > div { display: flex; gap: 8px; }
.result-box input { min-width: 0; flex: 1; border: 1px solid #cbd7cd; border-radius: 9px; padding: 11px; background: white; }
.result-box button { border: 0; border-radius: 9px; padding: 0 14px; background: #2f6540; color: white; cursor: pointer; }
.result-box > a { display: inline-block; margin-top: 15px; color: #2f6540; font-size: 12px; font-weight: 700; }
.payment-box { display: grid; gap: 18px; border: 1px solid #ded2ca; border-radius: 22px; padding: 28px; background: #fff; box-shadow: 0 18px 50px rgb(68 48 38 / 8%); }
.payment-box[hidden] { display: none; }
.payment-heading { display: flex; align-items: center; gap: 14px; }
.payment-heading > span { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f6e8e1; color: var(--rose); font-size: 11px; font-weight: 700; }
.payment-heading p { margin: 0 0 3px; color: var(--rose); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.payment-heading h2 { margin: 0; font: 500 24px/1.2 var(--serif); }
.payment-summary { display: flex; align-items: center; justify-content: space-between; border-radius: 15px; padding: 18px; background: #241f1c; color: white; }
.payment-summary span { color: #d6cbc5; font-size: 11px; }
.payment-summary strong { font: 500 25px/1 var(--serif); }
.payment-summary strong b { font-weight: 500; }
.payment-details { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 15px; padding: 18px; background: #fffcfa; }
.payment-details p { margin: 0; color: var(--muted); font-size: 11px; }
.payment-details > strong { font-size: 23px; letter-spacing: .04em; }
.payment-details > span { color: var(--muted); font-size: 12px; }
.payment-details > small { margin-top: 7px; color: var(--rose); font-size: 11px; }
.payment-steps { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.payment-form { display: grid; gap: 13px; }
.payment-form label, .admin-login label { display: grid; gap: 8px; color: #514a46; font-size: 12px; font-weight: 600; }
.payment-form input, .admin-login input { width: 100%; border: 1px solid #ddd3cc; border-radius: 11px; padding: 13px 14px; background: #fffcfa; outline: none; }
.receipt-preview { display: grid; width: 78px; height: 78px; place-items: center; overflow: hidden; border-radius: 10px; background: #f5ece7; font-size: 27px; }
.receipt-preview img { width: 100%; height: 100%; object-fit: cover; }
.receipt-preview img[hidden], .receipt-preview [hidden] { display: none; }
.payment-form .primary-button { width: 100%; border-radius: 12px; }
.payment-whatsapp { color: #2d6d45; font-size: 12px; font-weight: 700; }
.payment-status { margin: 0; border-radius: 12px; padding: 14px; background: #f3f0ed; color: var(--muted); font-size: 12px; line-height: 1.5; }
.payment-status[data-state="waiting"] { background: #fff8dd; color: #755a12; }
.payment-status[data-state="error"] { background: #fff1f1; color: #8b2929; }
.admin-shell { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 100px; }
.admin-login { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: white; }
.admin-login .primary-button { min-height: 46px; border-radius: 11px; }
.admin-orders { margin-top: 24px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin-toolbar button { border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; background: white; cursor: pointer; }
.admin-orders [data-admin-list] { display: grid; gap: 14px; }
.admin-order { border: 1px solid var(--line); border-radius: 18px; padding: 21px; background: white; }
.admin-order-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.admin-order-head > strong { font: 500 23px/1.2 var(--serif); }
.admin-order-head > span { border-radius: 999px; padding: 6px 9px; background: #f3f0ed; color: var(--muted); font-size: 10px; }
.admin-order-head > span[data-status="submitted"] { background: #fff3c9; color: #765b00; }
.admin-order-head > span[data-status="paid"] { background: #e8f7eb; color: #2f6540; }
.admin-order dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 19px 0; }
.admin-order dl div { display: grid; gap: 4px; }
.admin-order dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-order dd { margin: 0; font-size: 12px; word-break: break-word; }
.admin-actions { display: flex; justify-content: flex-end; gap: 9px; }
.admin-actions button { border: 1px solid #e0d5cf; border-radius: 9px; padding: 10px 14px; background: white; cursor: pointer; }
.admin-actions button[data-approve] { border-color: #2f6540; background: #2f6540; color: white; }
.admin-invite { color: #2f6540; font-size: 12px; font-weight: 700; }
.admin-empty { border: 1px dashed var(--line); border-radius: 15px; padding: 30px; color: var(--muted); text-align: center; }
.preview-column { position: sticky; top: 20px; }
.preview-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.preview-label a { color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: 0; text-decoration: none; }
.preview-phone { position: relative; width: 330px; height: 665px; margin: 0 auto; overflow: hidden; border: 9px solid #191716; border-radius: 46px; background: #111; box-shadow: 0 30px 70px rgb(65 45 36 / 23%); }
.preview-phone > img { width: 100%; height: 100%; object-fit: cover; }
.preview-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgb(0 0 0 / 80%)); }
.preview-copy { position: absolute; right: 24px; bottom: 48px; left: 24px; display: flex; flex-direction: column; align-items: center; color: white; text-align: center; }
.preview-copy small { font-size: 9px; letter-spacing: .24em; }
.preview-copy strong { display: flex; width: 100%; align-items: center; justify-content: center; gap: 5px; margin: 12px 0 17px; font: 500 28px/1 var(--serif); white-space: nowrap; }
.preview-copy strong i { font-size: 20px; }
.preview-copy > span { font-size: 10px; letter-spacing: .18em; }
.preview-copy em { margin-top: 25px; font: normal 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 900px) { .landing-hero { grid-template-columns: 1fr; gap: 20px; padding-top: 45px; text-align: center; } .hero-text h1, .lead { margin-inline: auto; } .hero-actions, .trust { justify-content: center; } .phone-stage { min-height: 590px; } .section-heading, .showcase { grid-template-columns: 1fr; } .editor-layout { grid-template-columns: 1fr; } .preview-column { position: static; grid-row: 1; } .preview-phone { height: 565px; } }
@media (max-width: 650px) {
  .site-header, .landing-hero, .editor-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 68px; } .site-header nav > a:not(.nav-button) { display: none; } .nav-button { padding: 9px 12px; font-size: 10px; }
  .landing-hero { min-height: auto; padding: 56px 0 70px; } .hero-text h1 { font-size: 44px; } .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 18px; } .trust { display: grid; gap: 9px; } .phone-stage { min-height: 535px; }
  .phone { width: 245px; height: 495px; } .glow { width: 330px; height: 330px; } .floating-card { right: 0; bottom: 42px; min-width: 125px; }
  .steps, .showcase { padding-block: 75px; } .step-grid { grid-template-columns: 1fr; margin-top: 45px; } .step-grid article { min-height: 200px; }
  .showcase { gap: 45px; } .feature-list { grid-template-columns: 1fr; } .feature-list span { min-height: 90px; }
  footer { flex-direction: column; justify-content: center; gap: 10px; text-align: center; }
  .editor-shell { padding-top: 35px; } .editor-intro { margin-bottom: 32px; } .editor-intro h1 { font-size: 42px; }
  .editor-layout { gap: 38px; } .preview-phone { width: 280px; height: 565px; } .form-section { padding: 24px 19px; }
  .two-columns { grid-template-columns: 1fr; } .result-box > div { flex-direction: column; } .result-box button { min-height: 42px; }
  .payment-box { padding: 22px 18px; } .payment-summary { align-items: flex-start; flex-direction: column; gap: 9px; }
  .admin-shell { width: min(100% - 30px, 940px); padding-top: 35px; } .admin-login { grid-template-columns: 1fr; } .admin-order dl { grid-template-columns: 1fr 1fr; } .admin-order-head { align-items: flex-start; flex-direction: column; }
}
