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

:root {
    --neon-red: #ff003c;
    --neon-yellow: #ffd700;
    --neon-cyan: #00fff5;
    --oil-black: #0d0d0d;
    --steel-gray: #1a1a1a;
    --metal-silver: #c0c0c0;
    --rust-orange: #d4622f;
    --neon-purple: #8a2be2;
    --neon-blue: #0080ff;
    --primary-gradient: linear-gradient(135deg, var(--neon-red), var(--neon-purple));
    --secondary-gradient: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Animated Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 98%, rgba(255, 0, 60, 0.15) 100%),
        linear-gradient(0deg, transparent 98%, rgba(255, 0, 60, 0.15) 100%);
    background-size: 80px 80px;
    z-index: -2;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 60, 0.15), transparent 60%),
                radial-gradient(ellipse at 100% 50%, rgba(255, 215, 0, 0.1), transparent 60%),
                radial-gradient(ellipse at 0% 100%, rgba(0, 255, 245, 0.1), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.brand:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
}

.wrench-icon {
    font-size: 2rem;
    animation: wrenchSpin 4s ease-in-out infinite;
}

@keyframes wrenchSpin {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.1), rgba(138, 43, 226, 0.1));
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    animation: heroGlow 10s infinite alternate;
}

.hero-text h1 .name {
    color: var(--neon-yellow);
    text-shadow: 0 0 30px var(--neon-yellow), 0 0 60px var(--neon-yellow);
    display: block;
    animation: glitch 3s infinite;
}

.hero-text h1 .subtitle {
    font-size: 0.6em; /* Increased size */
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 10px;
    text-shadow: 0 0 20px var(--neon-cyan);
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-2px, 2px); }
}

@keyframes heroGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.1) hue-rotate(5deg); }
}

.hero-text .tagline {
    font-size: 1.8rem;
    color: var(--metal-silver);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-left: 4px solid var(--neon-red);
    padding-left: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.1), rgba(0, 0, 0, 0.5));
    border: 2px solid var(--neon-red);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-box::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: left 0.5s;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--neon-red);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-box .label {
    font-size: 0.9rem;
    color: var(--metal-silver);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-visual {
    position: relative;
}

.visual-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 3px solid var(--neon-red);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.rotating-circle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--neon-yellow);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-yellow);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-orbit {
    position: absolute;
    font-size: 3rem;
    animation: orbit 15s linear infinite;
}

.icon-orbit:nth-child(1) {
    color: var(--neon-red);
    animation-delay: 0s;
}

.icon-orbit:nth-child(2) {
    color: var(--neon-yellow);
    animation-delay: -5s;
}

.icon-orbit:nth-child(3) {
    color: var(--neon-cyan);
    animation-delay: -6s; /* Adjusted delay for 5 icons */
}

.icon-orbit:nth-child(4) {
    color: var(--neon-red); /* New color for the 4th icon */
    animation-delay: -9s;
}

.icon-orbit:nth-child(5) {
    color: var(--neon-yellow); /* New color for the 5th icon */
    animation-delay: -12s;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

/* About Section */
.about {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--neon-red);
    text-shadow: 0 0 40px var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 10px;
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.intro-card {
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.05), rgba(0, 0, 0, 0.8));
    border: 2px solid var(--steel-gray);
    border-left: 6px solid var(--neon-red);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.intro-card:hover::before {
    width: 100%;
}

.intro-card:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 40px rgba(255, 0, 60, 0.3);
}

.intro-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--neon-yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.intro-card p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.specs-section {
    margin-top: 5rem;
}

.specs-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.spec-card {
    position: relative;
    padding: 3rem 2.5rem;
    overflow: hidden;
    transition: all 0.5s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Hardware Card - Red Theme */
.spec-card.hardware {
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.1), rgba(0, 0, 0, 0.9));
    border: 2px solid var(--neon-red);
}

.spec-card.hardware::before {
    content: '⚙';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 250px;
    opacity: 0.05;
    animation: rotate 20s linear infinite;
}

.spec-card.hardware:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 0, 60, 0.5);
    border-color: var(--neon-red);
}

.spec-card.hardware .icon-wrapper {
    font-size: 4rem;
    color: var(--neon-red);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Software Card - Cyan Theme */
.spec-card.software {
    background: linear-gradient(135deg, rgba(0, 255, 245, 0.1), rgba(0, 0, 0, 0.9));
    border: 2px solid var(--neon-cyan);
}

.spec-card.software::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 245, 0.03) 2px, rgba(0, 255, 245, 0.03) 4px);
    pointer-events: none;
    animation: codeScroll 10s linear infinite;
}

@keyframes codeScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.spec-card.software:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 245, 0.5);
    border-color: var(--neon-cyan);
}

.spec-card.software .icon-wrapper {
    font-size: 4rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    position: relative;
}

.spec-card.software .icon-wrapper::before {
    content: '<>';
    position: absolute;
    top: -10px;
    left: -20px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Companion Card - Yellow Theme */
.spec-card.companion {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 0, 0, 0.9));
    border: 2px solid var(--neon-yellow);
}

