:root {
    --primary: #0a0a0a;
    --primary-light: #171717;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --text: #fafafa;
    --text-muted: #a3a3a3;
    --bg: #050505;
    --bg-card: #0a0a0a;
    --border: #262626;
    --success: #22c55e;
    --warning: #eab308;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(249,115,22,0.1); }
}
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes blink {
    50% { border-color: transparent; }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
nav.scrolled {
    padding: 0.6rem 0;
    background: rgba(5, 5, 5, 0.95);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    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);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links a:hover::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(34,197,94,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(234,88,12,0.05) 0%, transparent 50%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}
.profile-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    animation: pulse-glow 3s ease-in-out infinite;
}
.profile-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(249,115,22,0.3);
    animation: orbit 20s linear infinite;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.hero .tagline {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent);
    animation: typing 3s steps(30) 1s forwards, blink 0.7s step-end infinite;
    width: 0;
}
.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249,115,22,0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* ===== SECTIONS GENERAL ===== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-radius: 2px;
}
.section-header p {
    color: var(--text-muted);
    margin-top: 1.2rem;
    font-size: 1.05rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.about-text p {
    margin-bottom: 1rem;
}
.about-text strong {
    color: var(--text);
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(249,115,22,0.1);
}
.stat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.stat-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}
.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.skill-card:hover::before {
    transform: scaleX(1);
}
.skill-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(249,115,22,0.1);
}
.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(249,115,22,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}
.skill-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.skill-level {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

/* ===== STUDIES / TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 3px var(--accent);
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.timeline-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}
.timeline-date {
    display: inline-block;
    background: rgba(249,115,22,0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.timeline-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.timeline-card .institution {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.timeline-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== GOALS SECTION ===== */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.goal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.goal-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(249,115,22,0.1);
}
.goal-card .goal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}
.goal-card.short .goal-icon { background: rgba(34,197,94,0.1); color: var(--success); }
.goal-card.medium .goal-icon { background: rgba(234,179,8,0.1); color: var(--warning); }
.goal-card.long .goal-icon { background: rgba(249,115,22,0.1); color: var(--accent); }
.goal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.goal-card ul {
    list-style: none;
    color: var(--text-muted);
}
.goal-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}
.goal-card ul li::before {
    content: '00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}
.goal-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.goal-card.short .goal-badge { background: rgba(34,197,94,0.15); color: var(--success); }
.goal-card.medium .goal-badge { background: rgba(234,179,8,0.15); color: var(--warning); }
.goal-card.long .goal-badge { background: rgba(249,115,22,0.15); color: var(--accent); }

/* ===== HOBBIES SECTION ===== */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.hobby-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.hobby-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hobby-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(249,115,22,0.12);
}
.hobby-card:hover::after {
    opacity: 1;
}
.hobby-card > * {
    position: relative;
    z-index: 1;
}
.hobby-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(234,88,12,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: var(--accent);
    transition: all 0.3s ease;
}
.hobby-card:hover .hobby-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(234,88,12,0.2));
}
.hobby-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.hobby-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== VIDEO SECTION ===== */
.video-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-info {
    padding: 1.5rem 2rem;
}
.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}
footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
footer .heart {
    color: #ef4444;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary);
    border-left: 1px solid var(--border);
    z-index: 1001;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu ul {
    list-style: none;
}
.mobile-menu ul li {
    margin-bottom: 1.5rem;
}
.mobile-menu ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.mobile-menu ul li a i {
    color: var(--accent);
    width: 24px;
}
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}
.overlay.open {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .tagline {
        font-size: 1.1rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    section {
        padding: 3rem 1.5rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .goals-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .profile-img {
        width: 140px;
        height: 140px;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}