/* ============================================
   SPER Connect - Online Surveys Panel Styles
   Modern, AI-Driven Design System
   ============================================ */

:root {
    --brand-primary: #0056CC;
    --brand-secondary: #003d99;
    --brand-accent: #00d4ff;
    --ink-dark: #1f2033;
    --soft-bg: #f8f9fa;
    --section-gap: 5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
/*
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-mark {
    font-family: "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.01em;
}

.hero-wrap {
    min-height: 88vh;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 35%, rgba(54, 169, 255, 0.28), transparent 42%), linear-gradient(120deg, rgba(2, 5, 11, 0.93) 20%, rgba(3, 7, 18, 0.88) 55%, rgba(3, 7, 16, 0.66) 100%);
}*/
.hero-wrap {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #003d99 0%, #0056CC 50%, #00d4ff 100%);
    margin-bottom: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 61, 153, 0.85) 0%, rgba(0, 86, 204, 0.75) 50%, rgba(0, 212, 255, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem 0;
}

.product-logo-wrap {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.product-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-wrap h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-copy {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.bgMain {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.section-dark {
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: var(--section-gap) 0;
}

.section-light {
    background: var(--soft-bg);
    color: var(--ink-dark);
    padding: var(--section-gap) 0;
}

.section-intro,
.section-lab {
    padding: var(--section-gap) 0;
}

.section-intro h2,
.section-lab h2,
.section-light h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* ============================================
   STAT GRID
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-grid article {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-grid article:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 204, 0.3);
}

.stat-grid h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-grid p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    background: white;
    border: 1px solid #e7e3f5;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 86, 204, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
    transform: scale(1.3);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 86, 204, 0.3);
    border-color: var(--brand-primary);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 204, 0.12);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 0 25px rgba(0, 86, 204, 0.6);
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */
.split-image,
.orb-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.overview-visual {
    position: relative;
}

/* Panel Feature Images - Uniform Sizing */
.panel-feature-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 1rem;
    padding: 0.5rem;
    background: rgba(0, 86, 204, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover .panel-feature-img {
    transform: scale(1.1);
    background: rgba(0, 86, 204, 0.1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    padding: var(--section-gap) 0;
    background: rgba(15, 23, 42, 0.95);
}

.cta-panel {
    /*background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);*/
    background: linear-gradient(135deg, #131313 0%, #09326a 100%) border-radius: 1.5rem;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
    background: var(--soft-bg);
    padding: var(--section-gap) 0;
}

.faq-intro {
    color: #6c757d;
    font-size: 1.1rem;
}

.faq-accordion .accordion-item {
    border: 1px solid #e7e3f5;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.faq-btn {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background: white;
    color: var(--ink-dark);
    border: none;
    transition: all 0.3s ease;
}

.faq-btn:not(.collapsed) {
    background: var(--brand-primary);
    color: white;
}

.faq-btn:hover {
    background: rgba(0, 86, 204, 0.1);
}

.faq-btn:not(.collapsed):hover {
    background: var(--brand-secondary);
}

.faq-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 86, 204, 0.4);
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 86, 204, 0.5);
}

/* ============================================
   UTILITIES
   ============================================ */
.justify-text {
    text-align: justify;
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .hero-wrap {
        min-height: 70vh;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .section-gap,
    .section-dark,
    .section-light,
    .section-intro,
    .section-lab,
    .section-cta,
    .section-faq {
        padding: 3rem 0;
    }

    .cta-panel {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-wrap {
        min-height: 60vh;
    }

    .product-logo {
        max-height: 60px;
    }

    .hero-content {
        padding: 2rem 0;
    }
}
