/* Global Variables & Theming */
:root {
    /* Colors - Dark Carbon / Industrial Theme */
    --bg-primary: #0a0a0c;
    --bg-secondary: #121316;
    --bg-tertiary: #1c1d22;
    --text-primary: #f0f0f5;
    --text-secondary: #9aa0a6;
    --accent-blue: #007acc; /* Electric Blue */
    --accent-blue-glow: rgba(0, 122, 204, 0.3);
    --accent-orange: #ff5722;
    --metallic-silver: #a0aab2;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Subtle Noise Overlay for industrial texture */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography Highlights */
.highlight-blue {
    color: var(--accent-blue);
    text-shadow: 0 0 15px var(--accent-blue-glow);
}

.accent {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    font-family: var(--font-heading);
    border-radius: 4px;
    transition: var(--transition-medium);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

.btn-primary:hover {
    background-color: transparent;
    box-shadow: 0 0 25px var(--accent-blue-glow);
}

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

.btn-secondary:hover {
    border-color: var(--metallic-silver);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width var(--transition-fast);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    padding-top: 80px; /* offset for nav */
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--metallic-silver);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* --- Massive Futuristic Mechanical World Background --- */
#futuristic-mech-world {
    position: fixed;
    top: -20%; left: -20%;
    width: 140vw; height: 140vh;
    z-index: -2;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Layer 1: Titan Gears (Far background) */
.layer-1 { opacity: 0.05; filter: blur(4px); }
.titan-gear {
    position: absolute;
    width: 1200px; height: 1200px;
}
.gear-left {
    top: -200px; left: -300px;
    animation: spinGear 120s linear infinite;
}
.gear-right {
    bottom: -400px; right: -200px;
    animation: spinGear 180s linear infinite reverse;
}

/* Layer 2: HUD Schematics (Midground) */
.layer-2 { opacity: 0.15; filter: blur(1px); }
.hud-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(0, 122, 204, 0.4);
}
.ring-1 {
    width: 800px; height: 800px;
    top: 10%; right: 5%;
    animation: spinGear 60s linear infinite;
}
.ring-2 {
    width: 1000px; height: 1000px;
    bottom: 0%; left: 10%;
    border: 1px dotted rgba(255, 0, 128, 0.3);
    animation: spinGear 90s linear infinite reverse;
}
.hud-grid {
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 122, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 204, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    transform: perspective(1000px) rotateX(60deg) translateY(-20%);
}

/* Layer 3: Tech Details (Foreground) */
.layer-3 { opacity: 0.3; filter: blur(0px); }
.hud-crosshair {
    position: absolute;
    width: 300px; height: 300px;
}
.ch-1 { top: 20%; left: 15%; animation: spinGear 40s linear infinite; }
.ch-2 { bottom: 30%; right: 20%; animation: spinGear 30s linear infinite reverse; }

/* --- Mechanical Car Analysis (FEA / CFD) --- */
.car-analysis {
    position: relative;
    width: 500px;
    height: 200px;
    background: rgba(0, 122, 204, 0.05);
    border: 1px solid rgba(0, 122, 204, 0.3);
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0, 122, 204, 0.1);
    overflow: hidden;
}

.car-wireframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

/* FEA Heatmap Layer (Stress Points) */
.fea-heatmap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    background: radial-gradient(circle at 25% 70%, rgba(255,0,0,0.7) 0%, rgba(255,255,0,0.4) 20%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255,0,0,0.7) 0%, rgba(255,255,0,0.4) 20%, transparent 40%),
                radial-gradient(ellipse at 50% 40%, rgba(0,255,0,0.4) 0%, transparent 50%);
    animation: cycleFEA 12s infinite;
}

/* CFD Wind Tunnel Lines */
.cfd-wind-tunnel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    animation: cycleCFD 12s infinite;
}

.wind-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 204, 0.9), transparent);
    width: 150px;
    animation: flowWind 3s linear infinite;
    opacity: 0.6;
}

.w1 { top: 20%; animation-duration: 2.5s; animation-delay: 0s; }
.w2 { top: 35%; animation-duration: 3s; animation-delay: 0.5s; width: 250px; }
.w3 { top: 45%; animation-duration: 2.2s; animation-delay: 1s; }
.w4 { top: 55%; animation-duration: 3.5s; animation-delay: 0.2s; width: 300px; }
.w5 { top: 75%; animation-duration: 2.8s; animation-delay: 0.8s; }

@keyframes flowWind {
    0% { left: -50%; }
    100% { left: 120%; }
}

/* Scanning Laser */
.analysis-scanner {
    position: absolute;
    top: -10%; left: 0;
    width: 3px; height: 120%;
    background: #ff0080;
    box-shadow: 0 0 20px 5px rgba(255, 0, 128, 0.6);
    z-index: 10;
    animation: scanAnalysis 6s ease-in-out infinite alternate;
}

@keyframes scanAnalysis {
    0% { left: -10%; }
    100% { left: 110%; }
}

