body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-sans-serif
}

h1,
h2,
h3,
h4,
h5,
.hero h1,
.section-title {
    font-family: 'Open Sans', Georgia, 'Times New Roman', sans-sans-serif
}

:root {
    --cream: #fdf8f3;
    --warm-white: #fffcf8;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-pale: #f5e9c8;
    --gold-dark: #a8882a;
    --deep: #1a1209;
    --brown: #3d2b1f;
    --muted: #8b7355;
    --rose: #e8a598;
    --sage: #8fab8f;
    --blush: #f2d6cf;
    --ink: #2c1810;
    --border: rgba(201, 168, 76, .15);
    --border2: rgba(61, 43, 31, .12);
    --shadow-gold: rgba(201, 168, 76, .3);
    --shadow-sm: 0 2px 8px rgba(26, 18, 9, .07);
    --shadow-md: 0 8px 32px rgba(26, 18, 9, .11);
    --shadow-lg: 0 24px 64px rgba(26, 18, 9, .16);
    --tr: all .22s cubic-bezier(.4, 0, .2, 1);
    --nav-h: 72px;
    --max-w: 1280px
}

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

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

body {
    font-family: 'Open Sans', sans-sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.6;
    min-width: 320px
}

img,
svg,
video {
    max-width: 100%;
    display: block;
    height: auto
}

a {
    color: inherit
}

button,
input,
select,
textarea {
    font-family: inherit
}

ul,
ol {
    list-style: none
}

#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--nav-h);
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(253, 248, 243, .96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s
}

#mainNav.scrolled {
    box-shadow: 0 4px 32px rgba(26, 18, 9, .09)
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0
}

.nav-logo-text {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--deep);
    letter-spacing: -.5px;
    white-space: nowrap
}

.nav-logo-text span {
    color: var(--gold)
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--brown);
    letter-spacing: .3px;
    transition: color .2s;
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: width .3s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold)
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%
}

.nav-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: 0;
    border: 0;
    cursor: pointer;
    padding: 8px;
    z-index: 600;
    flex-shrink: 0;
    width: 44px;
    height: 44px
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep);
    border-radius: 2px;
    transition: all .3s
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--warm-white);
    z-index: 490;
    flex-direction: column;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto
}

.mobile-menu.open {
    display: flex;
    animation: mmSlide .2s ease
}

@keyframes mmSlide {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.mobile-menu a {
    text-decoration: none;
    color: var(--brown);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(201, 168, 76, .08);
    transition: color .2s;
    min-height: 48px;
    display: flex;
    align-items: center
}

.mobile-menu a:last-child {
    border-bottom: 0
}

.mobile-menu a:hover {
    color: var(--gold)
}

.mobile-menu .mm-signin {
    color: var(--gold);
    border-bottom: 0
}

.mobile-menu .mm-cta {
    margin-top: 10px;
    background: var(--gold);
    color: white !important;
    justify-content: center;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    border-bottom: none !important;
    box-shadow: 0 4px 16px var(--shadow-gold)
}

.btn-ghost {
    padding: 9px 22px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr);
    font-family: 'Open Sans', sans-sans-serif;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.4
}

.btn-ghost:hover {
    background: var(--gold);
    color: white
}

.btn-primary {
    padding: 9px 22px;
    background: var(--gold);
    color: white;
    border: 0;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr);
    font-family: 'Open Sans', sans-sans-serif;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px var(--shadow-gold);
    white-space: nowrap;
    line-height: 1.4
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px var(--shadow-gold)
}

.btn-lg {
    padding: 13px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1.4
}

.btn-lg.gold {
    background: var(--gold);
    color: white;
    border: 0;
    box-shadow: 0 8px 28px var(--shadow-gold)
}

.btn-lg.gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-gold)
}

.btn-lg.outline {
    background: transparent;
    border: 2px solid rgba(61, 43, 31, .2);
    color: var(--brown)
}

.btn-lg.outline:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.btn-lg.outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .3);
    color: white
}

.btn-lg.outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, .1)
}

.section {
    padding: 100px 64px
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0
}

.section-label.center {
    justify-content: center
}

.section-label.light {
    color: var(--gold-light)
}

.section-label.light::before {
    background: var(--gold-light)
}

.section-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    color: var(--deep);
    line-height: 1.13;
    margin-bottom: 16px
}

.section-title.light {
    color: var(--cream)
}

.section-title.center {
    text-align: center
}

.section-sub {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--muted);
    font-weight: 300;
    max-width: 520px;
    line-height: 1.75
}

.section-sub.center {
    margin: 0 auto;
    text-align: center
}

.marquee-strip {
    background: var(--deep);
    padding: 14px 0;
    overflow: hidden;
    display: flex
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marq 30s linear infinite;
    will-change: transform
}

.marquee-inner:hover {
    animation-play-state: paused
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(253, 248, 243, .55);
    letter-spacing: 2px;
    text-transform: uppercase
}

.marquee-item .dot {
    color: var(--gold);
    font-size: 7px
}

@keyframes marq {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.up {
    opacity: 1;
    transform: translateY(0)
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .16s
}

.d3 {
    transition-delay: .24s
}

.d4 {
    transition-delay: .32s
}

@media(prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
    white-space: nowrap
}

.badge-free {
    background: rgba(143, 171, 143, .22);
    color: #7ec87e;
    border: 1px solid rgba(143, 171, 143, .3)
}

.badge-premium {
    background: rgba(201, 168, 76, .18);
    color: var(--gold-light);
    border: 1px solid rgba(201, 168, 76, .28)
}

.badge-live {
    background: rgba(74, 222, 128, .14);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, .25)
}

.badge-new {
    background: rgba(232, 165, 152, .18);
    color: #e8a598;
    border: 1px solid rgba(232, 165, 152, .28)
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    background: var(--deep);
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: all .28s;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100vw - 32px);
    text-align: center
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.field-group {
    margin-bottom: 18px
}

.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px
}

.field-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1.5px solid var(--border2);
    background: var(--cream);
    color: var(--ink);
    font-size: 14px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: var(--tr);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.field-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, .1);
    background: white
}

.field-input::placeholder {
    color: rgba(44, 24, 16, .3)
}

.page-hero {
    padding: calc(var(--nav-h)+56px) 64px 72px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.page-hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--deep)
}

.page-hero h1 em {
    font-style: italic;
    color: var(--gold)
}

.page-hero h1.light {
    color: var(--cream)
}

.page-hero p {
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 32px
}

.page-hero p.light {
    color: rgba(253, 248, 243, .55)
}

.page-hero-bg-dark {
    background: var(--deep)
}

.page-hero-bg-dark::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .1) 0, transparent 70%);
    pointer-events: none
}

footer {
    background: var(--deep);
    padding: 72px 64px 36px
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 56px;
    margin-bottom: 52px
}

.footer-brand .footer-brand .nav-logo-text {
    color: var(--cream);
    font-size: 22px
}

.footer-brand .nav-logo-text span {
    color: var(--gold)
}

.footer-brand p {
    font-size: 13px;
    color: rgba(253, 248, 243, .4);
    line-height: 1.75;
    margin-top: 14px;
    font-weight: 300
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--tr);
    flex-shrink: 0
}

.social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
    transform: translateY(-2px)
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px
}

.footer-col a {
    text-decoration: none;
    font-size: 13px;
    color: rgba(253, 248, 243, .45);
    transition: color .2s
}

.footer-col a:hover {
    color: var(--gold)
}

.footer-newsletter-desc {
    font-size: 13px;
    color: rgba(253, 248, 243, .35);
    margin-bottom: 14px;
    line-height: 1.6
}

.newsletter-form {
    display: flex
}

.newsletter-input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 12px 0 0 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-right: 0;
    color: white;
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    min-width: 0
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, .28)
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, .1)
}

.newsletter-btn {
    padding: 11px 18px;
    border-radius: 0 12px 12px 0;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0
}

.newsletter-btn:hover {
    background: var(--gold-dark)
}

.footer-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap
}

.fbadge {
    font-size: 11px;
    color: rgba(253, 248, 243, .3);
    background: rgba(255, 255, 255, .05);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px
}

.footer-copy {
    font-size: 12px;
    color: rgba(253, 248, 243, .28)
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.footer-bottom-links a {
    font-size: 12px;
    color: rgba(253, 248, 243, .3);
    text-decoration: none;
    transition: color .2s
}

.footer-bottom-links a:hover {
    color: var(--gold)
}

.auth-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh
}

.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    background: var(--warm-white)
}

.auth-form-inner {
    width: 100%;
    max-width: 420px;
    padding: calc(var(--nav-h) + 32px) 18px 48px;
}

.dash-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    padding-top: var(--nav-h)
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px
}

.two-col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px
}

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

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

.wallet-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.tdetail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

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

.sh-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

@media(min-width:1440px) {
    :root {
        --max-w: 1360px
    }

    #mainNav {
        padding: 0 80px
    }

    .section {
        padding: 100px 80px
    }

    footer {
        padding: 80px 80px 40px
    }
}

@media(max-width:1280px) {
    #mainNav {
        padding: 0 48px
    }

    .section {
        padding: 88px 48px
    }

    footer {
        padding: 64px 48px 36px
    }

    .footer-top {
        gap: 40px
    }
}

@media(max-width:1024px) {
    :root {
        --nav-h: 66px
    }

    #mainNav {
        padding: 0 32px
    }

    .section {
        padding: 72px 32px
    }

    .page-hero {
        padding: calc(var(--nav-h)+40px) 32px 60px
    }

    footer {
        padding: 60px 32px 32px
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        margin-bottom: 40px
    }

    .nav-links {
        gap: 20px
    }

    .nav-links a {
        font-size: 13px
    }

    .stat-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .two-col {
        grid-template-columns: 1fr
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .wallet-inner {
        gap: 48px
    }

    .contact-inner {
        gap: 48px
    }

    .tdetail-grid {
        gap: 48px
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto
    }

    .pc.featured {
        margin-top: 0 !important
    }

    .wallet-inner {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .auth-page {
        grid-template-columns: 1fr
    }

    .auth-visual {
        display: none !important
    }

    .auth-form-wrap {
        padding: calc(var(--nav-h)+32px) 32px 60px
    }

    .dash-layout {
        grid-template-columns: 1fr
    }

    .dash-sidebar {
        display: none !important
    }

    .dash-main {
        padding: 28px 24px 60px !important
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .ql-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .sh-inner {
        grid-template-columns: 1fr
    }

    .tdetail-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .tdetail-preview {
        position: static !important
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    :root {
        --nav-h: 62px
    }

    #mainNav {
        padding: 0 18px;
        gap: 12px
    }

    .nav-links {
        display: none !important
    }

    .nav-ctas {
        display: none !important
    }

    .hamburger {
        display: flex !important
    }

    .section {
        padding: 56px 18px
    }

    .section-title {
        font-size: clamp(26px, 7vw, 38px)
    }

    .section-sub {
        font-size: 14px
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 2px
    }

    .page-hero {
        padding: calc(var(--nav-h) + 28px) 18px 48px
    }

    .page-hero h1 {
        font-size: clamp(30px, 8.5vw, 44px)
    }

    .page-hero p {
        font-size: 14px;
        margin-bottom: 28px
    }

    footer {
        padding: 48px 18px 28px
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px
    }

    .auth-form-wrap {
        padding: calc(var(--nav-h) + 20px) 18px 48px
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .quick-grid {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .ql-grid {
        grid-template-columns: 1fr
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .marquee-item {
        padding: 0 20px;
        font-size: 10px
    }
}

@media(max-width:480px) {
    :root {
        --nav-h: 58px
    }

    #mainNav {
        padding: 0 14px
    }

    .section {
        padding: 44px 14px
    }

    footer {
        padding: 40px 14px 24px
    }

    .page-hero {
        padding: calc(var(--nav-h) + 20px) 14px 40px
    }

    .page-hero h1 {
        font-size: clamp(26px, 9vw, 38px)
    }

    .btn-lg {
        padding: 13px 20px
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px
    }

    .newsletter-input {
        border-radius: 12px;
        border-right: 1px solid rgba(255, 255, 255, .12)
    }

    .newsletter-btn {
        border-radius: 12px;
        padding: 12px
    }

    .auth-form-wrap {
        padding: calc(var(--nav-h)+16px) 14px 40px
    }

    .auth-form-inner h1 {
        font-size: 26px !important
    }

    .stat-cards {
        grid-template-columns: 1fr
    }

    .dash-main {
        padding: 18px 14px 52px !important
    }

    .pc-inner {
        padding: 28px 20px !important
    }

    .compare-section {
        overflow-x: auto
    }

    .compare-table {
        min-width: 380px
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .pricing-grid {
        max-width: 100%
    }
}

@media(max-width:360px) {
    #mainNav {
        padding: 0 10px
    }

    .section {
        padding: 36px 10px
    }

    footer {
        padding: 36px 10px 20px
    }

    .nav-logo-text {
        font-size: 20px !important
    }

    .page-hero h1 {
        font-size: clamp(22px, 8.5vw, 32px)
    }

    .related-grid {
        grid-template-columns: 1fr
    }

    .stat-cards {
        grid-template-columns: 1fr
    }

    .btn-lg {
        font-size: 13px;
        padding: 12px 16px
    }
}

@media(hover:none) and (pointer:coarse) {
    .social-btn {
        width: 44px;
        height: 44px
    }

    .hamburger {
        width: 48px;
        height: 48px
    }

    .btn-lg:hover,
    .btn-primary:hover,
    .btn-ghost:hover {
        transform: none
    }
}

@media(max-width:768px) and (orientation:landscape) {
    .page-hero {
        padding: calc(var(--nav-h) + 12px) 18px 32px
    }

    .page-hero h1 {
        font-size: clamp(22px, 4vh, 34px)
    }

    .mobile-menu {
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto
    }
}

@media print {

    #mainNav,
    .mobile-menu,
    footer,
    .marquee-strip,
    .hamburger {
        display: none !important
    }

    body {
        background: white;
        color: black
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important
    }
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 14px
}

.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain
}

@media(max-width:768px) {
    .footer-logo-img {
        height: 44px
    }
}

@media(max-width:480px) {
    .footer-logo-img {
        height: 38px
    }
}

.nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain
}

@media(max-width:768px) {
    .nav-logo-img {
        height: 34px
    }
}

@media(max-width:480px) {
    .nav-logo-img {
        height: 30px
    }
}

@media(max-width:360px) {
    .nav-logo-img {
        height: 26px
    }
}

html,
body {
    overflow-x: hidden;
    max-width: 100%
}

*,
*::before,
*::after {
    max-width: 100%
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto
}

.section-sub {
    max-width: min(520px, 100%)
}

.page-hero-inner {
    max-width: min(720px, 100%);
    width: 100%
}

.nav-logo-wrap {
    max-width: calc(100vw - 120px);
    overflow: hidden
}

.nav-logo-img {
    max-height: 40px;
    width: auto;
    max-width: 160px
}

.btn-ghost,
.btn-primary,
.btn-lg {
    max-width: 100%;
    word-break: break-word;
    white-space: normal
}

@media(max-width:480px) {
    .btn-ghost {
        padding: 8px 16px;
        font-size: 12px
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 12px
    }
}

@media(max-width:400px) {
    footer {
        padding: 36px 12px 24px
    }

    .footer-top {
        gap: 28px
    }

    .footer-bottom {
        gap: 8px
    }

    .footer-bottom-links {
        gap: 10px
    }

    .footer-bottom-links a {
        font-size: 11px
    }

    .footer-copy {
        font-size: 11px
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px
    }

    .newsletter-input {
        border-radius: 10px;
        border-right: 1px solid rgba(255, 255, 255, .12)
    }

    .newsletter-btn {
        border-radius: 10px
    }
}

@media(max-width:360px) {
    #mainNav {
        padding: 0 10px
    }

    .nav-logo-img {
        max-height: 28px;
        max-width: 120px
    }

    .hamburger {
        min-width: 40px
    }
}

@media(max-width:768px) {
    .mobile-menu {
        padding: 8px 16px 28px;
        max-height: calc(100dvh - var(--nav-h))
    }

    .mobile-menu a {
        min-height: 52px;
        font-size: 15px
    }
}

.auth-form-inner {
    max-width: 100%
}

@media(max-width:768px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h) + 20px) 20px 48px;
        align-items: flex-start
    }
}

