/* ======================================================
   Vexcore One Page Website
   Dark futuristic neon style
====================================================== */

:root {
    --bg: #02070d;
    --bg-2: #06111c;
    --panel: rgba(7, 18, 29, 0.78);
    --panel-solid: #07121d;
    --cyan: #00d4d8;
    --cyan-soft: rgba(0, 212, 216, 0.18);
    --lime: #a8ff00;
    --yellow: #f6e600;
    --white: #ffffff;
    --text: #d8e5ea;
    --muted: #8ea3ad;
    --border: rgba(0, 212, 216, 0.3);
    --shadow: 0 0 35px rgba(0, 212, 216, 0.18);
    --radius: 24px;
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 212, 216, 0.15), transparent 32rem),
        radial-gradient(circle at 90% 20%, rgba(168, 255, 0, 0.09), transparent 34rem),
        linear-gradient(180deg, #02070d 0%, #050b12 42%, #02070d 100%);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--lime);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.eyebrow span {
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--lime), var(--yellow));
}

h1,
h2,
h3 {
    color: var(--white);
    line-height: 1.05;
}

h1 {
    max-width: 780px;
    font-size: clamp(3rem, 7vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: -0.07em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

h3 {
    font-size: 1.18rem;
}

p {
    line-height: 1.75;
}

.section-heading p,
.hero-text,
.contact-info p,
.cta-box p {
    color: var(--muted);
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: #001016;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    box-shadow: 0 0 28px rgba(0, 212, 216, 0.28);
}

.btn-secondary {
    color: var(--white);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
    border-color: var(--lime);
    box-shadow: 0 0 25px rgba(168, 255, 0, 0.18);
}

/* Background Details */
.site-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.35;
    z-index: -2;
}

.site-glow-one {
    top: 12%;
    left: -150px;
    background: var(--cyan);
}

.site-glow-two {
    right: -170px;
    bottom: 8%;
    background: var(--lime);
}

.circuit-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(0, 212, 216, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 216, 0.18) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(circle at 60% 20%, black, transparent 70%);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(2, 7, 13, 0.92);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(0, 212, 216, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 16px;
}

.brand strong {
    display: block;
    color: var(--cyan);
    font-size: 1.45rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand small {
    display: block;
    color: var(--lime);
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color var(--transition);
}

.main-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--lime));
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--white);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 18px;
    color: #001016 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    right: -10%;
    top: 8%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 216, 0.16);
    background: radial-gradient(circle, rgba(0, 212, 216, 0.1), transparent 60%);
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1::first-line {
    color: var(--white);
}

.hero-text {
    max-width: 650px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 42px;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    border: 1px solid rgba(0, 212, 216, 0.24);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
}

.hero-mini-stats div {
    padding: 18px;
    border-right: 1px solid rgba(0, 212, 216, 0.16);
}

.hero-mini-stats div:last-child {
    border-right: 0;
}

.hero-mini-stats strong {
    display: block;
    color: var(--lime);
    font-size: 1.35rem;
}

.hero-mini-stats span {
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.orb {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(440px, 88vw);
    height: min(440px, 88vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(0, 212, 216, 0.22), transparent 38%),
        radial-gradient(circle at 70% 20%, rgba(168, 255, 0, 0.18), transparent 26%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 216, 0.25);
    box-shadow: inset 0 0 45px rgba(0, 212, 216, 0.18), 0 0 50px rgba(0, 212, 216, 0.18);
}

.orb-ring {
    position: absolute;
    inset: 17px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--cyan);
    border-right-color: var(--lime);
    border-bottom-color: var(--yellow);
    animation: spin 18s linear infinite;
}

.network-core {
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.server-stack {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 170px;
    transform: translate(-50%, -50%);
}

.server-stack span {
    display: block;
    height: 42px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 212, 216, 0.38);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0, 212, 216, 0.22), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 0 20px rgba(0, 212, 216, 0.14);
}

.node {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
}

