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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.greeting {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.3rem;
    color: #a0a0a0;
    font-weight: 400;
    margin-bottom: 1rem;
}

.tagline {
    color: #666;
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

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

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00d4ff;
    color: #0a0a0a;
}

.btn-primary:hover {
    background: #00b8e0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #161616;
    color: #fff;
    border: 1px solid #222;
}

.btn-secondary:hover {
    border-color: #00d4ff;
    color: #00d4ff;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    object-fit: cover;
}

/* ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.label {
    color: #00d4ff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.value {
    color: #fff;
    font-size: 1.1rem;
}

/* SECTIONS */
section {
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    margin: 1rem auto 0;
}

/* PROJECTS */
.project-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

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

.project-company {
    color: #00d4ff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-desc {
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.tag {
    background: rgba(0,212,255,0.08);
    color: #00d4ff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0,212,255,0.15);
}

.project-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

/* EXPERIENCE */
.experience {
    background: #111;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, #00d4ff, #7b2cbf);
}

.timeline-item {
    padding-left: 3rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00d4ff;
    border: 3px solid #0a0a0a;
}

.timeline-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.timeline-item .company {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.timeline-item ul {
    list-style: none;
    color: #a0a0a0;
}

.timeline-item li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.8rem;
}

.skill-card h4 {
    color: #00d4ff;
    margin-bottom: 0.8rem;
}

.skill-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.extra-skills {
    text-align: center;
}

.extra-skills h4 {
    margin-bottom: 1rem;
}

.extra-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

/* EDUCATION */
.education {
    background: #111;
}

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

.edu-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    min-height: 250px;
    position: relative;
    perspective: 1000px;
}

.edu-front, .edu-back {
    transition: all 0.6s ease;
}

.edu-back {
    display: none;
}

.edu-card.flipped .edu-front {
    display: none;
}

.edu-card.flipped .edu-back {
    display: block;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.school {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.detail {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

.edu-back h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.edu-back ul {
    list-style: none;
    color: #a0a0a0;
}

.edu-back li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.edu-back li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

.flip-hint {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    color: #555;
    font-size: 0.8rem;
}

/* FOOTER */
.contact {
    text-align: center;
    padding: 4rem;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact > p {
    color: #a0a0a0;
}

.email {
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
}

.footer-links a:hover {
    color: #00d4ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero, .about {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image, .about-image {
        order: -1;
    }
    
    .hero-image img, .about-image img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    section {
        padding: 2rem;
    }
}
