:root {
    --bg-deep: #020510;
    --bg-card: rgba(10, 15, 30, 0.7);
    --primary-cyan: #00f5ff;
    --electric-blue: #0066ff;
    --violet: #7b2fff;
    --text-main: #f0f0f0;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-gradient: linear-gradient(135deg, var(--primary-cyan), var(--electric-blue));
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glow-cyan: 0 0 15px rgba(0, 245, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Global Background Elements --- */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* --- Custom Cursor --- */
#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.1s ease;
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.3s ease, height 0.3s ease, transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
    transform: translate(-50%, -50%);
}

@media (hover: none) and (pointer: coarse) {
    #cursor-dot, #cursor-ring {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}

/* --- Animations --- */
@keyframes bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(300px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(300px) rotate(-360deg);
    }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3)); }
    50% { transform: translateY(-25px) scale(1.05); filter: drop-shadow(0 0 40px rgba(0, 245, 255, 0.5)); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes float-badge {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    66% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(-60px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.bob-animation {
    animation: bob 4s ease-in-out infinite;
}

.hero-logo-box {
    margin-bottom: 30px;
    perspective: 1000px;
    transition: var(--transition);
}

.hero-logo-box .logo {
    animation: logo-float 6s ease-in-out infinite;
    transition: var(--transition);
    display: inline-block;
    user-select: none;
}

.hero-logo-box:hover .logo {
    transform: scale(1.1) rotateX(10deg);
    filter: drop-shadow(0 0 60px rgba(0, 245, 255, 0.7)) !important;
}

/* --- TechVenus-inspired Floating Icons --- */
.floating-icons-container {
    position: absolute;
    width: 130%;
    height: 100%;
    top: 10%;
    left: -15%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}

.orbit-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    animation: bob 6s ease-in-out infinite;
    z-index: 2;
}

.orbit-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--primary-cyan));
}

/* --- Layout --- */
section {
    padding: 100px 5%;
    position: relative;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 255, 0.1);
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(2, 5, 16, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary-cyan);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-cyan);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.nav-links a.active {
    border-bottom: 2px solid var(--primary-cyan);
    padding-bottom: 5px;
}

.nav-cta {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 5px;
}

.nav-cta:hover {
    background: var(--primary-cyan);
    color: var(--bg-deep);
    box-shadow: 0 0 20px var(--primary-cyan);
    transform: translateY(-3px);
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 120px 8% 60px;
    position: relative;
    overflow: visible;
}

/* Home Page Unique Hero Styles */
.index-page #hero {
    grid-template-columns: 1fr 1.1fr;
    padding-top: 150px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.08) 0%, transparent 60%);
}

.index-page .hero-badge {
    animation: float-badge 6s ease-in-out infinite;
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
    border-color: var(--primary-cyan);
}

.poster-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.poster-image {
    width: 100%;
    max-width: 650px;
    border-radius: 40px;
    box-shadow: 
        0 0 50px rgba(0, 245, 255, 0.2), 
        0 0 100px rgba(123, 47, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotateY(-15deg) rotateX(8deg) rotateZ(-2deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(1.1) contrast(1.1);
}

.poster-frame:hover .poster-image {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.03);
    box-shadow: 0 0 80px rgba(0, 245, 255, 0.4);
}

.floating-ui-card {
    position: absolute;
    background: rgba(5, 10, 25, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 245, 255, 0.4);
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 20;
    transition: var(--transition);
}

.floating-ui-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px) scale(1.05);
}

.ui-card-1 {
    top: 10%;
    right: -5%;
    animation: bob 5s ease-in-out infinite;
}

.ui-card-2 {
    bottom: 15%;
    left: -10%;
    animation: bob 5s ease-in-out infinite reverse;
}

.ui-card-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
}

.ui-card-content {
    font-size: 0.75rem;
    color: white;
    opacity: 0.9;
    font-family: 'Fira Code', monospace;
}

.stat-glow-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(0, 245, 255, 0.15);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    z-index: -1;
    filter: blur(1px);
}

.hero-content {
    text-align: left;
    z-index: 10;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Internal Pages Hero Adjustment */
.hero-inner {
    min-height: 50vh !important;
    padding-bottom: 20px !important;
}

.hero-inner .hero-visual {
    height: 400px !important;
}

.hero-badge {
    background: rgba(0, 245, 255, 0.05);
    color: var(--primary-cyan);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    margin-bottom: 30px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
}

.hero-subtext {
    color: var(--text-dim);
    max-width: 580px;
    font-size: 1.25rem;
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-deep);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.5);
    transform: scale(1.05) translateY(-5px);
    letter-spacing: 3px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    transform: translateY(-5px);
}

