
/* ═══════════════════════════════
       HERO
    ═══════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* Speed lines background */
.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-lines::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 300%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 60px,
            rgba(0, 168, 255, 0.03) 60px,
            rgba(0, 168, 255, 0.03) 61px);
    animation: speedlines 8s linear infinite;
}

@keyframes speedlines {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(33.33%);
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 168, 255, 0.12);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(77, 216, 255, 0.08);
    bottom: 50px;
    left: 10%;
    animation-delay: 2s;
}

@keyframes pulse {
    from {
        opacity: 0.5;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Grid dots */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 168, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-title .accent {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: white;
    box-shadow: 0 4px 24px rgba(0, 168, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blue);
    transform: translateY(-2px);
}

/* Hero visual: animated tech panel */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-panel {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tech-panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.panel-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pd-red {
    background: #FF5F57;
}

.pd-yellow {
    background: #FEBC2E;
}

.pd-green {
    background: #28C840;
}

.panel-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 2;
    padding: 0.1rem 0;
}

.c-blue {
    color: var(--blue);
}

.c-cyan {
    color: var(--cyan);
}

.c-green {
    color: #4ade80;
}

.c-gray {
    color: rgba(255, 255, 255, 0.35);
}

.c-white {
    color: rgba(255, 255, 255, 0.85);
}

.c-orange {
    color: #fb923c;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--cyan);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-start infinite;
}

.panel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pstat {
    background: rgba(0, 168, 255, 0.07);
    border: 1px solid rgba(0, 168, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
}

.pstat-val {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cyan);
}

.pstat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* ═══════════════════════════════
       SECTION COMMONS
    ═══════════════════════════════ */
section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 1px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 580px;
}

/* ═══════════════════════════════
       ABOUT
    ═══════════════════════════════ */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-visual {
    position: relative;
}

.about-card-main {
    background: linear-gradient(135deg, var(--navy), #0d1530);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.about-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.15), transparent 70%);
}

.about-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow);
}

.about-card-main h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.75rem;
}

.about-card-main p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.15);
    border: 1px solid var(--lightgray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.float-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.float-val {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.float-label {
    font-size: 0.7rem;
    color: var(--gray);
}

.about-content {}

.mv-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mv-card {
    background: var(--offwhite);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--blue);
    transition: all 0.3s;
}

.mv-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.1);
}

.mv-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ═══════════════════════════════
       CATEGORIES
    ═══════════════════════════════ */
.categories {
    background: var(--offwhite);
}

.cats-header {
    margin-bottom: 3rem;
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cat-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.cat-card:hover {
    border-color: rgba(0, 168, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.12);
    transform: translateY(-4px);
}

.cat-card:hover::after {
    transform: scaleX(1);
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.cat-card:hover .cat-icon {
    box-shadow: var(--glow);
    transform: scale(1.05);
}

.cat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.cat-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

/* cat icon colors */
.ci-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.ci-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.ci-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.ci-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.ci-5 {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
}

.ci-6 {
    background: linear-gradient(135deg, #30cfd0, #330867);
    color: white;
}

.ci-7 {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
    color: white;
}

.ci-8 {
    background: linear-gradient(135deg, #f77062, #fe5196);
    color: white;
}

/* ═══════════════════════════════
       STATS
    ═══════════════════════════════ */
.stats-section {
    background: linear-gradient(135deg, var(--navy), #0d1a3a);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.stats-inner {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.stats-header .section-title {
    color: white;
}

.stats-header .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 255, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-val {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ═══════════════════════════════
       BENEFITS
    ═══════════════════════════════ */
.benefits {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: var(--offwhite);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(0, 102, 204, 0.1));
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: var(--glow);
    color: white;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

.benefits-panel {
    background: linear-gradient(135deg, var(--navy), #0d1a3a);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.benefits-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.2), transparent 70%);
}

.bp-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.bp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.bp-tag {
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 500;
}

.channel-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.channel-preview:hover {
    border-color: var(--blue);
    background: rgba(0, 168, 255, 0.08);
}

.yt-icon {
    width: 48px;
    height: 48px;
    background: #FF0000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cp-info {
    flex: 1;
}

.cp-name {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.cp-handle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.cp-arrow {
    color: var(--blue);
    font-size: 0.9rem;
}

/* ═══════════════════════════════
       CTA SECTION
    ═══════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1628 50%, var(--navy) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 168, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-section .section-eyebrow {
    justify-content: center;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--navy);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.cta-feat i {
    color: var(--cyan);
}

/* ═══════════════════════════════
       RESPONSIVE
    ═══════════════════════════════ */

/* ── Tablets (max 1024px) ── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .benefits-grid {
        gap: 3rem;
    }
}

/* ── Móvil grande (max 768px) ── */
@media (max-width: 768px) {

    section {
        padding: 4rem 1.25rem;
    }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1.25rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-visual {
        display: none;
    }

    /* Categories */
    .cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cat-card {
        padding: 1.25rem 1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-val {
        font-size: 2rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .benefits-panel {
        padding: 1.75rem;
    }

    /* CTA */
    .cta-features {
        gap: 1.25rem;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* ── Móvil pequeño (max 480px) ── */
@media (max-width: 480px) {

    /* Hero */
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Categories */
    .cats-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    /* CTA */
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Benefits */
    .bp-tags {
        gap: 0.4rem;
    }

    .bp-tag {
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
    }

    .benefit-item {
        padding: 1rem;
    }
}

