/* ============================================
   AlienXcode - Cosmic Theme Styles
   ============================================ */

:root {
    --color-bg-primary: #050705;
    --color-bg-secondary: #081008;
    --color-bg-tertiary: #0a150a;

    --color-accent-primary: #00ff66;
    --color-accent-secondary: #006633;
    --color-accent-tertiary: #33ff99;

    --color-text-primary: #e0ffe0;
    --color-text-secondary: #a0c0a0;
    --color-text-muted: #608060;

    --glass-bg: rgba(0, 255, 102, 0.05);
    --glass-border: rgba(0, 255, 102, 0.2);
    --glass-shadow: rgba(0, 255, 102, 0.2);

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--color-accent-primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-primary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Background
   ============================================ */

.star-field {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: var(--radius-full);
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.nebula {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 102, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(51, 255, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 102, 51, 0.08) 0%, transparent 50%);
    animation: nebulaPulse 20s ease-in-out infinite;
}

@keyframes nebulaPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ============================================
   Glass Card
   ============================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(0, 255, 102, 0.1);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(0, 255, 102, 0.6);
    box-shadow:
        0 12px 48px rgba(0, 255, 102, 0.4),
        inset 0 1px 0 rgba(0, 255, 102, 0.2);
    transform: translateY(-5px);
}

/* ============================================
   Navigation - redesigned
   ============================================ */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1240px;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(15, 18, 30, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 255, 102, 0.14);
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(0, 255, 102, 0.06);
    transition: all 0.35s ease;
}

.navbar.scrolled {
    top: 10px;
    padding: 8px 0;
    background: rgba(8, 10, 18, 0.92);
    border-color: rgba(0, 255, 102, 0.22);
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(0, 255, 102, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    
    line-height: 1;
    overflow: visible;
}

.logo-icon {
    display: block;

    height: 44px;   /* keep layout small */
    width: auto;

    transform: scale(200);   /* visual size */
    transform-origin: left center;

    position: relative;
    z-index: 2;

    filter:
        drop-shadow(0 0 20px #00ff66)
        drop-shadow(0 0 40px #3cff00)
        drop-shadow(0 0 80px #1eff00);

    animation: teaserPulse 5s ease-in-out infinite;

}

@keyframes teaserPulse {
    0%, 100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 10px rgba(0, 255, 102, 0.3))
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.2));
    }
    50% {
        transform: scale(1.5);
        filter:
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.6))
            drop-shadow(0 0 40px rgba(0, 255, 102, 0.4));
    }
}



/* layout box stays small */
.logo-text-wrap {
    height: 44px;
    display: flex;
    align-items: center;
    overflow: visible;
    position: relative;
}

/* actual asset stays small in layout, but looks bigger visually */
.logo-text-img {
    display: block;
    height: 44px;
    width: auto;
    object-fit: contain;
    position: relative;
    top: 8px;     /* move down */
    left: -80px;  /* move left */
    transform: scale(6.0);  /* adjust 2.2 to 3.2 until it looks right */
    transform-origin: left center;
    
    filter: drop-shadow(0 0 10px rgba(0,255,102,0.6))
            drop-shadow(0 0 20px rgba(0,255,102,0.3));
    will-change: transform;
}

.logo-text {
    background: linear-gradient(135deg, #00ff66, #33ff99, #006633);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ff66, #33ff99, #006633);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    opacity: 0.3;
    z-index: -1;
}

.logo-text-img {
    height: 44px;
    width: auto;
    object-fit: contain;

    margin-left: 6px;

    filter: drop-shadow(0 0 10px rgba(0,255,102,0.6))
            drop-shadow(0 0 20px rgba(0,255,102,0.3));
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    will-change: transform, opacity;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
    overflow: visible;
}

.hero-logo {
    display: block;
    width: 580px;
    max-width: 90vw;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 20px rgba(0, 255, 102, 0.45))
        drop-shadow(0 0 45px rgba(0, 255, 102, 0.35))
        drop-shadow(0 0 90px rgba(0, 255, 102, 0.22))
        drop-shadow(0 0 140px rgba(0, 255, 102, 0.16));
    animation: float 6s ease-in-out infinite, heroGlowPulse 3.5s ease-in-out infinite;
    transition: transform 0.24s ease-out, filter 0.24s ease-out;
}

body.freeze-hero-logo-on-scroll .hero-logo {
    animation: none !important;
    transform: translateY(0) !important;
    filter:
        drop-shadow(0 0 20px rgba(0, 255, 102, 0.45))
        drop-shadow(0 0 45px rgba(0, 255, 102, 0.35))
        drop-shadow(0 0 90px rgba(0, 255, 102, 0.22))
        drop-shadow(0 0 140px rgba(0, 255, 102, 0.16)) !important;
}

