/* LIGHTNING FLASH COUNTER STYLES - ADAPTED FOR INTEGRATION */

:root {
    --primary-blue: #0084ff;
    --accent-blue: #00d4ff;
    --flash-red: #ff3c3c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-muted: #a0a0a0;
}

.glass-section-box {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero-lightning {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; 
    background: radial-gradient(circle at 70% 30%, rgba(0, 132, 255, 0.15) 0%, transparent 50%),
                url('../../assets/iot/ChatGPT Image 7 may 2026, 01_46_15 p.m..png') center center / cover no-repeat;
}

.hero-lightning::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
}

.hero-container {
    width: min(1440px, 90%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 55%;
}

.glass-hero-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    margin-left: -40px; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    width: 600px;
}

.hero-kicker {
    color: var(--flash-red);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.hero-title .flash {
    color: var(--flash-red);
    display: block;
}

.hero-tagline {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.hf-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.hf-pill svg {
    width: 40px;
    height: 40px;
    color: var(--accent-blue);
}

.hf-pill span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary-lightning {
    background: linear-gradient(135deg, var(--flash-red), #b90000);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
    border: none;
}

.btn-outline-lightning {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-primary-lightning:hover, .btn-outline-lightning:hover {
    transform: translateY(-3px);
    color: #fff;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(0, 132, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

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

/* Knowledge Grid */
.section-blue-lightning {
    padding: 60px 0;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}

.k-item {
    background: #000;
    padding: 40px;
    text-align: center;
    transition: background 0.3s;
}

.k-item:hover {
    background: rgba(0, 132, 255, 0.05);
}

.k-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-blue);
}

.k-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.k-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Specs & Applications */
.specs-section {
    padding: 60px 0;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 60%;
}

.specs-table td:last-child {
    font-weight: 600;
    text-align: right;
}

.product-blueprint {
    position: relative;
    text-align: center;
}

.blueprint-img {
    max-height: 650px;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    object-fit: contain;
}

.apps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
    flex: none;
}

.app-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* How it Works */
.workflow-section-lightning {
    padding: 60px 0;
    text-align: center;
}

.workflow-container-lightning {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
}

.wf-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wf-icon-box {
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    position: relative;
}

.wf-icon-box svg {
    width: 50px;
    height: 50px;
    color: var(--accent-blue);
}

.wf-arrow {
    flex: 0 0 40px;
    padding-top: 45px;
}

.wf-arrow svg {
    width: 40px;
    color: var(--glass-border);
}

.wf-step h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.wf-step p {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 180px;
}

/* Bottom CTA */
.bottom-cta-lightning {
    padding: 100px 0;
    background: url('../../assets/iot/ChatGPT Image 7 may 2026, 01_46_15 p.m..png') center center / cover no-repeat;
    position: relative;
    text-align: center;
}

.bottom-cta-lightning::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}

.cta-content-lightning {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1200px, 90%);
    margin: 0 auto;
    text-align: left;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-text h2 span {
    color: var(--primary-blue);
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .specs-container {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content, .hero-image-container {
        flex: 1 1 100%;
    }
    
    .glass-hero-box {
        margin-left: 0;
        width: 100%;
        max-width: 600px;
        margin-bottom: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features-row, .hero-actions {
        justify-content: center;
    }
    
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-container-lightning {
        flex-direction: column;
        align-items: center;
    }
    
    .wf-arrow {
        transform: rotate(90deg);
        padding: 20px 0;
    }

    .cta-content-lightning {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features-row {
        flex-wrap: wrap;
    }
}
