/* ============================================
   Home Page Styles
   ============================================ */

/* === HERO === */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Classroom background image */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero-classroom.jpg') center center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Heavy dark overlay to maintain dark premium feel */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 26, 0.88) 0%,
        rgba(10, 14, 26, 0.82) 30%,
        rgba(10, 14, 26, 0.92) 70%,
        rgba(10, 14, 26, 0.98) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    z-index: 1;
    pointer-events: none;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
}

.hero-gradient-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.hero-gradient-orb.cyan {
    background: var(--accent-primary);
    top: 10%;
    left: 15%;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-gradient-orb.purple {
    background: var(--accent-secondary);
    bottom: 10%;
    right: 15%;
    animation: floatSlow 10s ease-in-out infinite 2s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-8);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-badge .badge-dot {
    animation: pulseGlow 2s ease-in-out infinite;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

.hero h1 {
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero .lead {
    margin-inline: auto;
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    margin-top: var(--space-16);
    animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tight);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-top: var(--space-2);
}

/* === PRODUCTS OVERVIEW === */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.product-card {
    position: relative;
    padding: var(--space-10);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: opacity var(--duration-normal) var(--ease-in-out);
}

.product-card.cyan::before {
    background: var(--gradient-accent);
    opacity: 0.6;
}

.product-card.amber::before {
    background: linear-gradient(90deg, var(--accent-warm), #fbbf24);
    opacity: 0.6;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card.cyan:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.06);
}

.product-card.amber:hover {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 8px 40px rgba(245, 158, 11, 0.06);
}

.product-card-icon {
    width: auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
    padding: var(--space-3);
}

.product-card-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.product-card.cyan .product-card-icon {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--accent-primary);
}

.product-card.amber .product-card-icon {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: var(--accent-warm);
}

.product-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
}

.product-card p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.product-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.product-feature-tag {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-tertiary);
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.product-card.cyan .product-card-link {
    color: var(--accent-primary);
}

.product-card.amber .product-card-link {
    color: var(--accent-warm);
}

.product-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.product-card-link:hover svg {
    transform: translateX(4px);
}


/* === VALUE PROPS === */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}


/* === CLIENT LOGOS TICKER === */

.logo-ticker-section {
    padding-block: var(--space-16);
}

.logo-ticker {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    animation: ticker 40s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    padding: var(--space-4) var(--space-6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-tertiary);
    white-space: nowrap;
    transition: all var(--duration-normal) var(--ease-in-out);
    cursor: default;
}

.logo-item:hover {
    color: var(--text-secondary);
    border-color: var(--border-default);
    background: rgba(255, 255, 255, 0.04);
}


/* === CTA BANNER === */

.cta-section {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero-classroom.jpg') center 40% / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 26, 0.85) 0%,
        rgba(10, 14, 26, 0.78) 50%,
        rgba(10, 14, 26, 0.88) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.cta-section .section-bg {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(124, 92, 252, 0.04) 100%);
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    pointer-events: none;
}

.cta-glow.left {
    background: var(--accent-primary);
    left: -100px;
    top: -100px;
}

.cta-glow.right {
    background: var(--accent-secondary);
    right: -100px;
    bottom: -100px;
}

.cta-section h2 {
    margin-bottom: var(--space-4);
}

.cta-section p {
    margin-inline: auto;
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}
