/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* Design Tokens & Variables */
:root {
    --bg-dark-deep: #030303;
    --bg-dark-card: #0d0d0d;
    --bg-dark-hover: #161616;
    --accent-red: #ff1f27;
    --accent-red-dark: #b30006;
    --accent-red-glow: rgba(255, 31, 39, 0.25);
    --accent-red-glow-heavy: rgba(255, 31, 39, 0.6);
    --chrome-silver: linear-gradient(135deg, #cfcfcf 0%, #ffffff 50%, #bcbcbc 100%);
    --chrome-silver-text: #e2e8f0;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-red-subtle: rgba(255, 31, 39, 0.2);
    --border-red-active: rgba(255, 31, 39, 0.6);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark-deep);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-dark-deep);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 31, 39, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 31, 39, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* UI Feedback Utilities */
#email-validation-msg, #coupon-validation-msg {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}
#email-validation-msg.valid, #coupon-validation-msg.valid {
    color: #25d366;
}
#email-validation-msg.invalid, #coupon-validation-msg.invalid {
    color: #ff333d;
}

.btn-copied {
    background: #25d366 !important;
    background-color: #25d366 !important;
    background-image: none !important;
    border-color: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4) !important;
    transform: scale(1.02);
}

.status-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px auto 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.status-indicator-badge.waiting {
    background: rgba(255, 31, 39, 0.1);
    border: 1px solid rgba(255, 31, 39, 0.3);
    color: #ff333d;
}
.status-indicator-badge.processing {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}
.status-indicator-badge.approved {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Layout views */
.view {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.view.active {
    display: block;
    opacity: 1;
}

/* Shared Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.gradient-text-silver {
    background: var(--chrome-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-red {
    background: linear-gradient(135deg, #ff6b70 0%, #ff1f27 50%, #b30006 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header Component */
.header {
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    border-radius: 6px;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

.logo-text {
    font-weight: 800;
    color: var(--text-main);
}

.logo-text span {
    color: var(--accent-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 8px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: var(--text-main);
    box-shadow: 0 4px 15px var(--accent-red-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--accent-red-glow-heavy);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--chrome-silver-text);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: var(--bg-dark-hover);
    border-color: var(--border-red-subtle);
    box-shadow: 0 0 15px rgba(255, 31, 39, 0.1);
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 31, 39, 0.08);
    border: 1px solid var(--border-red-subtle);
    border-radius: 100px;
    padding: 6px 16px;
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-image-container {
    position: relative;
    border-radius: 16px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,31,39,0.3) 0%, rgba(255,255,255,0.05) 50%, rgba(255,31,39,0.2) 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px var(--accent-red-glow);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, var(--bg-dark-card) 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.benefit-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-red-subtle);
    box-shadow: 0 10px 25px rgba(255, 31, 39, 0.08);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 31, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-red);
    border: 1px solid var(--border-red-subtle);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
}

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

.step-card {
    position: relative;
    text-align: center;
    padding: 30px;
}

.step-num {
    font-size: 72px;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 31, 39, 0.3) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -15px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Social Proof (Testimonials) */
.testimonials-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-dark-card) 0%, var(--bg-dark-deep) 100%);
}

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

.testimonial-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-weight: bold;
    border: 1px solid var(--border-red-subtle);
}

.author-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 12px;
    color: var(--text-dim);
}

