:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent: #ffffff;
    --border: #2a2a2a;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --nav-height: 70px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

header {
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
    z-index: 1001;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--accent);
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 5% 3rem 5%;
    overflow: hidden;
}

.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0rem;
    padding-bottom: 2rem;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    min-height: 3.8rem;
}

.typewriter span {
    border-right: 2px solid var(--accent);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%) contrast(1.2);
    transition: 0.5s;
    border: 3px solid var(--border);
}

.profile-img:hover {
    filter: grayscale(0%);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--bg-color);
    font-weight: 600;
    border: 1px solid var(--accent);
    cursor: pointer;
    border-radius: 4px;
}

.btn:hover {
    background: transparent;
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    margin-left: 1rem;
}

.btn-outline:hover {
    border-color: var(--accent);
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.tech-scroller {
    margin: 0rem 0 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: var(--card-bg);
}

.tech-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.tech-item {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 2rem;
    opacity: 0.5;
    transition: 0.3s;
}

.tech-item:hover {
    opacity: 1;
    color: var(--accent);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.radar-section {
    padding: 2rem 0 4rem 0;
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.radar-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.radar-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.radar-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.radar-header i {
    font-size: 1.5rem;
}

.radar-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.radar-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.radar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radar-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-main);
    background: rgba(255,255,255,0.03);
}

.adopt {
    border-top: 2px solid var(--accent);
}

.trial {
    border-top: 2px solid var(--text-muted);
    opacity: 0.9;
}

.assess {
    border-top: 2px solid var(--border);
    opacity: 0.7;
}

.timeline-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.container-t {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.container-t::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-color);
    border: 2px solid var(--accent);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: 0.3s;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.content-t {
    padding: 25px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    transition: 0.3s;
}

.container-t:hover .content-t {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.container-t:hover::after {
    background-color: var(--accent);
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

.card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-stack span {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-weight: 600;
}

.social-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.4rem;
    transition: 0.3s;
    background: var(--card-bg);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
    transform: translateY(-3px);
}

footer {
    padding: 2rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
    background: var(--card-bg);
}

@media (max-width: 968px) {
    .hero-text h1 { font-size: 3rem; min-height: auto; }
    .profile-img { width: 250px; height: 250px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    nav {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-color);
        overflow: hidden;
        transition: height 0.4s ease-in-out;
        border-bottom: 1px solid var(--border);
    }

    nav.active { height: 240px; }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    nav a { font-size: 1.1rem; }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-top: 3rem;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { margin: 0 auto 2rem auto; }

    .btn-outline { margin-left: 0; margin-top: 1rem; }
    .hero-text div { display: flex; flex-direction: column; align-items: center; }
    
    .profile-img { width: 220px; height: 220px; }

    .radar-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .timeline::after { left: 20px; }
    .container-t { width: 100%; padding-left: 50px; padding-right: 10px; margin-bottom: 1rem; }
    .container-t::after { left: 10px; top: 24px; }
    .left { text-align: left; }
    .right { left: 0; }

    .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .section-title { font-size: 1.75rem; }
}