/* ==============================================
   Landing Page Specific Styles
   ============================================== */

/* Brand highlight */
.brand-highlight {
    color: #6366f1;
}

/* Pricing text large */
.pricing-text-large {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
}

/* CTA button full width */
.cta-button.full-width {
    width: 100%;
}

/* Hero Section Extensions */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.demo-button {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color var(--transition-normal);
}

.demo-button:hover {
    color: var(--text-primary);
}

/* Botón secundario para el Tier Gratis */
.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent-color, #3b82f6);
    color: white;
}

.cta-button.secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Botón PRO con gradiente de IA */
.cta-button.pro-gradient {
    background: linear-gradient(135-deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    background-size: 200% auto;
    border: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transition: 0.5s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.pro-gradient:hover {
    background-position: right center; /* Efecto de movimiento */
    transform: translateY(-2px);
}

.sparkle {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

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


/* Problem Section */
.problem {
    padding: var(--section-padding);
    background: rgba(51, 65, 85, 0.3);
}

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

.problem-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-medium);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.problem-card.orange {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
}

.problem-card.yellow {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

.problem-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.problem-title.orange {
    color: #fb923c;
}

.problem-title.yellow {
    color: #fbbf24;
}

.problem-title.red {
    color: #ef4444;
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
}

.solution-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.solution-title .highlight {
    color: var(--accent-blue);
}

.solution-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Tracks */
.tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.track {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.track:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.track.frontend {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.track.backend {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.track.fullstack {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.track-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.track-icon.frontend {
    background: #3b82f6;
}

.track-icon.backend {
    background: var(--accent-green);
}

.track-icon.fullstack {
    background: #a855f7;
}

.track-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.track-title.frontend {
    color: #60a5fa;
}

.track-title.backend {
    color: #4ade80;
}

.track-title.fullstack {
    color: #c084fc;
}

.track-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.track-features {
    list-style: none;
    padding: 0;
}

.track-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.track-features li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: rgba(51, 65, 85, 0.3);
}

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

.feature-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
}

.pricing-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card.popular {
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid var(--accent-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-features li.disabled::before {
    content: "✗";
    color: #6b7280;
}

.pricing-features li.disabled {
    color: #6b7280;
}

.pricing-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-small);
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
    text-align: center;
}

.pricing-button.primary {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.pricing-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.signup-form {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.form-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.consent-checkbox {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-500);
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--primary-500);
}

.checkbox-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
}

.form-note a {
    color: var(--primary-400);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signup-form {
        max-width: 100%;
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
    
    .checkbox-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}

.social-links {
    margin-top: 2rem;
}

.social-links p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    transition: color var(--transition-normal);
}

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

/* Responsive adjustments for landing page */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .tracks,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}