/* Cycle between FEA and CFD */
@keyframes cycleFEA {
    0%, 40% { opacity: 0; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes cycleCFD {
    0%, 40% { opacity: 1; }
    50%, 90% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- Generic Section Setup --- */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    display: flex;
    justify-content: flex-end; /* Shifted to the far right edge */
    position: relative;
}

.profile-gear-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.profile-circle {
    width: 280px;
    height: 380px; /* Taller capsule shape to show face and hand */
    border-radius: 140px; /* Pill/capsule shape to match gears */
    overflow: hidden;
    position: relative;
    z-index: 5;
    border: 4px solid var(--accent-blue);
    box-shadow: 0 0 25px rgba(0, 122, 204, 0.4);
    background: var(--bg-tertiary);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Focus on upper body and face */
    transition: transform var(--transition-medium);
}

.profile-gear-wrapper:hover .profile-img {
    transform: scale(1.08);
}

/* Interactive Gears Background */
.profile-gear {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.profile-gear-outer {
    width: 340px;
    height: 340px;
    border: 3px dashed rgba(0, 122, 204, 0.3);
    animation: spin 20s linear infinite;
}

.profile-gear-inner {
    width: 310px;
    height: 310px;
    border: 2px dotted rgba(255, 255, 255, 0.15);
    animation: spin 15s linear infinite reverse;
}

.profile-gear-wrapper:hover .profile-gear-outer {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue-glow);
    animation-duration: 8s; /* Speeds up on hover! */
}

.profile-gear-wrapper:hover .profile-gear-inner {
    border-color: rgba(255, 255, 255, 0.6);
    animation-duration: 5s; /* Speeds up on hover! */
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.skills-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-tertiary);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-blue);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.skill-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--metallic-silver);
    font-size: 0.95rem;
}

/* --- Projects Section --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* --- Category Side Scroll Feature --- */
#categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem; /* Space for hover effects & scrollbar */
    gap: 2.5rem;
}

/* Custom Scrollbar for Categories */
#categories-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar as requested */
}
#categories-grid {
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth; /* Smooth sliding for JS buttons */
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    z-index: 10;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

.carousel-btn.left {
    left: -20px;
}

.carousel-btn.right {
    right: -20px;
}

#categories-grid .category-card {
    /* Show exactly 3 items at a time on desktop by calculating width minus gaps */
    flex: 0 0 calc(33.333% - 1.66rem); 
    scroll-snap-align: start;
    min-width: 300px; /* Fallback for tablets and mobile to show 1 or 2 items */
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 122, 204, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 122, 204, 0.1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9), transparent);
    display: flex;
    padding: 1rem;
    align-items: flex-end;
    gap: 0.5rem;
}

.tag {
    background-color: rgba(0, 122, 204, 0.8);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-box {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: rgba(0, 122, 204, 0.05);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media screen and (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 6rem 2rem;
    }
    
    .title { font-size: 3rem; }
    
    .cta-buttons {
        justify-content: center;
    }

    .hero-graphic {
        display: flex; 
        transform: scale(0.7);
        margin-top: 2rem;
    }

    .about-grid, .contact-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-box {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --- Interactive Background Glows --- */
.bg-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    transition: transform 3s ease-out; /* Parallax effect */
}
.bg-glow-pink {
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.8) 0%, rgba(255, 0, 128, 0) 70%);
}
.bg-glow-blue {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 122, 204, 0.8) 0%, rgba(0, 122, 204, 0) 70%);
}

/* --- Custom Interactive Cursor --- */
@media (min-width: 768px) {
    body, a, button, .category-card {
        cursor: none !important; /* Hide default cursor only on desktop */
    }
}

.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    /* Hide on mobile by default */
    opacity: 0; 
}

@media (min-width: 768px) {
    .cursor-dot, .cursor-ring {
        opacity: 1; /* Show on desktop */
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue), 0 0 20px rgba(255, 0, 128, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 0, 128, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.2), inset 0 0 15px rgba(255, 0, 128, 0.1);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Hover state for cursor (applied to body via JS) */
body.cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
    background-color: #ff0080;
    box-shadow: 0 0 15px #ff0080;
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent-blue);
    background-color: rgba(0, 122, 204, 0.15);
    box-shadow: 0 0 20px rgba(0, 122, 204, 0.4);
}

/* --- Cinematic Cyber Preloader --- */
#cyber-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* The dark background doors that split open */
.blast-door {
    position: absolute;
    width: 100%;
    height: 50.5vh; /* slightly overlap to prevent gaps */
    background: #050505;
    z-index: 10001;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
    box-shadow: 0 0 50px rgba(0, 122, 204, 0.2);
}
.door-top { top: 0; border-bottom: 2px solid var(--accent-blue); }
.door-bottom { bottom: 0; border-top: 2px solid var(--accent-blue); }

/* When class is applied, doors slide out */
#cyber-preloader.doors-open .door-top { transform: translateY(-100%); }
#cyber-preloader.doors-open .door-bottom { transform: translateY(100%); }

/* Fade out entire preloader container after doors open */
#cyber-preloader.hidden {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease 1s; /* fade out AFTER doors open */
}

/* The neon grid background inside the preloader */
.preloader-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 122, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 204, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 10002;
    opacity: 0.5;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 5s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

/* The SVG blueprint drawing effect */
.preloader-content {
    position: relative;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.blueprint-svg {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

.draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease forwards;
}

/* Make gear spin after it draws */
.gear-path {
    transform-origin: center;
    animation: draw 2s ease forwards, spinGear 1.5s linear infinite 2s;
}

@keyframes draw {
    100% { stroke-dashoffset: 0; }
}

@keyframes spinGear {
    100% { transform: rotate(360deg); }
}

/* Terminal text typing effect */
.terminal-text {
    font-family: 'Courier New', Courier, monospace;
    color: #0f0; /* Classic hacker green, or could be var(--accent-blue) */
    text-shadow: 0 0 8px #0f0;
    font-size: 1.1rem;
    height: 60px; /* fixed height so it doesn't jump */
    text-align: center;
    line-height: 1.5;
}