@keyframes heroGlowPulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.45))
            drop-shadow(0 0 45px rgba(0, 255, 102, 0.35))
            drop-shadow(0 0 90px rgba(0, 255, 102, 0.22))
            drop-shadow(0 0 140px rgba(0, 255, 102, 0.16));
    }
    50% {
        filter:
            drop-shadow(0 0 28px rgba(0, 255, 102, 0.65))
            drop-shadow(0 0 60px rgba(0, 255, 102, 0.50))
            drop-shadow(0 0 120px rgba(0, 255, 102, 0.32))
            drop-shadow(0 0 180px rgba(0, 255, 102, 0.22));
    }
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    margin-top: -40px;
    margin-bottom: 0;
    line-height: 1.1;
}

.title-text {
    color: #000;
    opacity: 0;
    display: block;
}
.hero-text-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -220px;   /* move closer to alien logo */
    margin-bottom: -320px;
    width: 100%;
    overflow: visible;
}

.hero-text-logo {
    display: block;
    width: 920px;        /* make bigger */
    max-width: 90vw;
    height: auto;
    object-fit: contain;

    filter:
        drop-shadow(0 0 14px rgba(0, 255, 102, 0.65))
        drop-shadow(0 0 30px rgba(0, 255, 102, 0.35))
        drop-shadow(0 0 60px rgba(0, 255, 102, 0.2));
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 255, 102, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 102, 0.42);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
    transform: translateY(-3px);
}

.btn-icon img {
    height: 50px; /* adjust if needed */
    width: auto;
    display: block;
    
}

@keyframes teaserPulse {
    0%, 100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 10px rgba(0, 255, 102, 0.3))
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.2));
    }
    50% {
        transform: scale(1.06);
        filter:
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.6))
            drop-shadow(0 0 40px rgba(0, 255, 102, 0.4));
    }
}

.btn-icon img {
    animation: teaserPulse 3.0s ease-in-out infinite;
}

.btn-icon img:hover {
    animation: none;
    transform: scale(1.5) rotate(45deg);
}
.company-motto {
    margin-top: 60px;
    width: 100%;
    display: block;
    color: #00ff66;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 4rem);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.6px;
    text-shadow:
        0 0 12px rgba(0, 255, 102, 0.8),
        0 0 24px rgba(0, 255, 102, 0.55),
        0 0 42px rgba(0, 255, 102, 0.35);
}

.scroll-indicator {
    position: absolute;
    bottom:-150px; /* moved down a bit from 50px */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    pointer-events: none;
    z-index: 6;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.section-title {
    text-align: center;
}
/* About */

.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(123, 47, 247, 0.05) 100%);
    margin-top: 1000px;
    padding-top: 100px;
    padding-bottom: 0 !important;
}

.about-card {
    padding: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 30px;
}

.about-title-img {
    width: 420px;
    max-width: 90%;
    height: auto;
    display: block;
    position: relative;
    top: 110px;
    filter:
        drop-shadow(0 0 12px rgba(0, 255, 102, 0.6))
        drop-shadow(0 0 25px rgba(0, 255, 102, 0.3));
    transition: transform 0.3s ease;
}

.about-title-img:hover {
    transform: scale(1.03);
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.about-text p {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Projects */

.projects-section {
    padding-top: 100px !important;
    padding-bottom: var(--spacing-xxl);
    background: linear-gradient(180deg, rgba(123, 47, 247, 0.05) 0%, transparent 100%);
}

.projects-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 10px;
}

.projects-title-img {
    width: 540px;
    max-width: 92%;
    height: auto;
    display: block;
    position: relative;
    top: 80px;
    filter:
        drop-shadow(0 0 12px rgba(0, 255, 102, 0.45))
        drop-shadow(0 0 24px rgba(0, 255, 102, 0.22));
    transition: transform 0.3s ease;
}

.projects-title-img:hover {
    transform: scale(1.03);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.project-card.featured {
    border-color: var(--color-accent-primary);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(0, 255, 102, 0.1),
        0 0 60px rgba(0, 255, 102, 0.2);
}

.project-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-badge {
    background: rgba(0, 255, 102, 0.15); /* subtle glass neon */
    color: #00ff66;

    border: 1px solid rgba(0, 255, 102, 0.4);

    box-shadow:
        0 0 10px rgba(0, 255, 102, 0.6),
        0 0 20px rgba(0, 255, 102, 0.3);

    backdrop-filter: blur(6px);
}

.project-icon {
    height: 150px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.project-icon-image-wrap {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

.project-icon-ppm {
    display: block;
    height: 8rem;
    width: auto;
    object-fit: contain;
    margin-left: -380px;
    transition: transform 0.3s ease;
}

.project-icon-coming {
    display: block;
    height: 9rem;
    width: auto;
    object-fit: contain;
    margin-left: -410px;
    margin-top: -5px;
    transition: transform 0.3s ease;
}

@keyframes teaserPulse {
    0%, 100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 10px rgba(0, 255, 102, 0.3))
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.2));
    }
    50% {
        transform: scale(1.06);
        filter:
            drop-shadow(0 0 20px rgba(0, 255, 102, 0.6))
            drop-shadow(0 0 40px rgba(0, 255, 102, 0.4));
    }
}

