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

body {
    font-family: "Montserrat", sans-serif;
    background: #05070e;
    color: white;
    overflow-x: hidden;
}

/* -------------------- BACKGROUND ANIMATION -------------------- */
.background-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -5;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 238, 255, 0.2);
    animation: float 10s infinite linear;
}

@keyframes float {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }

    to {
        transform: translateY(-10vh);
        opacity: 1;
    }
}

.grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
    z-index: -6;
}

@keyframes gridMove {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-200px, -200px);
    }
}

/* -------------------- PRICING / SERVICES SPECIFIC -------------------- */
.service-icon {
    font-size: 34px;
    margin-bottom: 8px;
    color: #00eaff;
    text-shadow: 0 0 12px rgba(0, 238, 255, 0.25);
}

.price {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0;
    color: #00eaff;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
}

.pricing-features {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: #dcdcdc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* -------------------- FORM STYLES -------------------- */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

input,
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    transition: 0.3s;
    margin-bottom: 15px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #00eaff;
    background: rgba(0, 238, 255, 0.05);
}

::placeholder {
    color: #8fa1b6;
}

label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c9c9c9;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 15px;
}

input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    padding: 0 10%;
    margin-bottom: 60px;
    align-items: start;
}

@media screen and (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
}

/* Connect Page Specific */
.connect-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00eaff 0%, #00a8ff 100%);
    opacity: 0;
    z-index: -1;
    transition: 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px);
    color: #05070e;
    border-color: #00eaff;
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
}

.social-btn:hover::before {
    opacity: 1;
}

/* -------------------- NAVBAR -------------------- */
nav {
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(5, 8, 15, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 50;
    transition: all .28s ease;
}

nav.shrink {
    padding: 8px 18px;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.leftnav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 238, 255, 0.06);
    transform-origin: center;
    animation: floatLogo 4s ease-in-out infinite;
    transition: filter .25s;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(6%) contrast(1.02) saturate(1.1);
}

