/* ============================================
   KORAY VATAN PORTFOLIO - DISTINCTIVE DESIGN
   ============================================ */

:root {
    /* Dark theme with warm accents */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    
    /* Accent colors - Warm coral & cyan contrast */
    --accent-primary: #ff6b4a;
    --accent-secondary: #00d4aa;
    --accent-tertiary: #ffd93d;
    
    /* Text colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(255, 107, 74, 0.3);
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 12vh, 140px);
    --container-width: min(1200px, 90vw);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset link colors for card links */
a.timeline-item,
a.startup-card {
    color: inherit;
    text-decoration: none;
}

a.timeline-item:visited,
a.startup-card:visited {
    color: inherit;
}

a.timeline-item:hover,
a.startup-card:hover {
    color: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

/* Animated Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(255, 107, 74, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 212, 170, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px clamp(24px, 5vw, 60px);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px clamp(24px, 5vw, 60px) var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

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

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

.highlight {
    background: linear-gradient(135deg, var(--accent-primary), #ff8c6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-alt {
    background: linear-gradient(135deg, var(--accent-secondary), #4fffcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.cta-button:hover {
    background: #ff8c6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 74, 0.3);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translate(4px, -4px);
}

/* Code Block Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.15s ease-out;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.code-block:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 74, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.red { background: #ff5f57; box-shadow: 0 0 8px rgba(255, 95, 87, 0.4); }
.dot.yellow { background: #febc2e; box-shadow: 0 0 8px rgba(254, 188, 46, 0.4); }
.dot.green { background: #28c840; box-shadow: 0 0 8px rgba(40, 200, 64, 0.4); }

.code-block pre {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-x: auto;
    position: relative;
}

.code-block code {
    color: var(--text-secondary);
    display: block;
}

/* Typing cursor */
.code-block code::after {
    content: '|';
    color: var(--accent-primary);
    font-weight: bold;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

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

/* Clean code colors - no animation */
.code-block .keyword { color: #c792ea; }
.code-block .variable { color: var(--accent-secondary); }
.code-block .property { color: #82aaff; }
.code-block .string { color: #c3e88d; }

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    padding: 8px 16px;
    background: rgba(255, 107, 74, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) clamp(24px, 5vw, 60px);
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.7;
}

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

.text-highlight {
    color: var(--accent-secondary);
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Experience Section */
.experience {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) clamp(24px, 5vw, 60px);
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.view-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.timeline-item:hover .view-more {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--accent-primary);
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.5);
}

.timeline-item.featured .timeline-marker {
    border-color: var(--accent-secondary);
}

.timeline-item.featured:hover .timeline-marker {
    background: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.timeline-content {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-accent);
    transform: translateX(12px) rotateY(-3deg) rotateX(2deg) scale(1.02);
    box-shadow: 
        -20px 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 107, 74, 0.1);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-badge.remote {
    background: rgba(130, 170, 255, 0.1);
    border-color: rgba(130, 170, 255, 0.3);
    color: #82aaff;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.timeline-item:hover .tag {
    background: rgba(255, 107, 74, 0.1);
    color: var(--accent-primary);
}

/* Courses Section */
.courses {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) clamp(24px, 5vw, 60px);
    max-width: var(--container-width);
    margin: 0 auto;
}

.courses-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    margin-top: -40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.course-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 0, 0, 0.02));
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 
        0 20px 60px rgba(255, 0, 0, 0.15),
        0 0 40px rgba(255, 0, 0, 0.1);
}

.course-card:hover::before {
    opacity: 1;
}

.course-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 20px;
    color: #ff0000;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon {
    background: #ff0000;
    color: white;
    transform: scale(1.1);
}

.course-content {
    flex: 1;
}

.course-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.course-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.course-stats {
    display: flex;
    gap: 24px;
}

.course-stats .stat {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.course-stats .stat strong {
    color: #ff0000;
    font-weight: 700;
}

.course-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    color: #ff0000;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.course-card:hover .course-cta {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.course-cta svg {
    transition: transform 0.3s ease;
}

.course-card:hover .course-cta svg {
    transform: translate(4px, -4px);
}

