:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(20, 20, 20, 0.7);
    --accent-emerald: #10b981;
    --accent-gold: #fbbf24;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --border-glass: rgba(255, 255, 255, 0.1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

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

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.section-tagline {
    color: var(--accent-emerald);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.section-tagline.centered { text-align: center; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title.centered { text-align: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-emerald);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-subtitle {
    color: var(--accent-emerald);
    font-size: 1rem;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
}

.btn.primary {
    background: var(--accent-emerald);
    color: #000;
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: #fff;
}

.btn.secondary:hover {
    background: var(--border-glass);
    transform: translateY(-5px);
}

.btn.block {
    width: 100%;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-glass);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-emerald);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Sections */
.section {
    padding: 8rem 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-emerald);
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

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

.skill-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.skill-card:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--accent-emerald);
    transform: translateY(-5px);
}

.skill-card i {
    color: var(--accent-emerald);
    margin-bottom: 1.5rem;
    width: 32px;
    height: 32px;
}

.skill-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-emerald), transparent);
}

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

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.timeline-date {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dim);
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
}

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

.project-card {
    overflow: hidden;
    padding: 0;
}

.project-img {
    height: 250px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--border-glass);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    color: var(--text-dim);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-links {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--accent-emerald);
    width: 24px;
    height: 24px;
}

.contact-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-weight: 600;
}

.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.9rem;
    color: var(--text-dim);
}

.contact-form input, 
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 1rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-emerald);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

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

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.edu-card {
    text-align: center;
    transition: transform 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-emerald);
}

.edu-card i {
    color: var(--accent-emerald);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.edu-date {
    display: block;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Languages & License */
.lang-license-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--accent-emerald), var(--accent-gold));
    border-radius: 4px;
}

.license-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.license-info i {
    color: var(--accent-emerald);
    width: 40px;
    height: 40px;
}

.license-info h4 {
    margin-bottom: 0.25rem;
}

.license-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Sub-Skills (AV Technician) */
.av-card {
    padding: 3rem;
}

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

.av-header i {
    width: 48px;
    height: 48px;
    color: var(--accent-emerald);
}

.av-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-style: italic;
}

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

.summit-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.summit-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Additional Skills */
.skills-flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.skill-list-minimal, .lang-minimal, .edu-minimal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-list-minimal span, .lang-minimal p, .edu-minimal p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

.skill-list-minimal span::before {
    content: '•';
    color: var(--accent-emerald);
    margin-right: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .about-grid, .contact-wrapper, .education-grid, .lang-license-grid, .summit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.8rem; }
    .section { padding: 4rem 0; }
    .projects-grid { grid-template-columns: 1fr; }
}
