/* ==========================================================================
   Muhammed Fayis T - Portfolio Stylesheet
   Theme: High-Tech Dark Obsidian, Navy Blue, and Pista Green
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    --bg-primary: #050608;          /* Pure obsidian black */
    --bg-secondary: #0a0f1d;        /* Deep dark navy blue */
    --surface-glass: rgba(13, 22, 42, 0.65); /* Translucent navy glass */
    --border-glass: rgba(110, 231, 183, 0.08); /* Extremely subtle pista-tint border */
    --border-glass-hover: rgba(110, 231, 183, 0.25); /* Active glow border */
    
    /* Pista Green Shades */
    --pista-primary: #4ade80;       /* Luminous pista green */
    --pista-glow: rgba(74, 222, 128, 0.15); /* Pista glow aura */
    --pista-glow-intense: rgba(74, 222, 128, 0.35); /* High-impact glow */
    --pista-dim: #2e8b57;           /* Medium forest/sea green for gradients */
    --pista-dark: #1b4d3e;          /* Dark pistachio shadow */
    
    /* Gradients */
    --grad-pista: linear-gradient(135deg, #4ade80 0%, #14b8a6 100%);
    --grad-dark: linear-gradient(180deg, #050608 0%, #0a0f1d 100%);
    --grad-glass: linear-gradient(135deg, rgba(13, 22, 42, 0.8) 0%, rgba(5, 6, 8, 0.9) 100%);
    
    /* Text Colors */
    --text-primary: #f8fafc;        /* Crisp white-slate */
    --text-secondary: #94a3b8;      /* Mid-tone slate gray */
    --text-muted: #64748b;          /* Darker slate for labels */
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Shadows & Glows */
    --glow-shadow: 0 0 20px var(--pista-glow);
    --glow-shadow-intense: 0 0 35px var(--pista-glow-intense);
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
    
    /* Transition Speed */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(13, 22, 42, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(13, 22, 42, 0.3) 0%, transparent 50%),
        linear-gradient(rgba(110, 231, 183, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 231, 183, 0.007) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Interactive Cursor Glow */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pista-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    mix-blend-mode: screen;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pista-primary);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--text-secondary);
}

.highlight {
    background: var(--grad-pista);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-pista {
    color: var(--pista-primary);
    font-weight: 600;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 50px;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--pista-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--grad-pista);
    border-radius: 2px;
}

/* Button & Link Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--trans-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--grad-pista);
    color: var(--bg-primary);
    box-shadow: var(--glow-shadow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow-intense);
}

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

.btn-secondary:hover {
    background: rgba(110, 231, 183, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

/* Header & Floating Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--trans-normal);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(5, 6, 8, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--trans-normal);
}

.logo {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--pista-primary);
    font-weight: 500;
}

.logo-name {
    margin: 0 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-mono);
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
}

.nav-prefix {
    color: var(--pista-primary);
    opacity: 0.6;
    margin-right: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--pista-primary);
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.4);
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--trans-fast);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(110, 231, 183, 0.05);
    border: 1px solid var(--border-glass-hover);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--pista-primary);
    margin-bottom: 24px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--pista-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pista-primary);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.typed-highlight {
    color: var(--pista-primary);
    font-weight: 600;
}

.typed-cursor {
    color: var(--pista-primary);
    font-weight: 300;
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 17px;
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* IDE / Terminal Mockup Card */
.hero-terminal {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    transition: var(--trans-normal);
}

.hero-terminal:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
}

.terminal-header {
    background: rgba(5, 6, 8, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 20px;
    color: var(--text-secondary);
    font-size: 12px;
    flex-grow: 1;
}

.terminal-action-icons {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
}

.terminal-body {
    padding: 20px;
    color: var(--text-primary);
    min-height: 230px;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.term-prompt {
    color: var(--pista-primary);
    margin-right: 8px;
}

.term-cmd {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.json-key {
    color: var(--pista-primary);
    font-weight: 500;
}

.json-val {
    color: #14b8a6; /* teal accent */
}

.term-cursor {
    width: 6px;
    height: 12px;
    background: var(--pista-primary);
    display: inline-block;
    animation: cursor-blink 1s infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: var(--trans-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--pista-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--pista-primary);
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.paragraph {
    font-size: 16px;
    margin-bottom: 20px;
}

.quick-facts {
    margin-top: 36px;
    background: rgba(13, 22, 42, 0.4);
    border: 1px solid var(--border-glass);
    padding: 24px;
    border-radius: 10px;
}

.facts-title {
    font-family: var(--font-mono);
    color: var(--pista-primary);
    font-size: 16px;
    margin-bottom: 16px;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-label {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.fact-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Cyber Avatar Visual Card */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-card-wrapper {
    position: relative;
    padding: 10px;
}

.cyber-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--pista-primary), transparent 60%, var(--pista-dim));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.cyber-card {
    background: var(--grad-glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 30px;
    width: 320px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
}

.cyber-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glow-shadow);
}

.avatar-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: rgba(13, 22, 42, 0.8);
    border: 2px solid var(--pista-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--glow-shadow);
}

.avatar-icon {
    font-size: 48px;
    color: var(--pista-primary);
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
}

.avatar-decoration span {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--pista-primary);
    opacity: 0.3;
}

.avatar-decoration span:nth-child(1) {
    inset: -6px;
    animation: rotate 12s linear infinite;
}

.avatar-decoration span:nth-child(2) {
    inset: -12px;
    animation: rotate-reverse 16s linear infinite;
}

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

@keyframes rotate-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.card-name {
    font-size: 20px;
    margin-bottom: 6px;
}

.card-role {
    font-family: var(--font-mono);
    color: var(--pista-primary);
    font-size: 13px;
    margin-bottom: 16px;
}

.card-status-pill {
    display: inline-block;
    background: rgba(74, 222, 128, 0.1);
    color: var(--pista-primary);
    border: 1px solid rgba(74, 222, 128, 0.2);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 30px;
}

/* Skills (Technical Matrix) Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-category-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--trans-normal);
}

.skill-category-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 30px -10px rgba(74, 222, 128, 0.08);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.category-icon {
    font-size: 22px;
    color: var(--pista-primary);
}

.category-title {
    font-size: 18px;
    color: var(--text-primary);
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-size: 14px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--grad-pista);
    border-radius: 4px;
    transition: var(--trans-slow) ease-in-out;
}

/* Projects Section */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 13px;
    cursor: pointer;
    transition: var(--trans-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--grad-pista);
    color: var(--bg-primary);
    border-color: var(--pista-primary);
    box-shadow: var(--glow-shadow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--trans-normal);
}

