/* Additional styles for generated content */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #22d3ee;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.hero-cta.secondary {
    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
}

.hero-guarantee {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-plus {
    font-size: 24px;
    font-weight: 600;
    color: #6366f1;
    margin-left: 2px;
}

/* CTA Links */
.hero-cta, .solution-cta, .pricing-btn, .cta-button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.telegram-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.telegram-cta i {
    width: 24px;
    height: 24px;
}

/* Pain Points Section */
.pain-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.pain-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.pain-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.pain-title {
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.pain-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.pain-cost {
    font-size: 13px;
    color: #ef4444;
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.solution-banner {
    margin-top: 64px;
    padding: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 24px;
    text-align: center;
}

.solution-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.solution-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-cta {
    padding: 16px 48px;
    background: white;
    color: #6366f1;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Use Cases Section */
.use-cases-section {
    padding: 80px 0;
    background: #0f172a;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.use-case-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
}

.use-case-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.use-case-title {
    font-size: 20px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.use-case-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-result {
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    border-radius: 8px;
    font-size: 13px;
    color: #86efac;
}

.testimonial-section {
    margin-top: 64px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.testimonial-quote p {
    font-size: 20px;
    font-style: italic;
    color: #f1f5f9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 16px;
    color: #94a3b8;
}

.testimonial-author strong {
    color: #6366f1;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(100, 116, 139, 0.2);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.pricing-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 24px;
    color: #94a3b8;
    margin-right: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #f1f5f9;
}

.price-period {
    font-size: 16px;
    color: #94a3b8;
    margin-left: 8px;
}

.pricing-description {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pricing-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.pricing-btn.secondary {
    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.pricing-note {
    margin-top: 16px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.pricing-faq {
    margin-top: 64px;
}

.pricing-faq h3 {
    font-size: 28px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 32px;
}

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

.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Progress Bars */
.stat-progress {
    margin-top: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.blue {
    background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 100%);
}

.progress-label {
    font-size: 12px;
    color: #94a3b8;
}

.stat-card.highlight {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.stat-card.tech-stack {
    border-color: rgba(34, 211, 238, 0.3);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

/* Gap Market / Saturated Market badges */
.example-card.gap-market {
    border-color: rgba(34, 197, 94, 0.3);
}

.example-card.gap-market .example-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.example-card.saturated-market {
    border-color: rgba(239, 68, 68, 0.3);
}

.example-card.saturated-market .example-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Generated Micro-Vertical styles */
.generated-micro-vertical {
    animation: slideInUp 0.5s ease-out;
}

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

.generated-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-500);
    margin-bottom: var(--space-sm);
}

.generated-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-neutral-50);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-primary-500);
}

.generated-breakdown {
    margin-bottom: var(--space-md);
}

.breakdown-item {
    margin-bottom: var(--space-xs);
    color: var(--color-neutral-100);
    font-size: 14px;
}

.breakdown-item strong {
    color: var(--color-primary-300);
    font-weight: 600;
}

.generated-confidence {
    margin-bottom: var(--space-md);
}

.confidence-bar {
    width: 100%;
    height: 8px;
    background: var(--color-neutral-700);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-success), var(--color-primary-500));
    border-radius: var(--radius-pill);
    transition: width 1s ease-out;
}

.confidence-text {
    font-size: 12px;
    color: var(--color-neutral-400);
    font-style: italic;
}

/* Responsive adjustments for generated content */
@media (max-width: 768px) {
    .generated-name {
        font-size: 18px;
    }
    
    .generated-title {
        font-size: 16px;
    }
}

/* Hover effects for better interactivity */
.result-card:hover .result-title {
    color: var(--color-primary-300);
}

.result-card:hover .meta-tag {
    background: rgba(99, 102, 241, 0.25);
    color: var(--color-primary-200);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-primary-500);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Enhanced focus states for accessibility */
.search-input:focus,
.cta-input:focus,
.matrix-select:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Smooth transitions for better UX */
* {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

/* Paywall overlay styles */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.paywall-modal {
    background: var(--color-neutral-900);
    border: 1px solid var(--color-neutral-700);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    text-align: center;
}

.paywall-icon {
    width: 64px;
    height: 64px;
    color: var(--color-paywall);
    margin: 0 auto var(--space-md);
}

.paywall-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-neutral-50);
    margin-bottom: var(--space-sm);
}

.paywall-description {
    color: var(--color-neutral-400);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.paywall-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.paywall-button {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.paywall-button.primary {
    background: var(--color-primary-500);
    color: var(--color-neutral-50);
    border: none;
}

.paywall-button.secondary {
    background: transparent;
    color: var(--color-neutral-400);
    border: 1px solid var(--color-neutral-700);
}

.paywall-button:hover {
    transform: translateY(-2px);
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
    .matrix-controls {
        padding: var(--space-sm);
    }
    
    .control-group {
        margin-bottom: var(--space-sm);
    }
    
    .generated-micro-vertical {
        padding: var(--space-sm);
    }
    
    .paywall-modal {
        margin: var(--space-md);
        padding: var(--space-lg);
    }
    
    .paywall-actions {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .nav,
    .hero-cta,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        page-break-inside: avoid;
    }
}