/* Startups Section */
.startups {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) clamp(24px, 5vw, 60px);
    max-width: var(--container-width);
    margin: 0 auto;
}

.startups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.startup-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.startup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.startup-card:hover {
    transform: translateY(-12px) rotateX(8deg) rotateY(-5deg) scale(1.02);
    border-color: var(--border-accent);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 107, 74, 0.15);
}

.startup-card:hover::before {
    opacity: 1;
}

.startup-card.featured {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(0, 212, 170, 0.05));
    border-color: var(--border-accent);
}

.startup-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 74, 0.1);
    border-radius: 16px;
    color: var(--accent-primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.startup-card:hover .startup-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.startup-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.startup-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.startup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.startup-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.startup-status.active {
    color: var(--accent-secondary);
}

.startup-status.active::before {
    content: '●';
    margin-right: 6px;
    animation: pulse 2s infinite;
}

.startup-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

/* Contact Section */
.contact {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) clamp(24px, 5vw, 60px);
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

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

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 48px;
}

.contact-email:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 107, 74, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 107, 74, 0.2);
}

.contact-email svg {
    transition: transform 0.3s ease;
}

.contact-email:hover svg {
    transform: translate(4px, -4px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    min-width: 130px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(255, 107, 74, 0.2),
        0 0 20px rgba(255, 107, 74, 0.1);
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.social-link:hover svg {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 0 8px rgba(255, 107, 74, 0.5));
}

/* Individual social link colors on hover */
.social-link:nth-child(1):hover {
    border-color: #fff;
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.15),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.social-link:nth-child(1):hover svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.social-link:nth-child(2):hover {
    border-color: #ff0000;
    box-shadow: 
        0 10px 30px rgba(255, 0, 0, 0.2),
        0 0 20px rgba(255, 0, 0, 0.1);
}

.social-link:nth-child(2):hover svg {
    fill: #ff0000;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
}

.social-link:nth-child(3):hover {
    border-color: #0077b5;
    box-shadow: 
        0 10px 30px rgba(0, 119, 181, 0.2),
        0 0 20px rgba(0, 119, 181, 0.1);
}

.social-link:nth-child(3):hover svg {
    fill: #0077b5;
    filter: drop-shadow(0 0 8px rgba(0, 119, 181, 0.5));
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 32px clamp(24px, 5vw, 60px);
    border-top: 1px solid var(--border-subtle);
}

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

.footer .logo {
    font-size: 1.2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        flex: 1;
        min-width: 140px;
    }
    
    .startups-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .course-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Disable 3D transforms on tablet for better performance */
    .startup-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .timeline-item:hover .timeline-content {
        transform: translateX(8px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(50px, 8vh, 80px);
    }
    
    .nav {
        padding: 16px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .code-block {
        max-width: 100%;
    }
    
    .code-block pre {
        font-size: 0.75rem;
        padding: 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }
    
    .about-stats {
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .experience {
        padding: 40px 20px;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-marker {
        left: -24px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-tags {
        gap: 6px;
    }
    
    .tag {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .view-more {
        font-size: 0.8rem;
    }
    
    .startups-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .startup-card {
        padding: 24px;
    }
    
    .startup-card h3 {
        font-size: 1.3rem;
    }
    
    .startup-card p {
        font-size: 0.9rem;
    }
    
    .startup-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .startup-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .startup-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Disable 3D transforms on mobile */
    .startup-card:hover {
        transform: translateY(-6px);
    }
    
    .timeline-item:hover .timeline-content {
        transform: translateX(4px);
    }
    
    .contact h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .contact-email {
        padding: 16px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        padding: 14px;
        min-width: 56px;
        width: 56px;
        height: 56px;
    }
    
    .social-link span {
        display: none;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
    
    .footer {
        padding: 24px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .timeline-item {
        padding-bottom: 32px;
    }
    
    .contact-email {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-email svg {
        display: none;
    }
}

/* Scroll animations */
@keyframes fadeInOnScroll {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about,
.experience,
.startups,
.contact {
    animation: fadeInOnScroll 0.8s ease forwards;
}

/* Selection styling */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