.stars {
    color: #eab308;
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: #020202;
    padding: 40px 0;
    margin-top: auto;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.disclaimer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

/* QUESTIONNAIRE SECTION */
.assessment-container {
    max-width: 650px;
    margin: 80px auto;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 31, 39, 0.05);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.progress-bar-bg {
    height: 6px;
    background: #1e1e1e;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 40px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-red-dark) 0%, var(--accent-red) 100%);
    box-shadow: 0 0 8px var(--accent-red-glow-heavy);
    border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-box {
    display: none;
}

.question-box.active {
    display: block;
    animation: fadeInQuestion 0.4s ease forwards;
}

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

.question-text {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-btn {
    background: var(--bg-dark-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 18px 24px;
    color: var(--text-main);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-btn:hover {
    background: var(--bg-dark-hover);
    border-color: var(--border-red-active);
    box-shadow: 0 0 15px var(--accent-red-glow);
    transform: translateX(4px);
}

.option-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-dim);
    border-radius: 50%;
    display: inline-block;
    transition: all var(--transition-fast);
}

.option-btn:hover .option-indicator {
    border-color: var(--accent-red);
}

/* Input styles for profile link */
.input-group {
    margin-top: 10px;
}

.text-input {
    width: 100%;
    background: var(--bg-dark-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
    margin-bottom: 24px;
}

.text-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red-glow);
}

/* Questionnaire Loading overlay */
.loading-view {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.loading-view.active {
    display: block;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 31, 39, 0.1);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s infinite linear;
    box-shadow: 0 0 15px var(--accent-red-glow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-status {
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
}

.loading-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* CHECKOUT PAGE REDESIGN */
.checkout-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    margin: 50px auto 100px;
    align-items: start;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.checkout-card {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: all var(--transition-normal);
}

.checkout-card-summary {
    background: rgba(13, 13, 13, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 31, 39, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 31, 39, 0.05);
}

.product-image-summary {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-subtle);
}

.summary-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.summary-title {
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 20px;
}

.compact-summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    padding: 0;
}

.compact-summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.compact-summary-list .check-icon {
    color: #ff333d;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.compact-summary-list .summary-label {
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.compact-summary-list .summary-value {
    color: var(--text-main);
    font-weight: 500;
}

/* Price Highlight: Premium red with smaller currency R$ - entire amount highlighted */
.product-price {
    font-size: 36px;
    font-weight: 900;
    color: #ff333d;
    text-shadow: 0 0 15px rgba(255, 51, 61, 0.45);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.product-price .price-currency {
    font-size: 18px;
    font-weight: 600;
    color: #ff333d;
}

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

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background: rgba(3, 3, 3, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 15px 16px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    height: 54px;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #ff333d;
    box-shadow: 0 0 15px rgba(255, 51, 61, 0.3);
    background: rgba(13, 13, 13, 0.8);
}

.form-help-text {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 6px;
    display: block;
    line-height: 1.4;
}

/* Payment tabs */
.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-tab {
    background: rgba(3, 3, 3, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    color: var(--text-muted);
}

.payment-tab.active {
    border-color: #c1121f;
    background: rgba(193, 18, 31, 0.06);
    box-shadow: 0 0 12px rgba(193, 18, 31, 0.2);
    color: var(--text-main);
}

.payment-details-pane {
    display: none;
    margin-top: 15px;
}

.payment-details-pane.active {
    display: block;
    animation: slideUp 0.3s ease forwards;
}

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

/* PIX Panel style - Centralized Card */
.pix-payment-card {
    background: rgba(3, 3, 3, 0.7);
    border: 1px solid rgba(193, 18, 31, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin: 10px auto 25px;
    text-align: center;
    max-width: 380px;
    box-shadow: 0 0 20px rgba(193, 18, 31, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pix-instruction {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.pix-timer-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(193, 18, 31, 0.1);
    color: #ff333d;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(193, 18, 31, 0.2);
}

.pix-qr-container {
    width: 170px;
    height: 170px;
    background: white;
    border-radius: 12px;
    margin: 0 auto 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.pix-qr-container img {
    width: 100%;
    height: auto;
}

.pix-copy-box {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.pix-key-input {
    flex: 1;
    font-family: monospace;
    font-size: 11px;
    background: rgba(3,3,3,0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.checkout-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
    margin-bottom: 24px;
    width: 100%;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 31, 39, 0.25);
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(255, 31, 39, 0.08);
}

#unlock-analysis-btn {
    background: linear-gradient(135deg, #ff1f27 0%, #b30006 100%);
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(255, 31, 39, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    width: 100%;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#unlock-analysis-btn:hover {
    box-shadow: 0 0 25px rgba(255, 31, 39, 0.55);
    transform: translateY(-2px);
}

#unlock-analysis-btn:active {
    transform: translateY(0) scale(0.98);
}



/* FLOATING SUPPORT BUTTON & CHAT POPUP */
.support-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.support-bubble {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff1f27 0%, #b30006 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 31, 39, 0.4), 0 0 15px var(--accent-red-glow-heavy);
    color: white;
    transition: all var(--transition-normal);
}

.support-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 31, 39, 0.6), 0 0 25px var(--accent-red-glow-heavy);
}

/* Chat overlay popup */
.support-chat-popup {
    display: none;
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px var(--accent-red-glow);
    animation: popupFade 0.3s ease forwards;
}

.support-chat-popup.active {
    display: block;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--accent-red-dark) 0%, #1e1e1e 100%);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-agent-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.chat-agent-info h4 {
    font-size: 14px;
    color: white;
}

.chat-agent-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.chat-body {
    padding: 16px;
    background: var(--bg-dark-deep);
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.chat-bubble.agent {
    background: var(--bg-dark-card);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-footer {
    padding: 12px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: var(--bg-dark-deep);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    font-size: 13px;
    outline: none;
}

.chat-send-btn {
    width: 34px;
    height: 34px;
    background: var(--accent-red);
    border-radius: 6px;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* SUCCESS PAGE / PURCHASE COMPLETE */
.success-container {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-red-active);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 25px rgba(255, 31, 39, 0.15);
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(255, 31, 39, 0.1);
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin: 0 auto 30px;
    box-shadow: 0 0 20px var(--accent-red-glow);
}

.success-container h2 {
    font-size: 30px;
    margin-bottom: 16px;
}

.success-container p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ADMIN PORTAL PANEL */
.admin-login-card {
    max-width: 400px;
    margin: 100px auto;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
}

.admin-login-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

.admin-dashboard-container {
    margin: 40px auto 100px;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
}

.admin-title-group h2 {
    font-size: 28px;
    margin-bottom: 4px;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
}

.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.admin-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--bg-dark-hover);
    color: var(--text-main);
    border-color: var(--border-red-subtle);
}

.table-wrapper {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.orders-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.orders-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--chrome-silver-text);
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.status-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.paid {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.status-badge.pending {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-badge.refunded {
    background: rgba(255, 31, 39, 0.1);
    color: var(--accent-red);
    border: 1px solid var(--border-red-subtle);
}

.action-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    border-color: var(--accent-red);
    color: var(--text-main);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 20px auto 60px;
    }
    
    .checkout-left {
        position: static;
    }
    
    .checkout-card {
        padding: 22px;
    }
    
    .product-price {
        font-size: 32px;
    }
    
    .pix-payment-card {
        padding: 16px;
        max-width: 100%;
    }
    
    .admin-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* TYPOGRAPHY */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1, .hero-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em;
    }
    
    h2, .section-header h2, .checkout-card h2, .success-container h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
        letter-spacing: -0.015em;
    }
    
    h3, .question-text {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
    
    p, .option-btn, .form-input, .pix-instruction {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .form-help-text, .trust-badge, .disclaimer, .footer, .pix-timer-container {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .nav-menu {
        display: none; /* simple responsive header for landing */
    }
    
    #nav-cta-btn {
        display: none; /* Hide header cta button to center logo and save screen space */
    }

    .header-container {
        justify-content: center;
        height: 64px;
    }
    
    .logo {
        font-size: 17px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .assessment-container {
        padding: 20px;
        margin: 30px auto;
    }
    
    .option-btn {
        padding: 12px 18px;
    }
    
    .admin-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .admin-filters {
        justify-content: space-between;
    }

    /* Checkout Mobile Enhancements - Perfectly Scaled */
    .container {
        padding: 0 16px;
    }

    .checkout-grid {
        gap: 16px;
        margin: 15px auto 40px;
        display: flex;
        flex-direction: column;
    }

    .checkout-card {
        padding: 18px;
        border-radius: 12px;
        background: rgba(13, 13, 13, 0.75);
        backdrop-filter: blur(15px);
        border: 1px solid var(--border-subtle);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .checkout-card-summary {
        background: rgba(13, 13, 13, 0.65);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 31, 39, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 31, 39, 0.05);
        padding: 16px;
    }

    .checkout-card h2 {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 10px;
        margin-bottom: 16px;
    }

    .product-image-summary {
        width: 100%;
        height: 75px !important; /* Reduced by at least 50% for mobile */
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .summary-header-row {
        margin-bottom: 12px;
        padding-bottom: 10px;
        gap: 8px;
    }

    .product-price {
        font-size: 28px;
        text-shadow: 0 0 10px rgba(255, 51, 61, 0.4);
        margin-top: 0;
        text-align: right;
    }

    .product-price .price-currency {
        font-size: 15px;
    }

    .compact-summary-list {
        gap: 8px;
        margin-top: 8px;
    }

    .compact-summary-list li {
        font-size: 14px;
        gap: 8px;
    }

    .compact-summary-list .check-icon {
        font-size: 14px;
    }

    /* Form inputs mobile styling */
    .form-input {
        padding: 14px 16px;
        font-size: 16px !important;
        height: 54px;
        border-radius: 10px;
    }
    
    .form-row {
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .form-label {
        font-size: 12px !important;
        margin-bottom: 6px;
    }

    /* Centered PIX details pane mobile scaling */
    .pix-payment-card {
        padding: 16px;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .pix-qr-container {
        width: 130px;
        height: 130px;
        padding: 6px;
        margin-bottom: 14px;
    }

    .pix-copy-box {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .pix-key-input {
        width: 100%;
        text-align: center;
        white-space: normal;
        word-break: break-all;
        padding: 10px;
        font-size: 11px !important;
    }

    .pix-copy-box .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .payment-tabs {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .payment-tab {
        padding: 12px 8px;
        font-size: 14px;
    }

    /* Security Trust Badges below payment pane */
    .checkout-trust-badges {
        gap: 6px 10px;
        margin-top: 8px;
        margin-bottom: 16px;
    }

    .trust-badge {
        padding: 5px 12px;
        font-size: 12px !important;
        gap: 4px;
    }

    /* Large Conversion CTA Button */
    #unlock-analysis-btn {
        padding: 15px 24px;
        font-size: 15px !important;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(255, 31, 39, 0.4);
    }
    
    #unlock-analysis-btn:active {
        transform: scale(0.96);
    }

    /* Floating WhatsApp Button Fix - Reduced size and padded bottom wrapper */
    .support-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .support-bubble {
        width: 44px; /* Reduced size on mobile */
        height: 44px;
        box-shadow: 0 4px 10px rgba(193, 18, 31, 0.3), 0 0 10px rgba(193, 18, 31, 0.4);
    }
    
    .support-bubble svg {
        width: 22px;
        height: 22px;
    }

    /* Prevent overlap by creating scroll buffer at main view bottom */
    main {
        padding-bottom: 120px;
    }

    .support-chat-popup {
        bottom: 56px;
        right: 0;
        width: 280px;
        height: 310px;
    }
    
    .chat-body {
        height: 160px;
    }
}
