/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #d4a843;
    --gold-light: #f0d78c;
    --gold-glow: rgba(212, 168, 67, 0.25);
    --purple-deep: #1a0a2e;
    --purple-mid: #2d1b4e;
    --purple-light: #4a2c6e;
    --bg: #0b0515;
    --bg-alt: #110a1e;
    --text: #e8e0f0;
    --text-muted: #9e8fb8;
    --white: #ffffff;
    --radius: 14px;
    --glass: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.07);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ===== Animations ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 168, 67, 0.1); }
    50% { box-shadow: 0 0 30px rgba(212, 168, 67, 0.25); }
}

/* ===== Announcement Bar ===== */
@keyframes marquee-glow {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.announce-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: linear-gradient(90deg, #7b3f00, #c99530, #d4a843, #c99530, #7b3f00);
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite, marquee-glow 2s ease-in-out infinite;
    color: #1a0a2e;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 44px 9px 16px;
    gap: 8px;
    text-align: center;
    line-height: 1.4;
}

.announce-bar.hidden { display: none; }

.announce-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.announce-fire { font-size: 1rem; }

.announce-divider {
    opacity: 0.4;
    margin: 0 2px;
}

.announce-countdown {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.92rem;
    background: rgba(0,0,0,0.15);
    padding: 2px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.announce-close {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #1a0a2e;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
    line-height: 1;
}
.announce-close:hover { opacity: 1; }

/* ===== Offer Pill ===== */
.offer-pill {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.08));
    border: 1px solid rgba(212,168,67,0.3);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

/* ===== Social Proof Bar ===== */
.social-proof-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    padding: 7px 16px;
    border-radius: 50px;
}

.sp-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74,222,128,0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== Urgency Row ===== */
.urgency-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.12);
    border-radius: 10px;
    font-size: 0.84rem;
    flex-wrap: wrap;
}

.urgency-timer {
    color: var(--gold-light);
}

.urgency-timer strong {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.04em;
}

.urgency-viewers {
    color: var(--text-muted);
}

/* ===== Guarantee Row ===== */
.guarantee-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 38px; left: 0; right: 0;
    z-index: 100;
    background: rgba(11, 5, 21, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1100px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--gold), #b8912e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--purple-deep);
}

.nav { display: flex; gap: 4px; }
.nav a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav a:hover { color: var(--gold); background: rgba(212, 168, 67, 0.06); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Main ===== */
.main {
    position: relative;
    min-height: 100vh;
    padding-top: 136px;
    padding-bottom: 60px;
}

.announce-bar.hidden ~ * .main,
body.no-announce .main {
    padding-top: 96px;
}

#star-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.25;
    font-weight: 700;
}

.text-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), #c9952e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ===== Report Selection Cards ===== */
.reports-section {
    position: relative;
    z-index: 1;
    margin-bottom: 48px;
}

.reports-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.report-option {
    display: block;
    position: relative;
    cursor: pointer;
}

.report-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.report-option-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.report-option:hover .report-option-inner {
    border-color: rgba(212, 168, 67, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.report-option input:checked ~ .report-option-inner {
    border-color: var(--gold);
    background: rgba(212, 168, 67, 0.08);
    box-shadow: 0 0 24px rgba(212, 168, 67, 0.08), inset 0 0 0 1px rgba(212, 168, 67, 0.1);
}

.report-option-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.report-option input:checked ~ .report-option-inner .report-option-icon {
    background: rgba(212, 168, 67, 0.15);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.12);
}

.report-option-info {
    flex: 1;
    min-width: 0;
}

.report-option-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    color: var(--white);
    margin-bottom: 2px;
}

.report-option-info p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.report-option-price {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    white-space: nowrap;
}