@keyframes floatLogo {

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

    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

.logo-text {
    font-weight: 800;
    color: #00eaff;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    padding-left: 0;
    text-shadow: 0 0 6px rgba(0, 234, 255, 0.12);
}

.logo-text::before,
.logo-text::after {
    content: "ExploitInject";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.0;
    clip-path: inset(0 0 0 0);
}

.logo-text.glitch::before {
    color: #ff4d6d;
    opacity: .9;
    left: 1px;
    top: -1px;
    mix-blend-mode: screen;
    animation: glitchA 2.8s infinite;
}

.logo-text.glitch::after {
    color: #a1ff7a;
    opacity: .9;
    left: -1px;
    top: 1px;
    mix-blend-mode: screen;
    animation: glitchB 3.1s infinite;
}

@keyframes glitchA {
    0% {
        transform: translate(0, 0) skew(0deg);
    }

    10% {
        transform: translate(-2px, -1px) skew(-1deg);
    }

    20% {
        transform: translate(2px, 1px) skew(1deg);
    }

    30% {
        transform: translate(-2px, 0);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitchB {
    0% {
        transform: translate(0, 0);
    }

    15% {
        transform: translate(1px, 2px);
    }

    45% {
        transform: translate(-1px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

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

.navlinks a {
    color: #dcdcdc;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .18s;
}

.navlinks a:hover {
    color: #00eaff;
    background: rgba(0, 238, 255, 0.03);
}

.navlinks a.active {
    color: #00eaff;
    box-shadow: 0 6px 24px rgba(0, 238, 255, 0.06);
    background: rgba(0, 238, 255, 0.02);
}

/* -------------------- HERO SECTION -------------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 12%;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero h2 {
    font-size: 60px;
    font-weight: 800;
    color: #00eaff;
    line-height: 1.2;
}

.typewriter {
    font-size: 24px;
    font-weight: 300;
    height: 40px;
    margin: 20px 0;
    color: #fff;
}

.hero p {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.7;
    color: #c9c9c9;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns a {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

.btn1 {
    background: #00eaff;
    color: #000;
    box-shadow: 0 0 15px #00eaff;
}

.btn1:hover {
    box-shadow: 0 0 30px #00eaff;
}

.btn2 {
    border: 2px solid #00eaff;
    color: #00eaff;
}

.btn2:hover {
    background: #00eaff;
    color: #000;
}

/* Generic Button */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    background: #00eaff;
    color: #000;
    box-shadow: 0 0 15px #00eaff;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    position: relative;
    z-index: 20;
}

.btn:hover {
    box-shadow: 0 0 30px #00eaff;
    transform: translateY(-3px);
}

/* -------------------- SECTIONS & CARDS -------------------- */
.section {
    padding: 80px 12%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section h2 {
    font-size: 36px;
    color: #00eaff;
    margin-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: 0.4s;
    position: relative;
    z-index: 11;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #00eaff;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.35);
    z-index: 12;
}

.card h3 {
    color: #00eaff;
    margin-bottom: 12px;
}

.card p {
    color: #c9c9c9;
}

/* -------------------- TEAM SECTION -------------------- */
.team-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 238, 255, 0.2);
}

.team-title {
    color: #00eaff;
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: #00eaff;
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid rgba(0, 238, 255, 0.3);
    transition: 0.4s;
}

.team-member:hover .member-img {
    border-color: #00eaff;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.4);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.4s;
}

.team-member:hover .member-img img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.member-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-role {
    color: #00eaff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-socials a {
    color: #b0b0b0;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-socials a:hover {
    color: #00eaff;
    transform: scale(1.1);
    background: rgba(0, 238, 255, 0.1);
    border-color: #00eaff;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
}

/* CEO Card Elevation */
@media screen and (min-width: 768px) {
    .ceo-card {
        transform: translateY(-25px);
        border-color: #00eaff;
        box-shadow: 0 10px 40px rgba(0, 238, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        z-index: 2;
    }

    .ceo-card:hover {
        transform: translateY(-35px);
    }
}

/* -------------------- FOOTER -------------------- */
.main-footer {
    background: #020305;
    padding: 60px 10% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h4 {
    color: #00eaff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #dcdcdc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00eaff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    color: #7e7e7e;
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00eaff 0%, #00a8ff 100%);
    opacity: 0;
    z-index: -1;
    transition: 0.3s;
}

.footer-social-link:hover {
    transform: translateY(-5px);
    color: #05070e;
    border-color: #00eaff;
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
}

.footer-social-link:hover::before {
    opacity: 1;
}

/* -------------------- RESPONSIVE -------------------- */
@media screen and (max-width: 768px) {
    nav {
        padding: 15px 20px;
        left: 8px;
        right: 8px;
    }

    nav.shrink {
        padding: 10px 20px;
    }

    .navlinks {
        gap: 12px;
    }

    .navlinks a {
        padding: 6px 10px;
        font-size: 14px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding: 0 8%;
        text-align: center;
        justify-content: center;
    }

    .hero h2 {
        font-size: 42px;
        text-align: center;
    }

    .typewriter {
        font-size: 20px;
        height: 35px;
        text-align: center;
    }

    .hero p {
        font-size: 16px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-btns a {
        padding: 12px 24px;
        font-size: 15px;
    }

    .section {
        padding: 60px 8%;
    }

    .section h2 {
        font-size: 30px;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .card {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 12px 15px;
        left: 5px;
        right: 5px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .leftnav {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }

    .navlinks {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .navlinks a {
        font-size: 13px;
        padding: 5px 8px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 0 5%;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .typewriter {
        font-size: 18px;
        height: 32px;
        margin: 15px 0;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btns a {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 20px;
    }

    .section {
        padding: 50px 5%;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 18px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }

    footer {
        padding: 20px 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .hero h2 {
        font-size: 32px;
    }

    .typewriter {
        font-size: 16px;
    }

    .hero p {
        font-size: 14px;
    }

    .section h2 {
        font-size: 26px;
    }

    .logo-text {
        font-size: 16px;
    }
}

@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
        height: auto;
        min-height: 100vh;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .hero {
        padding: 0 15%;
    }

    /* -------------------- SECTIONS & CARDS (Revamped) -------------------- */
    .section {
        padding: 100px 10%;
        text-align: center;
    }

    .section h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 60px;
        background: linear-gradient(90deg, #fff, #00eaff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }

    .card {
        background: rgba(255, 255, 255, 0.03);
        padding: 40px 30px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
        opacity: 0;
        transition: 0.4s;
    }

    .card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: rgba(0, 234, 255, 0.5);
        box-shadow: 0 20px 50px rgba(0, 238, 255, 0.15);
    }

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

    .card-icon {
        font-size: 48px;
        color: #00eaff;
        margin-bottom: 25px;
        background: rgba(0, 238, 255, 0.1);
        width: 90px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.4s;
        box-shadow: 0 0 20px rgba(0, 238, 255, 0.1);
    }

    .card:hover .card-icon {
        background: #00eaff;
        color: #05070e;
        box-shadow: 0 0 30px #00eaff;
        transform: rotateY(180deg);
    }

    .card h3 {
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    .card p {
        color: #b0b0b0;
        font-size: 15px;
        line-height: 1.7;
    }

    /* Hero Text Enhancement */
    .hero h2 {
        font-size: 72px;
        font-weight: 800;
        color: #fff;
        line-height: 1.1;
        margin-bottom: 20px;
        letter-spacing: -2px;
    }

    .hero h2 span {
        color: #00eaff;
        text-shadow: 0 0 20px rgba(0, 238, 255, 0.5);
    }
}

/* Responsive tweaks for new sections */
@media screen and (max-width: 768px) {
    .footer-content {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    /* Mobile Overrides to fix sort order issues */
    .hero h2 {
        font-size: 42px;
        /* Override the desktop 72px */
    }

    .section {
        padding: 60px 5%;
        /* Override desktop 100px */
    }

    .team-grid {
        gap: 30px;
    }

    .ceo-card {
        transform: none !important;
        /* Disable elevation on mobile */
    }
}

@media screen and (max-width: 480px) {
    .hero h2 {
        font-size: 32px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .section h2 {
        font-size: 28px;
    }
}