:root {
    /* Logo Colors - Blue and Orange */
    --primary-color: #2563eb;
    /* Blue */
    --primary-dark: #1e40af;
    /* Darker blue */
    --primary-light: #3b82f6;
    /* Lighter blue */
    --secondary-color: #f59e0b;
    /* Orange */
    --accent-color: #fb923c;
    /* Lighter orange accent */
    --navy-blue: #1e293b;
    /* Navy from logo */
    --bg-primary: #0f172a;
    /* Dark blue background */
    --bg-secondary: #1e293b;
    /* Navy blue */
    --bg-tertiary: #334155;
    /* Slate blue */
    --bg-card: rgba(51, 65, 85, .6);
    /* Semi-transparent slate */
    --text-primary: #fff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(37, 99, 235, .2);
    /* Blue border */
    --shadow-glow: 0 0 40px rgba(37, 99, 235, .3);
    /* Blue glow */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, .8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color)
}

.navbar.scrolled {
    background: rgba(10, 10, 15, .95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2)
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800
}

.logo-highlight {
    color: var(--primary-color)
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: .3s;
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: .3s
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary)
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.btn-nav {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s
}

.btn-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3)
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: 0 0;
    border: none;
    cursor: pointer
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: .2s
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    overflow: hidden
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .3;
    animation: float 20s infinite ease-in-out
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    right: -100px
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(30px, -30px) scale(1.1)
    }

    66% {
        transform: translate(-20px, 20px) scale(.9)
    }
}

.hero-container {
    position: relative;
    z-index: 1
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: .3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary)
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, .4)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, .6)
}

.btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px)
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .15);
    border-color: var(--primary-color)
}

.btn-outline {
    background: 0 0;
    color: var(--text-primary);
    border: 2px solid var(--primary-color)
}


.btn-outline:hover {
    background: var(--primary-color);
    transform: translateY(-2px)
}

.btn-youtube {
    background: #FF0000;
    color: #fff;
    border: 2px solid #FF0000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.btn-youtube:hover {
    background: #CC0000;
    border-color: #CC0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto
}

.stat-item {
    text-align: center
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px
}

.section {
    padding: 120px 0;
    position: relative
}

.section-header {
    text-align: center;
    margin-bottom: 64px
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px
}

.youtube-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%)
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: .3s;
    backdrop-filter: blur(10px)
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow)
}


.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--bg-tertiary);
    cursor: pointer;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    background: rgba(31, 31, 31, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
}

.video-thumbnail:hover .play-button {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 3;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.video-description {
    font-size: 14px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.resources-section {
    background: var(--bg-secondary)
}

.resources-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color)
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: .3s;
    backdrop-filter: blur(10px)
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow)
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff
}

.resource-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px
}

.resource-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    margin-bottom: 24px;
    line-height: 1.6
}

/* Category Badges */
.card-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 4px;
    z-index: 1;
}

.category-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-prompts {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.category-plantillas {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    color: white;
}

.category-herramientas {
    background: linear-gradient(135deg, #1e293b, #475569);
    color: white;
}

.stage-tag {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-right: 4px;
    margin-top: 8px;
    font-weight: 600;
}


.resource-btn {
    width: 100%;
    padding: 12px 24px;
    background: rgba(99, 102, 241, .1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-light);
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.resource-btn:hover {
    background: var(--primary-color);
    color: #fff
}

.courses-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%)
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: .3s;
    backdrop-filter: blur(10px);
    position: relative
}

.course-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow)
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3)
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px
}

.course-header {
    margin-bottom: 20px
}

.course-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px
}

.course-format {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.format-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase
}

.format-tag.online {
    background: rgba(99, 102, 241, .2);
    color: var(--primary-light)
}

.format-tag.presencial {
    background: rgba(236, 72, 153, .2);
    color: var(--secondary-color)
}

.course-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7
}

.course-features {
    list-style: none;
    margin-bottom: 24px
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color)
}

.course-features li:last-child {
    border-bottom: none
}

.course-features svg {
    color: var(--accent-color);
    flex-shrink: 0
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px
}

.course-duration svg {
    color: var(--primary-color)
}

.contact-cta {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 64px 48px;
    backdrop-filter: blur(10px)
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto
}