/* Offer pricing */
.report-option-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.price-original {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.price-now {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

/* Popular tag */
.report-option.popular { position: relative; }

.popular-tag {
    position: absolute;
    top: -8px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), #c99530);
    color: var(--purple-deep);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
}

/* ===== Order Form ===== */
.order-section {
    position: relative;
    z-index: 1;
}

.form-wrapper {
    background: linear-gradient(160deg, rgba(45, 27, 78, 0.35), rgba(20, 10, 40, 0.5));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 40px 36px;
    backdrop-filter: blur(16px);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 4px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

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

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(158, 143, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Phone input with country code */
.phone-input-group {
    display: flex;
    width: 100%;
}

.phone-input-group .country-code-select {
    width: 120px !important;
    min-width: 120px !important;
    flex: 0 0 120px;
    border-radius: 10px 0 0 10px !important;
    border-right: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    cursor: pointer;
    padding: 13px 8px 13px 12px !important;
    font-size: 0.88rem !important;
    appearance: auto;
}

.phone-input-group input[type="tel"] {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    border-left-color: rgba(255, 255, 255, 0.06) !important;
}

.phone-input-group:focus-within .country-code-select,
.phone-input-group:focus-within input[type="tel"] {
    border-color: var(--gold);
}

/* Field errors */
.input-error {
    border-color: #e85d75 !important;
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15) !important;
}

.field-error {
    display: none;
    color: #f47a8f;
    font-size: 0.78rem;
    margin-top: 5px;
}

.form-consent {
    margin: 24px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-consent input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--gold);
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

/* ===== Partner Section ===== */
.partner-section {
    display: none;
    margin-top: 24px;
}

.partner-section.visible { display: block; }

.partner-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold);
}

.partner-divider::before,
.partner-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent);
}

/* ===== Coupon Code ===== */
.coupon-row {
    margin-top: 22px;
}

.coupon-input-wrap {
    display: flex;
    gap: 0;
}

.coupon-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
}

.coupon-input-wrap input::placeholder { text-transform: none; letter-spacing: 0; }

.coupon-input-wrap input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.07);
}

.coupon-input-wrap button {
    padding: 12px 20px;
    background: rgba(212,168,67,0.12);
    border: 1px solid rgba(212,168,67,0.25);
    border-radius: 0 10px 10px 0;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.coupon-input-wrap button:hover {
    background: rgba(212,168,67,0.2);
    border-color: var(--gold);
}

.coupon-msg {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    min-height: 18px;
}

.coupon-msg.success { color: #4ade80; }
.coupon-msg.error   { color: #f47a8f; }

/* ===== Pay Button ===== */
.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 24px;
    border: none;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold), #c99530);
    color: var(--purple-deep);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
}

.btn-pay:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 67, 0.35);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-pay:not(:disabled)::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

.btn-pay-text { position: relative; z-index: 1; }

.btn-pay-price {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.12);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-pay-price:empty { display: none; }

.form-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 28px;
}

.footer .container { max-width: 1100px; }

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-brand h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-payment .badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold), #c99530);
    color: var(--purple-deep);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: linear-gradient(135deg, #e85d75, #c7485f); color: #fff; }

/* ===== Policy Pages ===== */
.policy-page {
    padding: 100px 0 60px;
    min-height: 80vh;
}

.policy-page .container { max-width: 760px; }

.policy-page h1 {
    font-family: 'Cinzel', serif;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.policy-page h2 {
    color: var(--gold);
    font-size: 1.1rem;
    margin: 28px 0 10px;
    font-family: 'Cinzel', serif;
}

.policy-page p, .policy-page li {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-page ul { padding-left: 22px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav { display: none; }
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: rgba(11, 5, 21, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav.active a { padding: 12px 16px; }
    .mobile-toggle { display: block; }

    .form-grid { grid-template-columns: 1fr; }
    .form-wrapper { padding: 28px 20px 24px; }
    .report-option-info p { display: none; }
    .report-option-inner { padding: 14px 16px; gap: 12px; }
    .report-option-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .footer-top { flex-direction: column; gap: 20px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .main { padding-top: 80px; }
    .page-title { font-size: 1.5rem; }
    .report-option-price { font-size: 1.05rem; }
    .logo { font-size: 1.1rem; }
}
