/*
 * Landing Page Components - RG Store v5.0.0
 * Sistema de Diseño con Variables CSS Nativas
 * Dark Theme Premium Glassmorphism
 */

/* ═══════════════════════════════════════════════════════
   CSS VARIABLES (Sistema de Diseño .windsurfdiseño)
   ═══════════════════════════════════════════════════════ */
:root {
    --primary-900: #0A1628;
    --primary-700: #1B3A5C;
    --primary-500: #2563EB;
    --primary-300: #60A5FA;
    --primary-100: #DBEAFE;
    --primary-50: #EFF6FF;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --accent-500: #8B5CF6;
    --accent-300: #A78BFA;
    --accent-100: #EDE9FE;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ═══════════════════════════════════════════════════════
   BASE DARK THEME
   ═══════════════════════════════════════════════════════ */

html, body {
    background-color: #0A1628 !important;
    color: #f8fafc !important;
}

body {
    background: linear-gradient(135deg, #0A1628 0%, #020617 100%) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT BASE
   ═══════════════════════════════════════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════════════ */

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-subtext {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    display: block;
}

/* ═══════════════════════════════════════════════════════
   GLASSMORPHISM CARDS
   ═══════════════════════════════════════════════════════ */

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.border-glow {
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

/* ═══════════════════════════════════════════════════════
   TEXT EFFECTS
   ═══════════════════════════════════════════════════════ */

.text-gradient {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   ANIMATION HELPERS
   ═══════════════════════════════════════════════════════ */

.animate-fade-in-up {
    animation: landingFadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }

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

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero-section {
    background: linear-gradient(135deg, #0A1628 0%, #020617 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    width: fit-content;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ═══════════════════════════════════════════════════════
   CHATBOT DEMO (inside hero visual)
   ═══════════════════════════════════════════════════════ */

.chatbot-demo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
}

.chatbot-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-demo-title {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.chatbot-demo-status {
    font-size: 12px;
    color: #10b981;
}

.chatbot-demo-input {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.chatbot-demo-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #94a3b8;
    font-size: 13px;
    font-family: inherit;
}

.chatbot-demo-input input::placeholder {
    color: #475569;
}

.chatbot-demo-input button {
    background: #10b981;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════ */

.features-section {
    background: #0f172a;
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.feature-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════ */

.pricing-section {
    background: linear-gradient(135deg, #0A1628 0%, #0f172a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.12);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 20px 0 12px;
}

.pricing-price .currency {
    font-size: 18px;
    color: #10b981;
    font-weight: 600;
}

.pricing-price .amount {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pricing-price .period {
    font-size: 16px;
    color: #64748b;
}

.pricing-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.meta-item {
    font-size: 13px;
    color: #64748b;
}

.meta-item strong {
    color: #10b981;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════ */

.testimonials-section {
    background: #0B1120;
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.testimonial-rating {
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0 0 24px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.author-business {
    font-size: 13px;
    color: #475569;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */

.cta-section {
    background: linear-gradient(135deg, #0B1120 0%, #020617 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.15;
}

.cta-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 36px 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-note {
    font-size: 13px;
    color: #475569;
    margin: 0;
}

.launch-bonuses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
    text-align: left;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    color: #94a3b8;
}

.bonus-icon {
    font-size: 22px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   CHATBOT DEMO MOCKUP
   ═══════════════════════════════════════════════════════ */

.chat-mockup {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-avatar {
    width: 42px;
    height: 42px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.chat-name {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.chat-status {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.chat-status.online::before {
    content: '● ';
    color: #10b981;
}

.chat-messages {
    padding: 16px;
    min-height: 240px;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message.bot {
    align-items: flex-start;
}

.message.user {
    align-items: flex-end;
}

.message-content {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
    white-space: pre-wrap;
}

.message.bot .message-content {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.message.user .message-content {
    background: rgba(16, 185, 129, 0.15);
    color: #e2e8f0;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 10px;
    color: #475569;
    padding: 0 4px;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #94a3b8;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input input:focus {
    border-color: rgba(16, 185, 129, 0.4);
}

.chat-input input::placeholder {
    color: #475569;
}

.send-btn {
    background: #10b981;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.send-btn:hover {
    background: #059669;
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .launch-bonuses {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 24px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .hero-section {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        text-align: center;
    }
}