@media(max-width:480px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h) + 12px) 14px 40px
    }

    .auth-form-inner h1 {
        font-size: 24px !important
    }
}

@media(max-width:480px) {
    .dash-main {
        padding: 16px 12px 60px !important
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .sc-num {
        font-size: 24px
    }

    .sc-label {
        font-size: 11px
    }

    .section-card {
        padding: 18px 14px
    }

    .inv-table {
        font-size: 11px
    }

    .inv-table th,
    .inv-table td {
        padding: 8px 4px
    }

    .inv-name {
        font-size: 12px
    }

    .inv-actions {
        flex-direction: column;
        gap: 4px
    }

    .inv-btn {
        font-size: 10px;
        padding: 4px 8px
    }
}

@media(max-width:360px) {
    .stat-cards {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .pricing-grid {
        max-width: 100%
    }

    .pc-inner {
        padding: 24px 16px
    }

    .pc-price {
        font-size: 38px
    }

    .compare-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .compare-table {
        min-width: 340px;
        font-size: 11px
    }

    .compare-table td,
    .compare-table th {
        padding: 8px 10px
    }

    .faq-q {
        font-size: 14px;
        padding: 16px 0
    }

    .wallet-card {
        padding: 22px 16px
    }

    .wallet-balance {
        font-size: 36px
    }

    .topup-chip {
        padding: 8px 14px;
        font-size: 12px
    }
}

@media(max-width:480px) {
    .tdetail {
        padding: calc(var(--nav-h) + 12px) 14px 48px
    }

    .tdetail-mockup {
        min-height: 280px !important
    }

    .td-title {
        font-size: 26px !important
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .breadcrumb {
        font-size: 11px;
        gap: 5px
    }
}

@media(max-width:360px) {
    .related-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .contact-hero {
        padding: calc(var(--nav-h) + 12px) 14px 36px
    }

    .contact-main {
        padding-left: 14px;
        padding-right: 14px
    }

    .ci-card {
        padding: 16px;
        flex-direction: row
    }

    .contact-form {
        padding: 20px 14px
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .help-hero {
        padding: calc(var(--nav-h) + 12px) 14px 36px
    }

    .search-bar {
        flex-direction: column;
        gap: 8px
    }

    .help-search {
        border-radius: 10px
    }

    .search-btn {
        border-radius: 10px
    }

    .ql-section,
    .help-faq,
    .still-help {
        padding-left: 14px;
        padding-right: 14px
    }

    .ql-card {
        padding: 20px 16px
    }

    .faq-q {
        font-size: 14px
    }
}

@media(max-width:480px) {
    .policy-hero {
        padding: calc(var(--nav-h) + 12px) 14px 32px
    }

    .policy-body {
        padding: 32px 14px 48px
    }

    .policy-section h2 {
        font-size: 18px
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px
    }
}

@media(max-width:480px) {
    .occ-page-section {
        padding: 36px 14px 48px
    }

    .opc-content {
        padding: 18px 16px
    }

    .opc-name {
        font-size: 18px
    }

    .opc-cta {
        font-size: 11px;
        padding: 8px 14px
    }
}

@media(max-width:480px) {
    .notfound {
        padding: calc(var(--nav-h) + 12px) 14px 36px
    }

    .nf-inner h1 {
        font-size: 24px
    }

    .nf-inner p {
        font-size: 14px
    }
}

@supports(padding-bottom:env(safe-area-inset-bottom)) {
    /* footer {
        padding-bottom: calc(36px+env(safe-area-inset-bottom))
    } */

    .mobile-menu {
        padding-bottom: calc(28px + env(safe-area-inset-bottom))
    }
}

.notfound {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
    text-align: center
}

.nf-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201, 168, 76, 0.06) 0, transparent 70%)
}

.nf-num {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(120px, 20vw, 220px);
    font-weight: 900;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -8px
}

.nf-inner {
    position: relative;
    z-index: 1;
    max-width: 560px
}

.nf-emoji {
    font-size: 72px;
    margin-bottom: 24px;
    animation: floatEmoji 4s ease-in-out infinite
}

@keyframes floatEmoji {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.nf-inner h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 16px;
    line-height: 1.15
}

.nf-inner h1 em {
    font-style: italic;
    color: var(--gold)
}

.nf-inner p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.75
}

.nf-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px
}

.nf-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap
}

.nf-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 6px
}

.nf-link:hover {
    color: var(--gold)
}

@media(max-width:1024px) {
    .notfound {
        padding: calc(var(--nav-h) + 36px) 28px 52px
    }

    .nf-num {
        font-size: clamp(80px, 18vw, 160px)
    }
}

@media(max-width:768px) {
    .notfound {
        padding: calc(var(--nav-h) + 20px) 18px 44px
    }

    .nf-inner h1 {
        font-size: clamp(24px, 7vw, 38px)
    }

    .nf-inner p {
        font-size: 14px
    }

    .nf-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px
    }

    .nf-btns .btn-lg {
        width: 100%;
        max-width: 280px
    }

    .nf-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px
    }

    .nf-emoji {
        font-size: 52px
    }
}

@media(max-width:480px) {
    .notfound {
        padding: calc(var(--nav-h) + 12px) 14px 36px
    }

    .nf-inner h1 {
        font-size: clamp(20px, 7vw, 30px)
    }

    .nf-num {
        font-size: clamp(60px, 22vw, 120px)
    }
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr
}

.auth-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 60px
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0, transparent 70%)
}

.av-logo {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--cream);
    position: relative;
    z-index: 1;
    margin-bottom: 48px
}

.av-logo span {
    color: var(--gold)
}

.auth-form-wrap {
    background: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px
}

.auth-form-inner {
    width: 100%;
    max-width: 420px
}

.auth-form-inner h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 8px
}

.auth-form-inner p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
    font-weight: 300
}

.form-group {
    margin-bottom: 18px
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
    letter-spacing: .3px
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--cream);
    color: var(--ink);
    font-size: 15px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: border-color .2s, box-shadow .2s
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1)
}

.form-input::placeholder {
    color: rgba(61, 43, 31, 0.35)
}

.btn-auth {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .3s;
    box-shadow: 0 8px 28px var(--shadow-gold);
    margin-bottom: 16px
}

.btn-auth:hover {
    background: var(--gold-dark);
    transform: translateY(-1px)
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.auth-divider span {
    font-size: 12px;
    color: var(--muted)
}

.btn-google {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: white;
    border: 1.5px solid var(--border);
    color: var(--brown);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px
}

.btn-google:hover {
    border-color: var(--gold);
    background: var(--cream)
}

.google-icon {
    font-size: 18px
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--muted)
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none
}

@media(max-width:900px) {
    .auth-page {
        grid-template-columns: 1fr
    }

    .auth-visual {
        display: none !important
    }

    .auth-form-wrap {
        padding: calc(var(--nav-h) + 28px) 28px 52px
    }
}

@media(max-width:768px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h)+16px) 18px 44px
    }

    .auth-form-inner h1 {
        font-size: 28px !important
    }

    .auth-form-inner p {
        font-size: 14px
    }

    .btn-auth {
        font-size: 14px
    }

    .btn-google {
        font-size: 14px
    }
}

@media(max-width:480px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h) + 10px) 14px 36px
    }

    .auth-form-inner h1 {
        font-size: 24px !important
    }

    .field-input {
        padding: 11px 13px;
        font-size: 15px
    }
}

@media(max-width:360px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h) + 8px) 10px 32px
    }

    .auth-form-inner h1 {
        font-size: 22px !important
    }
}

.contact-hero {
    padding: 140px 64px 80px;
    background: var(--warm-white);
    text-align: center;
    position: relative;
    overflow: hidden
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0, rgba(201, 168, 76, 0.07) 0, transparent 70%)
}

.contact-hero-inner {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    padding: calc(var(--nav-h) + 32px) 18px 48px;
}

.contact-main {
    padding: 0 64px 100px;
    background: var(--warm-white)
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px
}

.ci-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 44px
}

.ci-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform .25s, box-shadow .25s
}

.ci-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(26, 18, 9, 0.07)
}

.ci-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0
}

.ci-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px
}

.ci-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 4px
}

.ci-sub {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300
}

.ci-response {
    background: linear-gradient(135deg, var(--gold-pale), var(--blush));
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid rgba(201, 168, 76, 0.2)
}

.ci-response-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 12px
}

.ci-response p {
    font-size: 14px;
    color: var(--brown);
    line-height: 1.7;
    font-weight: 300
}

.ci-response-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px
}

.ci-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ci-dot.online {
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.ci-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.ci-dot-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep)
}

.contact-form {
    background: var(--cream);
    border-radius: 28px;
    padding: 48px 44px;
    border: 1px solid var(--border)
}

.contact-form h2 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 8px
}

.contact-form p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
    font-weight: 300
}

.form-group {
    margin-bottom: 20px
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--warm-white);
    color: var(--ink);
    font-size: 14px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: border-color .2s, box-shadow .2s
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1)
}

.form-input::placeholder {
    color: rgba(61, 43, 31, 0.35)
}

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

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.btn-send {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .3s;
    box-shadow: 0 8px 28px var(--shadow-gold)
}

.btn-send:hover {
    background: var(--gold-dark);
    transform: translateY(-1px)
}

.select-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--warm-white);
    color: var(--ink);
    font-size: 14px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer
}

.select-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1)
}

.success-msg {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 14px;
    color: var(--sage);
    margin-top: 14px;
    font-weight: 600
}

@media(max-width:1024px) {
    .contact-hero {
        padding: calc(var(--nav-h) + 36px) 28px 52px
    }

    .contact-main {
        padding-left: 28px;
        padding-right: 28px
    }

    .contact-inner {
        gap: 40px
    }
}

@media(max-width:900px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .contact-hero {
        padding: calc(var(--nav-h) + 20px) 18px 44px
    }

    .contact-main {
        padding-left: 18px;
        padding-right: 18px
    }

    .contact-form {
        padding: 28px 22px
    }
}

@media(max-width:768px) {
    .contact-hero {
        padding: calc(var(--nav-h)+35px) 25px 35px
    }

    .contact-main {
        padding-left: 14px;
        padding-right: 14px
    }

    .contact-form {
        padding: 22px 16px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .ci-card {
        padding: 16px
    }
}

@media(max-width:480px) {
    .ci-cards {
        gap: 10px
    }

    .ci-icon {
        width: 40px;
        height: 40px;
        font-size: 18px
    }

    .ci-value {
        font-size: 13px
    }

    .ci-sub {
        font-size: 11px
    }

    .contact-form {
        padding: 18px 12px
    }

    .select-input {
        font-size: 15px
    }

    .field-input {
        font-size: 15px
    }
}

:root {
    --cream: #fdf8f3;
    --warm: #fffcf8;
    --gold: #c9a84c;
    --gold-l: #e8c97a;
    --gold-p: #f5e9c8;
    --gold-d: #a8882a;
    --deep: #1a1209;
    --brown: #3d2b1f;
    --muted: #8b7355;
    --border: rgba(201, 168, 76, 0.18);
    --border2: rgba(61, 43, 31, 0.1);
    --nav-h: 64px;
    --form-w: 520px;
    --shadow-sm: 0 2px 8px rgba(26, 18, 9, 0.07);
    --shadow-md: 0 8px 32px rgba(26, 18, 9, 0.11);
    --shadow-lg: 0 24px 64px rgba(26, 18, 9, 0.16);
    --tr: all .22s cubic-bezier(.4, 0, .2, 1)
}

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

body {
    font-family: 'Open Sans', sans-sans-serif;
    background: var(--cream);
    color: var(--deep)
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    box-shadow: var(--shadow-sm)
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 9px;
    transition: var(--tr);
    border: 1px solid transparent
}

.nav-back:hover {
    background: var(--gold-p);
    color: var(--gold-d);
    border-color: var(--border)
}

.nav-back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border2)
}

.nav-logo {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--deep);
    text-decoration: none;
    letter-spacing: -.5px
}

.nav-logo span {
    color: var(--gold)
}

.nav-title-wrap {
    display: flex;
    flex-direction: column
}

.nav-page-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: .2px
}

.nav-page-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.nav-step {
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--tr)
}

.nav-step:last-child {
    border-right: 0
}

