/* ========================================
   ALPHA LIBRA LLC - TECHNOLOGY PAGE STYLES
   ======================================== */

/* Animated Particles Background */
.tech-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

.tech-particle:nth-child(odd) {
    background: rgba(245, 158, 11, 0.25);
}

.tech-particle:nth-child(3n) {
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.2);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100vh) translateX(50px) scale(1.5);
        opacity: 0.5;
    }
    90% {
        opacity: 1;
    }
}

/* ========================================
   TECH HERO SECTION
   ======================================== */
.tech-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.tech-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.tech-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.tech-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.tech-badge i {
    font-size: 1rem;
    animation: rocketBounce 2s ease-in-out infinite;
}

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

.tech-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tech-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

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

.hero-stat .stat-number,
.hero-stat .hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label,
.hero-stat .hero-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: #60a5fa;
}

.scroll-indicator i {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   SAAS PLATFORMS SECTION
   ======================================== */
.saas-platforms {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.saas-platforms .section-header {
    margin-bottom: 80px;
}

.saas-platforms .section-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.saas-platforms .section-title {
    color: #fff;
}

.saas-platforms .section-subtitle {
    color: #94a3b8;
}

/* Platform Showcase Cards */
.platform-showcase {
    position: relative;
    margin-bottom: 80px;
    padding: 60px;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.platform-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.platform-showcase.live .platform-showcase-bg {
    background: radial-gradient(ellipse at top left, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.platform-showcase.development .platform-showcase-bg {
    background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.platform-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.platform-grid.reverse {
    grid-template-columns: 1fr 400px;
}

.platform-grid.reverse .platform-image-wrapper {
    order: 2;
}

.platform-grid.reverse .platform-info {
    order: 1;
}

/* Platform Image */
.platform-image-wrapper {
    position: relative;
}

.platform-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.platform-showcase:hover .platform-image img {
    transform: scale(1.05);
}

.platform-image.placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.platform-image.placeholder.african {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
}

.placeholder-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.placeholder-logo i {
    font-size: 4rem;
    opacity: 0.8;
}

.placeholder-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Platform Glow Effect */
.platform-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}

.platform-glow.blue {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.platform-glow.purple {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

.platform-glow.orange {
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
}

.platform-glow.gold {
    background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.3) 0%, transparent 70%);
}

/* Status Badge */
.platform-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.platform-status-badge.live {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.platform-status-badge.live i {
    animation: pulse 2s infinite;
}

.platform-status-badge.development {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Platform Info */
.platform-info {
    color: #fff;
}

.platform-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-tagline {
    display: inline-block;
    font-size: 1rem;
    color: #60a5fa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.platform-description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Platform Features */
.platform-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-item i {
    font-size: 1.1rem;
    color: #60a5fa;
}

.feature-item span {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Tech Stack Tags */
.platform-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-tag {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #a78bfa;
    font-weight: 500;
}

/* Platform CTA */
.platform-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    color: #fbbf24;
    font-weight: 600;
}

/* Platform Gallery */
.platform-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.platform-gallery.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.platform-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.platform-gallery img:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   TECH INFRASTRUCTURE SECTION
   ======================================== */
.tech-infrastructure {
    padding: 100px 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.tech-infrastructure .section-header.light .section-tag {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.tech-infrastructure .section-header.light .section-title {
    color: #fff;
}

.tech-infrastructure .section-header.light .section-subtitle {
    color: #94a3b8;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.infra-card {
    padding: 40px 30px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.infra-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.infra-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infra-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.infra-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.infra-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   E-COMMERCE TECH STACK
   ======================================== */
.ecommerce-tech {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.tech-stack-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.tech-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 40px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.tech-partner:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.tech-partner i {
    font-size: 2.5rem;
    color: #60a5fa;
}

.tech-partner span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ========================================
   TECH PAGE CTA
   ======================================== */
.tech-cta {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .platform-grid {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
    
    .platform-grid.reverse {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .tech-hero-title {
        font-size: 3rem;
    }
    
    .tech-hero-stats {
        gap: 40px;
    }
    
    .platform-grid,
    .platform-grid.reverse {
        grid-template-columns: 1fr;
    }
    
    .platform-grid.reverse .platform-image-wrapper {
        order: 1;
    }
    
    .platform-grid.reverse .platform-info {
        order: 2;
    }
    
    .platform-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .platform-showcase {
        padding: 40px;
    }
    
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .tech-hero-title {
        font-size: 2.2rem;
    }
    
    .tech-hero-subtitle {
        font-size: 1rem;
    }
    
    .tech-hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .hero-stat .stat-number {
        font-size: 2rem;
    }
    
    .platform-showcase {
        padding: 30px 20px;
    }
    
    .platform-header h3 {
        font-size: 1.8rem;
    }
    
    .platform-features {
        grid-template-columns: 1fr;
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-showcase {
        gap: 16px;
    }
    
    .tech-partner {
        padding: 20px 30px;
    }
    
    .platform-gallery {
        grid-template-columns: 1fr;
    }
    
    .platform-gallery img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .tech-badge {
        font-size: 0.75rem;
        padding: 10px 16px;
    }
    
    .tech-hero-title {
        font-size: 1.8rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}
