/* ==========================================================================
   JAGA TECH - Ultra-Fast Cyber-Tech Stylesheet (Zero Heavy Bloat)
   ========================================================================== */
:root {
    --bg-primary: #070b1e;       /* Deep space navy */
    --bg-secondary: #040714;     /* Core pitch dark */
    --bg-card: rgba(10, 16, 42, 0.78);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff00ea;
    --neon-green: #00ff66;
    --neon-amber: #ffb703;
    --glass-bg: rgba(9, 15, 38, 0.85);
    --glass-border: rgba(0, 240, 255, 0.22);
    --glass-border-hover: rgba(0, 240, 255, 0.6);
}

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

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(255, 0, 234, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(7, 11, 30, 0.94), rgba(4, 7, 20, 0.98));
}

h1, h2, h3, h4, h5, .nav-links a, .hero-title, .section-title { font-family: 'Space Grotesk', sans-serif; }
.tech-tags, .ep-title, .project-category, .project-meta-tags, .hero-badge, .doc-tag { font-family: 'JetBrains Mono', monospace; }

/* Utilities */
.container { width: 92%; max-width: 1300px; margin: 0 auto; }
.section-header { margin-bottom: 2.8rem; text-align: center; }
.section-title { font-size: 2.4rem; margin-bottom: 0.7rem; font-weight: 700; letter-spacing: -0.5px; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 800px; margin: 0 auto; line-height: 1.6; }

.highlight-cyan { color: var(--neon-cyan); text-shadow: 0 0 15px rgba(0,240,255,0.4); }
.highlight-magenta { color: var(--neon-magenta); text-shadow: 0 0 15px rgba(255,0,234,0.4); }
.highlight-green { color: var(--neon-green); text-shadow: 0 0 15px rgba(0,255,102,0.4); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    background: rgba(7, 11, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    transition: all 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 0 15px rgba(0,240,255,0.6);
}
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.nav-link:hover { color: var(--neon-cyan); }
.social-nav-icon {
    color: var(--neon-magenta);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.social-nav-icon:hover { transform: scale(1.15); }
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Base Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00a2ff);
    color: #03081a;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { 
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7); 
    transform: translateY(-2px); 
    color: #000;
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #ffffff;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-ghost:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 130px 0 80px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}
.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
}
.hero-title {
    font-size: 2.9rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 800;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 620px;
}
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Cyber Showcase Card (Replaces Heavy Video) */
.cyber-showcase-card {
    background: rgba(12, 18, 48, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0, 240, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.showcase-logo-wrap {
    background: #ffffff;
    display: inline-flex;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,240,255,0.6);
    margin-bottom: 18px;
}
.showcase-logo-wrap img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}
.showcase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.showcase-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 18px;
}
.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.showcase-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 6px;
}

/* About / Stats Section */
.about-section {
    padding: 70px 0;
    background: rgba(4, 7, 20, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-purpose {
    background: rgba(0, 240, 255, 0.04);
    border-left: 3px solid var(--neon-cyan);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 2rem;
}
.stat-item {
    background: rgba(10, 16, 42, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
}
.stat-number-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    font-family: 'Space Grotesk', sans-serif;
}
.stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-cyan);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Services Section */
.services-section { padding: 90px 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}
.service-icon {
    width: 38px;
    height: 38px;
    color: var(--neon-cyan);
    margin-bottom: 16px;
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}
.tech-tags li {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Extended Portfolio Section */
.extended-portfolio-section {
    padding: 80px 0;
    background: rgba(4, 7, 20, 0.6);
}
.ep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ep-card {
    background: rgba(10, 16, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.2s ease;
}
.ep-card:hover { border-color: var(--neon-magenta); }
.ep-icon {
    width: 28px;
    height: 28px;
    color: var(--neon-magenta);
    margin-bottom: 10px;
}
.ep-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}
.ep-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Success Cases Section */
.portfolio-section { padding: 90px 0; }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.portfolio-item:hover {
    border-color: var(--neon-green);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.12);
}
.portfolio-image-wrapper {
    height: 190px;
    width: 100%;
    position: relative;
    background: #0d1e3d;
    overflow: hidden;
}
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(3, 8, 26, 0.85);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}
.portfolio-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.project-category {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    margin-bottom: 6px;
}
.project-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.project-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}
.project-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.project-meta-tags span {
    font-size: 0.75rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
}
.btn-live-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.btn-live-link:hover { gap: 10px; color: #ffffff; }

/* Contact & Footer */
.cta-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.05));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-size: 1.3rem;
    margin-top: 10px;
}
.footer-legal-info {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 14px;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 11, 30, 0.97);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-link {
    color: #ffffff;
    font-size: 1.3rem;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    font-weight: 700;
}
.close-mobile {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .ep-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-title { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}