.project-icon-ppm,
.project-icon-coming {
    animation: teaserPulse 2.5s ease-in-out infinite;
}

.project-icon-ppm:hover,
.project-icon-coming:hover {
    animation: none;
    transform: scale(1.2) rotate(8deg);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    line-height: 1.2;
}

.project-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 1.15rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-accent-secondary);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-download {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-color: rgba(0, 255, 102, 0.55);
    box-shadow:
        0 0 10px rgba(0, 255, 102, 0.35),
        0 0 20px rgba(0, 255, 102, 0.18);
    transition: all var(--transition-fast);
}

.tag-download:hover {
    background: #00ff66;
    color: #041104;
    border-color: #00ff66;
    box-shadow:
        0 0 14px rgba(0, 255, 102, 0.65),
        0 0 28px rgba(0, 255, 102, 0.35);
    transform: translateY(-1px);
}

.project-links {
    display: flex;
    gap: var(--spacing-sm);
}

/* Contact */

.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.05) 100%);
}

.contact-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.contact-title-img {
    width: 380px;
    max-width: 92%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 12px rgba(0, 255, 102, 0.5))
        drop-shadow(0 0 24px rgba(0, 255, 102, 0.25));
    transition: transform 0.3s ease;
}

.contact-title-img {
    position: relative;
    top: 90px; /* adjust to match others */
}

.contact-title-img:hover {
    transform: scale(1.03);
}

.contact-card {
    padding: var(--spacing-lg) var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.single-line {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    min-height: 48px;
}

.contact-item:hover {
    border-color: var(--color-accent-primary);
    background: rgba(0, 255, 102, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.contact-item a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.contact-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
    filter:
        drop-shadow(0 0 6px rgba(0, 255, 102, 0.5))
        drop-shadow(0 0 12px rgba(0, 255, 102, 0.3));
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--color-accent-primary);
    line-height: 1;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 500;
    line-height: 1.2;
}

/* Legal Links (between Contact and Footer) */
.legal-links-section {
    padding: 0.35rem 0 0.6rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.legal-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px; /* same size for all 3 tabs */
    min-height: 36px;
    color: #ffffff;
    border-color: rgba(0, 255, 102, 0.55);
    box-shadow:
        0 0 10px rgba(0, 255, 102, 0.35),
        0 0 20px rgba(0, 255, 102, 0.18);
    transition: all var(--transition-fast);
}

.legal-link:hover {
    background: #00ff66;
    color: #041104;
    border-color: #00ff66;
    box-shadow:
        0 0 14px rgba(0, 255, 102, 0.65),
        0 0 28px rgba(0, 255, 102, 0.35);
    transform: translateY(-1px);
}

/* Footer */

.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--glass-border);
    background: var(--color-bg-primary);
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Effects
   ============================================ */

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        var(--glass-bg) 0%,
        rgba(123, 47, 247, 0.1) 50%,
        var(--glass-bg) 100%
    );
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.glow-text {
    text-shadow:
        0 0 10px var(--color-accent-primary),
        0 0 20px var(--color-accent-primary),
        0 0 30px var(--color-accent-primary),
        0 0 40px rgba(0, 255, 102, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--glass-shadow); }
    50% { box-shadow: 0 0 40px var(--glass-shadow), 0 0 60px var(--glass-shadow); }
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .logo-text-img {
        height: 48px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

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

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

    .about-card {
        padding: var(--spacing-md);
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .contact-links,
    .single-line {
        flex-direction: column !important;
        align-items: center;
    }

    .legal-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .legal-link {
        width: min(280px, 92vw);
    }

    .about-title-img {
        top: 50px;
        width: 300px;
    }

    .projects-title-img {
        top: 40px;
        width: 320px;
    }

    .contact-title-img {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        width: 360px;
    }

    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.82rem;
    }

    .btn-icon-img {
        width: 20px;
        height: 20px;
    }

    .project-card {
        padding: var(--spacing-md);
    }

    .project-icon-img {
        width: 60px;
        height: 60px;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }

    .contact-item a {
        justify-content: center;
        width: 100%;
    }
}

/* tighten spacing between About / Projects / Contact */
section {
    padding: 0.7rem 0;
}