.nav-step.done {
    color: var(--gold-d);
    background: rgba(201, 168, 76, 0.07)
}

.nav-step.active {
    background: var(--gold);
    color: white
}

.nav-step.active .step-dot {
    background: rgba(255, 255, 255, 0.3)
}

.step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--tr)
}

.nav-step.active .step-dot {
    background: rgba(255, 255, 255, 0.25);
    color: white
}

.nav-step.done .step-dot {
    background: rgba(201, 168, 76, 0.2);
    color: var(--gold-d)
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px
}

.draft-badge {
    padding: 5px 14px;
    border-radius: 8px;
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--warm);
    cursor: pointer;
    transition: var(--tr)
}

.user-chip:hover {
    border-color: var(--gold);
    background: var(--gold-p)
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e8a598);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep)
}

.user-caret {
    font-size: 10px;
    color: var(--muted)
}

.page-body {
    display: grid;
    grid-template-columns: var(--form-w) 1fr;
    height: 100vh;
    padding-top: var(--nav-h)
}

.form-panel {
    background: var(--warm);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.form-panel-header {
    padding: 24px 32px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--warm)
}

.fph-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px
}

.fph-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--deep)
}

.fph-sub {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.55
}

.form-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 120px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent
}

.form-scroll::-webkit-scrollbar {
    width: 4px
}

.form-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

.form-section {
    margin-bottom: 32px
}

.form-section-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px
}

.fst-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gold-p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0
}

.field {
    margin-bottom: 20px
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px
}

.field-req {
    color: var(--gold);
    font-size: 13px
}

.field-key {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    color: rgba(139, 115, 85, .5);
    font-family: 'Open Sans', sans-sans-serif;
    text-transform: none
}

.field-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border2);
    background: var(--cream);
    color: var(--deep);
    font-size: 14px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: var(--tr);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.field-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
    background: white
}

.field-input::placeholder {
    color: rgba(61, 43, 31, .3)
}

.field-input[type=date] {
    cursor: pointer
}

.field-input[type=time] {
    cursor: pointer
}

.field-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6
}

.field-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 300;
    line-height: 1.5
}

.field-hint.info {
    display: flex;
    align-items: flex-start;
    gap: 6px
}

.field-hint.info::before {
    content: 'ℹ';
    color: var(--gold);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: -.5px
}

.pricing-card {
    background: linear-gradient(135deg, var(--gold-p), rgba(245, 233, 200, .4));
    border: 1.5px solid rgba(201, 168, 76, .3);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px
}

.pc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0
}

.pc-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px
}

.pc-value {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--deep)
}

.pc-tag {
    margin-left: auto;
    background: var(--gold);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .5px
}

.custom-fields {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.custom-field-row {
    background: var(--cream);
    border: 1.5px solid var(--border2);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: var(--tr)
}

.custom-field-row:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm)
}

.cfr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.cfr-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-d)
}

.cfr-key {
    font-size: 10px;
    color: var(--muted);
    font-family: monospace;
    background: rgba(201, 168, 76, .1);
    padding: 2px 8px;
    border-radius: 4px
}

.cfr-del {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: 0;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--muted);
    transition: var(--tr)
}

.cfr-del:hover {
    background: rgba(220, 80, 80, .1);
    color: #e05555
}

.form-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--form-w);
    background: linear-gradient(to top, var(--warm) 60%, transparent);
    padding: 20px 32px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 10
}

.btn-save-draft {
    padding: 12px 24px;
    border-radius: 12px;
    background: transparent;
    border: 1.5px solid var(--border2);
    color: var(--brown);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    flex: 1
}

.btn-save-draft:hover {
    border-color: var(--gold);
    color: var(--gold-d);
    background: var(--gold-p)
}

.btn-proceed {
    padding: 13px 28px;
    border-radius: 12px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(201, 168, 76, .4)
}

.btn-proceed:hover {
    background: var(--gold-d);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(201, 168, 76, .5)
}

.btn-proceed svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
    stroke-width: 2.5
}

.preview-panel {
    background: var(--canvas, #edeae4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 60% at 60% 30%, rgba(201, 168, 76, .05) 0, transparent 65%), #edeae4
}

.preview-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 168, 76, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none
}

.preview-controls {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 18, 9, .65);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 6px 8px;
    z-index: 10
}

.pc-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    color: rgba(255, 255, 255, .55);
    background: 0
}

.pc-btn:hover {
    color: white;
    background: rgba(255, 255, 255, .08)
}

.pc-btn.active {
    background: rgba(201, 168, 76, .25);
    color: var(--gold-l)
}

.pc-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .12)
}

.pc-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
    padding: 0 8px
}

.pc-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: livePulse 2s ease infinite
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, .4)
    }

    50% {
        opacity: .8;
        box-shadow: 0 0 0 4px rgba(74, 222, 128, .15)
    }
}

.phone-wrap {
    position: relative;
    filter: drop-shadow(0 40px 80px rgba(26, 18, 9, .28));
    animation: phoneFloat 6s ease-in-out infinite
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.phone {
    width: 300px;
    background: #0d1117;
    border-radius: 44px;
    padding: 14px;
    position: relative;
    border: 8px solid #1c2333;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .4)
}

.phone-notch {
    width: 90px;
    height: 28px;
    background: #0d1117;
    border-radius: 0 0 18px 18px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.notch-cam {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1c2333;
    border: 1px solid #2a3344
}

.notch-sensor {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #2a3344
}

.phone::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 80px;
    width: 3px;
    height: 32px;
    background: #1c2333;
    border-radius: 2px
}

.phone::after {
    content: '';
    position: absolute;
    left: -11px;
    top: 124px;
    width: 3px;
    height: 52px;
    background: #1c2333;
    border-radius: 2px
}

.phone-screen {
    background: #0d1b2a;
    border-radius: 32px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 6px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    flex-shrink: 0
}

.sb-time {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9)
}

.sb-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px
}

.inv-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 0 16px;
    overflow: hidden
}

.inv-header {
    padding: 20px 20px 16px;
    background: linear-gradient(160deg, #112240, #0d1b2a);
    position: relative;
    overflow: hidden
}

.inv-header::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(201, 168, 76, .08)
}

.inv-event-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #64c8e8;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
    min-height: 24px;
    transition: var(--tr)
}

.inv-event-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    text-align: center;
    letter-spacing: .5px
}

.inv-info-card {
    margin: 14px 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px 16px
}

.inv-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.inv-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.inv-info-row:first-child {
    padding-top: 0
}

.iir-icon {
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: .7
}

.iir-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 2px
}

.iir-value {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    min-height: 14px;
    transition: var(--tr)
}

.iir-value.empty {
    color: rgba(255, 255, 255, .2);
    font-style: italic;
    font-weight: 400
}

.inv-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .3), transparent);
    margin: 0 20px
}

.inv-desc {
    padding: 14px 20px;
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    font-weight: 300;
    min-height: 56px;
    transition: var(--tr)
}

.inv-hosted {
    padding: 0 20px 4px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .3)
}

.inv-hosted strong {
    color: rgba(255, 255, 255, .55);
    font-weight: 600
}

.inv-rsvp-btn {
    margin: 12px 20px 0;
    padding: 13px;
    border-radius: 14px;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    color: var(--gold-l);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5px;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.inv-rsvp-btn:hover {
    background: rgba(201, 168, 76, .25)
}

.live-preview-btn {
    margin: 10px 20px 4px;
    padding: 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--tr)
}

.live-preview-btn:hover {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9)
}

.inv-watermark-bar {
    background: rgba(0, 0, 0, .3);
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0
}

.inv-wm-text {
    font-size: 9px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: 1px;
    font-style: italic
}

.update-flash {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(74, 222, 128, .15);
    border: 1px solid rgba(74, 222, 128, .3);
    border-radius: 100px;
    padding: 3px 8px;
    font-size: 9px;
    color: #4ade80;
    font-weight: 700;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.update-flash.show {
    opacity: 1
}

.preview-info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px
}

.pi-chip {
    background: rgba(26, 18, 9, .65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    cursor: default
}

.pi-num {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-l)
}

.pi-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    margin-top: 2px;
    font-weight: 500
}

.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--deep);
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold-l);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.tooltip-wrap {
    position: relative;
    display: inline-flex
}

.tooltip-wrap:hover .tooltip-box {
    opacity: 1;
    transform: translateY(-4px)
}

.tooltip-box {
    position: absolute;
    bottom: calc(100%+8px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--deep);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .2s;
    z-index: 100
}

.progress-bar {
    height: 3px;
    background: var(--border);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-l));
    border-radius: 0 3px 3px 0;
    transition: width .5s ease
}

@media(max-width:1200px) {
    :root {
        --form-w: 460px
    }
}

@media(max-width:1024px) {
    :root {
        --form-w: 420px
    }
}

@media(max-width:900px) {
    .page-body {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
        display: flex;
        flex-direction: column
    }

    .preview-panel {
        display: block;
        order: -1;
        height: auto;
        padding: 40px 20px;
        border-bottom: 1px solid var(--border)
    }

    .form-panel {
        height: auto;
        min-height: auto
    }

    .form-scroll {
        padding-bottom: 110px !important
    }

    .form-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 50;
        background: var(--warm, #fffcf8);
        border-top: 1px solid rgba(201, 168, 76, .18);
        box-shadow: 0 -4px 20px rgba(26, 18, 9, .08)
    }

    :root {
        --form-w: 100%
    }
}

@media(max-width:768px) {
    .navbar {
        padding: 0 14px !important
    }

    .nav-center {
        display: none !important
    }

    .form-panel-header {
        padding: 16px 16px 14px !important
    }

    .form-scroll {
        padding: 18px 16px 110px !important
    }

    .form-footer {
        padding: 12px 16px 16px !important;
        gap: 10px !important
    }

    .btn-save-draft {
        display: none !important
    }

    .btn-proceed {
        width: 100% !important
    }

    .fph-title {
        font-size: 20px !important
    }

    .form-section-title {
        font-size: 16px !important
    }
}

@media(max-width:480px) {
    .navbar {
        padding: 0 10px !important
    }

    .form-panel-header {
        padding: 14px 12px !important
    }

    .form-scroll {
        padding: 14px 12px 100px !important
    }

    .form-footer {
        padding: 10px 12px 14px !important
    }

    .field-input {
        font-size: 16px !important
    }

    .fph-title {
        font-size: 18px !important
    }

    .custom-field-row {
        padding: 12px !important
    }
}

@supports(padding-bottom:env(safe-area-inset-bottom)) {
    .form-footer {
        padding-bottom: calc(16px+env(safe-area-inset-bottom)) !important
    }
}

:root {
    --cream: #fdf8f3;
    --warm: #fffcf8;
    --gold: #c9a84c;
    --gold-l: #e8c97a;
    --gold-p: #f5e9c8;
    --gold-d: #a8882a;
    --deep: #1a1209;
    --brown: #3d2b1f;
    --muted: #8b7355;
    --border: rgba(201, 168, 76, 0.18);
    --border2: rgba(61, 43, 31, 0.1);
    --nav-h: 64px;
    --form-w: 520px;
    --shadow-sm: 0 2px 8px rgba(26, 18, 9, 0.07);
    --shadow-md: 0 8px 32px rgba(26, 18, 9, 0.11);
    --shadow-lg: 0 24px 64px rgba(26, 18, 9, 0.16);
    --tr: all .22s cubic-bezier(.4, 0, .2, 1)
}

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

body {
    font-family: 'Open Sans', sans-sans-serif;
    background: var(--cream);
    color: var(--deep)
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    box-shadow: var(--shadow-sm)
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 9px;
    transition: var(--tr);
    border: 1px solid transparent
}

.nav-back:hover {
    background: var(--gold-p);
    color: var(--gold-d);
    border-color: var(--border)
}

.nav-back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border2)
}

.nav-logo {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--deep);
    text-decoration: none;
    letter-spacing: -.5px
}

.nav-logo span {
    color: var(--gold)
}

.nav-title-wrap {
    display: flex;
    flex-direction: column
}

.nav-page-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: .2px
}

.nav-page-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.nav-step {
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--tr)
}

.nav-step:last-child {
    border-right: 0
}

.nav-step.done {
    color: var(--gold-d);
    background: rgba(201, 168, 76, 0.07)
}

.nav-step.active {
    background: var(--gold);
    color: white
}

.nav-step.active .step-dot {
    background: rgba(255, 255, 255, 0.3)
}

.step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--tr)
}

.nav-step.active .step-dot {
    background: rgba(255, 255, 255, 0.25);
    color: white
}

.nav-step.done .step-dot {
    background: rgba(201, 168, 76, 0.2);
    color: var(--gold-d)
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px
}

.draft-badge {
    padding: 5px 14px;
    border-radius: 8px;
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--warm);
    cursor: pointer;
    transition: var(--tr)
}

.user-chip:hover {
    border-color: var(--gold);
    background: var(--gold-p)
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e8a598);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep)
}

.user-caret {
    font-size: 10px;
    color: var(--muted)
}

.page-body {
    display: grid;
    grid-template-columns: var(--form-w) 1fr;
    height: 100vh;
    padding-top: var(--nav-h)
}

.form-panel {
    background: var(--warm);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.form-panel-header {
    padding: 24px 32px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--warm)
}

.fph-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px
}

.fph-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--deep)
}

.fph-sub {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.55
}

.form-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 120px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent
}

.form-scroll::-webkit-scrollbar {
    width: 4px
}

.form-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

.form-section {
    margin-bottom: 32px
}

.form-section-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px
}

.fst-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gold-p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0
}

.field {
    margin-bottom: 20px
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px
}

.field-req {
    color: var(--gold);
    font-size: 13px
}

.field-key {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    color: rgba(139, 115, 85, .5);
    font-family: 'Open Sans', sans-sans-serif;
    text-transform: none
}

.field-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border2);
    background: var(--cream);
    color: var(--deep);
    font-size: 14px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: var(--tr);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.field-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
    background: white
}

.field-input::placeholder {
    color: rgba(61, 43, 31, .3)
}

.field-input[type=date] {
    cursor: pointer
}

.field-input[type=time] {
    cursor: pointer
}

.field-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6
}

.field-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 300;
    line-height: 1.5
}

.field-hint.info {
    display: flex;
    align-items: flex-start;
    gap: 6px
}