.project-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-8px);
    box-shadow: var(--glow-shadow);
}

.project-banner {
    height: 160px;
    background: #091325;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.project-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(110, 231, 183, 0.1) 0%, transparent 80%);
}

.project-banner-icon {
    font-size: 60px;
    color: var(--pista-primary);
    opacity: 0.6;
    transition: var(--trans-normal);
}

.project-card:hover .project-banner-icon {
    transform: scale(1.15) rotate(5deg);
    opacity: 0.95;
    text-shadow: 0 0 25px rgba(110, 231, 183, 0.6);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(5, 6, 8, 0.7);
    border: 1px solid var(--border-glass-hover);
    color: var(--pista-primary);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.project-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech-list li {
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(110, 231, 183, 0.05);
    color: var(--pista-primary);
    border: 1px solid rgba(110, 231, 183, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Accordion Contribution Details */
.project-highlights {
    margin-bottom: 24px;
    border-radius: 6px;
    background: rgba(5, 6, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.project-highlights summary {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
}

.project-highlights summary::-webkit-details-marker {
    display: none;
}

.project-highlights summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--pista-primary);
    transition: transform var(--trans-fast);
}

.project-highlights[open] summary::after {
    transform: rotate(180deg);
}

.project-highlights ul {
    padding: 0 14px 14px 28px;
    list-style-type: square;
}

.project-highlights li {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.project-links {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.project-link-btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    font-family: var(--font-mono);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--trans-fast);
}

.project-link-btn:hover:not(.disabled) {
    color: var(--bg-primary);
    background: var(--pista-primary);
    border-color: var(--pista-primary);
}

.project-link-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Experience / Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--pista-primary) 0%, rgba(110, 231, 183, 0.05) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 3px solid var(--pista-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--pista-primary);
    z-index: 10;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--pista-primary);
    margin-bottom: 6px;
    font-weight: 500;
}

.timeline-content {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--trans-normal);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-glass-hover);
    box-shadow: 0 5px 25px -10px rgba(74, 222, 128, 0.08);
}

.timeline-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-skills span {
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Contact Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.info-card-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-card-description {
    font-size: 15px;
    margin-bottom: 30px;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

.info-detail-item:hover {
    transform: translateX(4px);
}

.info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(110, 231, 183, 0.05);
    border: 1px solid rgba(110, 231, 183, 0.1);
    color: var(--pista-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.info-detail-item:hover .info-icon-box {
    background: var(--grad-pista);
    color: var(--bg-primary);
    box-shadow: var(--glow-shadow);
}

.info-text-box {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--trans-fast);
}

.social-links a:hover {
    color: var(--pista-primary);
    border-color: var(--pista-primary);
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.2);
    transform: translateY(-2px);
}

/* Contact Form - Terminal theme */
.contact-form-card {
    background: rgba(5, 6, 8, 0.8);
    border: 1px solid var(--border-glass-hover);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--pista-primary);
    opacity: 0.9;
}

.form-input {
    background: rgba(10, 15, 29, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 14px;
    transition: var(--trans-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--pista-primary);
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.1);
    background: rgba(10, 15, 29, 0.9);
}

.btn-submit {
    align-self: flex-start;
    background: transparent;
    color: var(--pista-primary);
    border: 1px solid var(--pista-primary);
    font-family: var(--font-mono);
    padding: 12px 24px;
    box-shadow: var(--glow-shadow);
    font-size: 14px;
}

.btn-submit:hover {
    background: var(--pista-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-shadow-intense);
    transform: translateY(-2px);
}

.btn-submit-icon {
    font-size: 12px;
}

/* Submission Feedback Output */
.form-feedback-terminal {
    background: #040810;
    border: 1px solid #14b8a6;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.1);
}

.form-feedback-terminal.hidden {
    display: none;
}

.feedback-header {
    background: #020408;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feedback-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.feedback-dot.red { background: #ff5f56; }
.feedback-dot.yellow { background: #ffbd2e; }
.feedback-dot.green { background: #27c93f; }

.feedback-title {
    margin-left: 12px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
}

.feedback-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
}

.feedback-status-ok {
    color: var(--pista-primary);
    font-weight: bold;
}

.feedback-text {
    color: var(--text-secondary);
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    background: #020305;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-design-credit {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--pista-primary);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-terminal {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(2, 3, 5, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid var(--border-glass-hover);
        z-index: 999;
        transition: var(--trans-normal);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 36px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .mobile-nav-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        padding-left: 36px;
    }
    
    .timeline-dot {
        left: 3px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
}
