:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --accent-glow: rgba(255, 255, 255, 0.5);
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor implementation later or just styling */
}

/* Custom Cursor */
/* We will stick to default for now for usability, or add a simple dot follower in JS */
* {
    cursor: auto;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3D Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    /* Slight dim to let text pop */
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* Glass Effect Always On */
    background: rgba(5, 5, 5, 0.85);
    /* Translucent Dark */
    backdrop-filter: blur(10px);
    /* Blurring effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /* Only padding changes on scroll now */
    padding: 15px 50px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .thin {
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links li a {
    font-size: 0.9rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: white;
    transition: 0.3s;
}

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

.btn-nav {
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 0;
    /* Sharp edges for high end feel */
}

.btn-nav:hover {
    background: white;
    color: black;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Orbitron', sans-serif;
    /* Techy Font */
    letter-spacing: 5px;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5), 0 0 20px rgba(74, 222, 128, 0.3);
    /* Green Tech Glow */
    background: linear-gradient(180deg, #ffffff 0%, #bbf7d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

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

/* Tech Buttons */
.btn {
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: white;
    /* Tech Corner Cut */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn::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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
    /* Expanding text effect */
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: white;
    color: black;
    border: none;
}

.btn-primary:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    /* Keep primary solid but add glow */
}

/* Scroll Indication */
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 1px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: white;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 5px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Section Common */
.section {
    padding: 120px 0;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, white, transparent);
}

/* Hex Grid */
.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.hex-wrapper {
    position: relative;
    width: 250px;
    height: 270px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05));
    transition: 0.3s;
}

.hex-wrapper:hover {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    z-index: 10;
}

.hex {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border-light);
    /* This doesn't work well with clip-path */
    /* Alternative border approach: Inset shadow or pseudo element */
    position: relative;
}

/* Fix hexagon border visual */
.hex::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: black;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.hex-wrapper:hover .hex {
    background: white;
}

.hex-content {
    background: transparent;
    z-index: 2;
    padding: 20px;
    transition: 0.3s;
}

.hex-wrapper:hover .hex-content {
    color: black;
}

