/* ============================================
   AXONIS — Component Styles
   Nav · Hero · Cards · Stats · Footer
   ============================================ */

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(11, 15, 28, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    z-index: 100;
    border-bottom: 1px solid rgba(30, 91, 255, 0.12);
    transition: background var(--duration) ease, border-color var(--duration) ease, box-shadow var(--duration) ease;
}

/* Light navbar after scrolling past hero */
.navbar.navbar--light {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.navbar.navbar--light .navbar-links a {
    color: var(--color-text-body);
}

.navbar.navbar--light .navbar-links a:hover,
.navbar.navbar--light .navbar-links a.active {
    color: var(--color-blue);
}

.navbar.navbar--light .navbar-toggle span {
    background: var(--color-carbon);
}

.navbar.navbar--light .nav-text-axon {
    fill: var(--color-carbon);
}

.navbar.navbar--light .nav-text-is {
    fill: var(--color-slate);
}

.navbar-logo svg { width: 140px; height: auto; }

.navbar-logo tspan {
    transition: fill var(--duration) ease;
}

.navbar-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.navbar-links a {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-silver);
    transition: color var(--duration) ease;
    padding: 8px 0;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--color-white);
}

.navbar-cta {
    padding: 10px 24px !important;
    background: var(--gradient-accent);
    color: var(--color-white) !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-btn);
    transition: transform var(--duration) ease, box-shadow var(--duration) ease;
}

.navbar-cta:hover {
    transform: scale(1.05);
}

/* Mobile toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--duration) ease, opacity var(--duration) ease;
}

@media (max-width: 768px) {
    .navbar { padding: 0 var(--space-md); }
    .navbar-toggle { display: flex; }
    .navbar-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(11, 15, 28, 0.98);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--duration) ease, opacity var(--duration) ease;
    }
    .navbar-links.open {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ═══════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Decorative orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--glow-blue);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: var(--glow-cyan);
    border-radius: 50%;
    pointer-events: none;
}

/* Particles layer */
.hero #particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero #particles-js canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Carousel wrapper */
.hero-carousel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 var(--space-xl);
    text-align: center;
}

.hero-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-slide.active {
    display: flex;
}

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

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-slide.slide-left  { animation-name: heroSlideLeft; }
.hero-slide.slide-right { animation-name: heroSlideRight; }
.hero-slide.fade-in     { animation-name: heroFadeIn; }

.hero-logo {
    width: 220px;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 4px 24px rgba(30, 91, 255, 0.25));
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-cyan);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--gradient-accent-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: var(--color-silver);
    max-width: 560px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* Carousel indicators */
.hero-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: var(--space-lg);
    position: relative;
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all var(--duration) ease;
    border: none;
    padding: 0;
}

.hero-dot.active {
    background: var(--color-cyan);
    box-shadow: 0 0 12px rgba(37, 215, 255, 0.5);
    transform: scale(1.3);
}

/* Carousel arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration) ease;
}

.hero-arrow:hover {
    background: rgba(30, 91, 255, 0.3);
    border-color: var(--color-blue);
}

.hero-arrow--prev { left: var(--space-md); }
.hero-arrow--next { right: var(--space-md); }

.hero-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 40px; }
    .hero-description { font-size: 15px; }
    .hero-arrow { display: none; }
}

@media (max-width: 640px) {
    .hero { min-height: 90vh; }
    .hero-carousel { padding: 0 var(--space-md); }
    .hero-title { font-size: 30px; }
    .hero-description { font-size: 14px; }
    .hero-logo { width: 160px; }
}


/* ═══════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                border-color var(--duration) ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-blue);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(30, 91, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-carbon);
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.7;
}

.feature-card .feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-blue);
    transition: gap var(--duration) ease;
}

.feature-card:hover .feature-link {
    gap: 12px;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: var(--space-md) var(--space-md); }
}


/* ═══════════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════════ */
.stats {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 91, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    background: var(--gradient-accent-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 13px;
    color: var(--color-slate);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stat-divider {
    width: 32px;
    height: 2px;
    background: var(--gradient-accent-h);
    margin: var(--space-xs) auto;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 42px; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
    .stat-number { font-size: 36px; }
    .stat-label { font-size: 11px; }
}


/* ═══════════════════════════════════════════
   ABOUT / QUIÉNES SOMOS
   ═══════════════════════════════════════════ */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 16px;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-content p:last-of-type {
    margin-bottom: var(--space-md);
}

/* Acronym mini-grid */
.acronym-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.acronym-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.acronym-item:hover {
    border-color: var(--color-blue);
    box-shadow: 0 4px 20px rgba(30, 91, 255, 0.08);
}

.acronym-item .letter {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-accent-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.acronym-item .word {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-carbon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.acronym-item .desc {
    font-size: 11px;
    color: var(--color-slate);
    margin-top: 4px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .acronym-mini { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .acronym-mini { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════
   DIFFERENTIATOR SECTION
   ═══════════════════════════════════════════ */
.differentiator {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.diff-content .section-title {
    text-align: left;
}

.diff-content p {
    font-size: 16px;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.diff-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.diff-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform var(--duration) ease, box-shadow var(--duration) ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.diff-card svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: var(--space-xs);
}

.diff-card h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-carbon);
    margin-bottom: 4px;
}

.diff-card p {
    font-size: 12px;
    color: var(--color-slate);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .diff-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 91, 255, 0.2);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: var(--glow-cyan);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    font-size: 16px;
    color: var(--color-silver);
    max-width: 520px;
    margin: 0 auto var(--space-md);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: var(--color-carbon);
    border-top: 1px solid rgba(30, 91, 255, 0.15);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.footer-brand svg {
    width: 140px;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 13px;
    color: var(--color-slate);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--color-slate);
    padding: 4px 0;
    transition: color var(--duration) ease;
}

.footer-col a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--color-slate);
    letter-spacing: 1px;
}

.footer-bottom a {
    font-size: 11px;
    color: var(--color-blue);
    font-weight: 600;
    transition: color var(--duration) ease;
}

.footer-bottom a:hover {
    color: var(--color-cyan);
}

.footer-socials {
    display: flex;
    gap: var(--space-sm);
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration) ease;
}

.footer-socials a:hover {
    background: rgba(30, 91, 255, 0.3);
}

.footer-socials svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-silver);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1024px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-main { grid-template-columns: 1fr; gap: var(--space-md); }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}