.field-hint.info::before {
    content: 'ℹ';
    color: var(--gold);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: -.5px
}

.pricing-card {
    background: linear-gradient(135deg, var(--gold-p), rgba(245, 233, 200, .4));
    border: 1.5px solid rgba(201, 168, 76, .3);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px
}

.pc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0
}

.pc-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px
}

.pc-value {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--deep)
}

.pc-tag {
    margin-left: auto;
    background: var(--gold);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .5px
}

.custom-fields {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.custom-field-row {
    background: var(--cream);
    border: 1.5px solid var(--border2);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: var(--tr)
}

.custom-field-row:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm)
}

.cfr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.cfr-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-d)
}

.cfr-key {
    font-size: 10px;
    color: var(--muted);
    font-family: monospace;
    background: rgba(201, 168, 76, .1);
    padding: 2px 8px;
    border-radius: 4px
}

.cfr-del {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: 0;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--muted);
    transition: var(--tr)
}

.cfr-del:hover {
    background: rgba(220, 80, 80, .1);
    color: #e05555
}

.form-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--form-w);
    background: linear-gradient(to top, var(--warm) 60%, transparent);
    padding: 20px 32px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 10
}

.btn-save-draft {
    padding: 12px 24px;
    border-radius: 12px;
    background: transparent;
    border: 1.5px solid var(--border2);
    color: var(--brown);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    flex: 1
}

.btn-save-draft:hover {
    border-color: var(--gold);
    color: var(--gold-d);
    background: var(--gold-p)
}

.btn-proceed {
    padding: 13px 28px;
    border-radius: 12px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(201, 168, 76, .4)
}

.btn-proceed:hover {
    background: var(--gold-d);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(201, 168, 76, .5)
}

.btn-proceed svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
    stroke-width: 2.5
}

.preview-panel {
    background: var(--canvas, #edeae4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 60% at 60% 30%, rgba(201, 168, 76, .05) 0, transparent 65%), #edeae4
}

.preview-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 168, 76, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none
}

.preview-controls {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 18, 9, .65);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 6px 8px;
    z-index: 10
}

.pc-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--tr);
    color: rgba(255, 255, 255, .55);
    background: 0
}

.pc-btn:hover {
    color: white;
    background: rgba(255, 255, 255, .08)
}

.pc-btn.active {
    background: rgba(201, 168, 76, .25);
    color: var(--gold-l)
}

.pc-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .12)
}

.pc-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
    padding: 0 8px
}

.pc-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: livePulse 2s ease infinite
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, .4)
    }

    50% {
        opacity: .8;
        box-shadow: 0 0 0 4px rgba(74, 222, 128, .15)
    }
}

.phone-wrap {
    position: relative;
    filter: drop-shadow(0 40px 80px rgba(26, 18, 9, .28));
    animation: phoneFloat 6s ease-in-out infinite
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.phone {
    width: 300px;
    background: #0d1117;
    border-radius: 44px;
    padding: 14px;
    position: relative;
    border: 8px solid #1c2333;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .4)
}

.phone-notch {
    width: 90px;
    height: 28px;
    background: #0d1117;
    border-radius: 0 0 18px 18px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.notch-cam {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1c2333;
    border: 1px solid #2a3344
}

.notch-sensor {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #2a3344
}

.phone::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 80px;
    width: 3px;
    height: 32px;
    background: #1c2333;
    border-radius: 2px
}

.phone::after {
    content: '';
    position: absolute;
    left: -11px;
    top: 124px;
    width: 3px;
    height: 52px;
    background: #1c2333;
    border-radius: 2px
}

.phone-screen {
    background: #0d1b2a;
    border-radius: 32px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 6px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    flex-shrink: 0
}

.sb-time {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9)
}

.sb-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px
}

.inv-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 0 16px;
    overflow: hidden
}

.inv-header {
    padding: 20px 20px 16px;
    background: linear-gradient(160deg, #112240, #0d1b2a);
    position: relative;
    overflow: hidden
}

.inv-header::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(201, 168, 76, .08)
}

.inv-event-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #64c8e8;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
    min-height: 24px;
    transition: var(--tr)
}

.inv-event-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    text-align: center;
    letter-spacing: .5px
}

.inv-info-card {
    margin: 14px 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px 16px
}

.inv-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.inv-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.inv-info-row:first-child {
    padding-top: 0
}

.iir-icon {
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: .7
}

.iir-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 2px
}

.iir-value {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    min-height: 14px;
    transition: var(--tr)
}

.iir-value.empty {
    color: rgba(255, 255, 255, .2);
    font-style: italic;
    font-weight: 400
}

.inv-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .3), transparent);
    margin: 0 20px
}

.inv-desc {
    padding: 14px 20px;
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    font-weight: 300;
    min-height: 56px;
    transition: var(--tr)
}

.inv-hosted {
    padding: 0 20px 4px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .3)
}

.inv-hosted strong {
    color: rgba(255, 255, 255, .55);
    font-weight: 600
}

.inv-rsvp-btn {
    margin: 12px 20px 0;
    padding: 13px;
    border-radius: 14px;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    color: var(--gold-l);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5px;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.inv-rsvp-btn:hover {
    background: rgba(201, 168, 76, .25)
}

.live-preview-btn {
    margin: 10px 20px 4px;
    padding: 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--tr)
}

.live-preview-btn:hover {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9)
}

.inv-watermark-bar {
    background: rgba(0, 0, 0, .3);
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0
}

.inv-wm-text {
    font-size: 9px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: 1px;
    font-style: italic
}

.update-flash {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(74, 222, 128, .15);
    border: 1px solid rgba(74, 222, 128, .3);
    border-radius: 100px;
    padding: 3px 8px;
    font-size: 9px;
    color: #4ade80;
    font-weight: 700;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.update-flash.show {
    opacity: 1
}

.preview-info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px
}

.pi-chip {
    background: rgba(26, 18, 9, .65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    cursor: default
}

.pi-num {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-l)
}

.pi-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .35);
    margin-top: 2px;
    font-weight: 500
}

.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--deep);
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold-l);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.tooltip-wrap {
    position: relative;
    display: inline-flex
}

.tooltip-wrap:hover .tooltip-box {
    opacity: 1;
    transform: translateY(-4px)
}

.tooltip-box {
    position: absolute;
    bottom: calc(100%+8px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--deep);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .2s;
    z-index: 100
}

.progress-bar {
    height: 3px;
    background: var(--border);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-l));
    border-radius: 0 3px 3px 0;
    transition: width .5s ease
}

@media(max-width:1200px) {
    :root {
        --form-w: 460px
    }
}

@media(max-width:1024px) {
    :root {
        --form-w: 420px
    }
}

@media(max-width:900px) {
    .page-body {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible
    }

    .preview-panel {
        display: none !important
    }

    .form-panel {
        height: auto;
        min-height: 100vh
    }

    .form-scroll {
        padding-bottom: 110px !important
    }

    .form-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 50;
        background: var(--warm, #fffcf8);
        border-top: 1px solid rgba(201, 168, 76, .18);
        box-shadow: 0 -4px 20px rgba(26, 18, 9, .08)
    }

    :root {
        --form-w: 100%
    }
}

@media(max-width:768px) {
    .navbar {
        padding: 0 14px !important
    }

    .nav-center {
        display: none !important
    }

    .form-panel-header {
        padding: 16px 16px 14px !important
    }

    .form-scroll {
        padding: 18px 16px 110px !important
    }

    .form-footer {
        padding: 12px 16px 16px !important;
        gap: 10px !important
    }

    .btn-save-draft {
        display: none !important
    }

    .btn-proceed {
        width: 100% !important
    }

    .fph-title {
        font-size: 20px !important
    }

    .form-section-title {
        font-size: 16px !important
    }
}

@media(max-width:480px) {
    .navbar {
        padding: 0 10px !important
    }

    .form-panel-header {
        padding: 14px 12px !important
    }

    .form-scroll {
        padding: 14px 12px 100px !important
    }

    .form-footer {
        padding: 10px 12px 14px !important
    }

    .field-input {
        font-size: 16px !important
    }

    .fph-title {
        font-size: 18px !important
    }

    .custom-field-row {
        padding: 12px !important
    }
}

@supports(padding-bottom:env(safe-area-inset-bottom)) {
    .form-footer {
        padding-bottom: calc(16px+env(safe-area-inset-bottom)) !important
    }
}

:root {
    --cream: #fdf8f3;
    --warm: #fffcf8;
    --gold: #c9a84c;
    --gold-l: #e8c97a;
    --gold-p: #f5e9c8;
    --gold-d: #a8882a;
    --deep: #1a1209;
    --brown: #3d2b1f;
    --muted: #8b7355;
    --border: rgba(201, 168, 76, 0.18);
    --panel: #fefaf5;
    --canvas: #edede8;
    --sidebar-w: 276px;
    --props-w: 280px;
    --topbar-h: 56px;
    --shadow-sm: 0 2px 8px rgba(26, 18, 9, 0.08);
    --shadow-md: 0 8px 32px rgba(26, 18, 9, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 18, 9, 0.16);
    --transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

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

body {
    font-family: 'Open Sans', sans-sans-serif;
    background: var(--canvas);
    color: var(--deep)
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--topbar-h);
    background: var(--deep);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    user-select: none
}

.topbar-brand {
    width: var(--sidebar-w);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0
}

.tb-logo {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--cream);
    letter-spacing: -0.5px;
    text-decoration: none
}

.tb-logo span {
    color: var(--gold)
}

.tb-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15)
}

.tb-page {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: .3px
}

.topbar-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 16px
}

.font-select-wrap {
    position: relative
}

.font-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    padding: 6px 28px 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    outline: 0;
    min-width: 130px;
    transition: var(--transition)
}

.font-select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 168, 76, 0.4)
}

.font-select-wrap::after {
    content: '▾';
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none
}

.font-size-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden
}

.fs-btn {
    width: 28px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition)
}

.fs-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white
}

.fs-input {
    width: 38px;
    background: 0;
    border: 0;
    color: white;
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    text-align: center;
    outline: 0
}

.tb-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
    flex-shrink: 0
}

.fmt-group {
    display: flex;
    align-items: center;
    gap: 2px
}

.fmt-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0;
    border: 0;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-sans-serif
}

.fmt-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white
}

.fmt-btn.active {
    background: rgba(201, 168, 76, 0.25);
    color: var(--gold-l)
}

.fmt-btn.bold {
    font-weight: 700;
    font-size: 15px
}

.fmt-btn.italic {
    font-style: italic;
    font-size: 15px
}

.align-group {
    display: flex;
    align-items: center;
    gap: 2px
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden
}

.color-swatch:hover {
    border-color: var(--gold);
    transform: scale(1.1)
}

.color-swatch input[type=color] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer
}

.action-group {
    display: flex;
    align-items: center;
    gap: 2px
}

.act-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45)
}

.act-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9)
}

.act-btn.del:hover {
    background: rgba(220, 80, 80, 0.15);
    color: #ff6b6b
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 0 0;
    flex-shrink: 0
}

.tb-zoom {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden
}

.tb-zoom button {
    width: 28px;
    height: 32px;
    background: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition)
}

.tb-zoom button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white
}

.tb-zoom span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 8px;
    min-width: 44px;
    text-align: center
}

.btn-save {
    padding: 8px 22px;
    border-radius: 9px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold-l);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px
}

.btn-save:hover {
    background: rgba(201, 168, 76, 0.25);
    border-color: var(--gold)
}

.btn-next {
    padding: 8px 22px;
    border-radius: 9px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4)
}

.btn-next:hover {
    background: var(--gold-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5)
}

.editor-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr var(--props-w);
    height: 100vh;
    padding-top: var(--topbar-h)
}

.left-panel {
    background: var(--panel);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.lp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--warm);
    flex-shrink: 0
}

.lp-tab {
    flex: 1;
    padding: 12px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
    border: 0;
    background: 0;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px
}

.lp-tab.active {
    color: var(--gold-d);
    border-bottom-color: var(--gold);
    background: var(--panel)
}

.lp-tab:hover:not(.active) {
    color: var(--brown)
}

.lp-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent
}

.lp-body::-webkit-scrollbar {
    width: 4px
}

.lp-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

.lp-section {
    margin-bottom: 24px
}

.lp-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.lp-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.field-group {
    margin-bottom: 16px
}

.field-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px
}

.field-required {
    color: var(--gold);
    font-size: 12px
}

.field-input {
    width: 100%;
    padding: 10px 13px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--deep);
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: var(--transition)
}

.field-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1)
}

.field-input::placeholder {
    color: rgba(61, 43, 31, 0.35)
}

.field-input[type=date] {
    cursor: pointer
}

.add-btn {
    width: 100%;
    padding: 11px 14px;
    border-radius: 11px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    text-align: left
}

.add-btn:hover {
    border-color: var(--gold);
    background: var(--gold-p);
    color: var(--gold-d);
    transform: translateX(2px)
}

.add-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--gold-p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition)
}

.add-btn:hover .add-btn-icon {
    background: rgba(201, 168, 76, 0.25)
}

.add-btn-text {
    flex: 1
}

.add-btn-arrow {
    font-size: 12px;
    color: var(--muted);
    opacity: 0;
    transition: var(--transition)
}

.add-btn:hover .add-btn-arrow {
    opacity: 1;
    transform: translateX(2px)
}

.preset-grid {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.preset-btn {
    width: 100%;
    padding: 11px 14px;
    border-radius: 11px;
    border: 1.5px solid var(--border);
    background: white;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left
}

.preset-btn:hover {
    border-color: var(--gold);
    background: var(--gold-p);
    transform: translateX(2px)
}

.preset-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0
}

.preset-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep)
}

.preset-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px
}

.back-link {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0
}

.back-link:hover {
    color: var(--gold);
    background: var(--gold-p)
}

.canvas-area {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--canvas);
    position: relative;
    overflow: hidden
}

.canvas-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 168, 76, 0.15) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none
}

.canvas-toolbar {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--deep);
    border-radius: 14px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    white-space: nowrap
}

.ct-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9px;
    background: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition)
}

.ct-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white
}

.ct-btn.active {
    background: rgba(201, 168, 76, 0.2);
    color: var(--gold-l)
}

.ct-sep {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1)
}