.spec-card.companion::before {
    content: '🐾';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 100px;
    opacity: 0.08;
    animation: float 3s ease-in-out infinite;
}

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

.spec-card.companion:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5);
    border-color: var(--neon-yellow);
}

.spec-card.companion .icon-wrapper {
    font-size: 4rem;
    color: var(--neon-yellow);
    margin-bottom: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

.spec-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.spec-card.hardware h3 {
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-red);
}

.spec-card.software h3 {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.spec-card.companion h3 {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.spec-card .label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.spec-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Gallery */
.gallery {
    padding: 8rem 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(255,0,60,0.05));
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 3px solid var(--steel-gray);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    transform: scale(1.02) rotate(1deg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 3rem 2rem 2rem;
    transform: translateY(calc(100% - 60px));
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--neon-red);
    color: #000;
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px var(--neon-red);
}

/* CTA Section */
.cta-section {
    padding: 8rem 5%;
    text-align: center;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--primary-gradient);
    border: 3px solid var(--neon-yellow);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.cta-box:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(255, 0, 60, 0.4);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.03) 10px,
        rgba(255, 215, 0, 0.03) 20px
    );
    animation: stripeMove 20s linear infinite;
}

@keyframes stripeMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--neon-yellow);
    text-shadow: 0 0 30px var(--neon-yellow);
    margin-bottom: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .chat-container {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 90px;
    }

    .chat-bubble {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .chat-container {
        width: 95vw;
        right: 2.5vw;
        bottom: 80px;
    }

    .chat-header {
        padding: 10px 15px;
    }

    .chat-header h3 {
        font-size: 1rem;
    }

    .close-chat {
        font-size: 1.5rem;
    }

    .chat-body {
        padding: 15px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .message {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .message-meta {
        font-size: 0.7rem;
    }

    .chat-input {
        padding: 10px 15px;
    }

    .chat-input input[type="text"] {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .chat-input button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

.cta-box p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    text-align: justify;
}

.cta-highlight {
    font-family: 'Montserrat', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.8rem;
    text-shadow: 0 0 20px var(--neon-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rotating-circle {
        width: 300px;
        height: 300px;
    }

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

@media (max-width: 768px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: clamp(3rem, 10vw, 8rem);
    }

    .hero-text .tagline {
        font-size: 1.4rem;
        padding-left: 1rem;
        border-left: 2px solid var(--neon-red);
    }

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

    .stat-box {
        padding: 1rem;
    }

    .section-header h2 {
        font-size: clamp(2.5rem, 7vw, 5rem);
        letter-spacing: 5px;
    }

    .intro-card {
        padding: 2rem;
    }

    .intro-card h3 {
        font-size: 1.6rem;
    }

    .intro-card p {
        font-size: 1.1rem;
    }

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

    .spec-card {
        padding: 2rem;
        min-height: auto;
    }

    .spec-card .icon-wrapper {
        font-size: 3rem;
    }

    .spec-card h3 {
        font-size: 1.5rem;
    }

    .spec-card p {
        font-size: 1rem;
    }

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

    .gallery-item {
        aspect-ratio: 3/2;
    }

    .gallery-caption {
        padding: 2rem 1rem 1rem;
        transform: translateY(calc(100% - 50px));
    }

    .gallery-caption h3 {
        font-size: 1.3rem;
    }

    .gallery-caption p {
        font-size: 1rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .cta-box p {
        font-size: 1.2rem;
    }

    .cta-highlight {
        font-size: 1.5rem;
    }

    nav {
        padding: 1.5rem 5%;
    }

    .brand {
        font-size: 1.3rem;
    }

}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        padding-top: 60px; /* Adjust for fixed nav on small screens */
    }

    nav {
        padding: 0.8rem 3%; /* Further reduced padding */
        background: rgba(0,0,0,0.95); /* Ensure solid background on mobile */
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .brand {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .wrench-icon {
        font-size: 1.3rem;
    }

    .hero {
        padding: 0 3%;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 12vw, 5rem);
        margin-bottom: 0.8rem;
    }

    .hero-text h1 .subtitle {
        font-size: 0.3em; /* Adjusted for better hierarchy */
        letter-spacing: 3px; /* Slightly reduced letter spacing */
    }

    .hero-text .tagline {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-box {
        padding: 0.8rem;
    }

    .stat-box i {
        font-size: 2rem;
    }

    .stat-box .label {
        font-size: 0.8rem;
    }

    .rotating-circle {
        width: 250px;
        height: 250px;
    }

    .icon-orbit {
        font-size: 2.5rem;
        animation: orbit 12s linear infinite;
    }

    .about, .gallery, .cta-section {
        padding: 6rem 3%;
    }

    .section-header h2 {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: 5px;
    }

    .intro-card {
        padding: 1.5rem;
        border-left-width: 4px;
    }

    .intro-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .intro-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .specs-section {
        margin-top: 3rem;
    }

    .specs-grid {
        gap: 1.5rem;
    }

    .spec-card {
        padding: 1.5rem;
    }

    .spec-card .icon-wrapper {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .spec-card h3 {
        font-size: 1.3rem;
    }

    .spec-card .label {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .spec-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .gallery-item {
        border-width: 2px;
    }

    .gallery-caption {
        padding: 1.5rem 1rem 0.8rem;
        transform: translateY(calc(100% - 40px));
    }

    .gallery-caption h3 {
        font-size: 1.1rem;
    }

    .gallery-caption p {
        font-size: 0.9rem;
    }

    .badge {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .cta-box {
        padding: 2rem 1rem;
        border-width: 2px;
    }

    .cta-box h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-highlight {
        font-size: 1.2rem;
    }

}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #000;
    }
}


.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--neon-red);
    color: #fff;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 0, 60, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulseBubble 2s infinite;
}

.chat-bubble:hover {
    background-color: var(--neon-red);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 60, 0.6);
}

@keyframes pulseBubble {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 0, 60, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 8px 20px rgba(255, 0, 60, 0.6); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 0, 60, 0.4); }
}

/* Chat Container */
.chat-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background: linear-gradient(145deg, var(--steel-gray), var(--oil-black));
    border-radius: 15px;
    border: 1px solid var(--neon-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 0, 60, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Springy effect */
}

.chat-container.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: var(--oil-black);
    color: var(--neon-yellow);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neon-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Russo One', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-yellow);
}

