/* Air Style Landing Page - Centro de Formación */

:root {
    /* Air Style Colors */
    --color-whiteout: #ffffff;
    --color-haze: #f5f5f5;
    --color-ink: #1b1b1b;
    --color-black-void: #000000;
    --color-twilight-blue: #426188;
    --color-signal-blue: #2b7fff;

    /* Motivational Accent Colors */
    --color-energy-orange: #ff6b35;
    --color-success-green: #00c853;
    --color-violet-accent: #7c4dff;
    --color-cyan-glow: #00e5ff;
    --color-pink-accent: #ff4081;
    --color-yellow-glow: #ffd600;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

body.landing-page {
    font-family: var(--font-primary);
    background-color: var(--color-black-void);
    color: var(--color-whiteout);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-whiteout);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.brand-text {
    background: linear-gradient(135deg, var(--color-signal-blue), var(--color-cyan-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 var(--spacing-sm);
    transition: color 0.3s ease;
}

.landing-nav .nav-link:hover {
    color: var(--color-whiteout);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-whiteout);
    color: var(--color-whiteout);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--color-whiteout);
    color: var(--color-black-void);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(43, 127, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 229, 255, 0.2) 0%, transparent 50%),
        var(--color-black-void);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 200, 83, 0.1) 0%, transparent 20%);
    animation: pulse 8s ease-in-out infinite alternate;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(43, 127, 255, 0.2);
    border: 1px solid rgba(43, 127, 255, 0.3);
    color: var(--color-cyan-glow);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-signal-blue), var(--color-cyan-glow), var(--color-violet-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-signal-blue), var(--color-violet-accent));
    border: none;
    color: var(--color-whiteout);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(43, 127, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 127, 255, 0.6);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-whiteout);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-whiteout);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-3xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-energy-orange), var(--color-yellow-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Hero Image & Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--color-whiteout);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    background: rgba(124, 77, 255, 0.2);
    border: 1px solid rgba(124, 77, 255, 0.3);
    color: var(--color-violet-accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Courses Section */
.courses-section {
    padding: 100px 0;
    background: var(--color-black-void);
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease var(--delay) both;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(43, 127, 255, 0.5);
    box-shadow: 0 20px 40px rgba(43, 127, 255, 0.2);
}

.course-image {
    height: 180px;
    background: linear-gradient(135deg, var(--color-twilight-blue), var(--color-violet-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-icon {
    font-size: 4rem;
}

.course-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-success-green);
    color: var(--color-whiteout);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.course-content {
    padding: var(--spacing-lg);
}

.course-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.course-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-course {
    width: 100%;
    background: rgba(43, 127, 255, 0.2);
    border: 1px solid rgba(43, 127, 255, 0.3);
    color: var(--color-cyan-glow);
    padding: 10px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-course:hover {
    background: var(--color-signal-blue);
    color: var(--color-whiteout);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-black-void) 0%, rgba(27, 27, 27, 1) 100%);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 77, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--color-black-void);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 200, 83, 0.3);
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-energy-orange), var(--color-pink-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-whiteout);
}

.author-role {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at center, rgba(43, 127, 255, 0.2) 0%, transparent 70%),
        var(--color-black-void);
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

/* Footer */
.landing-footer {
    background: var(--color-black-void);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-whiteout);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: var(--spacing-xl);
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .floating-card {
        display: none;
    }
}
