@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html {
    cursor: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fafafa;
    color: #2d2d2d;
    line-height: 1.6;
    cursor: none;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2b52ff;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(8, 53, 255, 0.6);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #2d2d2d;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.6;
}

.logo {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #2d2d2d;
    transition: opacity 0.3s ease;
}

.logo img {
    height: 27px;
    width: auto;
    display: block;
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    color: #2d2d2d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.5;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #2d2d2d;
    transition: all 0.3s ease;
}

.home-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 5% 40px;
}

.profile-section {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: #2b52ff 0%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 20px;
    object-position: 50% center;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-name h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #2d2d2d;
    margin: 0;
}

.about-text {
    max-width: 700px;
}

.about-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #2d2d2d;
}

.highlight {
    font-family: 'Space Mono', monospace;
    color: #ffffff;
    background: #2b52ff;
    padding: 0rem 0.3rem;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.highlight-trail {
    font-family: 'Space Mono', monospace;
    color: #ffffff;
    background: #2b52ff;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    animation: fadeOut 3s forwards;
    transform: translate(-50%, -50%);
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }
}

.about-text p {
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

footer {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    color: #2d2d2d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: #fafafa;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        border-left: 1px solid #e5e5e5;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .profile-section {
        gap: 2rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-text h1 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }
    

    .home-container {
        padding: 80px 5% 30px;
    }
}

.projects-list-container {
    min-height: 100vh;
    padding: 120px 5% 60px;
}

.projects-list-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
}

.projects-list-header h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: #2d2d2d;
}

.projects-list {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 3rem;
    row-gap: 4rem;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.project-item:hover {
    opacity: 0.6;
}

.project-item-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2b52ff 0%, #764ba2 100%);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.project-title-row h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #2d2d2d;
    margin: 0;
}

.project-item-info {
    width: 100%;
}

.project-item-info p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.project-item-meta {
    display: flex;
    gap: .5rem;
    font-size: 0.8rem;
    color: #999;
    align-items: flex-start;
    flex-shrink: 0;
    margin-top: .7rem;
}

.project-item-meta span {
    border: 1.5px solid #999;
    padding: 0.1rem .3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Space Mono', monospace;
    white-space: nowrap;
}

/* Project Detail Page Styles */

.project-detail-container {
    min-height: 100vh;
    padding: 100px 5% 60px;
}

.back-button {
    display: inline-block;
    color: #2b52ff;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.back-button:hover {
    opacity: 0.6;
}

.project-detail-header {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.project-detail-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.project-meta {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #2d2d2d;
}

.project-links-header {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: #2b52ff;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: #2b52ff;
    border: 2px solid #2b52ff;
}

.btn-secondary:hover {
    background: #2b52ff;
    color: white;
}

.project-hero-image {
    max-width: 1200px;
    margin: 0 auto 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Onboarding Images Grid */
.onboarding-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    margin: 2rem auto 4rem;
    max-width: 1600px;
}

.onboarding-item {
    width: 100%;
    cursor: pointer;
    background: transparent;
}

.onboarding-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: transparent;
}

.onboarding-item img:hover {
    transform: translateY(-4px);
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .onboarding-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .onboarding-images-grid {
        grid-template-columns: 1fr;
    }
}

.project-image-showcase {
    margin: 4rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-image-showcase img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.project-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-images-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

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

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d2d2d;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.learnings-list {
    list-style: none;
    padding: 0;
}

.learnings-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.learnings-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2b52ff;
    font-weight: bold;
}

.project-navigation {
    max-width: 900px;
    margin: 4rem auto 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
}

.nav-project {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.nav-project:hover {
    opacity: 0.6;
}

.nav-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 1.2rem;
    color: #2b52ff;
    font-weight: 500;
}

.insight-callout {
    background: #2b52ff7c;
    padding: 2.2rem 3rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.insight-callout h3 {
    margin-top: 0;
}

.insight-callout p {
    margin-top: 0;
    margin-bottom: 0;
}

.insight-callout .source {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 1rem;
    font-style: italic;
}

.testing-results {
    margin: 2rem 0;
}

.finding-item {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid #2b52ff;
}

.finding-item h4 {
    margin-bottom: 0.5rem;
    color: #2b52ff;
}

/* App Screens Grid - 2 per row */
.app-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

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

.screen-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.screen-item img:hover {
    transform: translateY(-5px);
}

.screen-item h4 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #333;
}

.screen-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .app-screens-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 30px;
    font-weight: 150;
    transition: 0.3s;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1;
}

.lightbox-close:hover {
    color: #bbb;
    transform: rotate(90deg) scale(1.1);
}

.lightbox,
.lightbox * {
    cursor: none !important;
}

/* Make images look clickable */
.project-images-grid img,
.project-hero-image img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-images-grid img:hover,
.project-hero-image img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .projects-list-container {
        padding: 100px 5% 40px;
    }

    .projects-list-header h1 {
        font-size: 2.5rem;
    }

    .projects-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-item-image {
        height: 280px;
    }

    .project-item-info h2 {
        font-size: 1.5rem;
    }

    .project-item-info p {
        font-size: 1rem;
    }

    .project-detail-container {
        padding: 90px 5% 40px;
    }

    .project-meta {
        gap: 1.5rem;
    }

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

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .project-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}