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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom cursor only on desktop */
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    .form-submit {
        cursor: none;
    }
}

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

.section {
    margin-bottom: 80px;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.25rem;
    color: #a0a0a0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -0.5px;
}

.card {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    width: 100%;
}

.card:hover {
    border-color: #404040;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #808080;
    margin-bottom: 16px;
}

.card-description {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.experience-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.experience-wrapper .card {
    margin-bottom: 0;
}

.experience-card {
    display: flex;
    flex-direction: column;
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.experience-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.experience-info {
    flex: 1;
}

.experience-info .card-title {
    margin-bottom: 4px;
}

.experience-info .card-subtitle {
    margin-bottom: 0;
}

.inline-link {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: #808080;
}

.card-link {
    display: inline-block;
    margin-top: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #808080;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.project-wrapper .card {
    margin-bottom: 0;
}

.visit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.visit-button:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.visit-button:hover .arrow-icon {
    transform: translateX(4px);
}

.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.github-link:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
}

.github-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.github-link:hover .github-icon {
    transform: translateX(4px);
}

.linkedin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0077B5;
    border: 1px solid #0077B5;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 8px;
}

.linkedin-link:hover {
    background: #005885;
    border-color: #005885;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.linkedin-link:hover .linkedin-icon {
    transform: translateX(4px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 12px 24px;
    background: #000000;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #404040;
}

.form-input::placeholder {
    color: #606060;
}

.form-textarea {
    width: 100%;
    padding: 12px 24px;
    background: #000000;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 108px;
}

.form-textarea:focus {
    outline: none;
    border-color: #404040;
}

.form-textarea::placeholder {
    color: #606060;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.form-submit:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
}

.form-submit .arrow-icon {
    transition: transform 0.3s ease;
}

.form-submit:hover .arrow-icon {
    transform: translateX(4px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: #606060;
    font-size: 0.9rem;
    border-top: 1px solid #1a1a1a;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card {
        padding: 24px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 20px;
    }

    .github-link {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .github-icon {
        width: 24px;
        height: 24px;
    }
}

/* Custom Cursor - Desktop Only */
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
    .cursor {
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
    }

    .cursor-corner {
        position: absolute;
        width: 15px;
        height: 15px;
        border: 2px solid #ffffff;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .cursor-corner.top-left {
        border-right: none;
        border-bottom: none;
    }

    .cursor-corner.top-right {
        border-left: none;
        border-bottom: none;
    }

    .cursor-corner.bottom-left {
        border-right: none;
        border-top: none;
    }

    .cursor-corner.bottom-right {
        border-left: none;
        border-top: none;
    }
}

/* Hide custom cursor on mobile */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}
