/* ============================================
   TRAZIA Subscription Page - Styles
   Theme: Nature/Agriculture - Green tones
   ============================================ */

:root {
    /* Primary Colors - Ventura Red (from logo) */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --primary-glow: rgba(220, 38, 38, 0.3);
    
    /* Secondary Colors - Teal/Turquoise (suitcase color) */
    --secondary: #14b8a6;
    --secondary-dark: #0d9488;
    --accent: #fbbf24;
    --accent-light: #fcd34d;
    --accent-pink: #ec4899;
    
    /* Neutrals */
    --bg-dark: #0f0a0a;
    --bg-card: #1a1111;
    --bg-card-hover: #221515;
    --border: rgba(220, 38, 38, 0.15);
    --border-hover: rgba(220, 38, 38, 0.3);
    
    /* Text */
    --text: #f5f1f1;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    /* Gradients - Red theme with teal accents */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
    --gradient-card: linear-gradient(180deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #ec4899 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Sizes */
    --header-height: 80px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    color: var(--text);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge i {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    max-width: 450px;
    width: 100%;
}

.hero-card:hover {
    transform: rotateY(0) rotateX(0);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-dark);
}

.dots span:first-child { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:last-child { background: #dc2626; }

.card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.card-content {
    padding: 24px;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.metric i {
    font-size: 1.5rem;
    color: var(--primary);
}

.metric-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-glow);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ============================================
   FEATURES
   ============================================ */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(220, 38, 38, 0.02) 50%, transparent 100%);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    background: var(--bg-dark);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-label.active {
    color: var(--text);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    transition: var(--transition);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.discount-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: var(--bg-dark);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.loading-plans {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

/* Pricing Card */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.1) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.plan-features li i {
    width: 20px;
    color: var(--primary);
}

.plan-features li i.fa-times {
    color: var(--text-dark);
}

.plan-cta .btn {
    width: 100%;
}

/* Enterprise Card */
.pricing-card.enterprise {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-card) 100%);
}

.enterprise .plan-price {
    flex-direction: column;
    gap: 0;
}

.enterprise .price-amount {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.02) 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary-dark);
}

.cta .btn:hover {
    background: var(--bg-dark);
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.modal-content,
.modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition);
}

.modal.active .modal-content,
.modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.step-indicator .step {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step-indicator .step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step-indicator .step.completed {
    background: var(--primary-dark);
    border-color: var(--primary);
    color: white;
}

/* Selected Plan Preview */
.selected-plan-preview {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.plan-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-total {
    text-align: right;
}

.plan-total .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.plan-total span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Checkout Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input::placeholder {
    color: var(--text-dark);
}

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

.order-summary h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-muted);
}

.order-line.total {
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    color: var(--text);
    font-weight: 600;
}

.order-line.total span:last-child {
    font-size: 1.3rem;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.payment-method:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

.payment-method img {
    height: 28px;
    width: auto;
}

.payment-method i {
    font-size: 1.8rem;
    color: var(--primary);
}

.payment-method span {
    font-weight: 600;
    display: block;
}

.payment-method small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Payment Container */
.payment-container {
    padding: 24px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

/* Bank Transfer Info */
.bank-transfer-info {
    padding: 24px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
}

.bank-transfer-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    margin-bottom: 16px;
}

.bank-details {
    background: var(--bg-dark);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.bank-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.bank-details p:last-child {
    margin-bottom: 0;
}

.bank-note {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bank-note i {
    color: var(--accent);
    margin-top: 3px;
}

/* Confirmation */
.confirmation-content {
    text-align: center;
}

.success-animation {
    margin-bottom: 24px;
}

.checkmark {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.checkmark i {
    font-size: 2.5rem;
    color: white;
}

.confirmation-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.confirmation-message {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.next-steps {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.next-steps h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
}

.next-steps li i {
    width: 24px;
    color: var(--primary);
}

.support-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.support-note a {
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 2000;
    transition: right var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 80px 32px 32px;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.mt-3 {
    margin-top: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 40px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .modal-content {
        padding: 24px;
        margin: 16px;
        max-height: calc(100vh - 32px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}


/* ============================================
   Demo Request Modal Styles
   ============================================ */

.demo-modal-container {
    max-width: 600px;
}

.demo-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.demo-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.demo-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.demo-modal-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.demo-form select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.demo-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.demo-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: var(--transition);
}

.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.demo-form textarea::placeholder {
    color: var(--text-dark);
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-label .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-top: 12px;
}

.form-note i {
    margin-right: 6px;
    color: var(--primary);
}

/* Demo Success View */
.demo-success {
    text-align: center;
    padding: 20px 0;
}

.demo-success h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--text);
}

.demo-success > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.next-contact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.next-contact p {
    margin-bottom: 16px;
    color: var(--text);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .demo-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .demo-modal-container {
        margin: 16px;
    }
}

/* ============================================
   Addons / Módulos Adicionales Section
   ============================================ */

.addons {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.addons .container {
    max-width: 1400px;
}

.addons-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
    margin-top: 40px;
    width: 100%;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.addon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.addon-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.addon-header {
    background: var(--gradient-glow);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.addon-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.addon-badge {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.addon-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.addon-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.addon-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.addon-description strong {
    color: var(--primary-light);
    font-weight: 600;
}

.addon-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mode-card {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}

.mode-card:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.mode-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: white;
}

.mode-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.mode-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.addon-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    margin-bottom: 32px;
}

.addon-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.addon-features li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.addon-pricing {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.addon-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.addon-price .currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.addon-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.addon-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.addon-price-note {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.addon-cta {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.addon-cta .btn {
    flex: 1;
    justify-content: center;
}

.addon-integration {
    background: var(--secondary);
    padding: 20px 32px;
    text-align: center;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-integration span {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.addon-integration span strong {
    color: var(--primary);
    font-weight: 600;
}

.addon-integration i {
    margin-right: 8px;
}

.addon-integration-note {
    margin-top: 48px;
    padding: 24px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.addon-integration-note i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.addon-integration-note p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.addon-integration-note p strong {
    color: var(--primary-light);
}

@media (max-width: 1400px) {
    .addons-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .addons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .addons-grid {
        grid-template-columns: 1fr !important;
    }
    
    .addon-features {
        grid-template-columns: 1fr;
    }
    
    .addon-cta {
        flex-direction: column;
    }
    
    .addon-pricing {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .addon-modes {
        grid-template-columns: 1fr;
    }
}
