/* SevenClub Checkout - Modern & Animated Stylesheet */

:root {
    --bg-primary: #05020d;
    --bg-secondary: #0a0515;
    --bg-card: #0d0818;
    --bg-input: #0a0510;

    --accent-cyan: #7c3aed;
    --accent-purple: #5b21b6;
    --accent-gradient: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%);
    --accent-gradient-reverse: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --border-color: rgba(91, 33, 182, 0.2);
    --border-active: rgba(91, 33, 182, 0.4);

    --shadow-glow: 0 0 40px rgba(91, 33, 182, 0.15);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(91, 33, 182, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(76, 29, 149, 0.08) 0%, transparent 40%);
}

.checkout-container {
    min-height: 100vh;
}

/* ===== HEADER ===== */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(15, 22, 41, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -2px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-header-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-active);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-header-login:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-header-login i {
    font-size: 0.85rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-cyan);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: var(--success);
    font-size: 0.85rem;
}

.secure-badge.success {
    background: rgba(16, 185, 129, 0.15);
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature i {
    color: var(--accent-cyan);
}

/* ===== PLANS SECTION ===== */
.plans-section {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured {
    border-color: var(--accent-cyan);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, var(--bg-card) 100%);
}

.plan-card.featured::before {
    opacity: 1;
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--accent-gradient);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-price {
    margin-bottom: 2rem;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--success);
    width: 20px;
}

.btn-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-select.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
}

.btn-select.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

.btn-select.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-active);
}

.btn-select.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-cyan);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--border-active);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.checkout-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* ===== PAYMENT WRAPPER ===== */
.payment-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.payment-step {
    animation: fadeIn 0.5s ease;
}

