/* ============================================
   FONT SETUP - Aeonik Mono
   ============================================ */

/* 
To use Aeonik Mono font, add @font-face declarations here:
Example:
@font-face {
    font-family: 'Aeonik Mono';
    src: url('fonts/AeonikMono-Regular.woff2') format('woff2'),
         url('fonts/AeonikMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeonik Mono';
    src: url('fonts/AeonikMono-Medium.woff2') format('woff2'),
         url('fonts/AeonikMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeonik Mono';
    src: url('fonts/AeonikMono-Bold.woff2') format('woff2'),
         url('fonts/AeonikMono-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
    /* Color Palette - Modern/Retro */
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #ff0080;
    --accent: #00d4ff;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border: #2a2a2a;
    --grid-color: rgba(0, 255, 136, 0.1);
    
    /* Typography */
    --font-primary: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
}

h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.9rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1vw, 0.85rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-number {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--text-primary);
}

.highlight {
    color: var(--primary);
    position: relative;
}

/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */

.main-content {
    margin-left: 220px;
    transition: var(--transition-base);
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem;
}

.sidebar-logo {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo a {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.2;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition-base);
    border-radius: 4px;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: var(--transition-base);
}

.link-number {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    min-width: 20px;
    transition: var(--transition-base);
}

.link-text {
    flex: 1;
    transition: var(--transition-base);
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(0, 255, 136, 0.05);
}

.sidebar-link:hover::before {
    height: 60%;
}

.sidebar-link:hover .link-number {
    color: var(--primary);
}

.sidebar-link.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.sidebar-link.active::before {
    height: 100%;
}

.sidebar-link.active .link-number {
    color: var(--primary);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.nav-indicator {
    width: 100%;
    height: 2px;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.nav-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.1s ease;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
}

.sidebar-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   INTRO SECTION
   ============================================ */

.intro {
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    opacity: 0.5;
    z-index: 1;
}

.intro-image .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    border-radius: 8px;
}


.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.intro-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    border-radius: 9999px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}

.intro-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-transform: uppercase;
}

.name-large {
    font-size: clamp(2rem, 4.5vw, 3.75rem) !important;
    line-height: 1.1;
}

.intro-description {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.intro-cta {
    margin-top: 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-line:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

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

.about-visual {
    position: relative;
}

.code-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.code-dot:nth-child(1) {
    background: #ff5f56;
}

.code-dot:nth-child(2) {
    background: #ffbd2e;
}

.code-dot:nth-child(3) {
    background: #27c93f;
}

.code-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword {
    color: var(--primary);
}

.code-variable {
    color: var(--accent);
}

.code-property {
    color: var(--secondary);
}

.code-string {
    color: var(--primary);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */

.experience {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 136, 0.03) 2px,
            rgba(0, 255, 136, 0.03) 4px
        );
    pointer-events: none;
    z-index: 0;
}

.experience .container {
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-description {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.timeline-achievements {
    list-style: none;
    padding-left: 0;
}

.timeline-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.timeline-achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */

.case-studies {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(0, 255, 136, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(255, 0, 128, 0.06) 0%, transparent 40%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(0, 255, 136, 0.02) 50px,
            rgba(0, 255, 136, 0.02) 52px
        );
    pointer-events: none;
    z-index: 0;
}

.case-studies-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}


.case-studies-header {
    margin-bottom: 3rem;
}

.case-studies-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.case-studies-tabs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-tertiary);
}

.case-studies-tabs::-webkit-scrollbar {
    height: 4px;
}

.case-studies-tabs::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.case-studies-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.case-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    position: relative;
    min-width: fit-content;
}

.case-tab::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 9999px;
    transition: var(--transition-base);
}

.case-tab:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.case-tab.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.case-tab.active::before {
    width: 60%;
}

.tab-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.case-tab.active .tab-number,
.case-tab:hover .tab-number {
    color: var(--primary);
}

.tab-title {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-studies-content {
    position: relative;
    min-height: 500px;
}

.case-study {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.case-study.active {
    display: block;
}

.case-study-inner {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    padding: 3rem;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.case-client {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.case-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.case-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-description {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-detail-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-left: 2px solid var(--primary);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.case-detail-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, transparent 30%),
        linear-gradient(0deg, rgba(0, 255, 136, 0.04) 0%, transparent 30%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 255, 136, 0.02) 10px,
            rgba(0, 255, 136, 0.02) 11px
        );
    pointer-events: none;
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 1;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1200px) {
    .skills-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-content {
        grid-template-columns: 1fr;
    }
}

.skills-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 30px,
            rgba(0, 255, 136, 0.015) 30px,
            rgba(0, 255, 136, 0.015) 32px
        );
    pointer-events: none;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-lead {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    transition: var(--transition-base);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-nav {
        transform: translateX(-100%);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    
    .sidebar-nav.active {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(4px);
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-image {
        order: -1;
    }
    
    .case-metrics {
        grid-template-columns: 1fr;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar-nav {
        width: 200px;
    }
    
    .sidebar-content {
        padding: 2rem 1.5rem;
    }
    
    .sidebar-logo {
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    :root {
        --section-padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .result-card {
        padding: 2rem;
    }
    
    .result-metric {
        font-size: 2.5rem;
    }
}