.canvas-hint {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 18, 9, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none
}

.canvas-hint-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80
}

.inv-wrapper {
    position: relative;
    filter: drop-shadow(0 32px 80px rgba(26, 18, 9, 0.35));
    transform-origin: center center;
    transition: transform .3s ease
}

.inv-card {
    width: 360px;
    min-height: 504px;
    border-radius: 4px;
    position: relative;
    overflow: visible;
    cursor: default;
    background: #8b1a1a
}

.inv-border-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5
}

.inv-texture {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.04) 0, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(0, 0, 0, 0.1) 0, transparent 50%);
    pointer-events: none;
    z-index: 2
}

.inv-watermark {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden
}

.inv-watermark-text {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    transform: rotate(-35deg);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 2;
    text-align: center;
    white-space: nowrap
}

.inv-content {
    position: relative;
    z-index: 4;
    padding: 50px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 504px
}

.inv-deity {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    filter: sepia(1) saturate(1.5) hue-rotate(15deg) brightness(1.3)
}

.inv-main-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a0500;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.2;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px 8px;
    transition: var(--transition)
}

.inv-main-title:hover {
    outline: 2px dashed rgba(201, 168, 76, 0.5)
}

.inv-main-title.selected {
    outline: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15)
}

.inv-body-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(26, 5, 0, 0.7);
    text-align: center;
    line-height: 1.9;
    margin-bottom: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition)
}

.inv-body-text:hover {
    outline: 2px dashed rgba(201, 168, 76, 0.5)
}

.inv-body-text.selected {
    outline: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15)
}

.inv-venue {
    font-size: 13px;
    color: rgba(26, 5, 0, 0.7);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition)
}

.inv-venue:hover {
    outline: 2px dashed rgba(201, 168, 76, 0.5)
}

.inv-venue.selected {
    outline: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15)
}

.inv-hosted {
    margin-top: auto;
    border: 1.5px dashed rgba(201, 168, 76, 0.6);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: rgba(26, 5, 0, 0.7);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative
}

.inv-hosted:hover {
    border-color: var(--gold)
}

.inv-hosted.selected {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12)
}

.drag-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border: 2px solid var(--gold);
    border-radius: 2px;
    pointer-events: all;
    cursor: nwse-resize
}

.drag-handle.tl {
    top: -5px;
    left: -5px;
    cursor: nwse-resize
}

.drag-handle.tr {
    top: -5px;
    right: -5px;
    cursor: nesw-resize
}

.drag-handle.bl {
    bottom: -5px;
    left: -5px;
    cursor: nesw-resize
}

.drag-handle.br {
    bottom: -5px;
    right: -5px;
    cursor: nwse-resize
}

.drag-handles {
    display: none
}

.selected+.drag-handles,
.inv-hosted.selected~.drag-handles {
    display: block
}

.add-element-fab {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
    transition: var(--transition);
    z-index: 10
}

.add-element-fab:hover {
    background: var(--gold);
    color: white;
    transform: translateX(-50%) scale(1.1)
}

.inv-diamond {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 22px;
    color: rgba(201, 168, 76, 0.5);
    pointer-events: none;
    z-index: 6
}

.right-panel {
    background: var(--panel);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.rp-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--warm);
    flex-shrink: 0
}

.rp-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: .3px
}

.rp-subtitle {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px
}

.rp-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent
}

.rp-body::-webkit-scrollbar {
    width: 4px
}

.rp-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

.rp-section {
    margin-bottom: 24px
}

.rp-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.rp-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 12px
}

.cp-swatch {
    aspect-ratio: 1;
    border-radius: 7px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative
}

.cp-swatch:hover {
    transform: scale(1.12)
}

.cp-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 700
}

.cp-custom {
    aspect-ratio: 1;
    border-radius: 7px;
    cursor: pointer;
    background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden
}

.cp-custom:hover {
    transform: scale(1.12)
}

.cp-custom input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer
}

.typo-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center
}

.typo-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    width: 40px;
    flex-shrink: 0
}

.typo-select {
    flex: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: white;
    border: 1.5px solid var(--border);
    color: var(--deep);
    font-size: 12px;
    font-family: 'Open Sans', sans-sans-serif;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    outline: 0;
    transition: var(--transition)
}

.typo-select:focus {
    border-color: var(--gold)
}

.typo-num {
    width: 56px;
    padding: 7px 8px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--deep);
    font-size: 12px;
    font-family: 'Open Sans', sans-sans-serif;
    text-align: center;
    outline: 0;
    transition: var(--transition)
}

.typo-num:focus {
    border-color: var(--gold)
}

.rp-fmt-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px
}

.rp-fmt-btn {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--brown);
    font-size: 13px;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: var(--transition)
}

.rp-fmt-btn:hover,
.rp-fmt-btn.active {
    background: var(--gold-p);
    border-color: var(--gold);
    color: var(--gold-d)
}

.rp-fmt-btn.bold {
    font-weight: 700
}

.rp-fmt-btn.italic {
    font-style: italic
}

.rp-fmt-btn.underline {
    text-decoration: underline
}

.slider-group {
    margin-bottom: 14px
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.slider-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    width: 56px;
    flex-shrink: 0
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 4px;
    background: var(--border);
    outline: 0
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(201, 168, 76, 0.4);
    cursor: pointer
}

.slider::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(201, 168, 76, 0.4);
    cursor: pointer
}

.slider-val {
    font-size: 11px;
    color: var(--brown);
    font-weight: 600;
    width: 30px;
    text-align: right
}

.align-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px
}

.al-btn {
    padding: 7px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--brown);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition)
}

.al-btn:hover,
.al-btn.active {
    background: var(--gold-p);
    border-color: var(--gold);
    color: var(--gold-d)
}

.layer-list {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.layer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    background: white;
    cursor: pointer;
    transition: var(--transition)
}

.layer-item:hover {
    border-color: var(--border)
}

.layer-item.active {
    border-color: var(--gold);
    background: var(--gold-p)
}

.layer-thumb {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0
}

.layer-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--deep)
}

.layer-type {
    font-size: 10px;
    color: var(--muted)
}

.layer-vis {
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 2px
}

.layer-vis:hover {
    color: var(--gold)
}

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

.tmpl-thumb {
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative
}

.tmpl-thumb:hover {
    border-color: var(--gold-l)
}

.tmpl-thumb.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25)
}

.tmpl-thumb-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px
}

.tmpl-thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    font-size: 9px;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 3px
}

.ctx-tooltip {
    position: fixed;
    z-index: 300;
    background: var(--deep);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s
}

.ctx-tooltip.show {
    opacity: 1;
    pointer-events: all
}

.ctx-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: 'Open Sans', sans-sans-serif
}

.ctx-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white
}

.ctx-btn.del:hover {
    background: rgba(220, 80, 80, 0.15);
    color: #ff6b6b
}

.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--deep);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold-l);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 400;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.rp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--warm);
    flex-shrink: 0
}

.rp-tab {
    flex: 1;
    padding: 11px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
    border: 0;
    background: 0;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px
}

.rp-tab.active {
    color: var(--gold-d);
    border-bottom-color: var(--gold);
    background: var(--panel)
}

@keyframes selectionPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2)
    }

    50% {
        box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.35)
    }
}

.inv-main-title.selected,
.inv-body-text.selected,
.inv-venue.selected {
    animation: selectionPulse 2s ease infinite
}

@media(max-width:1200px) {
    .right-panel {
        display: none
    }

    .editor-layout {
        grid-template-columns: var(--sidebar-w) 1fr
    }
}

@media(max-width:1024px) {
    :root {
        --sidebar-w: 240px
    }

    .topbar-brand {
        width: var(--sidebar-w)
    }

    .font-select {
        min-width: 100px
    }
}

@media(max-width:900px) {
    .editor-layout {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible
    }

    .left-panel {
        display: flex;
        height: auto;
        max-height: 50vh;
        border-right: 0;
        border-bottom: 1px solid var(--border)
    }

    .topbar-brand {
        width: auto
    }
}

@media(max-width:768px) {
    .topbar {
        padding: 0 10px
    }

    .topbar-center {
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .topbar-right .tb-zoom {
        display: none
    }

    .inv-card {
        width: 300px !important
    }

    .inv-content {
        padding: 32px 20px 24px !important
    }

    .canvas-toolbar {
        bottom: 10px;
        padding: 6px 10px;
        gap: 6px
    }

    .ct-btn {
        padding: 5px 10px;
        font-size: 11px
    }
}

@media(max-width:480px) {
    .topbar-center {
        display: flex
    }

    .inv-card {
        width: 270px !important
    }

    .canvas-toolbar {
        bottom: 8px;
        padding: 5px 8px;
        flex-wrap: wrap;
        max-width: 280px
    }
}

.help-hero {
    background: var(--deep);
    padding: 140px 64px 80px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.help-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% -10%, rgba(201, 168, 76, 0.1) 0, transparent 60%)
}

.help-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: calc(var(--nav-h) + 32px) 18px 48px;
}

.help-hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    color: var(--cream);
    margin-bottom: 20px
}

.help-hero h1 em {
    color: var(--gold);
    font-style: italic
}

.help-hero p {
    font-size: 16px;
    color: rgba(253, 248, 243, 0.5);
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.75
}

.search-bar {
    display: flex;
    max-width: 520px;
    margin: 0 auto
}

.help-search {
    flex: 1;
    padding: 16px 22px;
    border-radius: 14px 0 0 14px;
    border: 1.5px solid rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font-size: 15px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    transition: border-color .2s
}

.help-search::placeholder {
    color: rgba(255, 255, 255, 0.35)
}

.help-search:focus {
    border-color: var(--gold)
}

.search-btn {
    padding: 16px 24px;
    border-radius: 0 14px 14px 0;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    font-weight: 600;
    transition: background .2s
}

.search-btn:hover {
    background: var(--gold-dark)
}

.ql-section {
    padding: 72px 64px;
    background: var(--warm-white)
}

.ql-inner {
    max-width: 1200px;
    margin: 0 auto
}

.ql-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px
}

.ql-card {
    background: var(--cream);
    border-radius: 22px;
    padding: 36px 32px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    text-decoration: none;
    display: block
}

.ql-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(26, 18, 9, 0.1);
    border-color: var(--gold)
}

.ql-icon {
    font-size: 36px;
    margin-bottom: 18px
}

.ql-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 10px
}

.ql-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 16px
}

.ql-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold)
}

.help-faq {
    padding: 0 64px 80px;
    background: var(--warm-white)
}

.help-faq-inner {
    max-width: 900px;
    margin: 0 auto
}

.faq-cats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px
}

.faq-cat {
    padding: 9px 22px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--brown);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .2s
}

.faq-cat.active,
.faq-cat:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--deep);
    gap: 16px
}

.faq-icon {
    font-size: 22px;
    color: var(--gold);
    transition: transform .3s;
    flex-shrink: 0
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-a {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    padding-bottom: 24px;
    display: none
}

.faq-item.open .faq-a {
    display: block
}

.still-help {
    padding: 80px 64px 100px;
    background: linear-gradient(155deg, var(--gold-pale), var(--blush))
}

.sh-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.sh-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 40px 36px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.18);
    text-align: center;
    transition: transform .3s
}

.sh-card:hover {
    transform: translateY(-6px)
}

.sh-icon {
    font-size: 44px;
    margin-bottom: 16px
}

.sh-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 10px
}

.sh-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 22px;
    line-height: 1.65;
    font-weight: 300
}

@media(max-width:1024px) {

    .ql-section,
    .help-faq,
    .still-help {
        padding-left: 28px;
        padding-right: 28px
    }

    .help-hero {
        padding: calc(var(--nav-h) + 36px) 28px 52px
    }
}

@media(max-width:900px) {
    .ql-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .sh-inner {
        grid-template-columns: 1fr
    }

    .ql-section,
    .help-faq,
    .still-help {
        padding-left: 18px;
        padding-right: 18px
    }

    .help-hero {
        padding: calc(var(--nav-h) + 20px) 18px 44px
    }

    .search-bar {
        max-width: 100%
    }
}

@media(max-width:768px) {
    .ql-grid {
        grid-template-columns: 1fr
    }

    .ql-section,
    .help-faq,
    .still-help {
        padding-left: 14px;
        padding-right: 14px
    }

    .help-hero {
        padding: calc(var(--nav-h)+35px) 25px 35px
    }

    .help-hero h1 {
        font-size: clamp(28px, 8vw, 44px)
    }

    .search-bar {
        flex-direction: column;
        gap: 8px
    }

    .help-search {
        border-radius: 12px
    }

    .search-btn {
        border-radius: 12px;
        padding: 14px
    }

    .faq-q {
        font-size: 14px
    }

    .ql-card {
        padding: 24px 18px
    }
}

@media(max-width:480px) {

    .ql-section,
    .help-faq,
    .still-help {
        padding-left: 12px;
        padding-right: 12px
    }

    .ql-card {
        padding: 20px 14px
    }

    .ql-title {
        font-size: 17px
    }

    .ql-icon {
        font-size: 28px
    }

    .faq-cat {
        padding: 7px 14px;
        font-size: 12px
    }

    .faq-q {
        font-size: 13px;
        padding: 14px 0
    }

    .faq-a {
        font-size: 13px
    }

    .sh-card {
        padding: 28px 18px
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h)+48px) 64px 80px;
    position: relative;
    overflow: hidden;
    background: var(--warm-white)
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 75% at 85% 50%, rgba(201, 168, 76, .07) 0, transparent 65%), radial-gradient(ellipse 45% 55% at 5% 85%, rgba(232, 165, 152, .1) 0, transparent 55%), radial-gradient(ellipse 30% 40% at 50% 10%, rgba(143, 171, 143, .07) 0, transparent 50%)
}

.petal {
    position: absolute;
    border-radius: 50% 10% 50% 10%;
    opacity: .1;
    animation: pFloat 9s ease-in-out infinite
}

.p1 {
    width: 110px;
    height: 55px;
    background: var(--gold);
    top: 14%;
    right: 18%;
    transform: rotate(28deg)
}

.p2 {
    width: 75px;
    height: 38px;
    background: var(--rose);
    top: 62%;
    right: 8%;
    transform: rotate(-22deg);
    animation-delay: 2.5s
}