.close-chat {
    background: none;
    border: none;
    color: var(--metal-silver);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px;
}

.close-chat:hover {
    color: var(--neon-red);
    transform: rotate(90deg);
}

.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--steel-gray);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

.chat-body::-webkit-scrollbar {
    width: 10px;
}

.chat-body::-webkit-scrollbar-track {
    background: var(--oil-black);
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--neon-red);
    border-radius: 10px;
    border: 2px solid var(--oil-black);
}

.message {
    max-width: 85%;
    padding: 12px 18px;
    border-radius: 20px;
    line-height: 1.5;
    font-size: 1rem;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.message.sent {
    background: linear-gradient(135deg, var(--neon-cyan), #00aaff);
    color: var(--oil-black);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message.received {
    background: linear-gradient(135deg, var(--rust-orange), var(--neon-red));
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

.message.received .message-meta {
    text-align: left;
}


.chat-input {
    display: flex;
    padding: 15px 20px;
    background-color: var(--oil-black);
    border-top: 1px solid var(--neon-red);
    align-items: center;
}

.chat-input input[type="text"] {
    flex-grow: 1;
    padding: 12px 18px;
    border: 1px solid var(--steel-gray);
    border-radius: 25px;
    background-color: #333;
    color: white;
    font-size: 1rem;
    margin-right: 10px;
    font-family: 'Rajdhani', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input input[type="text"]:focus {
    outline: none;
    border-color: var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.chat-input button {
    background-color: var(--neon-red);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 22px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.chat-input button:hover {
    background-color: var(--rust-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 60, 0.4);
}
/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0, 255, 245, 0.05));
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--steel-gray);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(0, 255, 245, 0.02) 8px,
            rgba(0, 255, 245, 0.02) 16px
        );
    animation: contactGrid 15s linear infinite;
    z-index: 0;
}

@keyframes contactGrid {
    0% { background-position: 0 0; }
    100% { background-position: 16px 16px; }
}

.contact-section .section-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.contact-section .section-header h2 {
    color: var(--neon-cyan);
    text-shadow: 0 0 30px var(--neon-cyan);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-cyan);
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 255, 245, 0.3);
    position: relative;
    z-index: 1;
}

.contact-info p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--metal-silver);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    line-height: 1.5;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info p i {
    color: var(--neon-red);
    font-size: 1.6rem;
    width: 30px;
    text-align: center;
}

.contact-info p a {
    color: var(--neon-yellow);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info p a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--metal-silver);
    opacity: 0.6;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 3%;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info p {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .contact-info p i {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .contact-info p a {
        display: block;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 3%;
    }

    .contact-info {
        padding: 1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .contact-info p i {
        font-size: 1.2rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

#easterEggMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.9), rgba(255, 215, 0, 0.9));
    color: #000;
    padding: 2rem 3rem;
    border-radius: 15px;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 50px rgba(0, 255, 245, 0.8), 0 0 30px rgba(255, 0, 60, 0.6);
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    letter-spacing: 2px;
    z-index: 2000;
    animation: fadeInOut 5s forwards; /* Animation for fading in and out */
    pointer-events: none; /* Allows clicks to pass through */
    white-space: nowrap; /* Prevents text from wrapping */
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

@media (max-width: 768px) {
    #easterEggMessage {
        font-size: clamp(1.2rem, 5vw, 2rem);
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    #easterEggMessage {
        font-size: clamp(1rem, 6vw, 1.5rem);
        padding: 1rem 1.5rem;
    }
}