/* --- Partners Strip --- */
.partners-strip {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: white;
}

.partner-role {
    font-size: 0.7rem;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Services (TechVenus Layout) --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.badge-small {
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-services {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

#story {
    margin: 100px 10%;
    padding: 80px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 245, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    letter-spacing: 0;
    text-transform: none;
}

.service-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}

#dev-tools {
    margin: 100px 5%;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.dev-tools-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.tool-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tool-tab {
    padding: 12px 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    border: 1px solid transparent;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.tool-tab.active {
    background: rgba(0, 245, 255, 0.15);
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.tool-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.code-showcase {
    background: #010409;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.code-header {
    background: #161b22;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #30363d;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.code-body {
    padding: 20px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    color: #c9d1d9;
    line-height: 1.6;
    overflow-x: auto;
}

.sh-purple {
    color: #d2a8ff;
}

.sh-blue {
    color: #79c0ff;
}

.sh-cyan {
    color: #a5d6ff;
}

.sh-orange {
    color: #ffa657;
}

.sh-green {
    color: #7ee787;
}

.tool-tabs {
    margin-top: 30px;
}

.tool-tab {
    padding: 10px 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin-right: 10px;
    font-size: 0.8rem;
    border: 1px solid transparent;
}

.tool-tab.active {
    background: rgba(0, 245, 255, 0.15);
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* --- FAQ (TechVenus Style) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-cyan);
}

.faq-answer {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Contact --- */
#contact {
    background: radial-gradient(circle at bottom right, rgba(123, 47, 255, 0.05), transparent 60%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-dim);
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

textarea.form-input {
    height: 150px;
    resize: none;
}

/* --- Stats --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-num {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 5px;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* --- Team --- */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-card {
    width: 550px;
    padding: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 40px;
    position: relative;
}

.team-info {
    flex: 1;
}

.avatar-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(0, 245, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

/* --- CTA Section --- */
.cta-container {
    text-align: center;
    padding: 100px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pulse-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    animation: pulse 4s linear infinite;
}

.ring:nth-child(2) {
    animation-delay: 1s;
}

.ring:nth-child(3) {
    animation-delay: 2s;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    aspect-ratio: 16/10;
    text-decoration: none;
    background: #010409;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.portfolio-card .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.2);
}

/* --- Footer --- */
footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    #hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }
    .hero-content { text-align: center; }
    .hero-subtext { margin: 0 auto 40px; text-align: center; border: none; padding: 0; }
    .hero-visual { height: 400px; }
}

@media (max-width: 968px) {
    /* Navbar & General */
    nav {
        padding: 15px 5%;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    /* Hero Section (Universal) */
    #hero {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        gap: 30px;
    }

    .hero-content {
        order: 2;
        text-align: center !important;
    }

    .hero-visual {
        order: 1;
        height: auto !important;
        min-height: 300px;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-subtext {
        font-size: 1rem;
        margin: 0 auto 30px;
    }

    /* Grids */
    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    #dev-tools {
        padding: 50px 20px;
        margin: 60px 4%;
    }

    .dev-tools-section {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Sections */
    section {
        padding: 80px 5% 40px;
    }

    /* Team */
    .team-card {
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .team-tags {
        justify-content: center;
    }

    /* Internal Pages */
    .hero-inner {
        min-height: auto !important;
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }

    .hero-inner .hero-visual {
        display: none; /* Simplify internal heroes */
    }

    #story {
        margin: 40px 5%;
        padding: 40px 25px;
    }

    .home-services {
        grid-template-columns: 1fr !important;
    }
    .index-page .hero-visual {
        padding: 20px;
    }

    .poster-image {
        max-width: 85%;
        transform: rotateY(-5deg) rotateX(2deg);
        border-radius: 20px;
    }

    .ui-card-1, .ui-card-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 5, 16, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px !important;
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        display: flex !important; /* Overriding previous display: none */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        letter-spacing: 4px;
    }

    .nav-cta {
        display: none; /* Hide in nav, we'll add to mobile menu if needed */
    }

    .services-grid, .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .tool-tabs {
        justify-content: center;
    }

    .tool-tab {
        flex: 1 1 40%;
        text-align: center;
        padding: 10px 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .partners-strip {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    footer .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }

    #hero {
        padding-top: 100px;
    }

    .poster-image {
        max-width: 95%;
    }

    .code-body {
        font-size: 11px;
        padding: 15px;
    }
}