.node-1 { left: 20%; top: 18%; }
.node-2 { right: 17%; top: 30%; background: var(--lime); box-shadow: 0 0 20px var(--lime); }
.node-3 { left: 16%; bottom: 25%; }
.node-4 { right: 24%; bottom: 17%; background: var(--yellow); box-shadow: 0 0 20px var(--yellow); }
.node-5 { left: 48%; top: 8%; }

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform-origin: left;
    opacity: 0.6;
}

.line-1 { left: 22%; top: 23%; width: 220px; transform: rotate(18deg); }
.line-2 { left: 19%; bottom: 28%; width: 230px; transform: rotate(-20deg); }
.line-3 { left: 50%; top: 12%; width: 150px; transform: rotate(70deg); }
.line-4 { left: 42%; bottom: 26%; width: 170px; transform: rotate(28deg); }

.floating-card {
    position: absolute;
    width: 210px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(7, 18, 29, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.floating-card strong {
    display: block;
    color: var(--lime);
    margin-bottom: 4px;
    font-size: 1.3rem;
}

.floating-card span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.card-speed {
    left: 0;
    top: 75px;
    animation: float 4s ease-in-out infinite;
}

.card-support {
    right: 0;
    bottom: 68px;
    animation: float 4s ease-in-out infinite reverse;
}

/* Cards */
.service-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card,
.why-card,
.solution-card,
.process-step,
.contact-form,
.cta-box {
    position: relative;
    border: 1px solid rgba(0, 212, 216, 0.18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        var(--panel);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.service-card::before,
.why-card::before,
.solution-card::before,
.process-step::before,
.contact-form::before,
.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 216, 0.16), transparent 42%, rgba(168, 255, 0, 0.09));
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.service-card:hover::before,
.why-card:hover::before,
.solution-card:hover::before,
.process-step:hover::before {
    opacity: 1;
}

.service-card,
.why-card {
    min-height: 245px;
    padding: 30px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.why-card:hover,
.solution-card:hover,
.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 255, 0, 0.45);
    box-shadow: 0 0 35px rgba(0, 212, 216, 0.16);
}

.icon,
.why-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: var(--cyan);
    font-size: 1.7rem;
    background: rgba(0, 212, 216, 0.1);
    border: 1px solid rgba(0, 212, 216, 0.25);
    box-shadow: inset 0 0 18px rgba(0, 212, 216, 0.12);
}

.service-card h3,
.why-card h3 {
    margin-bottom: 12px;
}

.service-card p,
.why-card p,
.solution-card p,
.process-step p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Solutions */
.solutions {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 216, 0.045), transparent);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.solution-card {
    min-height: 365px;
    padding: 36px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.solution-card.featured {
    border-color: rgba(168, 255, 0, 0.4);
    transform: translateY(-12px);
}

.solution-card.featured:hover {
    transform: translateY(-20px);
}

.solution-number {
    color: var(--lime);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 55px;
}

.solution-card h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
}

.solution-card a {
    display: inline-flex;
    margin-top: 28px;
    color: var(--cyan);
    font-weight: 800;
}

.solution-card a:hover {
    color: var(--lime);
}

/* Why */
.why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card {
    text-align: center;
}

.why-icon {
    margin-left: auto;
    margin-right: auto;
    color: var(--lime);
}

/* Process */
.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.process-line::before {
    content: "";
    position: absolute;
    top: 39px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--lime), var(--yellow));
    opacity: 0.5;
}

.process-step {
    padding: 28px 22px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.process-step span {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: -3px auto 22px;
    border-radius: 50%;
    color: #001016;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    box-shadow: 0 0 24px rgba(0, 212, 216, 0.22);
}

.process-step h3 {
    margin-bottom: 10px;
}

/* CTA */
.cta-section {
    padding-top: 40px;
}

.cta-box {
    padding: 65px;
    text-align: center;
    border-color: rgba(168, 255, 0, 0.28);
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 212, 216, 0.15), transparent 28rem),
        radial-gradient(circle at 85% 80%, rgba(168, 255, 0, 0.12), transparent 30rem),
        rgba(7, 18, 29, 0.86);
}

.cta-box h2 {
    max-width: 850px;
    margin: 0 auto 20px;
}

.cta-box p {
    max-width: 780px;
    margin: 0 auto 32px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 35px;
}

