/* ========================================
   RecargaYa - Professional Recharge Page
   ======================================== */

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

:root {
    /* Primary Palette */
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --primary-light: #55EFC4;
    --primary-glow: rgba(0, 212, 170, 0.3);
    
    /* Accent */
    --accent: #00A3FF;
    --accent-dark: #0077CC;
    
    /* Neutrals */
    --dark: #0A0E17;
    --dark-lighter: #141B2D;
    --dark-card: #1A2238;
    --dark-border: #2A3655;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #8B95A5;
    --text-muted: #5A6478;
    
    /* Status */
    --success: #00D4AA;
    --error: #FF6B6B;
    --warning: #FFD93D;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E17 0%, #141B2D 100%);
    --gradient-card: linear-gradient(145deg, #1A2238 0%, #141B2D 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   Animated Background
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(var(--dark-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--dark-border) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ========================================
   App Container
   ======================================== */

.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand-icon {
    width: 40px;
    height: 40px;
}

.brand-icon svg {
    width: 100%;
    height: 100%;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

.badge-icon {
    font-size: 14px;
}

/* ========================================
   Main Wrapper
   ======================================== */

.main-wrapper {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl);
    width: 100%;
    align-items: center;
}

/* ========================================
   Info Panel
   ======================================== */

.info-panel {
    padding: var(--space-xl);
}

.info-content {
    max-width: 520px;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.main-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: var(--space-lg);
}

.main-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.main-description strong {
    color: var(--primary);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 16px;
    font-weight: 600;
}

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

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-border);
}

/* ========================================
   Form Panel
   ======================================== */

.form-panel {
    display: flex;
    justify-content: center;
    padding: var(--space-lg);
}

.form-container {
    width: 100%;
    max-width: 480px;
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

/* Form Sections */
.form-section {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.section-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
}

/* Phone Input */
.phone-input-group {
    display: flex;
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.phone-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.country-code {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
    background: var(--dark-lighter);
    border-right: 1px solid var(--dark-border);
    font-weight: 500;
}

.country-code .flag {
    font-size: 20px;
}

.phone-input-group input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    letter-spacing: 2px;
}

.phone-input-group input:focus {
    outline: none;
}

.phone-input-group input::placeholder {
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Amount Selector */
.amount-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.amount-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
}

.amount-option:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    transform: translateY(-2px);
}

.amount-option.selected {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.amount-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.amount-final {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}


/* Card Preview */
.card-preview {
    margin-bottom: var(--space-lg);
    perspective: 1000px;
}

.card-front {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

.card-chip {
    width: 50px;
    height: 40px;
    position: relative;
    z-index: 1;
}

.card-number-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-details-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.card-holder-display,
.card-expiry-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-details-row .label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-details-row .value {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-brand {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    color: white;
    opacity: 0.9;
}

.card-brand svg {
    width: 100%;
    height: auto;
}

/* Card Form Fields */
.card-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-field.full-width {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-field input {
    padding: var(--space-md);
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-normal);
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-field input::placeholder {
    color: var(--text-muted);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding-right: 48px;
}

.card-type-icon {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvv-hint {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    cursor: help;
}

.cvv-hint svg {
    width: 100%;
    height: 100%;
}

/* Order Summary */
.order-summary {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 15px;
}

.summary-row.discount {
    color: var(--success);
}

.summary-divider {
    height: 1px;
    background: var(--dark-border);
    margin: var(--space-sm) 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--primary);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: var(--space-lg);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.submit-btn.loading .btn-content {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--text-muted);
    font-size: 12px;
}

.security-note svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

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

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

/* ========================================
   Modal
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    z-index: 1;
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    min-width: 360px;
    max-width: 420px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-content.success .modal-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--success);
}

.modal-content.error .modal-icon {
    background: rgba(255, 107, 107, 0.1);
    color: var(--error);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.modal-details {
    background: var(--dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 14px;
    text-align: left;
}

.modal-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   SEO Content Section
   ======================================== */

.seo-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.seo-content article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #00D4AA;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.seo-content .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.seo-content .benefit-item {
    padding: 20px;
}

.seo-content details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
}

.seo-content summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-content summary::-webkit-details-marker {
    display: none;
}

.seo-content summary::after {
    content: '+';
    font-size: 1.5rem;
}

.seo-content details[open] summary::after {
    content: '−';
}

.seo-content .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.seo-content .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
}

.seo-content .how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.seo-content .how-it-works > div {
    padding: 20px;
}

.seo-content .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.seo-content .how-it-works h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.seo-content .how-it-works p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
}

.seo-content .faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo-content details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
}

