﻿/* ===================================
   Horizontal Scroll Portfolio
   Modern & Interactive Design
   =================================== */

/* CSS Variables */
:root {
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Colors - Dark Mode Default */
    --bg-primary: #0a0e27;
    --bg-secondary: #151a35;
    --bg-card: #1a1f3a;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #06b6d4;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --header-height: 70px;
    --footer-height: 60px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
[data-bs-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #18181b;
    --text-secondary: #71717a;
    --border-color: rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 16px;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    transition: background-color 0.3s ease;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: rgba(10, 14, 39, 0.90) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 1000;
}

[data-bs-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.90) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Theme Toggle */
.language-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 0.25rem;
}

.lang-btn {
    background: transparent;
    border: none;
    border-radius: 1.25rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    transform: rotate(15deg);
}

.theme-toggle i {
    font-size: 1.2rem;
    position: absolute;
    transition: var(--transition);
}

.theme-toggle .bi-sun-fill {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-toggle .bi-moon-stars-fill {
    opacity: 1;
    transform: rotate(0deg);
}

[data-bs-theme="light"] .theme-toggle .bi-sun-fill {
    opacity: 1;
    transform: rotate(0deg);
}

[data-bs-theme="light"] .theme-toggle .bi-moon-stars-fill {
    opacity: 0;
    transform: rotate(-90deg);
}

/* ===================================
   Horizontal Scroll Container
   =================================== */
.horizontal-scroll-container {
    display: flex;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===================================
   Scroll Sections
   =================================== */
.scroll-section {
    min-width: 100vw;
    height: calc(100vh - var(--header-height));
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem;
    overflow: hidden;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    transform: scale(0.9);
}

/* Hero Section */
.hero-section {
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        var(--bg-primary);
}

.hero-content-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 500;
    animation: bounce-horizontal 2s ease-in-out infinite;
    pointer-events: none;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* ===================================
   Projects Section
   =================================== */
.projects-section {
    background: var(--bg-secondary);
}

.section-header-horizontal {
    text-align: center;
    margin-bottom: 2rem;
}

.projects-horizontal-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 70vh;
}

.projects-horizontal-container::before,
.projects-horizontal-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.projects-horizontal-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.projects-horizontal-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.projects-horizontal-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 1rem 0 2rem 0;
    scroll-behavior: smooth;
}

.projects-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.projects-horizontal-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Project Card - Horizontal */
.project-card-horizontal {
    min-width: 350px;
    max-width: 350px;
    height: auto;
    min-height: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: visible;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-card-horizontal:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    border-color: var(--accent-primary);
}

.project-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-image-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.project-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
    border-radius: 1rem;
    font-weight: 500;
    font-family: var(--font-mono);
}

.project-card-body h5 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.project-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-card-footer-horizontal {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===================================
   Project Detail Modal
   =================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.project-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: none;
    border-radius: 0;
    overflow-y: auto;
    z-index: 2001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.project-modal.active .project-modal-content {
    transform: scale(1);
}

.project-modal-content::-webkit-scrollbar {
    width: 8px;
}

.project-modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.project-modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2002;
}

.project-modal-close:hover {
    background: var(--accent-primary);
    color: white;
    transform: rotate(90deg);
}

#project-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.project-detail-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.6s ease forwards;
}

.project-detail-animate:nth-child(2) {
    animation-delay: 0.1s;
}

.project-detail-animate:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-detail-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.project-detail-content {
    margin-top: 1.5rem;
}

.project-detail-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.project-detail-content h3 i {
    color: var(--accent-primary);
}

.project-detail-content h4 {
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.project-detail-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.project-detail-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.project-detail-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-detail-hero {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
    color: white;
}

.project-detail-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-detail-video {
    margin-bottom: 3rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.project-detail-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 1.5rem;
    background: #000;
}

.project-detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.project-image-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}

.project-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-image-item:hover img {
    transform: scale(1.05);
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.project-detail-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
}

.project-detail-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-detail-content h3 i {
    color: var(--accent-primary);
}

.project-detail-content h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-detail-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-detail-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.project-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===================================
   Filter Pills
   =================================== */
.filter-pill {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: var(--bg-primary);
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-circle {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.avatar-circle:hover {
    transform: scale(1.05) rotate(5deg);
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.skill-card {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.skill-card:hover {
    background: var(--bg-card);
}

.progress {
    background: var(--bg-card);
    border-radius: 1rem;
}

.progress-bar {
    border-radius: 1rem;
    transition: width 1s ease-out;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: white;
}

.contact-card h5 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-card a {
    color: var(--accent-primary);
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--accent-secondary);
}

/* ===================================
   Scroll Navigation Dots
   =================================== */
.scroll-navigation {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.nav-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.3);
}

.nav-dot.active {
    background: var(--accent-primary);
    width: 16px;
    height: 16px;
}

/* ===================================
   Footer
   =================================== */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.90);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 2rem;
}

[data-bs-theme="light"] .footer-fixed {
    background: rgba(255, 255, 255, 0.90);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-secondary);
    margin: 0;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-icon,
.social-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover,
.social-icon-footer:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-card);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .scroll-navigation {
        right: 1rem;
    }

    .project-card-horizontal {
        min-width: 320px;
        max-width: 320px;
    }
    
    .language-toggle {
        order: -1;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    html {
        overflow-y: auto;
        overflow-x: hidden;
    }

    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
    }

    .horizontal-scroll-container {
        flex-direction: column;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .scroll-section {
        min-width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
    }

    .section-content {
        padding: 0 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    .scroll-navigation {
        display: none;
    }

    .avatar-circle {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .project-card-horizontal {
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }

    .projects-horizontal-container {
        height: auto;
    }

    .projects-horizontal-scroll {
        flex-direction: column;
        overflow-x: hidden;
    }

    .footer-fixed {
        position: relative;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
    }

    .project-detail-hero {
        padding: 2rem;
    }

    .project-detail-hero h1 {
        font-size: 2rem;
    }

    .project-detail-content {
        padding: 1.5rem;
    }
    
    .project-detail-video {
        margin-bottom: 2rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.bg-dark {
    background-color: var(--bg-secondary) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* ===================================
   Enhanced Hero Styles
   =================================== */

/* Code Block Hero */
.code-block-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.code-block-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.code-line {
    opacity: 1;
}

.code-indent {
    padding-left: 2rem;
}

.code-comment {
    color: #6c757d;
    font-style: italic;
}

.code-keyword {
    color: #c678dd;
    font-weight: 600;
}

.code-variable {
    color: #e06c75;
}

.code-property {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.code-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent-primary);
    animation: blink 1s infinite;
    margin-left: 4px;
}

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

/* Hero Title */
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.hero-greeting {
    display: inline-block;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
}

.typing-text {
    display: inline-block;
    position: relative;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Button */
.pulse-btn {
    position: relative;
    overflow: hidden;
}

.pulse-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pulse-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .code-block-hero {
        font-size: 0.75rem;
        padding: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-divider {
        height: 30px;
    }
}