.contact-text {
    text-align: left
}

.contact-cta h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2
}

.contact-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0
}

.contact-form-container {
    width: 100%;
    text-align: left;
    max-width: 400px;
    margin-left: auto
}

.blog-section {
    background: var(--bg-primary)
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 64px;
    backdrop-filter: blur(10px)
}

.blog-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px
}

.blog-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8
}

.blog-topics {
    list-style: none;
    margin-bottom: 32px
}

.blog-topics li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 24px
}

.blog-topics li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700
}

.blog-visual {
    display: flex;
    justify-content: center;
    align-items: center
}

.blog-card-preview {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 350px
}

.preview-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px
}

.preview-icon svg {
    color: #fff
}

.blog-card-preview h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff
}

.blog-card-preview p {
    color: rgba(255, 255, 255, .9);
    font-size: 16px
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
    padding: 100px 0
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding: 0 20px
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    height: 100%
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15)
}

.quote-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0
}

.quote-icon svg {
    color: white;
    width: 24px;
    height: 24px
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.author-info {
    flex: 1
}

.author-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px
}

.author-role {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-tertiary)
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px)
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary)
}

.form-input,
.form-textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1)
}

.form-textarea {
    min-height: 150px;
    resize: vertical
}

.form-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px
}

.form-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px)
}

/* Footer Section */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
    margin-top: 0
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px
}

.footer-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7
}

.social-links {
    display: flex;
    gap: 16px
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: .2s
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-4px)
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px
}

.footer-links {
    list-style: none
}

.footer-links li {
    margin-bottom: 12px
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: .2s
}

.footer-links a:hover {
    color: var(--primary-color)
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal.active {
    display: flex
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: .2s
}

.modal-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color)
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px
}

.modal-body pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6
}

@media (max-width:968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 15, .98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transition: .3s;
        border-bottom: 1px solid var(--border-color)
    }

    .nav-menu.active {
        left: 0
    }

    .mobile-menu-toggle {
        display: flex
    }

    .hero-title {
        font-size: 40px
    }

    .hero-description {
        font-size: 18px
    }

    .hero-buttons {
        flex-direction: column
    }

    .btn {
        width: 100%;
        justify-content: center
    }

    .videos-grid,
    .resources-grid,
    .courses-grid {
        grid-template-columns: 1fr
    }

    .blog-featured {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
        gap: 24px
    }

    .testimonial-card {
        padding: 28px
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center
    }

    .contact-text {
        text-align: center
    }

    .contact-form-container {
        margin: 0 auto
    }

    .modal-content {
        padding: 32px 24px
    }
}

@media (max-width:640px) {
    .section-title {
        font-size: 32px
    }

    .section-description {
        font-size: 16px
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .stat-number {
        font-size: 36px
    }

    .contact-cta {
        padding: 32px 24px
    }

    .contact-cta h3 {
        font-size: 24px
    }

    .contact-cta p {
        font-size: 16px
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 20px
    }

    .testimonial-card {
        padding: 24px
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    padding-right: 40px;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    /* Prevent horizontal scroll */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.modal-body pre {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    /* Prevent horizontal scroll in code blocks */
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        width: 95%;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-body pre {
        font-size: 12px;
        padding: 16px;
    }
}

/* Skeleton Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0
    }

    100% {
        background-position: 1000px 0
    }
}

.skeleton {
    background: #1e1e24;
    background-image: linear-gradient(to right, #1e1e24 0%, #2a2a35 20%, #1e1e24 40%, #1e1e24 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear forwards;
    border-radius: 4px
}

/* Skeleton Card Layouts */
.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px
}

/* Video Skeleton */
.skeleton-video {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 12px
}

.skeleton-text {
    height: 20px;
    width: 80%;
    margin-bottom: 8px
}

.skeleton-text.short {
    width: 60%
}

/* Course Skeleton */
.skeleton-badge {
    width: 80px;
    height: 24px;
    border-radius: 12px
}

/* Resource Skeleton */
.skeleton-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px
}

/* Video Badges */
.video-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-tutorial {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.badge-short {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Header Buttons (Video Section) */
.header-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap
}

/* Small Button Variant */
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    height: auto
}