/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-darker: #060913;
    --bg-dark: #0a0f1d;
    --bg-card: rgba(13, 20, 38, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 230, 118, 0.3);
    
    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    /* Accent Colors */
    --accent-cyber: #00E676; /* Cyber Green */
    --accent-cyber-glow: rgba(0, 230, 118, 0.25);
    --accent-web3: #6366F1; /* Web3 Indigo */
    --accent-web3-glow: rgba(99, 102, 241, 0.25);
    --accent-pink: #d946ef;
    
    /* Fonts */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout Constants */
    --container-width: 1140px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   GLOBAL RESET & BASICS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Background Cyber Grid Matrix */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(13, 20, 38, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 20, 38, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -10;
    pointer-events: none;
}

/* Deep Ambient Glow Orbs */
.glow-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -9;
    opacity: 0.15;
    pointer-events: none;
    animation: drift 25s infinite ease-in-out alternate;
}

.glow-1 {
    background: var(--accent-cyber);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.glow-2 {
    background: var(--accent-web3);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.2); }
}

/* Utility Containers */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    color: var(--text-muted);
}

a {
    color: var(--accent-cyber);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-primary);
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-cyber);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--accent-cyber-glow);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-cyber);
    color: var(--accent-cyber);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.4);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 9, 19, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyber);
}

.btn-nav {
    border: 1px solid var(--accent-cyber);
    padding: 8px 18px;
    border-radius: 4px;
    color: var(--accent-cyber);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.btn-nav:hover {
    background: var(--accent-cyber-glow);
    color: var(--text-primary);
}

#mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   HERO & TERMINAL SECTION
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--accent-cyber);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyber);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyber);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px var(--accent-cyber); }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.highlight-gradient {
    background: linear-gradient(90deg, var(--accent-cyber), var(--accent-web3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Interactive Command Terminal window */
.terminal-window {
    background: rgba(6, 9, 20, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    height: 380px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.terminal-window:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 45px rgba(0,0,0,0.6), 0 0 25px rgba(99, 102, 241, 0.05);
}

.terminal-header {
    background: rgba(13, 20, 38, 0.8);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.window-buttons {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.btn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.btn-close { background-color: #ff5f56; }
.btn-minimize { background-color: #ffbd2e; }
.btn-expand { background-color: #27c93f; }

.terminal-title {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    flex-grow: 1;
    text-align: center;
}

.terminal-icon {
    color: var(--text-muted);
    display: flex;
}

.terminal-body {
    flex-grow: 1;
    padding: 18px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    overflow-y: auto;
    color: #e2e8f0;
    text-align: left;
    scroll-behavior: smooth;
}

.output-line {
    margin-bottom: 6px;
    white-space: pre-wrap;
    word-break: break-all;
}

.system-msg {
    color: var(--text-muted);
}

.cmd-highlight {
    color: var(--accent-cyber);
    font-weight: bold;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.terminal-prompt {
    color: var(--accent-web3);
    margin-right: 8px;
    white-space: nowrap;
}

#terminal-input {
    background: none;
    border: none;
    outline: none;
    color: var(--accent-cyber);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    width: 100%;
}

/* ==========================================================================
   SECTIONS: SHARED UTILITIES
   ========================================================================== */
.section-title {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.title-index {
    font-family: var(--font-mono);
    color: var(--accent-cyber);
    font-size: 1.1rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 0.95rem;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.about-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
}

.profile-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.profile-info p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyber);
}

.profile-details {
    list-style: none;
}

.profile-details li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.profile-details li:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: var(--text-muted);
}

.detail-val {
    color: var(--text-primary);
    font-weight: 500;
}

.status-green {
    color: var(--accent-cyber);
    background: rgba(0, 230, 118, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* ==========================================================================
   TECHNICAL SKILLS SECTION
   ========================================================================== */
.skills-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(12px);
}

.skills-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.skill-tab {
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.skill-tab:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.skill-tab.active {
    color: var(--accent-cyber);
    border-color: rgba(0, 230, 118, 0.2);
    background-color: rgba(0, 230, 118, 0.05);
}

.skills-grid {
    position: relative;
    min-height: 250px;
}

.skill-category-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: var(--transition-smooth);
}

.skill-category-group.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.skill-name {
    font-weight: 500;
}

.skill-percentage {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

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

.skill-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Set standard accent-colored bars dynamically */
.skill-category-group[data-group="offensive"] .skill-fill { background-color: var(--accent-cyber); box-shadow: 0 0 8px var(--accent-cyber-glow); }
.skill-category-group[data-group="programming"] .skill-fill { background-color: var(--accent-web3); box-shadow: 0 0 8px var(--accent-web3-glow); }
.skill-category-group[data-group="mobile"] .skill-fill { background-color: var(--accent-pink); box-shadow: 0 0 8px rgba(217, 70, 239, 0.3); }
.skill-category-group[data-group="platforms"] .skill-fill { background-color: var(--text-primary); }

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.05);
}

/* DeOldify Highlights with Accent Board */
.project-card.highlight-card {
    border-color: rgba(217, 70, 239, 0.2);
    background: linear-gradient(145deg, var(--bg-card), rgba(217, 70, 239, 0.03));
}

.project-card.highlight-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(217, 70, 239, 0.1);
}

.highlight-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(217, 70, 239, 0.1);
    border: 1px solid rgba(217, 70, 239, 0.3);
    color: var(--accent-pink);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-tag-def {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.project-link-icon {
    color: var(--text-muted);
}

.project-link-icon:hover {
    color: var(--accent-cyber);
}

.project-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.project-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.project-tech-tags li {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 3px 8px;
    border-radius: 3px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.project-link-inline a {
    color: var(--accent-pink);
    font-weight: 500;
}

.project-link-inline a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 31px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyber), var(--accent-web3), transparent);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-darker);
    border: 2px solid var(--accent-web3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-item:first-child .timeline-badge {
    border-color: var(--accent-cyber);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-web3);
    border-radius: 50%;
}

.timeline-item:first-child .badge-dot {
    background-color: var(--accent-cyber);
    box-shadow: 0 0 6px var(--accent-cyber-glow);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateX(4px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.role-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.company-name {
    font-family: var(--font-mono);
    color: var(--accent-cyber);
    font-size: 0.8rem;
}

.work-period {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 4px;
}

.experience-bullets {
    list-style: none;
}

.experience-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.experience-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyber);
}

.experience-bullets li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CERTIFICATIONS & EDUCATION DUAL GRID
   ========================================================================== */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.certification-card, .education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 20px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    height: calc(100% - 50px); /* Fill space below heading */
}

.certification-card:hover {
    border-color: rgba(0, 230, 118, 0.25);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.04);
}

.education-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.04);
}

.cert-icon, .edu-icon {
    flex-shrink: 0;
}

.cert-info h4, .edu-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.issuer, .university {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.badge-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 12px;
}

.cpts-badge {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--accent-cyber);
}

