/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #2a2a2a;
    --highlight-color: #00d4aa;
    --highlight-secondary: #00ffcc;
    --text-color: #e0e0e0;
    --text-secondary: #a0a0a0;
    --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00ffcc 100%);
    --shadow-primary: 0 0 20px rgba(0, 212, 170, 0.3);
    --shadow-secondary: 0 5px 15px rgba(0, 0, 0, 0.5);
    --glow-color: rgba(0, 212, 170, 0.4);
    --border-color: rgba(0, 212, 170, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--highlight-color);
    text-decoration: none;
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--highlight-color);
    text-shadow: 0 0 8px var(--glow-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--glow-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="8" fill="%2300d4aa" opacity="0.1">01010101</text></svg>') repeat;
    animation: matrix-fall 25s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes matrix-fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 20px var(--glow-color);
}

.typing-text {
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--highlight-color);
}

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

.hero-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--glow-color);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: 'JetBrains Mono', monospace;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: 2px solid var(--highlight-color);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    color: var(--highlight-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.btn-primary:hover {
    background: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

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

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

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

.profile-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-accent);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.4; }
    100% { transform: scale(1.05); opacity: 0.6; }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--highlight-color);
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--highlight-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    color: var(--highlight-color);
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 3px solid var(--highlight-color);
    background: rgba(0, 212, 170, 0.05);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 10px var(--glow-color);
    font-family: 'JetBrains Mono', monospace;
}

.current-focus, .learning-philosophy {
    margin: 3rem 0;
}

.current-focus h3, .learning-philosophy h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--highlight-color);
}

.focus-list {
    list-style: none;
}

.focus-list li {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--highlight-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.focus-list li:hover {
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateX(5px);
}

.focus-list i {
    color: var(--highlight-color);
    margin-right: 1rem;
    width: 20px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--glow-color);
    background: rgba(42, 42, 42, 0.8);
}

.philosophy-item i {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.philosophy-item h4 {
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(42, 42, 42, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    box-shadow: 0 0 20px var(--glow-color);
    background: rgba(42, 42, 42, 0.8);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-right: 1rem;
}

.category-header h3 {
    font-size: 1.5rem;
    color: var(--highlight-color);
}

.skill-item {
    margin: 1.5rem 0;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(42, 42, 42, 0.8);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    width: 0;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 10px var(--glow-color);
}

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

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

.project-card {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    background: rgba(42, 42, 42, 0.8);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 212, 170, 0.15);
    color: var(--highlight-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 212, 170, 0.25);
    box-shadow: 0 0 8px var(--glow-color);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(42, 42, 42, 0.5);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--glow-color);
    background: rgba(42, 42, 42, 0.8);
}

.stat-icon {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.platforms-section {
    text-align: center;
}

.platforms-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--highlight-color);
}

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

.platform-card {
    background: rgba(42, 42, 42, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-color);
    background: rgba(42, 42, 42, 0.8);
}

.platform-card h4 {
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.contact-item h3 {
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.social-link:hover {
    background: rgba(42, 42, 42, 0.8);
    color: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-color);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

