/* ============================================================
   HERO SECTION WITH PLEXUS BACKGROUND
============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(10, 14, 26, 0.85) 0%,
        rgba(10, 14, 26, 0.75) 40%,
        rgba(10, 14, 26, 0.6) 70%,
        rgba(10, 14, 26, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 7rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    color: var(--electric-blue);
    background: rgba(0, 217, 255, 0.06);
}

/* Hero Visual - Capability Grid */
.hero-visual {
    position: relative;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.grid-item {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--cyber-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover::before {
    opacity: 1;
}

.grid-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 217, 255, 0.12);
}

.grid-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.grid-icon svg {
    width: 46px;
    height: 46px;
    overflow: visible;
}

.grid-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--text-secondary);
}

.grid-item:nth-child(1) { animation: gridFadeIn 0.6s ease 0.1s both; }
.grid-item:nth-child(2) { animation: gridFadeIn 0.6s ease 0.2s both; }
.grid-item:nth-child(3) { animation: gridFadeIn 0.6s ease 0.3s both; }
.grid-item:nth-child(4) { animation: gridFadeIn 0.6s ease 0.4s both; }
.grid-item:nth-child(5) { animation: gridFadeIn 0.6s ease 0.5s both; }
.grid-item:nth-child(6) { animation: gridFadeIn 0.6s ease 0.6s both; }

@keyframes gridFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   TRUST METRICS BAR
============================================================ */
.trust-metrics {
    background: var(--card-bg);
    border-top: 3px solid var(--electric-blue);
    padding: 3.5rem 2rem;
    position: relative;
}

.trust-metrics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
}

.trust-metrics-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(0, 217, 255, 0.25), transparent);
}

.metric-number {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 700;
    color: var(--electric-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
    padding: 7rem 2rem 8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.12);
}

.service-card:nth-child(1) {
    background-image: url('/assets/images/27a778_271642eb4c6e4f06a86c361fb1e1d54ef000.avif');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-card:nth-child(3) {
    background-image: url('/assets/images/27a778_2c8fd63b21044d1aadf00da5c720b05ff000.avif');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-card:nth-child(5) {
    background-image: url('/assets/images/27a778_c4d5d66c2b44469ebf2cadca52b2a19bf000.avif');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-card:nth-child(1),
.service-card:nth-child(3),
.service-card:nth-child(5) {
    background-color: rgba(17, 24, 39, 0.94);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.2);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--text-primary);
    stroke: var(--text-primary);
    overflow: visible;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.toggle-button {
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--electric-blue);
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.toggle-button:hover {
    background: var(--electric-blue);
    color: var(--base-bg);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.65rem;
    line-height: 1;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.service-details.active {
    max-height: 400px;
}

.service-details ul {
    list-style: none;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-details li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.service-details li::before {
    content: '\25B8';
    color: var(--electric-blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   LIVE THREAT INTELLIGENCE SECTION
============================================================ */
.threat-intel {
    padding: 7rem 2rem 8rem;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.threat-intel .section-header {
    margin-bottom: 3rem;
}

.threat-map-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.08), inset 0 0 60px rgba(0, 217, 255, 0.03);
}

.threat-map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}

.threat-map-fallback {
    display: none;
    background: var(--card-bg);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.threat-map-fallback h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.threat-map-fallback p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.threat-map-fallback a {
    color: var(--electric-blue);
    font-weight: 600;
    transition: color 0.3s;
}

.threat-map-fallback a:hover {
    color: var(--amber);
}

.threat-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--electric-blue);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.threat-map-link:hover {
    color: var(--amber);
    gap: 0.85rem;
}

.threat-map-link-wrapper {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Lock icon for unauthenticated users */
.threat-map-lock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.7;
}

.threat-map-lock svg {
    width: 14px;
    height: 14px;
}

/* ============================================================
   COMPLIANCE & CERTIFICATIONS
============================================================ */
.compliance {
    padding: 7rem 2rem 8rem;
    background: var(--base-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.compliance .section-header {
    margin-bottom: 3.5rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.compliance-badge {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
}

.compliance-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    height: 0;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.08), transparent);
    transition: height 0.4s ease;
    pointer-events: none;
}

.compliance-badge:hover::before {
    height: 100%;
}

.compliance-badge:hover {
    border-color: rgba(123, 47, 255, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--glow-purple);
}

.badge-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.15);
}

.badge-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--electric-blue);
    fill: none;
    overflow: visible;
}

.badge-label {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.compliance-trust-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ============================================================
   COMPANY OVERVIEW
============================================================ */
.company-overview {
    padding: 7rem 2rem 8rem;
    background: var(--base-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.35s ease;
}

.overview-card:hover {
    border-color: rgba(0, 217, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 217, 255, 0.08);
}

.overview-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
}

.overview-icon svg {
    width: 56px;
    height: 56px;
    overflow: visible;
}

.overview-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.overview-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.overview-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

/* ============================================================
   COMPLIANCE REGISTRATIONS
============================================================ */
.compliance-registrations {
    text-align: center;
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.compliance-reg-sep {
    opacity: 0.4;
    margin: 0 0.5rem;
}

.badge-sublabel {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

/* ============================================================
   STRATEGIC PARTNERS
============================================================ */
.partners {
    padding: 7rem 2rem 8rem;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 2rem 1.25rem;
    text-align: center;
    transition: all 0.35s ease;
}

.partner-card:hover {
    border-color: rgba(0, 217, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 217, 255, 0.06);
}

.partner-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.partner-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 580px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cta-form input[type="email"] {
    flex: 1;
    min-width: 260px;
    padding: 1.15rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.cta-form input[type="email"]:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 24px var(--glow-blue);
}

.cta-form input[type="email"]::placeholder {
    color: var(--text-secondary);
}

.cta-form button {
    background: linear-gradient(135deg, var(--amber), var(--amber-light));
    color: #0a0e1a;
    padding: 1.15rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    box-shadow: 0 4px 24px var(--glow-amber);
    white-space: nowrap;
}

.cta-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(232, 168, 56, 0.55);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.15rem 1.5rem;
    border-radius: 8px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid var(--success);
    color: var(--success);
    font-size: 0.95rem;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-message.show {
    display: block;
}

/* ============================================================
   RESPONSIVE - INDEX PAGE
============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 6rem 2rem 4rem;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .overview-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .metric-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metric-item::after {
        display: none !important;
    }

    .metric-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input[type="email"] {
        width: 100%;
        min-width: unset;
    }

    .threat-map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 3rem 1rem 2rem;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .services {
        padding: 5rem 1rem 6rem;
    }

    .compliance {
        padding: 5rem 1rem 6rem;
    }

    .partners {
        padding: 5rem 1rem 6rem;
    }

    .threat-intel {
        padding: 5rem 1rem 6rem;
    }

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .compliance-badge {
        padding: 1.25rem 0.75rem;
    }

    .badge-label {
        font-size: 0.9rem;
    }
}