.cert-link {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
}

.edu-period {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-web3);
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.edu-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-lead {
    font-size: 1rem;
    margin-bottom: 30px;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.92rem;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyber);
}

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

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--accent-cyber);
    border-color: var(--accent-cyber);
    background-color: var(--accent-cyber-glow);
    transform: translateY(-3px);
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 35px;
    backdrop-filter: blur(12px);
}

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

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: rgba(6, 9, 20, 0.6);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-cyber);
    box-shadow: 0 0 10px var(--accent-cyber-glow);
    background: rgba(6, 9, 20, 0.8);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    background-color: var(--bg-darker);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-domain a {
    color: var(--accent-web3);
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 5px;
}

.inline-cert-link {
    color: var(--accent-cyber);
    font-weight: 700;
    border-bottom: 1px dashed var(--accent-cyber);
}

.inline-cert-link:hover {
    color: var(--text-primary);
    border-bottom-style: solid;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-bottom: 50px;
    }
    
    .badge-status {
        margin: 0 auto 24px auto;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #mobile-nav-toggle {
        display: block;
    }
    
    #nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(6, 9, 19, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 0 solid var(--border-color);
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }
    
    #nav-menu.active {
        height: calc(100vh - 70px);
        border-bottom-width: 1px;
    }
    
    #nav-menu ul {
        flex-direction: column;
        padding: 50px 0;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        padding: 20px;
    }
    
    .skill-category-group {
        grid-template-columns: 1fr;
        position: relative;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 16px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-badge {
        left: 5px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-box {
        padding: 24px;
    }
}
