/* ===== GLOBAL & RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    overflow-wrap: break-word;
    word-break: break-word;
}

html {
    scroll-behavior: smooth;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), 0 0 50px rgba(0, 255, 255, 0.2);
    }
}

@keyframes flowLine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scanLine {
    0% {
        top: -2px;
    }

    100% {
        top: 100%;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: linear-gradient(135deg, #00ffff 0%, #007bff 50%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLOW BUTTONS ===== */
.btn-glow {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 123, 255, 0.15));
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glow:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 123, 255, 0.25));
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.btn-glow-lg {
    background: linear-gradient(135deg, #00ffff, #007bff);
    color: #0a0f1e;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-glow-lg::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.5s ease;
}

.btn-glow-lg:hover::before {
    left: 100%;
}

.btn-glow-lg:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ===== HERO INFO CARDS ===== */
.hero-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.hero-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.hero-info-card:hover {
    border-color: rgba(0, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 255, 0.04);
}
.hero-info-card:hover::before {
    opacity: 1;
}
.hero-info-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.15);
    color: #39ff14;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.hero-info-icon--cyan {
    background: rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.15);
    color: #00ffff;
}
.hero-info-card:hover .hero-info-icon {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}
.hero-info-card:hover .hero-info-icon--cyan {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
}

/* ===== NAVBAR ===== */
#navbar.scrolled {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.05);
}

/* ===== PILLAR CARDS ===== */
.pillar-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.05);
}

.pillar-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    flex-shrink: 0;
}

/* ===== DASHBOARD MOCKUP ===== */
.dashboard-mockup {
    background: rgba(13, 19, 38, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.dashboard-mockup::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: scanLine 4s linear infinite;
    opacity: 0.3;
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.mockup-body {
    padding: 1.25rem;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mockup-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup-chart {
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.5rem;
    overflow: hidden;
}

.mockup-events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-event {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* ===== VALUE CARDS ===== */
.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #007bff);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    border-color: rgba(0, 255, 255, 0.15);
    background: rgba(0, 255, 255, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.enterprise-card::before {
    background: linear-gradient(90deg, #39ff14, #007bff) !important;
}

.enterprise-card:hover {
    border-color: rgba(57, 255, 20, 0.15);
    background: rgba(57, 255, 20, 0.03);
}

.value-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.06) 0%, transparent 70%);
}

.feature-card:hover {
    border-color: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.4);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

/* ===== GEO PATTERN ===== */
.geo-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== WORKFLOW ===== */
.workflow-container {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: all 0.4s ease;
}

.workflow-step:hover {
    border-color: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00ffff, #007bff);
    color: #0a0f1e;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    margin: 0.75rem auto 1rem;
    transition: all 0.4s ease;
}

.workflow-step:hover .step-icon {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3.5rem;
    width: 60px;
    flex-shrink: 0;
    position: relative;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #007bff);
    background-size: 200% 100%;
    animation: flowLine 2s linear infinite;
}

.connector-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    right: -4px;
    top: calc(3.5rem - 3px);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2.5rem;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}
.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}
.gallery-item-tall {
    grid-row: span 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}
.gallery-item:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1), 0 15px 40px rgba(0, 0, 0, 0.4);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-label {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}
.gallery-sublabel {
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.8);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}
.lightbox.active {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}
.lightbox img {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.1);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
}
.lightbox-close:hover {
    color: #00ffff;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.lightbox-nav:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    color: #00ffff;
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-caption {
    text-align: center;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.lightbox-caption #lightbox-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}
.lightbox-caption #lightbox-desc {
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.7);
}

/* ===== STATS COUNTER ===== */
.stat-card {
    padding: 2rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}
.stat-card:hover {
    border-color: rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
    transform: translateY(-3px);
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}
.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(0, 255, 255, 0.06);
    font-family: Georgia, serif;
}
.testimonial-card:hover {
    border-color: rgba(0, 255, 255, 0.15);
    background: rgba(0, 255, 255, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== CERTIFICATION ===== */
.cert-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}
.cert-card:hover {
    border-color: rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.cert-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    margin: 0 auto;
    transition: all 0.4s ease;
}
.cert-card:hover .cert-icon {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.4);
}

/* ===== BLOG ===== */
.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}
.blog-card:hover {
    border-color: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}
.blog-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}
.blog-card-body {
    padding: 1.5rem;
}