.hex i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.hex h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hex p {
    font-size: 0.8rem;
    font-family: var(--font-body);
    opacity: 0.7;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.pricing-card.featured {
    border-color: white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: white;
    color: black;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: translateZ(20px);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    transform: translateZ(30px);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 10px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    transform: translateZ(20px);
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #ccc;
}

.features li i {
    color: white;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    text-align: center;
    padding: 15px;
    border: 1px solid white;
    transform: translateZ(40px);
    /* 3D pop */
}

.btn-block:hover {
    background: white;
    color: black;
}

/* Footer & Contact */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-item {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background: var(--glass-bg);
    padding: 30px;
    border: 1px solid var(--border-light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    padding: 15px;
    margin-bottom: 20px;
    color: white;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
}

.footer-bottom {
    margin-top: 80px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
        background: rgba(0, 0, 0, 0.9);
        /* Solid bg for mobile readability */
    }

    .nav-links {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        padding: 40px;
        text-align: center;
        gap: 30px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .hamburger {
        display: block;
        /* Show hamburger */
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero h1.glitch {
        font-size: 2.5rem;
        /* Smaller for mobile */
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .pricing-grid,
    .hex-grid {
        gap: 40px;
    }

    .pricing-card {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Renewal Section */
.renewal-section {
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
    padding-top: 50px;
}

.renewal-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.renewal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.renewal-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.renewal-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.renewal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.renewal-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.renewal-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.renewal-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.renewal-desc {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .renewal-grid {
        gap: 20px;
    }

    .renewal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Override to keep text visible on click/hover per user request */
.hex-wrapper:hover .hex {
    background: rgba(10, 10, 10, 0.9) !important;
}

.hex-wrapper:hover .hex-content {
    color: white !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
    z-index: 100;
    /* Ensure visibility */
}

.close-modal:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: white;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-body {
    text-align: center;
}

#modal-desc {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1rem;
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    border: 1px solid var(--border-light);
}


/* Contact Command Center Styles */
.command-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.panel {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
}

.panel-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.panel-header h4 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
}

.status-indicator {
    font-size: 0.7rem;
    color: #0f0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blink {
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.form-id {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.panel-body {
    padding: 30px;
}

.mission-text {
    margin-bottom: 30px;
    color: #ccc;
    font-size: 1rem;
}

.comm-link {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.comm-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    font-size: 1.2rem;
}

.link-details {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.value {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

.social-matrix {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.matrix-node {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: 0.3s;
    font-size: 2rem;
}

.matrix-node:hover {
    background: white;
    color: black;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Form Input Styles */
.transmission-form {
    padding: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.input-group input:focus~label,
.input-group input:valid~label,
.input-group textarea:focus~label,
.input-group textarea:valid~label {
    top: -20px;
    font-size: 0.7rem;
    color: white;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: 0.3s;
}

.input-group input:focus~.focus-border,
.input-group textarea:focus~.focus-border {
    width: 100%;
}

@media (max-width: 768px) {
    .command-center {
        grid-template-columns: 1fr;
    }
}


/* About Preview Section */
.about-preview-link {
    display: block;
    color: inherit;
    text-decoration: none;
    margin: 40px 0;
}

.about-preview-section {
    padding: 60px 0;
    min-height: auto;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: 0.3s ease;
    cursor: pointer;
}

.about-preview-section:hover {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-preview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-preview-content .section-title {
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-teaser {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.access-btn {
    display: inline-block;
    border: 1px solid white;
    padding: 10px 30px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.about-preview-section:hover .access-btn {
    background: white;
    color: black;
    box-shadow: 0 0 15px white;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Adjusted Hero Description Spacing */
.hero-desc {
    font-size: 1rem;
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    /* Adjust based on navbar size */
    width: auto;
    border-radius: 5px;
    /* Optional rounded corners */
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.case-file {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.case-file:hover {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
    transform: translateY(-5px);
}

.case-visual {
    height: 200px;
    background: linear-gradient(45deg, #111, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #333;
    border-bottom: 1px solid var(--border-light);
}

.case-file:hover .case-visual {
    color: #4ade80;
}

.case-info {
    padding: 25px;
}

.case-status {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.case-status.online {
    color: #4ade80;
    border-color: #4ade80;
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.3);
}

.case-status.dev {
    color: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
}

.case-file h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 5px;
}

.case-file p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.case-link {
    font-size: 0.8rem;
    color: white;
    text-decoration: underline;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-link:hover {
    color: #4ade80;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.signal-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-left: 3px solid #4ade80;
    position: relative;
    font-family: 'Courier New', Courier, monospace;
    transition: 0.3s;
}

.signal-card:hover {
    background: rgba(74, 222, 128, 0.05);
    transform: translateX(10px);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 10px;
}

.signal-source {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signal-strength {
    color: #4ade80;
    font-size: 0.9rem;
}

.signal-body {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.6;
}

.signal-body::before {
    content: '"';
    color: #4ade80;
    font-size: 1.5rem;
    margin-right: 5px;
}

.signal-meta {
    display: flex;
    flex-direction: column;
}

.client-name {
    color: white;
    font-weight: 700;
    font-family: var(--font-body);
}

.client-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* XMP Tool Styles - Cyberpunk Enhanced */
.form-panel {
    background: rgba(10, 15, 10, 0.9);
    border: 1px solid #111;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
    position: relative;
    overflow: hidden;
}

/* Glowing Top Border */
.form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4ade80, transparent);
    animation: scanline 3s infinite linear;
}

.panel-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
    font-family: 'Courier New', Courier, monospace;
}

.panel-header h4 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #eee;
    text-transform: uppercase;
}

.status-indicator {
    font-size: 0.8rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blink {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #4ade80;
    animation: blinker 1.5s infinite;
}

.upload-zone {
    border: 2px dashed rgba(74, 222, 128, 0.3);
    border-radius: 5px;
    padding: 50px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 10px,
            rgba(74, 222, 128, 0.02) 10px,
            rgba(74, 222, 128, 0.02) 20px);
    margin-bottom: 25px;
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15) inset;
    transform: scale(1.01);
}

.upload-zone i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}

@keyframes float {

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

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

.xmp-results.hidden,
.hidden {
    display: none;
}

.xmp-results {
    margin-top: 30px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    animation: fadeIn 0.5s ease;
}

.preview-container {
    margin-bottom: 20px;
    text-align: center;
}

#xmp-preview-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
    border: 1px solid var(--border-light);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.data-readout {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--border-light);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 700;
    color: var(--text-muted);
}

.data-value {
    color: white;
    text-align: right;
    word-break: break-word;
    /* Ensure long text wraps */
    max-width: 70%;
}

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

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

/* WhatsApp Floating Widget */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 0px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    border: 1px solid var(--border-light);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Enhanced Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.case-file {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 5px;
}

.case-file::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(74, 222, 128, 0) 0%, rgba(74, 222, 128, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.case-file:hover {
    transform: translateY(-5px);
    border-color: #4ade80;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.15);
}

.case-file:hover::after {
    opacity: 1;
}

.case-visual {
    height: 180px;
    background: radial-gradient(circle at center, #222 0%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #444;
    border-bottom: 1px solid #333;
    position: relative;
    transition: 0.3s;
}

.case-file:hover .case-visual {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

/* Status Badges */
/* Status Badges */
.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-family: 'Courier New', Courier, monospace;
    padding: 4px 8px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.project-status.completed {
    color: #4ade80;
    border-color: #4ade80;
}

.project-status.in-progress {
    color: #fbbf24;
    border-color: #fbbf24;
    animation: blinker 2s infinite;
}

.project-status.live {
    color: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 5px rgba(56, 189, 248, 0.4);
}

.case-info {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.case-info h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tech-mono {
    font-family: 'Courier New', Courier, monospace;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

/* Static Non-Clickable Links */
.static-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 15px;
    border-top: 1px solid #222;
    width: 100%;
    cursor: default;
    user-select: none;
}

.case-file:hover .static-link {
    color: #888;
    border-color: #444;
}/* --- Cyberpunk Services Hexagon Grid --- */

/* Wrapper adjustment for spacing */
.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 60px 0;
}

.hex-wrapper {
    width: 250px;
    height: 280px;
    position: relative;
    /* Ensure enough space for the hexagon */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hex-wrapper:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* The Hexagon Shape */
.hex {
    width: 250px;
    height: 280px;
    background: #0a0a0a;
    /* Dark background */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Tech Border Effect using pseudo-element */
.hex::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(15, 15, 15, 0.95);
    /* Inner dark bg */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

/* Outer Glow/Border Container */
.hex-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    /* Default border color */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    transition: 0.3s;
}

/* Hover State: Neon Glow */
.hex-wrapper:hover::before {
    background: #4ade80;
    /* Neon Green */
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.6);
}

/* Content Styling */
.hex-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    width: 80%;
}

.hex-content i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hex-wrapper:hover .hex-content i {
    color: #4ade80;
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 20px #4ade80;
}

.hex-content h4 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    transition: 0.3s;
}

.hex-wrapper:hover .hex-content h4 {
    border-color: #4ade80;
    color: #fff;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.hex-content p {
    font-size: 0.8rem;
    color: #888;
    font-family: var(--font-body);
    transition: 0.3s;
}

.hex-wrapper:hover .hex-content p {
    color: #ddd;
}

/* Decorative Tech Dots */
.hex::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(#333 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.1;
    z-index: 2;
    pointer-events: none;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-wrapper:hover .hex::after {
    opacity: 0.2;
    background-image: radial-gradient(#4ade80 1px, transparent 1px);
}