.payment-step.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.step.completed .step-number {
    background: var(--success);
    border-color: transparent;
    color: #fff;
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.step.active .step-label {
    color: var(--accent-cyan);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.step-line.active,
.step-line.completed {
    background: var(--accent-cyan);
}

/* Payment Card */
.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

/* Order Summary */
.order-summary {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.order-summary h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    font-weight: 600;
}

.total-price {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Payment Form */
.payment-form .form-group {
    margin-bottom: 1.25rem;
}

.payment-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.payment-form label i {
    color: var(--accent-cyan);
}

.payment-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.payment-form input::placeholder {
    color: var(--text-muted);
}

.btn-pay {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-pay:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

.btn-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== PIX PAYMENT ===== */
.pix-card {
    text-align: center;
}

.pix-header {
    margin-bottom: 1.5rem;
}

.pix-icon img {
    margin-bottom: 1rem;
}

.pix-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pix-header p {
    color: var(--text-muted);
}

.pix-amount {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.amount-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.amount-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
}

.qr-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.qr-code {
    display: none;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    margin: 0 auto;
    width: fit-content;
}

.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pix-code-container {
    margin-bottom: 1.5rem;
}

.pix-code-container label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.pix-code-wrapper {
    display: flex;
    gap: 0.5rem;
}

.pix-code-wrapper input {
    flex: 1;
    padding: 0.875rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.btn-copy {
    padding: 0 1.25rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-copy:hover {
    transform: scale(1.05);
}

.copy-feedback {
    display: block;
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-feedback.show {
    opacity: 1;
}

.payment-status {
    margin-bottom: 1.5rem;
}

.status-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    color: var(--warning);
    position: relative;
}

.pulse-ring {
    position: absolute;
    left: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--warning);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.pix-timer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pix-timer strong {
    color: var(--text-primary);
}

/* Success Card */
.success-card {
    text-align: center;
    padding: 3rem 2rem;
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.checkmark {
    width: 30px;
    height: 50px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: rotate(45deg) translateY(-5px);
    animation: checkmark 0.5s ease 0.3s forwards;
    opacity: 0;
}

@keyframes checkmark {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-card p {
    color: var(--text-muted);
}

.redirect-loader {
    margin-top: 2rem;
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: var(--accent-gradient);
    animation: loading 2s ease;
}

@keyframes loading {
    from { width: 0; }
    to { width: 100%; }
}

/* ===== CONFIGURE PAGE ===== */
.configure-card {
    max-width: 100%;
}

.configure-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--success);
}

.plan-summary {
    background: var(--bg-input);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.plan-label {
    color: var(--text-muted);
}

.plan-summary .plan-name {
    font-weight: 600;
    color: var(--accent-cyan);
}

.configure-form .form-group {
    margin-bottom: 1.25rem;
}

.configure-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.configure-form label i {
    color: var(--accent-cyan);
}

.required {
    color: var(--danger);
}

.configure-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.configure-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.hint.success {
    color: var(--success);
}

.hint.warning {
    color: var(--warning);
}

.hint.error {
    color: var(--danger);
}

.subdomain-input {
    display: flex;
    align-items: stretch;
}

.subdomain-input input {
    border-radius: 10px 0 0 10px;
}

.domain-suffix {
    padding: 0 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border-color);
}

.form-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-create {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
}

.btn-create:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

/* ===== CREATING ANIMATION ===== */
.creating-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.creating-animation {
    max-width: 400px;
    margin: 0 auto;
}

.robot-container {
    position: relative;
    height: 200px;
    margin-bottom: 2rem;
}

.robot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: robotFloat 3s ease-in-out infinite;
}

@keyframes robotFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.robot-head {
    width: 80px;
    height: 70px;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-cyan);
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
}

.robot-antenna {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 20px;
    background: var(--accent-cyan);
    border-radius: 3px;
}

.robot-antenna::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.robot-face {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 15px;
}

.robot-eye {
    width: 15px;
    height: 15px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: eyeGlow 2s infinite;
}

@keyframes eyeGlow {
    0%, 100% { box-shadow: 0 0 10px var(--accent-cyan); }
    50% { box-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-cyan); }
}

.robot-mouth {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 0 0 10px 10px;
}

.robot-body {
    width: 60px;
    height: 50px;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-cyan);
    border-radius: 10px;
    margin: 5px auto 0;
}

.robot-chest {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.robot-light {
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.gears {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.gear {
    position: absolute;
    border: 4px solid var(--accent-purple);
    border-radius: 50%;
    opacity: 0.3;
}

.gear1 {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 20px;
    animation: rotateCW 3s linear infinite;
}

.gear2 {
    width: 30px;
    height: 30px;
    top: 60px;
    right: 30px;
    animation: rotateCCW 2s linear infinite;
}

.gear3 {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateCW 4s linear infinite;
}

@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.creation-steps {
    text-align: left;
}

.creation-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.creation-step i {
    width: 24px;
}

.creation-step.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-cyan);
}

.creation-step.active i {
    animation: spin 1s linear infinite;
}

.creation-step.completed {
    color: var(--success);
}

.creation-step.completed i::before {
    content: '\f00c';
}

/* ===== SUCCESS PAGE ===== */
.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.success-content {
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon-large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.success-circle {
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    animation: scaleIn 0.5s ease;
    position: relative;
    z-index: 2;
}

.success-rings .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--success);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 100%; height: 100%; animation-delay: 0.5s; }
.ring-3 { width: 100%; height: 100%; animation-delay: 1s; }

@keyframes ringExpand {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.emoji {
    display: inline-block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.success-content h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.bot-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.bot-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.bot-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.bot-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.bot-url-section {
    margin-bottom: 1.5rem;
}

.bot-url-section label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.url-display {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.url-icon {
    color: var(--accent-cyan);
    margin-right: 0.75rem;
}

.bot-url {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.btn-copy-url {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.btn-copy-url:hover {
    color: var(--accent-cyan);
}

.credentials-section {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 1.25rem;
}

.credentials-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.credentials-section h4 i {
    color: var(--accent-cyan);
}

.credential {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.credential .label {
    color: var(--text-muted);
}

.credential .value {
    font-weight: 600;
    font-family: monospace;
}

.credentials-section .warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--warning);
    font-size: 0.85rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-access {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-access:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-active);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-cyan);
}

.next-steps {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.next-steps h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.next-steps ol {
    list-style: none;
    counter-reset: steps;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    counter-increment: steps;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.next-steps li i {
    width: 30px;
    height: 30px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.support-section {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 400px;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--danger);
}

.error-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.error-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-header {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .payment-wrapper {
        padding: 1rem;
    }

    .step-line {
        width: 30px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== TOKEN SECTION ===== */
.token-section {
    padding: 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.token-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.token-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
}

.token-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.token-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.token-content {
    flex: 1;
}

.token-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.token-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.btn-token {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-token:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-token i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .token-section {
        padding: 1.5rem 1rem;
    }

    .token-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .token-content h3 {
        font-size: 1.1rem;
    }

    .btn-token {
        width: 100%;
        justify-content: center;
    }
}
