:root {
    --primary: #00FF41;
    --primary-dim: rgba(0, 255, 65, 0.15);
    --accent: #00D4FF;
    --danger: #FF3366;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #888899;
    --gradient-1: linear-gradient(135deg, #00FF41 0%, #00D4FF 100%);
    --gradient-2: linear-gradient(135deg, #FF3366 0%, #FF6B35 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Skip Link (Erişilebilirlik - Accessibility) */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 10px 20px;
    z-index: 100000;
    text-decoration: none;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

body {
    background: var(--bg-dark);
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas - 3D Neural Network */
#matrixCanvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; transition: opacity 0.5s ease;
    pointer-events: auto; /* Enable mouse interaction */
}

#gameCanvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999; pointer-events: none; display: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo img { height: 36px; }

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

.lang-btn:hover:not(.active) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-dim);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 65, 0.4); }
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
}

.btn:not(.btn-primary):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-1);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 65, 0.5);
}

.btn-glitch {
    font-family: 'JetBrains Mono', monospace;
    min-width: 180px;
    position: relative;
    z-index: 1001;
}

.warning-text {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--danger);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
    animation: warning-pulse 0.6s infinite ease-in-out alternate;
    z-index: 1002;
}

@keyframes warning-pulse {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        text-shadow: 0 0 10px var(--danger);
        color: var(--danger);
    }
    100% {
        transform: translateX(-50%) translateY(-12px) scale(1.15);
        text-shadow: 0 0 20px var(--danger), 0 0 40px #ff0000;
        color: #fff;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 65, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before { transform: scaleX(1); }

.project-icon {
    width: 48px; height: 48px;
    background: var(--primary-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.05);
}

.feature-icon {
    width: 40px; height: 40px;
    background: var(--primary-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
    transform: translateX(8px);
}

.contact-link-icon {
    width: 44px; height: 44px;
    background: var(--primary-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-link-text span {
    display: block;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.contact-form-wrapper {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img { height: 32px; }

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Game UI */
#gameUI {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 10000;
    display: none;
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}

#closeGameBtn {
    font-size: 1.2rem;
    color: var(--danger);
    cursor: pointer;
    border: 1px solid var(--danger);
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    margin-left: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#closeGameBtn:hover {
    background: var(--danger);
    color: white;
}

.score-board {
    color: var(--primary);
    font-size: 1rem;
    background: var(--bg-dark);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

#winScreen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 15, 0.98);
    z-index: 10001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
}

#winScreen h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 30px var(--primary);
}

/* Modals */
#usernameModal, #leaderboardModal {
    font-family: 'Space Grotesk', sans-serif;
}

#usernameModal input {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    width: 280px;
    border-radius: 12px;
    outline: none;
}

#blackoutOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#blackoutOverlay.active { opacity: 1; }

/* 3D Network Instructions */
.network-instructions {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    gap: 2rem;
    background: rgba(10, 10, 15, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    animation: instructionsFadeIn 0.5s ease, instructionsFadeOut 0.5s ease 5s forwards;
    pointer-events: none;
}

@keyframes instructionsFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes instructionsFadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        display: none;
    }
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.instruction-icon {
    font-size: 1.2rem;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .network-instructions {
        display: none;
    }
}

/* Game Mode - hide header when playing */
body.game-active header {
    display: none !important;
}

body.game-active {
    overflow: hidden !important;
}

body.game-active #gameCanvas {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn { width: 100%; }
    
    section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero { padding: 100px 16px 60px; }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-switcher {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 10px;
    }
}

/* ====================================
   GLASSMORPHISM PAGE MODAL
   ==================================== */
.page-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.page-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
}

.page-modal-card {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-modal.active .page-modal-card {
    transform: scale(1);
}

.page-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.page-close-btn:hover {
    background: rgba(255, 51, 102, 0.3);
    border-color: var(--danger);
    transform: rotate(90deg);
}

.page-content {
    padding: 60px 50px 50px;
    overflow-y: auto;
    max-height: 85vh;
    color: white;
}

.page-content::-webkit-scrollbar {
    width: 8px;
}

.page-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.page-content::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 65, 0.3);
    border-radius: 10px;
}

.page-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 65, 0.5);
}

/* Page Content Styles */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.page-section {
    margin-bottom: 40px;
}

.page-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.glass-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateX(5px);
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 255, 65, 0.15);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-right: 8px;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-icon {
    font-size: 1.5rem;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.info-value {
    font-size: 1rem;
    color: white;
}

@media (max-width: 768px) {
    .page-modal-card {
        width: 95%;
        max-width: 500px;
        max-height: 75vh;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.15);
    }

    .page-content {
        padding: 40px 20px 25px;
        max-height: 75vh;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .page-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .page-content h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .page-content h3 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .page-close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.85rem;
    }

    .project-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .contact-info > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }
}

/* ====================================
   NODE HOVER PREVIEW CARD
   ==================================== */
.node-preview {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(0, -50%) scale(0.9);
    width: 380px;
    max-width: 90vw;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9997;
    pointer-events: none;
    will-change: transform, opacity, top, left;
}

.node-preview.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%) scale(1);
}

.node-preview-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.node-preview-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 0 20px currentColor,
                 0 0 40px currentColor;
}

.node-preview-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 18px;
}

.node-preview-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.node-preview-hint span {
    animation: pulseArrow 1.5s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.6;
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .node-preview {
        width: calc(100vw - 40px);
        max-width: 350px;
        padding: 20px 25px;
    }

    .node-preview-icon {
        font-size: 2.5rem;
    }

    .node-preview-title {
        font-size: 1.5rem;
    }

    .node-preview-description {
        font-size: 0.9rem;
    }
}

/* Very small screens - center the card */
@media (max-width: 480px) {
    .node-preview {
        width: calc(100vw - 30px);
        max-width: none;
        padding: 18px 20px;
    }

    .node-preview-icon {
        font-size: 2rem;
    }

    .node-preview-title {
        font-size: 1.3rem;
    }
}