/* ===== FAQ ===== */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.faq-item:hover,
.faq-item.active {
    border-color: rgba(0, 255, 255, 0.15);
}
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
    gap: 1rem;
}
.faq-btn:hover {
    color: #00ffff;
}
.faq-chevron {
    color: rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer-heading {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover {
    color: #00ffff;
    padding-left: 4px;
}
.footer-social {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}
.footer-social:hover {
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
    transform: translateY(-2px);
}
.footer-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.3s;
}
.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.footer-input:focus {
    border-color: rgba(0, 255, 255, 0.3);
}
.footer-subscribe-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #00ffff, #007bff);
    border: none;
    color: #0a0f1e;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.footer-subscribe-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* ===== POLICY MODALS ===== */
.policy-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}
.policy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.policy-modal {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 19, 38, 0.98), rgba(10, 15, 30, 0.99));
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 1.25rem;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 255, 0.06);
}
.policy-modal-overlay.active .policy-modal {
    transform: translateY(0) scale(1);
}
.policy-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}
.policy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.3);
}
.policy-modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 85vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.15) transparent;
}
.policy-modal-body::-webkit-scrollbar {
    width: 5px;
}
.policy-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.policy-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.15);
    border-radius: 10px;
}
.policy-modal-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.875rem;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    margin-bottom: 1.25rem;
}
.policy-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}
.policy-modal-update {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.policy-modal-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00ffff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.policy-modal-content h3:first-child {
    margin-top: 0;
}
.policy-modal-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.policy-modal-content strong {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .policy-modal-body {
        padding: 1.5rem;
    }
    .policy-modal-title {
        font-size: 1.25rem;
    }
}

/* ===== ARTICLE MODAL ===== */
.article-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}
.article-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.article-modal-panel {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 19, 38, 0.98), rgba(10, 15, 30, 0.99));
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 1.25rem;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 255, 255, 0.05);
}
.article-modal-overlay.active .article-modal-panel {
    transform: translateY(0) scale(1);
}
.article-modal-panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}
.article-modal-panel-close:hover {
    background: rgba(0, 255, 255, 0.15);
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.4);
}
.article-modal-scroll {
    overflow-y: auto;
    max-height: 90vh;
    padding: 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.15) transparent;
}
.article-modal-scroll::-webkit-scrollbar { width: 5px; }
.article-modal-scroll::-webkit-scrollbar-track { background: transparent; }
.article-modal-scroll::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.15); border-radius: 10px; }

.article-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.article-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #00ffff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}
.article-modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.article-hero-img {
    width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.article-modal-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.article-modal-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #00ffff;
}
.article-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.article-modal-content ul li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.article-modal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ffff;
}
.article-modal-content strong {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
    .article-modal-scroll { padding: 1.5rem; }
    .article-modal-title { font-size: 1.35rem; }
    .article-modal-header { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ===== SECTION REVEAL ===== */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* --- Global mobile spacing --- */
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* --- Typography scaling --- */
    h1 { font-size: 2.25rem !important; }
    h2 { font-size: 1.75rem !important; }

    /* --- About: pillar cards 1 col --- */
    .pillar-card span {
        font-size: 0.75rem;
    }

    /* --- Dashboard mockup --- */
    .dashboard-mockup {
        animation: none;
    }
    .mockup-stat-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.35rem;
    }
    .mockup-stat {
        padding: 0.5rem 0.25rem;
    }
    .mockup-stat span:first-child {
        font-size: 1rem;
    }
    .mockup-stat span:last-child {
        font-size: 8px;
    }
    .mockup-chart {
        height: 80px;
    }
    .mockup-event span:nth-child(2) {
        font-size: 9px;
    }
    .mockup-event span:last-child {
        display: none;
    }

    /* --- Value cards --- */
    .value-card {
        padding: 1.5rem;
    }

    /* --- Feature cards --- */
    .feature-card {
        padding: 1.5rem;
    }

    /* --- Workflow vertical --- */
    .workflow-container {
        flex-direction: column;
        align-items: center;
    }
    .workflow-connector {
        width: 2px;
        height: 40px;
        padding: 0;
        flex-direction: column;
    }
    .connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, #00ffff, #007bff);
    }
    .connector-dot {
        right: auto;
        top: auto;
        bottom: -4px;
        left: -3px;
    }
    .workflow-step {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem 1rem;
    }

    /* --- Gallery: 2 cols on tablet --- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gallery-item-tall {
        grid-row: span 1;
    }

    /* --- Lightbox mobile --- */
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.25rem;
    }
    .lightbox img {
        max-width: 95%;
        max-height: 65vh;
        border-radius: 0.75rem;
    }
    .lightbox-caption #lightbox-title {
        font-size: 0.95rem;
    }

    /* --- Contact form --- */
    .contact-form {
        padding: 1.5rem;
    }
}

/* --- Extra small screens (< 480px) --- */
@media (max-width: 480px) {

    h1 { font-size: 1.875rem !important; }
    h2 { font-size: 1.5rem !important; }

    /* About pillar cards: stack to 1 col */
    #about .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    /* Gallery: single column */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    /* Dashboard stats: stack or shrink */
    .mockup-stat-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    .mockup-stat span:first-child {
        font-size: 0.875rem;
    }

    /* Lightbox */
    .lightbox-nav {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    .lightbox-prev { left: 0.25rem; }
    .lightbox-next { right: 0.25rem; }
}