.p3 {
    width: 55px;
    height: 28px;
    background: var(--sage);
    top: 28%;
    right: 32%;
    transform: rotate(52deg);
    animation-delay: 4.5s
}

.p4 {
    width: 85px;
    height: 43px;
    background: var(--gold-light);
    bottom: 22%;
    left: 4%;
    transform: rotate(-38deg);
    animation-delay: 1.5s
}

.p5 {
    width: 40px;
    height: 20px;
    background: var(--rose);
    top: 75%;
    left: 15%;
    transform: rotate(15deg);
    animation-delay: 3.5s
}

@keyframes pFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-16px)
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.hero-grid>* {
    min-width: 0;
    max-width: 100%
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 28px
}

.hero-chip::before {
    content: '✦';
    font-size: 9px
}

.hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.07;
    font-weight: 900;
    color: var(--deep);
    margin-bottom: 24px;
    overflow-wrap: break-word;
    word-break: break-word
}

.hero h1 em {
    font-style: italic;
    color: var(--gold)
}

.hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 460px;
    margin-bottom: 40px;
    font-weight: 300
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.trust-avatars {
    display: flex
}

.trust-avatars span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-right: -10px;
    background: var(--gold-pale)
}

.trust-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4
}

.trust-text strong {
    display: block;
    color: var(--deep);
    font-weight: 600
}

.trust-divider {
    width: 1px;
    height: 34px;
    background: var(--border);
    flex-shrink: 0
}

.trust-stat {
    text-align: center
}

.trust-stat-num {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--deep)
}

.trust-stat-label {
    font-size: 11px;
    color: var(--muted)
}

.hero-visual {
    position: relative;
    height: 520px
}

.card-stack {
    position: relative;
    width: 100%;
    height: 100%
}

.inv-card {
    position: absolute;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26, 18, 9, .18);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1)
}

.ic1 {
    width: 260px;
    height: 370px;
    top: 40px;
    left: 50px;
    z-index: 3;
    transform: rotate(-4deg)
}

.ic2 {
    width: 220px;
    height: 310px;
    top: 70px;
    left: 220px;
    z-index: 2;
    transform: rotate(5deg)
}

.ic3 {
    width: 200px;
    height: 280px;
    top: 200px;
    left: 5px;
    z-index: 1;
    transform: rotate(-8deg);
    opacity: .75
}

.card-stack:hover .ic1 {
    transform: rotate(-1.5deg) translateY(-12px)
}

.card-stack:hover .ic2 {
    transform: rotate(2.5deg) translateY(-6px)
}

.card-stack:hover .ic3 {
    transform: rotate(-5deg) translateY(-3px)
}

.card-face {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px;
    color: white;
    position: relative;
    overflow: hidden
}

.card-face::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07)
}

.cf-emoji {
    font-size: 52px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .2))
}

.cf-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center
}

.cf-sub {
    font-size: 13px;
    opacity: .7;
    text-align: center;
    line-height: 1.5
}

.cf-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .15);
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 4px
}

.float-badge {
    position: absolute;
    bottom: 65px;
    right: -15px;
    z-index: 10;
    background: white;
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fBadge 4s ease-in-out infinite
}

@keyframes fBadge {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.float-badge-icon {
    font-size: 28px
}

.float-badge-text strong {
    display: block;
    font-size: 14px;
    color: var(--deep);
    font-weight: 600
}

.float-badge-text span {
    font-size: 12px;
    color: var(--muted)
}

.float-rsvp {
    position: absolute;
    top: 30px;
    right: -8px;
    z-index: 10;
    background: var(--deep);
    border-radius: 14px;
    padding: 11px 16px;
    box-shadow: 0 8px 32px rgba(26, 18, 9, .25);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fBadge 4s ease-in-out infinite 2s
}

.float-rsvp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .25)
}

.float-rsvp-text {
    font-size: 12px;
    color: rgba(255, 255, 255, .7)
}

.float-rsvp-text strong {
    display: block;
    color: white;
    font-size: 13px
}

.features-section {
    background: var(--cream)
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(201, 168, 76, .08)
}

.feat-card {
    background: var(--warm-white);
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
    transition: background .4s
}

.feat-card:hover {
    background: var(--deep)
}

.feat-card:hover .feat-title,
.feat-card:hover .feat-desc {
    color: inherit
}

.feat-card:hover .feat-title {
    color: white
}

.feat-card:hover .feat-desc {
    color: rgba(255, 255, 255, .55)
}

.feat-card:hover .feat-link {
    opacity: 1
}

.feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
    transition: background .4s
}

.feat-card:hover .feat-icon {
    background: rgba(201, 168, 76, .15)
}

.feat-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 76px;
    font-weight: 900;
    color: rgba(201, 168, 76, .06);
    line-height: 1;
    transition: color .4s
}

.feat-card:hover .feat-num {
    color: rgba(201, 168, 76, .12)
}

.feat-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 14px;
    transition: color .4s
}

.feat-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    transition: color .4s
}

.feat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    opacity: 0;
    transition: opacity .3s
}

.occ-section {
    background: var(--deep)
}

.occ-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    flex-wrap: wrap;
    gap: 16px
}

.view-all {
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s
}

.view-all:hover {
    opacity: 1
}

.occ-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.occ-card {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4.2;
    position: relative;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    text-decoration: none
}

.occ-card:nth-child(odd) {
    margin-top: 28px
}

.occ-card:hover {
    transform: translateY(-10px) scale(1.02)
}

.occ-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.occ-emoji {
    font-size: 70px;
    opacity: .22;
    transition: opacity .4s, transform .4s
}

.occ-card:hover .occ-emoji {
    opacity: .32;
    transform: scale(1.08)
}

.occ-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 18, 9, .9) 0, rgba(26, 18, 9, .1) 55%, transparent 100%)
}

.occ-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px 20px
}

.occ-name {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px
}

.occ-count {
    font-size: 12px;
    color: var(--gold-light)
}

.occ-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    opacity: 0;
    transition: opacity .3s, transform .3s
}

.occ-card:hover .occ-arrow {
    opacity: 1;
    transform: rotate(45deg)
}

.tpl-section {
    background: var(--cream)
}

.tpl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    flex-wrap: wrap;
    gap: 16px
}

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

.tpl-card {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s
}

.tpl-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg)
}

/* .tpl-card:first-child {
    grid-row: span 2
} */

.tpl-face {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px;
    color: white
}

/* .tpl-card:first-child .tpl-face {
    min-height: 514px
} */

.tpl-face-emoji {
    font-size: 56px;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .25))
}

.tpl-face-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center
}

.tpl-face-sub {
    font-size: 12px;
    opacity: .65;
    text-align: center
}

.tpl-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 22px 24px;
    background: linear-gradient(to top, rgba(26, 18, 9, .92) 0, transparent 100%);
    display: block
}

.tpl-name {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    color: white;
    font-weight: 600;
    margin-top: 6px
}

.tpl-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(26, 18, 9, .55);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s
}

.tpl-card:hover .tpl-actions {
    opacity: 1
}

.btn-use {
    padding: 12px 32px;
    border-radius: 100px;
    background: var(--gold);
    color: white;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: transform .2s, background .2s;
    text-decoration: none
}

.btn-use:hover {
    background: var(--gold-dark);
    transform: scale(1.04)
}

.btn-prev-sm {
    padding: 11px 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .12);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, .35);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    backdrop-filter: blur(8px);
    transition: background .2s;
    text-decoration: none
}

.btn-prev-sm:hover {
    background: rgba(255, 255, 255, .22)
}

.how-section {
    background: linear-gradient(155deg, var(--gold-pale) 0, var(--blush) 55%, #e8ddd5 100%);
    position: relative;
    overflow: hidden
}

.how-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(201, 168, 76, .08)
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
    position: relative
}

.how-connector {
    position: absolute;
    top: 58px;
    left: calc(33.33% - 16px);
    right: calc(33.33% - 16px);
    height: 2px;
    background: linear-gradient(90deg, transparent 0, var(--gold) 20%, var(--gold) 80%, transparent 100%);
    opacity: .35
}

.how-step {
    text-align: center;
    padding: 48px 28px 42px;
    background: rgba(255, 255, 255, .65);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 168, 76, .18);
    position: relative;
    z-index: 1;
    transition: transform .35s, box-shadow .35s
}

.how-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(201, 168, 76, .15)
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: white;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 8px 28px rgba(201, 168, 76, .45)
}

.step-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 12px
}

.step-desc {
    font-size: 15px;
    color: var(--brown);
    line-height: 1.75;
    font-weight: 300
}

.testi-section {
    background: var(--warm-white)
}

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

.testi-card {
    background: var(--cream);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(201, 168, 76, .12);
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.testi-card::before {
    content: '"';
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 88px;
    color: rgba(201, 168, 76, .08);
    line-height: 1;
    pointer-events: none
}

.stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: 3px
}

.testi-text {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.75;
    color: var(--brown);
    margin-bottom: 26px;
    font-weight: 400
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--deep)
}

.author-event {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.cta-section {
    background: var(--deep);
    padding: 120px 64px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .1) 0, transparent 70%);
    pointer-events: none
}

.cta-section h2 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(34px, 5vw, 60px);
    color: var(--cream);
    font-weight: 700;
    line-height: 1.13;
    margin-bottom: 20px;
    position: relative
}

.cta-section h2 em {
    font-style: italic;
    color: var(--gold)
}

.cta-section p {
    font-size: 16px;
    color: rgba(253, 248, 243, .5);
    font-weight: 300;
    margin-bottom: 44px;
    position: relative
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative
}

@media(max-width:1200px) {
    .hero-grid {
        gap: 48px
    }

    .ic1 {
        width: 230px;
        height: 320px
    }

    .ic2 {
        width: 190px;
        height: 270px;
        left: 190px
    }
}

@media(max-width:1024px) {
    .hero {
        padding: calc(var(--nav-h)+32px) 32px 60px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 16px
    }

    .hero-visual {
        display: none
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .feat-card {
        padding: 36px 28px
    }

    .occ-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .occ-card:nth-child(odd) {
        margin-top: 0
    }

    .tpl-grid {
        grid-template-columns: 1fr 1fr
    }

    /* .tpl-card:first-child {
        grid-row: span 1
    } */

    /* .tpl-card:first-child .tpl-face {
        min-height: 240px
    } */

    .how-grid {
        grid-template-columns: 1fr
    }

    .how-connector {
        display: none
    }

    .testi-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-sub {
        max-width: 100%
    }

    .cta-section {
        padding: 80px 32px
    }
}

@media(max-width:768px) {
    .hero {
        padding: calc(var(--nav-h) + 20px) 18px 48px
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 52px)
    }

    .hero-sub {
        font-size: 15px;
        margin-bottom: 28px
    }

    .hero-actions {
        gap: 10px;
        flex-direction: column;
        align-items: stretch
    }

    .hero-actions .btn-lg {
        width: 100%;
        justify-content: center
    }

    .hero-chip {
        font-size: 10px;
        padding: 6px 14px
    }

    .trust-row {
        gap: 8px;
        flex-wrap: wrap
    }

    .trust-divider {
        display: none
    }

    .trust-avatars span {
        width: 30px;
        height: 30px;
        font-size: 13px
    }

    .trust-text {
        font-size: 12px
    }

    .trust-stat-num {
        font-size: 18px
    }

    .occ-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .occ-card:nth-child(odd) {
        margin-top: 0
    }

    .occ-info {
        padding: 18px 14px
    }

    .occ-name {
        font-size: 15px
    }

    .occ-count {
        font-size: 11px
    }

    .tpl-grid {
        grid-template-columns: 1fr
    }

    .testi-grid {
        grid-template-columns: 1fr
    }

    .feat-card {
        padding: 28px 20px
    }

    .feat-num {
        font-size: 52px
    }

    .how-step {
        padding: 32px 22px 28px
    }

    .step-num {
        width: 52px;
        height: 52px;
        font-size: 20px
    }

    .testi-card {
        padding: 28px 20px
    }

    .cta-section {
        padding: 64px 18px
    }

    .cta-section h2 {
        font-size: clamp(28px, 7vw, 44px)
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px
    }

    .cta-btns .btn-lg {
        width: 100%;
        max-width: 320px
    }

    .section-label {
        font-size: 10px
    }

    .marquee-item {
        padding: 0 18px;
        font-size: 10px;
        letter-spacing: 1px
    }
}

@media(max-width:480px) {
    .hero {
        padding: calc(var(--nav-h)+14px) 14px 36px
    }

    .hero h1 {
        font-size: clamp(28px, 8.5vw, 40px)
    }

    .hero-sub {
        font-size: 14px
    }

    .hero-chip {
        font-size: 8.5px;
        padding: 5px 12px;
        letter-spacing: 1px;
        white-space: normal;
        text-align: center
    }

    .trust-row {
        justify-content: center;
        column-gap: 12px;
        row-gap: 12px
    }

    .occ-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .occ-name {
        font-size: 14px
    }

    .occ-count {
        font-size: 10px
    }

    .occ-info {
        padding: 14px 10px
    }

    .occ-arrow {
        display: none
    }

    .how-step {
        padding: 28px 16px 24px
    }

    .step-num {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 16px
    }

    .step-title {
        font-size: 18px
    }

    .step-desc {
        font-size: 13px
    }

    .feat-card {
        padding: 24px 18px
    }

    .testi-card {
        padding: 24px 16px
    }

    .stars {
        font-size: 12px
    }

    .testi-text {
        font-size: 15px
    }

    .cta-section {
        padding: 52px 14px
    }

    .cta-btns {
        gap: 10px
    }

    .cta-btns .btn-lg {
        max-width: 100%
    }
}

@media(max-width:360px) {
    .hero h1 {
        font-size: clamp(24px, 8vw, 32px)
    }

    .occ-grid {
        grid-template-columns: 1fr
    }

    .tpl-grid {
        grid-template-columns: 1fr
    }

    .hero-actions .btn-lg {
        font-size: 13px;
        padding: 11px 16px
    }
}

.auth-visual {
    background: var(--deep)
}

.auth-visual::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 165, 152, 0.07) 0, transparent 70%)
}

.av-card-stack {
    position: relative;
    width: 280px;
    height: 360px;
    margin-bottom: 48px;
    z-index: 1
}

.avc {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3)
}

