/* assets/css/components.css - Component-specific styles */

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 6rem 0;
    background: 
        radial-gradient(ellipse at center, 
            rgba(13, 25, 43, 0.8) 0%, 
            rgba(13, 25, 43, 1) 70%),
        linear-gradient(135deg, 
            #0d192b 0%,
            #1a2744 15%,
            #2a4a6b 35%,
            #4a6741 55%,
            #8b6914 75%,
            #d2691e 90%,
            #ff8c00 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(30, 144, 255, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(255, 140, 0, 0.6) 0%, transparent 30%),
        radial-gradient(circle at 45% 45%, rgba(138, 43, 226, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 70% 20%, rgba(0, 191, 255, 0.4) 0%, transparent 15%),
        radial-gradient(circle at 25% 80%, rgba(255, 215, 0, 0.5) 0%, transparent 25%),
        radial-gradient(ellipse at 50% 85%, rgba(255, 140, 0, 0.4) 0%, transparent 40%);
    filter: blur(60px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 30%, rgba(64, 224, 208, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(255, 69, 0, 0.3) 0%, transparent 35%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 0 0 30px rgba(64, 224, 255, 0.4);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.5s both;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero .btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(64, 224, 255, 0.3) 0%, 
        rgba(138, 43, 226, 0.4) 50%, 
        rgba(255, 140, 0, 0.3) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 0 10px rgba(64, 224, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.hero .btn:hover::before {
    left: 100%;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(64, 224, 255, 0.3),
        0 0 50px rgba(64, 224, 255, 0.2);
    border-color: rgba(64, 224, 255, 0.5);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   NETWORK CANVAS & EFFECTS
   ========================================== */
.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bokeh-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
    filter: blur(2px);
    animation: bokehFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.bokeh-particle.blue {
    background: radial-gradient(circle, rgba(64, 224, 255, 0.7) 0%, rgba(64, 224, 255, 0.2) 60%, transparent 100%);
}

.bokeh-particle.orange {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.8) 0%, rgba(255, 140, 0, 0.2) 60%, transparent 100%);
}

.bokeh-particle.purple {
    background: radial-gradient(circle, rgba(138, 43, 226, 0.6) 0%, rgba(138, 43, 226, 0.1) 60%, transparent 100%);
}

/* ==========================================
   FEATURE CARDS
   ========================================== */
.feature-card-link {
    text-decoration: none;
    color: inherit;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero .feature-card {
    background: rgba(13, 25, 43, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.hero .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4),
        0 0 60px rgba(64, 224, 255, 0.2);
    border-color: rgba(64, 224, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .feature-icon {
    filter: drop-shadow(0 0 20px rgba(64, 224, 255, 0.5));
}

.feature-card h3 {
    color: #0d192b;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.hero .feature-card h3 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(64, 224, 255, 0.3);
}

.feature-card p {
    margin-bottom: 0.8rem;
    color: #1a2744;
    line-height: 1.5;
}

.hero .feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
    text-align: left;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.3rem 0;
}

.highlight-icon {
    font-size: 1rem;
    min-width: 18px;
}

.hero .highlight-icon {
    filter: drop-shadow(0 0 5px rgba(64, 224, 255, 0.8));
}

.highlight-text {
    font-size: 0.85rem;
    color: #1a2744;
    line-height: 1.3;
}

.hero .highlight-text {
    color: rgba(255, 255, 255, 0.7);
}

.feature-metrics {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0 0.5rem 0;
    padding: 1rem 0 0.5rem 0;
    border-top: 1px solid #eee;
}

.hero .feature-metrics {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a2744;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.hero .metric-number {
    color: #40e0ff;
    text-shadow: 0 0 15px rgba(64, 224, 255, 0.6);
}

.metric-label {
    font-size: 0.75rem;
    color: #1a2744;
    font-weight: 500;
}

.hero .metric-label {
    color: rgba(255, 255, 255, 0.7);
}

.feature-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.cta-text {
    color: #1a2744;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.hero .cta-text {
    color: #40e0ff;
    text-shadow: 0 0 10px rgba(64, 224, 255, 0.5);
}

.feature-card:hover .cta-text {
    color: #0d192b;
}

.hero .feature-card:hover .cta-text {
    color: #ff8c00;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

/* ==========================================
   SERVICE CARDS
   ========================================== */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a2744;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-list li:before {
    content: "✓";
    color: #1a2744;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
    position: relative;
    color: white;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, 
            rgba(13, 25, 43, 0.8) 0%, 
            rgba(13, 25, 43, 1) 70%),
        linear-gradient(135deg, 
            #0d192b 0%,
            #1a2744 15%,
            #2a4a6b 35%,
            #4a6741 55%,
            #8b6914 75%,
            #d2691e 90%,
            #ff8c00 100%);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(30, 144, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(255, 140, 0, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 45% 45%, rgba(138, 43, 226, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 0%, transparent 25%);
    filter: blur(50px);
    pointer-events: none;
}

.stats .container {
    position: relative;
    z-index: 2;
}

.stats .section-title {
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================
   FORMS
   ========================================== */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    color: #0d192b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #0d192b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a2744;
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

/* ==========================================
   PAGE-SPECIFIC COMPONENTS
   ========================================== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #0d192b 0%, #1a2744 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.page-hero .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

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

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #40e0ff;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Padding */
.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background: #f8f9fa;
}

/* Platform Features */
.platform-features {
    margin-top: 3rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.tech-stack-visual {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tech-layer {
    background: linear-gradient(135deg, #1a2744 0%, #40e0ff 100%);
    color: white;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.tech-layer:hover {
    transform: translateX(10px);
}

.feature-benefits {
    list-style: none;
    margin-top: 1rem;
}

.feature-benefits li {
    padding: 0.3rem 0;
    color: #1a2744;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.capability-card h3 {
    color: #1a2744;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.capability-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.capability-details h4 {
    color: #1a2744;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-align: left;
}

.capability-details ul {
    list-style: none;
    text-align: left;
}

.capability-details li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.capability-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #40e0ff;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a2744 0%, #0d192b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #40e0ff 0%, #1a2744 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a2744 0%, #40e0ff 100%);
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   CONTACT INFO
   ========================================== */
.contact-info h3 {
    color: #0d192b;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item span {
    margin-right: 1rem;
    font-size: 1.2rem;
}