.contact-list > a,
.contact-list > div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(0, 212, 216, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color var(--transition), transform var(--transition);
}

.contact-list > a:hover {
    transform: translateX(5px);
    border-color: rgba(168, 255, 0, 0.4);
}

.contact-list span {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 16px;
    color: var(--lime);
    background: rgba(168, 255, 0, 0.08);
    border: 1px solid rgba(168, 255, 0, 0.18);
}

.contact-list small {
    display: block;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-list strong {
    color: var(--white);
}

.contact-form {
    padding: 34px;
}

.form-row {
    margin-bottom: 19px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    color: var(--white);
    border: 1px solid rgba(0, 212, 216, 0.18);
    border-radius: 15px;
    outline: none;
    background: rgba(0, 0, 0, 0.26);
    padding: 14px 15px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 216, 0.09);
}

.form-row.error input,
.form-row.error textarea,
.form-row.error select {
    border-color: #ff4d6d;
}

.error-message {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #ff8ea2;
    font-size: 0.78rem;
}

.form-success {
    display: none;
    margin-top: 18px;
    color: var(--lime);
    font-weight: 800;
}

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

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0, 212, 216, 0.15);
    background: rgba(0, 0, 0, 0.28);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 40px;
    padding: 55px 0;
}

.footer-brand img {
    width: 115px;
    border-radius: 18px;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 440px;
    color: var(--muted);
}

.site-footer h3 {
    margin-bottom: 18px;
    color: var(--lime);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer a,
.site-footer span {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.site-footer a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding: 20px 0;
    color: var(--muted);
    border-top: 1px solid rgba(0, 212, 216, 0.11);
    text-align: center;
}

/* Reveals and Animations */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

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

/* Responsive */
@media (max-width: 1040px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        min-height: 520px;
    }

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

    .solution-grid,
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-card.featured {
        transform: none;
    }

    .process-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-line::before {
        display: none;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 60;
    }

    .main-nav {
        position: fixed;
        top: 86px;
        left: 20px;
        right: 20px;
        display: grid;
        gap: 0;
        padding: 16px;
        border: 1px solid rgba(0, 212, 216, 0.22);
        border-radius: 24px;
        background: rgba(2, 7, 13, 0.96);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
        transform: translateY(-22px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        padding: 15px 12px;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .section {
        padding: 82px 0;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-mini-stats,
    .service-grid,
    .solution-grid,
    .why-grid,
    .process-line,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 212, 216, 0.16);
    }

    .hero-mini-stats div:last-child {
        border-bottom: 0;
    }

    .hero-visual {
        min-height: 430px;
    }

    .floating-card {
        width: 185px;
    }

    .card-speed {
        left: 0;
        top: 35px;
    }

    .card-support {
        right: 0;
        bottom: 25px;
    }

    .cta-box {
        padding: 42px 24px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand strong {
        font-size: 1.1rem;
    }

    .brand small {
        font-size: 0.55rem;
    }

    h1 {
        font-size: clamp(2.55rem, 14vw, 4rem);
    }

    .hero-actions {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .orb {
        width: 330px;
        height: 330px;
    }

    .network-core {
        inset: 42px;
    }

    .server-stack {
        width: 135px;
    }

    .server-stack span {
        height: 34px;
    }

    .floating-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
        animation: none;
    }

    .hero-visual {
        min-height: auto;
        padding-top: 350px;
    }

    .service-card,
    .why-card,
    .solution-card,
    .contact-form {
        padding: 24px;
    }

    .contact-list strong {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

.form-row--hidden {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.form-error-global {
    display: none;
    margin-top: 15px;
    color: #b00020;
    font-size: 1.4rem;
    font-weight: 500;
}

.form-error-global.show {
    display: block;
}

.form-success {
    display: none;
}

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

.form-row.error input,
.form-row.error select,
.form-row.error textarea {
    border-color: #b00020;
}

.error-message {
    display: block;
    margin-top: 6px;
    color: #b00020;
    font-size: 1.3rem;
}

/* ======================================================
   CCTV Packages Section
====================================================== */

.cctv-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 212, 216, 0.12), transparent 34rem),
        radial-gradient(circle at 85% 45%, rgba(168, 255, 0, 0.1), transparent 32rem);
}

.cctv-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(0, 212, 216, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 216, 0.16) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at 50% 35%, black, transparent 72%);
}