.avc1 {
    width: 200px;
    height: 280px;
    top: 20px;
    left: 0;
    transform: rotate(-5deg)
}

.avc2 {
    width: 180px;
    height: 250px;
    top: 50px;
    left: 90px;
    transform: rotate(4deg);
    z-index: 2
}

.avc-face {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: white;
    padding: 20px
}

.av-quote {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 18px;
    font-style: italic;
    color: rgba(253, 248, 243, 0.6);
    text-align: center;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    max-width: 280px
}

.av-quote::before {
    content: '"';
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 60px;
    color: rgba(201, 168, 76, 0.2);
    display: block;
    line-height: .6;
    margin-bottom: 12px
}

.form-forgot {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px
}

.form-forgot a {
    font-size: 13px;
    color: var(--gold);
    text-decoration: none
}

.occ-page-section {
    padding: 80px 64px 100px;
    background: var(--cream)
}

.occ-page-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
}

.opc-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform .35s, box-shadow .35s;
    box-shadow: var(--shadow-sm)
}

.opc-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg)
}

.opc-card.wide {
    grid-column: span 2;
    min-height: 340px
}

.opc-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.opc-emoji {
    font-size: 100px;
    opacity: .18;
    transition: opacity .4s, transform .4s
}

.opc-card:hover .opc-emoji {
    opacity: .28;
    transform: scale(1.1)
}

.opc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 18, 9, .92) 0, rgba(26, 18, 9, .3) 50%, transparent 100%)
}

.opc-content {
    position: relative;
    z-index: 1;
    padding: 32px 36px;
    width: 100%
}

.opc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(201, 168, 76, .2);
    border: 1px solid rgba(201, 168, 76, .3);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px
}

.opc-name {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px
}

.opc-card.wide .opc-name {
    font-size: 36px
}

.opc-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 420px
}

.opc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.opc-count {
    font-size: 13px;
    color: rgba(255, 255, 255, .4)
}

.opc-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    transition: background .2s;
    white-space: nowrap
}

.opc-card:hover .opc-cta {
    background: var(--gold-dark)
}

@media(max-width:1024px) {
    .occ-page-section {
        padding: 60px 28px 80px
    }

    section.page-hero {
        padding: calc(var(--nav-h)+40px) 28px 52px
    }

    .occ-page-grid {
        gap: 20px
    }
}

@media(max-width:900px) {
    .occ-page-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .opc-card.wide {
        grid-column: span 1;
        min-height: 260px
    }

    .occ-page-section {
        padding: 44px 18px 64px
    }

    section.page-hero {
        padding: calc(var(--nav-h) + 20px) 18px 44px
    }
}

@media(max-width:768px) {
    .opc-card {
        min-height: 220px
    }

    .opc-name {
        font-size: 22px
    }

    .opc-card.wide .opc-name {
        font-size: 26px
    }

    .opc-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .opc-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }

    .opc-content {
        padding: 24px 20px
    }

    section.page-hero {
        padding: calc(var(--nav-h)+35px) 25px 35px
    }
}

@media(max-width:480px) {
    .occ-page-section {
        padding: 32px 12px 48px
    }

    .opc-content {
        padding: 18px 14px
    }

    .opc-tag {
        font-size: 9px
    }

    .opc-name {
        font-size: 18px
    }

    .opc-card.wide .opc-name {
        font-size: 22px
    }

    .opc-cta {
        font-size: 11px;
        padding: 8px 14px
    }

    .opc-count {
        font-size: 11px
    }
}

.policy-hero {
    background: var(--deep);
    padding: calc(var(--nav-h)+56px) 64px 64px;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 32px) 18px 48px;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .1) 0, transparent 70%);
    pointer-events: none
}

.policy-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.policy-emoji {
    font-size: 52px;
    margin-bottom: 20px
}

.policy-hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 14px
}

.policy-hero p {
    font-size: 15px;
    color: rgba(253, 248, 243, .5);
    line-height: 1.7;
    font-weight: 300
}

.policy-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, .12);
    border: 1px solid rgba(201, 168, 76, .25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px
}

.policy-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 72px 64px 100px
}

.policy-section {
    margin-bottom: 52px
}

.policy-section h2 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px
}

.policy-section h2 .ps-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0
}

.policy-section p {
    font-size: 15px;
    color: var(--brown);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 14px
}

.policy-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 14px 20px
}

.policy-section ul li {
    font-size: 15px;
    color: var(--brown);
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    padding-left: 18px
}

.policy-section ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 9px;
    color: var(--gold)
}

.policy-contact {
    background: linear-gradient(135deg, var(--gold-pale), var(--blush));
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin-top: 52px;
    border: 1px solid rgba(201, 168, 76, .2)
}

.policy-contact h3 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 10px
}

.policy-contact p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 22px;
    line-height: 1.65
}

@media(max-width:1024px) {
    .policy-hero {
        padding: calc(var(--nav-h) + 36px) 28px 48px
    }

    .policy-body {
        padding: 52px 28px 72px
    }
}

@media(max-width:768px) {
    .policy-hero {
        padding: calc(var(--nav-h) + 32px) 18px 48px;
    }

    .policy-body {
        padding: 40px 18px 56px
    }

    .policy-hero h1 {
        font-size: clamp(26px, 7vw, 40px)
    }

    .policy-section h2 {
        font-size: 18px
    }
}

@media(max-width:480px) {
    .policy-hero {
        padding: calc(var(--nav-h) + 10px) 14px 28px
    }

    .policy-body {
        padding: 28px 14px 44px
    }

    .policy-hero h1 {
        font-size: clamp(22px, 7vw, 32px)
    }

    .policy-section h2 {
        font-size: 16px
    }

    .policy-section p,
    .policy-section li {
        font-size: 13px
    }

    .policy-emoji {
        font-size: 36px;
        margin-bottom: 12px
    }

    .policy-contact {
        padding: 28px 16px
    }
}

.pricing-hero {
    background: var(--warm-white);
    padding: 140px 64px 80px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0, rgba(201, 168, 76, 0.07) 0, transparent 70%)
}

.pricing-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding: calc(var(--nav-h) + 32px) 18px 48px;
}

.pricing-hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 900;
    color: var(--deep);
    line-height: 1.1;
    margin-bottom: 20px
}

.pricing-hero h1 em {
    color: var(--gold);
    font-style: italic
}

.pricing-hero p {
    font-size: 17px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 36px
}

.toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--cream);
    border-radius: 100px;
    border: 1.5px solid var(--border);
    padding: 4px
}

.toggle-btn {
    padding: 9px 24px;
    border-radius: 100px;
    border: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    color: var(--muted);
    transition: all .2s
}

.toggle-btn.on {
    background: var(--gold);
    color: white;
    box-shadow: 0 4px 16px var(--shadow-gold)
}

.pricing-section {
    padding: 40px 64px 80px;
    background: var(--warm-white)
}

.pricing-inner {
    max-width: 1100px;
    margin: 0 auto
}

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

.pc {
    border-radius: 28px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
    background: white
}

.pc:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(26, 18, 9, 0.1)
}

.pc.featured {
    border-color: var(--gold);
    background: var(--deep);
    position: relative;
    margin-top: -16px
}

.pc.featured:hover {
    transform: translateY(-12px)
}

.popular-pill {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 20px 7px 16px;
    border-bottom-left-radius: 16px
}

.pc-inner {
    padding: 44px 38px
}

.pc-plan {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px
}

.pc-price {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--deep);
    line-height: 1;
    margin-bottom: 6px
}

.pc-price sup {
    font-size: 22px;
    font-family: 'Open Sans', sans-sans-serif;
    vertical-align: super
}

.pc.featured .pc-price {
    color: white
}

.pc-per {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px
}

.pc.featured .pc-per {
    color: rgba(255, 255, 255, 0.45)
}

.pc-divider {
    height: 1px;
    background: var(--border);
    margin: 0 0 28px
}

.pc.featured .pc-divider {
    background: rgba(255, 255, 255, 0.1)
}

.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px
}

.pc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--brown);
    line-height: 1.5
}

.pc.featured .pc-features li {
    color: rgba(255, 255, 255, 0.75)
}

.pc-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px
}

.pc-btn {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .25s;
    letter-spacing: .3px;
    border: 0
}

.pc-btn.light {
    background: var(--gold-pale);
    color: var(--deep)
}

.pc-btn.light:hover {
    background: var(--gold);
    color: white
}

.pc-btn.dark {
    background: var(--gold);
    color: white;
    box-shadow: 0 6px 24px var(--shadow-gold)
}

.pc-btn.dark:hover {
    background: var(--gold-dark)
}

.pc-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px
}

.pc.featured .pc-note {
    color: rgba(255, 255, 255, 0.3)
}

.compare-section {
    padding: 0 64px 80px;
    background: var(--warm-white)
}

.compare-inner {
    max-width: 1100px;
    margin: 0 auto
}

.compare-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--deep);
    text-align: center;
    margin-bottom: 40px
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(26, 18, 9, 0.07)
}

.compare-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    background: var(--deep);
    color: var(--cream)
}

.compare-table th:first-child {
    background: var(--deep)
}

.compare-table th.gold-col {
    background: var(--gold);
    color: white
}

.compare-table td {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--brown);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    background: white
}

.compare-table tr:last-child td {
    border-bottom: 0
}

.compare-table td:first-child {
    font-weight: 500;
    color: var(--deep)
}

.compare-table td.center {
    text-align: center
}

.ck {
    color: var(--gold);
    font-size: 18px
}

.cx {
    color: #ccc;
    font-size: 16px
}

.faq-section {
    padding: 80px 64px 100px;
    background: var(--cream)
}

.faq-inner {
    max-width: 820px;
    margin: 0 auto
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--deep);
    gap: 16px
}

.faq-icon {
    font-size: 20px;
    color: var(--gold);
    transition: transform .3s;
    flex-shrink: 0
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-a {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    padding-bottom: 22px;
    display: none
}

.faq-item.open .faq-a {
    display: block
}

.wallet-section {
    padding: 80px 64px;
    background: var(--deep)
}

.wallet-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.wallet-text .section-title {
    color: var(--cream)
}

.wallet-text .section-sub {
    color: rgba(253, 248, 243, 0.5)
}

.wallet-text .section-label {
    color: var(--gold-light)
}

.wallet-text .section-label::before {
    background: var(--gold-light)
}

.wallet-card {
    background: linear-gradient(145deg, #2a1a08, #3d2b1a);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 28px;
    padding: 44px;
    position: relative;
    overflow: hidden
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0, transparent 70%)
}

.wallet-balance-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(253, 248, 243, 0.4);
    margin-bottom: 8px
}

.wallet-balance {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px
}

.wallet-balance sup {
    font-size: 24px;
    font-family: 'Open Sans', sans-sans-serif;
    vertical-align: super
}

.wallet-balance-sub {
    font-size: 13px;
    color: rgba(253, 248, 243, 0.35);
    margin-bottom: 36px
}

.topup-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.topup-chip {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1.5px solid rgba(201, 168, 76, 0.3);
    background: transparent;
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .2s
}

.topup-chip:hover,
.topup-chip.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: white
}

.topup-btn {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: background .2s;
    box-shadow: 0 6px 24px var(--shadow-gold)
}

.topup-btn:hover {
    background: var(--gold-dark)
}

@media(max-width:1024px) {

    .pricing-section,
    .compare-section,
    .faq-section,
    .wallet-section {
        padding-left: 28px;
        padding-right: 28px
    }

    .pricing-hero {
        padding: calc(var(--nav-h) + 36px) 28px 52px
    }

    .wallet-inner {
        gap: 40px
    }
}

@media(max-width:900px) {

    .pricing-section,
    .compare-section,
    .faq-section,
    .wallet-section {
        padding-left: 18px;
        padding-right: 18px
    }

    .pricing-hero {
        padding: calc(var(--nav-h) + 20px) 18px 44px
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto
    }

    .pc.featured {
        margin-top: 0 !important
    }

    .wallet-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .compare-title {
        font-size: 24px
    }
}

@media(max-width:768px) {

    .pricing-section,
    .compare-section,
    .faq-section,
    .wallet-section {
        padding-left: 14px;
        padding-right: 14px
    }

    .pricing-hero {
        padding: calc(var(--nav-h)+35px) 25px 35px
    }

    .pricing-hero h1 {
        font-size: clamp(28px, 8vw, 44px)
    }

    .pricing-grid {
        max-width: 100%
    }

    .compare-table {
        font-size: 12px
    }

    .compare-table td,
    .compare-table th {
        padding: 10px 10px
    }

    .faq-q {
        font-size: 14px;
        padding: 16px 0
    }

    .wallet-card {
        padding: 28px 18px
    }

    .wallet-balance {
        font-size: 36px
    }

    .topup-options {
        gap: 6px
    }

    .topup-chip {
        padding: 8px 14px;
        font-size: 13px
    }

    .toggle-btn {
        padding: 8px 16px;
        font-size: 12px
    }
}

@media(max-width:480px) {
    .compare-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .compare-table {
        min-width: 320px
    }

    .compare-table td,
    .compare-table th {
        padding: 8px 8px;
        font-size: 11px
    }

    .pc-inner {
        padding: 24px 16px !important
    }

    .pc-price {
        font-size: 36px
    }

    .pc-price sup {
        font-size: 16px
    }

    .faq-q {
        font-size: 13px
    }

    .faq-a {
        font-size: 13px
    }

    .wallet-card {
        padding: 20px 14px
    }

    .wallet-balance {
        font-size: 30px
    }

    .topup-chip {
        padding: 7px 12px;
        font-size: 12px
    }

    .wallet-balance-sub {
        font-size: 12px
    }

    .topup-btn {
        font-size: 14px;
        padding: 13px
    }
}

@media(max-width:360px) {
    .topup-options {
        gap: 4px
    }

    .topup-chip {
        padding: 6px 10px;
        font-size: 11px
    }
}

.auth-visual {
    background: linear-gradient(155deg, var(--deep), #2c1810)
}

.av-logo {
    margin-bottom: 52px
}

.reg-perks {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
    max-width: 300px
}

.rp {
    display: flex;
    align-items: flex-start;
    gap: 16px
}

.rp-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0
}

.rp-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px
}

.rp-text span {
    font-size: 13px;
    color: rgba(253, 248, 243, 0.45);
    line-height: 1.5
}