.about-section {
    margin-top: 200px;
    padding-top: 45px;
    padding-bottom: 0 !important;
}

.projects-section {
    padding-top: 0 !important;
    padding-bottom: 0.9rem;
    margin-top: -35px;
}

.contact-section {
    padding-top: 0;
    padding-bottom: 0.9rem;
}

.about-title {
    margin-bottom: 10px;
}

.projects-title {
    margin-bottom: 0;
}

.contact-title {
    margin-bottom: 10px;
}

.about-title,
.projects-title,
.contact-title {
    margin-bottom: 0;
}

.about-title-img {
    top: 60px;
}

.projects-title-img {
    top: 80px;
}

.contact-title-img {
    top: 60px;
}
/* Fix horizontal background band */
.about-section,
.projects-section,
.contact-section {
    background: transparent !important;
}

/* ============================================
   FINAL MOBILE FIX - AlienXCode
   Paste this at the VERY BOTTOM of style.css
   ============================================ */

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* NAVBAR */
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        padding: 8px 0;
        border-radius: 14px;
    }

    .nav-container {
        padding: 0 14px;
    }

    .logo-icon {
        height: 34px;
        transform: none !important;
    }

    .logo-text-wrap {
        height: 34px;
        max-width: 150px;
        overflow: hidden;
    }

    .logo-text-img {
        height: 30px !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        margin-left: 0 !important;
    }

    .nav-menu {
        width: 78%;
        max-width: 280px;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding: 120px 16px 40px;
        justify-content: flex-start;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-logo-container {
        margin-bottom: 10px;
    }

    .hero-logo {
        width: 82vw;
        max-width: 340px;
        height: auto;
    }

    .hero-text-logo-wrap {
        margin-top: -70px !important;
        margin-bottom: -80px !important;
    }

    .hero-text-logo {
        width: 95vw;
        max-width: 420px;
        height: auto;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1.5px;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 95%;
        margin-bottom: 22px;
    }

    .company-motto {
        margin-top: 32px;
        font-size: 1.35rem;
        line-height: 1.35;
        padding: 0 8px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        min-height: 46px;
        padding: 0.65rem 1rem;
        font-size: 0.78rem;
    }

    .btn-icon img {
        height: 34px;
    }

    .scroll-indicator {
        display: none;
    }

    /* SECTIONS */
    section {
        padding: 36px 0 !important;
    }

    .about-section {
        margin-top: 40px !important;
        padding-top: 30px !important;
    }

    .projects-section {
        margin-top: 0 !important;
        padding-top: 30px !important;
    }

    .contact-section {
        padding-top: 30px !important;
    }

    .about-title-img,
    .projects-title-img,
    .contact-title-img {
        position: static !important;
        top: auto !important;
        margin-bottom: 20px;
    }

    .about-title-img {
        width: 260px;
        max-width: 90vw;
    }

    .projects-title-img {
        width: 300px;
        max-width: 92vw;
    }

    .contact-title-img {
        width: 240px;
        max-width: 90vw;
    }

    /* CARDS */
    .glass-card:hover {
        transform: none;
    }

    .about-card,
    .project-card,
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 22px 16px;
    }

    .about-text h3 {
        font-size: 1.35rem;
        text-align: center;
    }

    .about-text p,
    .project-description,
    .contact-description {
        font-size: 1rem;
        line-height: 1.55;
        text-align: center;
    }

    /* PROJECTS */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-icon {
        height: auto;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
    }

    .project-icon-image-wrap {
        justify-content: center;
        width: 100%;
    }

    .project-icon-ppm,
    .project-icon-coming {
        margin: 0 !important;
        height: 6rem;
        max-width: 90%;
    }

    .project-title {
        font-size: 1.45rem;
        text-align: center;
    }

    .project-tags {
        justify-content: center;
    }

    .project-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .project-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 14px;
    }

    /* CONTACT */
    .contact-links,
    .single-line {
        flex-direction: column !important;
        gap: 14px;
        width: 100%;
    }

    .contact-item {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .contact-item a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .contact-item-text {
        font-size: 0.95rem;
        word-break: break-word;
    }

    /* LEGAL LINKS */
    .legal-links-section {
        padding: 20px 0 12px;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .legal-link {
        width: 90%;
        max-width: 280px;
    }

    /* FOOTER */
    .footer {
        padding: 24px 12px;
    }

    .footer-text,
    .footer-copyright {
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 105px;
    }

    .hero-logo {
        width: 86vw;
        max-width: 300px;
    }

    .hero-text-logo-wrap {
        margin-top: -58px !important;
        margin-bottom: -65px !important;
    }

    .hero-text-logo {
        width: 96vw;
        max-width: 360px;
    }

    .company-motto {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .project-card {
        padding: 20px 14px;
    }
}