.cctv-section > .container {
    position: relative;
    z-index: 2;
}

/* Hero Panel */

.cctv-hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 34px;
    padding: 42px;
    border: 1px solid rgba(168, 255, 0, 0.32);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(0, 212, 216, 0.13), transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(7, 18, 29, 0.82);
    box-shadow: 0 0 38px rgba(0, 212, 216, 0.13);
    overflow: hidden;
}

.cctv-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 15px;
    color: #001016;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.cctv-hero-content h3 {
    max-width: 650px;
    margin-bottom: 16px;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.cctv-hero-content p {
    max-width: 720px;
    color: var(--muted);
}

/* Feature Icons */

.cctv-feature-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.cctv-feature-row div {
    min-height: 116px;
    padding: 18px 14px;
    border: 1px solid rgba(0, 212, 216, 0.19);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.cctv-feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--cyan);
    font-size: 1.55rem;
    border: 1px solid rgba(0, 212, 216, 0.25);
    border-radius: 15px;
    background: rgba(0, 212, 216, 0.08);
    box-shadow: 0 0 18px rgba(0, 212, 216, 0.16);
}

.cctv-feature-row strong {
    display: block;
    color: var(--white);
    font-size: 0.82rem;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Hero Image Placeholders */

.cctv-image-stack {
    position: relative;
    min-height: 360px;
}

.cctv-image-placeholder {
    position: absolute;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 216, 0.24);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.28),
        0 0 35px rgba(0, 212, 216, 0.14);
}

.cctv-image-placeholder.large {
    top: 10px;
    right: 0;
    width: 61%;
    height: 182px;
    border-radius: 26px;
}

.cctv-image-placeholder.small {
    left: 37px;
    bottom: 100px;
    width: 44%;
    height: 155px;
    border-radius: 24px;
}

.cctv-image-placeholder img {
    position: relative;
    z-index: 2;
    width: 49%;
    height: 100%;
    object-fit: contain;
    /* padding: 18px; */
}
.cctv-image-placeholder.large  img {
   width: 86%;
}
.cctv-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.32);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px dashed rgba(0, 212, 216, 0.28);
    border-radius: 18px;
    pointer-events: none;
}

/* Hide placeholder text when an actual image loads */
.cctv-image-placeholder img[src]:not([src=""]) + span {
    display: none;
}

.cctv-installed-badge {
    position: absolute;
    right: 22px;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 155px;
    height: 155px;
    padding: 18px;
    text-align: center;
    border: 2px solid rgba(168, 255, 0, 0.75);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(168, 255, 0, 0.12), transparent 70%),
        rgba(7, 18, 29, 0.92);
    box-shadow:
        0 0 28px rgba(168, 255, 0, 0.18),
        inset 0 0 28px rgba(0, 212, 216, 0.12);
}

.cctv-installed-badge strong,
.cctv-installed-badge span {
    display: block;
    text-transform: uppercase;
    line-height: 1.15;
}

.cctv-installed-badge strong {
    color: var(--lime);
    font-size: 0.69rem;
}

.cctv-installed-badge span {
    color: var(--white);
    font-weight: 900;
    font-size: 0.82rem;
}

/* Package Cards */

.cctv-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cctv-package-card {
    overflow: hidden;
    border: 1px solid rgba(0, 212, 216, 0.22);
    border-radius: var(--radius);
    background: rgba(238, 244, 246, 0.96);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cctv-package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 255, 0, 0.55);
    box-shadow: 0 0 36px rgba(0, 212, 216, 0.18);
}

.cctv-package-head {
    padding: 18px 20px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, #009fa4, #00d4d8);
}