.av-social {
    position: relative;
    z-index: 1;
    margin-top: 52px;
    text-align: center
}

.av-social p {
    font-size: 12px;
    color: rgba(253, 248, 243, 0.3);
    margin-bottom: 16px
}

.av-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center
}

.av-trust-item {
    font-size: 12px;
    color: rgba(253, 248, 243, 0.4);
    display: flex;
    align-items: center;
    gap: 5px
}

.auth-form-inner h1 {
    font-size: 34px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.form-input {
    font-size: 14px;
    padding: 13px 16px
}

.btn-google {
    padding: 13px;
    font-size: 14px
}

.form-optional {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400
}

.form-terms {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6
}

.form-terms a {
    color: var(--gold);
    text-decoration: none
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border)
}

.step-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px
}

@media(max-width:768px) {
    .auth-form-wrap {
        padding: calc(var(--nav-h)+35px) 25px 35px
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

.tdetail {
    padding: 100px 64px 80px;
    background: var(--cream)
}

.tdetail-inner {
    max-width: 1280px;
    margin: 0 auto
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 36px;
    flex-wrap: wrap
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s
}

.breadcrumb a:hover {
    color: var(--gold)
}

.breadcrumb span {
    color: var(--border)
}

.tdetail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start
}

.tdetail-preview {
    position: sticky;
    top: 100px
}

.tdetail-mockup {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(26, 18, 9, 0.18);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: white;
    padding: 48px;
    position: relative
}

.tdetail-mockup::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06)
}

.tdetail-mockup::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04)
}

.mock-emoji {
    font-size: 80px;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3))
}

.mock-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    z-index: 1
}

.mock-subtitle {
    font-size: 15px;
    opacity: .65;
    text-align: center;
    z-index: 1
}

.mock-date {
    font-size: 13px;
    opacity: .5;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    margin-top: 4px;
    width: 100%;
    text-align: center
}

.mock-badges {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
    z-index: 2
}

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 16px
}

.thumb {
    width: 60px;
    height: 80px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white
}

.thumb.active {
    border-color: var(--gold)
}

.tdetail-info {
    padding-top: 8px
}

.td-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px
}

.td-title {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--deep);
    line-height: 1.1;
    margin-bottom: 16px
}

.td-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px
}

.td-free {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sage)
}

.td-badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.td-chip {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600
}

.tc-cat {
    background: var(--gold-pale);
    color: var(--gold-dark)
}

.tc-lang {
    background: rgba(143, 171, 143, 0.2);
    color: var(--sage)
}

.tc-live {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3)
}

.td-includes {
    margin-bottom: 32px
}

.td-includes h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 14px;
    letter-spacing: .3px
}

.td-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.td-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--brown)
}

.td-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0
}

.td-actions {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.btn-customize {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: var(--gold);
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .3s;
    box-shadow: 0 8px 28px var(--shadow-gold);
    letter-spacing: .3px
}

.btn-customize:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px var(--shadow-gold)
}

.btn-preview-full {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--brown);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .2s
}

.btn-preview-full:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.td-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding: 14px;
    background: var(--gold-pale);
    border-radius: 12px
}

.related-section {
    padding: 80px 64px 100px;
    background: var(--warm-white)
}

.related-inner {
    max-width: 1280px;
    margin: 0 auto
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px
}

.rel-card {
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 18, 9, 0.07);
    transition: transform .3s
}

.rel-card:hover {
    transform: translateY(-6px)
}

.rel-img {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: white
}

.rel-body {
    padding: 14px 16px;
    background: white
}

.rel-name {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 4px
}

.rel-cat {
    font-size: 12px;
    color: var(--muted)
}

@media(max-width:1024px) {

    .tdetail,
    .related-section {
        padding-left: 28px;
        padding-right: 28px
    }

    .tdetail-grid {
        gap: 40px
    }
}

@media(max-width:900px) {
    .tdetail-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .tdetail-preview {
        position: static !important
    }

    .tdetail,
    .related-section {
        padding-left: 18px;
        padding-right: 18px
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .tdetail-mockup {
        max-height: 420px
    }

    .tdetail {
        padding-top: calc(var(--nav-h)+24px)
    }
}

@media(max-width:768px) {

    .tdetail,
    .related-section {
        padding-left: 14px;
        padding-right: 14px
    }

    .tdetail {
        padding-top: calc(var(--nav-h)+16px)
    }

    .td-title {
        font-size: 28px !important
    }

    .tdetail-mockup {
        min-height: 280px !important
    }

    .thumb-row {
        gap: 8px
    }

    .thumb {
        width: 48px;
        height: 64px
    }

    .breadcrumb {
        font-size: 11px;
        gap: 5px
    }

    .td-badge-row {
        gap: 6px
    }

    .btn-customize {
        font-size: 14px;
        padding: 13px
    }
}

@media(max-width:480px) {

    .tdetail,
    .related-section {
        padding-left: 12px;
        padding-right: 12px
    }

    .tdetail {
        padding-top: calc(var(--nav-h) + 10px)
    }

    .td-title {
        font-size: 24px !important
    }

    .tdetail-mockup {
        min-height: 240px !important
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .rel-name {
        font-size: 13px
    }

    .rel-cat {
        font-size: 10px
    }
}

@media(max-width:360px) {
    .related-grid {
        grid-template-columns: 1fr
    }
}

.tpl-hero {
    background: var(--deep);
    padding: calc(var(--nav-h) + 72px) 64px 80px;
    position: relative;
    overflow: hidden
}

.tpl-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .1) 0, transparent 70%)
}

.tpl-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0
}

.tpl-hero h1 {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 16px
}

.tpl-hero h1 em {
    color: var(--gold);
    font-style: italic
}

.tpl-hero p {
    font-size: 16px;
    color: rgba(253, 248, 243, .5);
    max-width: 480px;
    line-height: 1.75;
    font-weight: 300
}

.tpl-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap
}

.ts-stat .num {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-light)
}

.ts-stat .lbl {
    font-size: 12px;
    color: rgba(253, 248, 243, .4)
}

.filter-bar {
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--nav-h);
    z-index: 100
}

.filter-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 4px;
    flex-shrink: 0
}

.filter-chip {
    padding: 7px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--brown);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    transition: all .2s;
    white-space: nowrap
}

.filter-chip:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.filter-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: white
}

.filter-sep {
    width: 1px;
    height: 22px;
    background: var(--border);
    flex-shrink: 0
}

.search-wrap {
    margin-left: auto
}

.filter-search {
    padding: 9px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--cream);
    color: var(--ink);
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    outline: 0;
    width: 200px;
    transition: border-color .2s
}

.filter-search:focus {
    border-color: var(--gold)
}

.tgrid-section {
    padding: 52px 64px 100px
}

.tgrid-header {
    max-width: var(--max-w);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.tgrid-count {
    font-size: 14px;
    color: var(--muted)
}

.tgrid-count strong {
    color: var(--deep)
}

.tgrid-sort {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--brown);
    font-size: 13px;
    font-family: 'Open Sans', sans-sans-serif;
    cursor: pointer;
    outline: 0
}

.tgrid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.tcard {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
    background: white
}

.tcard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.tcard-img {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: white;
    padding: 24px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tcard-img::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07)
}

.tcard-emoji {
    font-size: 50px;
    z-index: 1
}

.tcard-name-over {
    font-family: 'Open Sans', sans-sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    z-index: 1
}

.tcard-body {
    padding: 16px 18px 18px
}

.tcard-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 4px
}

.tcard-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s
}

.tcard-title a:hover {
    color: var(--gold)
}

.tcard-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer
}

.tcard-cat {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: capitalize
}

.tcard-footer {
    display: flex;
    gap: 8px
}

.tcard-btn {
    flex: 1;
    padding: 9px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-sans-serif;
    text-align: center;
    transition: all .2s;
    border: 0;
    text-decoration: none;
    display: block
}

.tcard-btn.use {
    background: var(--gold);
    color: white
}

.tcard-btn.use:hover {
    background: var(--gold-dark)
}

.tcard-btn.prev {
    background: var(--cream);
    color: var(--brown);
    border: 1.5px solid var(--border)
}

.tcard-btn.prev:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.tcard-hover {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 9, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s;
    z-index: 9
}

.tcard:hover .tcard-hover {
    opacity: 1
}

.tbadge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: fit-content
}

.tb-live {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: fit-content
}

.load-more {
    text-align: center;
    padding: 44px 0 0
}

@media(max-width:1100px) {
    .tgrid {
        grid-template-columns: repeat(3, 1fr)
    }

    .filter-inner,
    .tgrid-section {
        padding-left: 28px;
        padding-right: 28px
    }

    .tpl-hero {
        padding-left: 28px;
        padding-right: 28px
    }
}

@media(max-width:900px) {
    .tgrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .filter-inner,
    .tgrid-section {
        padding-left: 18px;
        padding-right: 18px
    }

    .tpl-hero {
        padding: calc(var(--nav-h) + 40px) 28px 56px
    }

    .tpl-hero h1 {
        font-size: clamp(28px, 7vw, 44px)
    }

    .filter-inner {
        flex-wrap: wrap;
        gap: 8px
    }

    .search-wrap {
        width: 100%;
        margin-left: 0;
        order: 10
    }

    .filter-search {
        width: 100%;
        border-radius: 100px
    }

    .filter-bar {
        position: static
    }
}

@media(max-width:768px) {
    .tgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
    }

    .filter-inner,
    .tgrid-section {
        padding-left: 14px;
        padding-right: 14px
    }

    .tpl-hero {
        padding: calc(var(--nav-h) + 32px) 18px 48px
    }

    .tpl-stats {
        gap: 14px
    }

    .ts-stat .num {
        font-size: 22px
    }

    .filter-chip {
        padding: 6px 12px;
        font-size: 12px
    }

    .filter-label {
        display: none
    }

    .tcard-body {
        padding: 12px 12px 14px
    }

    .tcard-title {
        font-size: 13px
    }

    .tcard-cat {
        font-size: 10px
    }

    .tcard-btn {
        font-size: 11px;
        padding: 7px
    }

    .tgrid-header {
        padding: 0 14px
    }
}

@media(max-width:480px) {
    .tgrid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .tpl-hero {
        padding: calc(var(--nav-h) + 12px) 12px 36px
    }

    .filter-inner {
        padding: 10px 12px
    }

    .filter-chip {
        font-size: 11px;
        padding: 5px 10px
    }

    .filter-sep {
        display: none
    }
}

@media(max-width:360px) {
    .tgrid {
        grid-template-columns: 1fr
    }
}

.btn-primary {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: white !important;
    box-shadow: 0 4px 20px var(--shadow-gold) !important
}

.btn-primary:hover {
    background-color: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 28px var(--shadow-gold) !important
}

.btn-outline-primary {
    color: var(--gold) !important;
    border-color: var(--gold) !important
}

.btn-outline-primary:hover {
    background-color: var(--gold) !important;
    color: white !important
}

#scrollTopBtn {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 800;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px var(--shadow-gold);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s, background .2s;
    pointer-events: none
}

#scrollTopBtn.stt-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

#scrollTopBtn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px)
}

@media(max-width:480px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 16px;
        width: 42px;
        height: 42px
    }
}



/* --- Refined Responsiveness Fixes --- */
@media(max-width:900px) {
    .navbar {
        height: auto !important;
        min-height: 60px !important;
        padding: 8px 12px !important;
        flex-wrap: wrap !important;
    }

    .nav-center {
        display: none !important;
    }

    .nav-left {
        flex: 1 !important;
        min-width: 150px !important;
    }

    .nav-right {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .nav-page-sub {
        display: none !important;
    }

    .nav-page-title {
        font-size: 13px !important;
    }

    .draft-badge {
        display: none !important;
        /* Hide on small mobile to save space */
    }

    .page-body,
    .editor-layout {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow-y: visible !important;
        padding-top: 0 !important;
    }

    .form-panel,
    .left-panel,
    .right-panel,
    .preview-panel,
    .canvas-area {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        position: relative !important;
        border: none !important;
        padding-bottom: 20px !important;
    }

    .preview-panel,
    .canvas-area {
        order: 2 !important;
        background: #f8f5f0 !important;
        padding: 80px 15px 40px !important;
    }

    .preview-controls {
        position: absolute !important;
        top: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 30px) !important;
        background: white !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        border-radius: 12px !important;
        padding: 10px !important;
        margin: 0 !important;
        z-index: 50 !important;
    }

    .preview-info {
        position: static !important;
        margin-top: 30px !important;
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .form-footer {
        position: sticky !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        padding: 16px !important;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        gap: 12px !important;
        z-index: 1000 !important;
    }

    .btn-save-draft {
        width: 40% !important;
    }

    .btn-proceed {
        width: 60% !important;
    }

    .phone-wrap {
        padding: 0 !important;
        margin: 0 auto !important;
    }

    #phoneMockup {
        transform: scale(0.9) !important;
        margin: -40px auto !important;
    }
}

@media(max-width:480px) {
    #phoneMockup {
        transform: scale(0.85) !important;
        margin: -60px auto !important;
    }

    .preview-controls {
        padding: 6px !important;
    }

    .pc-btn {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
}

/* --- Designer Specific Responsiveness Fixes --- */
@media(max-width:768px) {
    .topbar-center {
        display: none !important;
    }

    .topbar-brand {
        flex: 1 !important;
        gap: 8px !important;
    }

    .tb-sep {
        display: none !important;
    }

    .topbar-actions {
        gap: 8px !important;
    }

    .btn-save,
    .btn-next {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

    .canvas-footer {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    .cf-group {
        gap: 4px !important;
    }
}

/* --- Scroll Fix for Mobile --- */
@media(max-width:900px) {

    body,
    html {
        overflow-y: auto !important;
        height: auto !important;
    }
}

/* --- Internal Container Scroll Fix for Mobile --- */
@media(max-width:900px) {

    .form-scroll,
    .lp-body,
    .rp-body {
        height: auto !important;
        overflow: visible !important;
        flex: none !important;
    }

    .form-panel,
    .left-panel,
    .right-panel {
        overflow: visible !important;
    }
}


/* --- Final Designer Toolbar Fix --- */
@media(max-width:900px) {
    .canvas-toolbar {
        position: absolute !important;
        bottom: 20px !important;
    }
}