.seo-content details summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-content details summary::-webkit-details-marker {
    display: none;
}

.seo-content details summary::after {
    content: '+';
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.seo-content details[open] summary::after {
    content: '−';
}

.seo-content details p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-description {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.footer-description h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #00D4AA;
}

.footer-description p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-keywords {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .info-panel {
        text-align: center;
        padding: var(--space-lg) var(--space-md);
    }

    .info-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .main-title {
        font-size: 42px;
    }

    .features-list {
        align-items: center;
    }

    .trust-indicators {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: var(--space-md);
    }

    .brand-text {
        font-size: 20px;
    }

    .nav-badge {
        padding: var(--space-xs) var(--space-sm);
        font-size: 11px;
    }

    .main-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .main-description {
        font-size: 16px;
    }

    .form-container {
        padding: var(--space-lg);
    }

    .amount-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .card-number-display {
        font-size: 18px;
        letter-spacing: 2px;
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: var(--space-md);
    }

    .trust-divider {
        width: 40px;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* SEO Content Section - Mobile */
    .seo-content {
        max-width: 100% !important;
        margin: 20px auto !important;
        padding: 0 15px !important;
    }

    .seo-content article {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }

    .seo-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .seo-content h3 {
        font-size: 1.1rem !important;
    }

    .seo-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Features Grid Mobile */
    .features-list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .feature-item {
        width: 100%;
    }

    /* Info Panel Mobile */
    .info-panel {
        padding: var(--space-md) var(--space-sm);
    }

    .info-content {
        max-width: 100%;
    }

    /* Form Panel Mobile */
    .form-panel {
        padding: var(--space-md) var(--space-sm);
    }

    .form-container {
        padding: var(--space-md);
    }

    /* Card Preview Mobile */
    .card-preview {
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: var(--space-md);
    }

    /* Form Fields Mobile */
    .form-field {
        margin-bottom: var(--space-md);
    }

    .form-field input,
    .form-field select {
        font-size: 16px; /* Evita zoom en iOS */
        padding: var(--space-md);
    }

    /* Phone Input Mobile */
    .phone-input-group {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .country-code {
        width: 100%;
        justify-content: center;
    }

    /* Amount Selector Mobile */
    .amount-option {
        padding: var(--space-md);
        font-size: 14px;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.2rem;
    }

    /* Section Headers Mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .section-number {
        font-size: 24px;
    }

    /* Order Summary Mobile */
    .order-summary {
        padding: var(--space-md);
    }

    /* Submit Button Mobile */
    .submit-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 16px;
    }

    /* SEO Content Mobile - Additional fixes */
    .seo-content .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .seo-content .how-it-works {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .seo-content .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .seo-content .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-description {
        padding: 0 15px;
    }

    .footer-keywords {
        padding: 0 15px;
        font-size: 0.75rem !important;
    }
}

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .main-title {
        font-size: 28px !important;
    }

    .amount-selector {
        grid-template-columns: 1fr !important;
    }

    .seo-content {
        padding: 0 10px !important;
    }

    .seo-content article {
        padding: 20px 15px !important;
    }

    .seo-content h2 {
        font-size: 1.3rem !important;
    }

    .navbar {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .nav-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ========================================
   Processing Modal
   ======================================== */

.processing-modal .modal-content.processing {
    text-align: center;
    padding: var(--space-2xl);
}

.processing-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-right-color: var(--accent);
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-bottom-color: var(--success);
    animation-delay: 0.4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-modal h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 24px;
}

.processing-message {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-size: 16px;
}

.processing-warning {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.processing-warning svg {
    width: 24px;
    height: 24px;
    stroke: #ffc107;
    flex-shrink: 0;
}

.processing-warning span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.processing-warning strong {
    color: #ffc107;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
}

.processing-steps .step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--surface-secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.processing-steps .step.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--primary);
}

.processing-steps .step.completed {
    opacity: 1;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
}

.processing-steps .step.completed .step-icon {
    background: var(--success);
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.step-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.step.active .step-text {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-overlay.no-close {
    cursor: default;
    pointer-events: none;
}

/* ========================================
   Testimonials Carousel
   ======================================== */

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 40px 0;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-2px);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Navigation Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-card .stars {
        font-size: 1.2rem;
    }
}