.cctv-package-card.standard .cctv-package-head {
    background: linear-gradient(135deg, #65af00, #a8ff00);
}

.cctv-package-card.premium .cctv-package-head {
    background: linear-gradient(135deg, #0068aa, #00a5e6);
}

.cctv-package-head h3 {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.cctv-package-head span {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.86rem;
    text-transform: uppercase;
}

/* Package Image Placeholders */

.cctv-package-visual.image-version {
    display: block;
    min-height: unset;
    padding: 24px 24px 10px;
}

.package-image-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 210px;
    overflow: hidden;
    border: 1px dashed rgba(0, 212, 216, 0.35);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(0, 212, 216, 0.08), rgba(168, 255, 0, 0.06)),
        rgba(255, 255, 255, 0.5);
}

.package-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: rgba(6, 17, 28, 0.38);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.package-image-placeholder img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 230px;
    object-fit: contain;
    padding: 16px;
}

/* Package List */

.cctv-package-card ul {
    padding: 5px 26px 30px;
    list-style: none;
}

.cctv-package-card li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
    color: #111820;
    font-weight: 700;
    line-height: 1.35;
}

.cctv-package-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: 50%;
    background: #009fa4;
}

.cctv-package-card.standard li::before {
    background: #77b900;
}

.cctv-package-card.premium li::before {
    background: #0077bd;
}

/* Bottom Info Cards */

.cctv-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.cctv-info-card {
    padding: 28px;
    border: 1px solid rgba(0, 212, 216, 0.2);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(7, 18, 29, 0.82);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.cctv-info-card h3 {
    margin-bottom: 22px;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
}

.cctv-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cctv-icon-grid div {
    text-align: center;
    padding: 14px 10px;
    border-right: 1px solid rgba(0, 212, 216, 0.2);
}

.cctv-icon-grid div:last-child {
    border-right: 0;
}

.cctv-icon-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--lime);
    font-size: 2rem;
    text-shadow: 0 0 16px rgba(168, 255, 0, 0.24);
}

.cctv-icon-grid strong {
    display: block;
    color: var(--white);
    font-size: 0.78rem;
    line-height: 1.35;
    text-transform: uppercase;
}

/* CTA */

.cctv-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(168, 255, 0, 0.3);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 212, 216, 0.16), transparent 22rem),
        rgba(7, 18, 29, 0.86);
}

.cctv-cta > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cctv-cta span {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    height: 58px;
    color: var(--cyan);
    font-size: 1.7rem;
    border: 1px solid rgba(0, 212, 216, 0.25);
    border-radius: 50%;
    background: rgba(0, 212, 216, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 216, 0.14);
}

.cctv-cta strong {
    display: block;
    color: var(--cyan);
    font-size: 1.45rem;
    text-transform: uppercase;
}

.cctv-cta p {
    color: var(--muted);
}

/* ======================================================
   CCTV Responsive
====================================================== */

@media (max-width: 1040px) {
    .cctv-hero-panel {
        grid-template-columns: 1fr;
    }

    .cctv-image-stack {
        min-height: 330px;
    }

    .cctv-image-placeholder.large {
        width: 76%;
        right: 0;
    }

    .cctv-image-placeholder.small {
        width: 52%;
        left: 0;
    }

    .cctv-feature-row,
    .cctv-package-grid,
    .cctv-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .cctv-hero-panel {
        padding: 28px;
    }

    .cctv-feature-row,
    .cctv-icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cctv-image-stack {
        min-height: auto;
    }

    .cctv-image-placeholder.large,
    .cctv-image-placeholder.small {
        position: relative;
        inset: auto;
        width: 100%;
        height: 190px;
        margin-bottom: 18px;
    }

    .cctv-installed-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: 145px;
        height: 145px;
        margin: 0 auto;
    }

    .cctv-cta {
        display: grid;
    }

    .cctv-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cctv-feature-row,
    .cctv-icon-grid {
        grid-template-columns: 1fr;
    }

    .cctv-icon-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 212, 216, 0.15);
    }

    .cctv-icon-grid div:last-child {
        border-bottom: 0;
    }

    .package-image-placeholder {
        min-height: 170px;
    }

    .package-image-placeholder img {
        max-height: 190px;
    }

    .cctv-cta > div {
        align-items: flex-start;
    }

    .cctv-cta strong {
        font-size: 1.15rem;
    }
}


