/* =========================
   BASIC SETTINGS
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #0b0f19;
    color: #e8edf5;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}


/* =========================
   NAVIGATION
========================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;

    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #202738;

    z-index: 1000;
}

.navbar {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 800;

    color: #7dd3fc;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;

    color: #b8c1d1;

    transition: 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.menu-button {
    display: none;

    background: none;
    border: none;

    color: white;

    font-size: 26px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 85vh;

    display: flex;
    align-items: center;

    padding-top: 72px;
}

.hero-content {
    max-width: 900px;
}

.eyebrow,
.section-label {
    color: #7dd3fc;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.05;

    margin-bottom: 22px;
}

.hero h1 span {
    color: #7dd3fc;
}

.hero h2 {
    max-width: 780px;

    color: #bac4d5;

    font-size: clamp(24px, 3vw, 38px);
    font-weight: 500;

    line-height: 1.3;

    margin-bottom: 25px;
}

.hero-description {
    color: #8f9bad;

    max-width: 650px;

    font-size: 17px;

    margin-bottom: 35px;
}


/* =========================
   BUTTON
========================= */

.hero-buttons,
.contact-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}

.button {
    padding: 13px 22px;

    border-radius: 8px;

    font-weight: 600;

    transition: 0.2s;
}

.primary {
    background: #7dd3fc;
    color: #07101c;
}

.primary:hover {
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid #39445a;
}

.secondary:hover {
    border-color: #7dd3fc;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 110px 0;
}

.section-alt {
    background: #101622;
}

.section-title {
    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.15;

    margin-bottom: 55px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 80px;
}

.about-grid p {
    color: #aab4c5;

    font-size: 17px;

    margin-bottom: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    align-content: flex-start;
}

.skill {
    background: #141c2b;

    border: 1px solid #29334a;

    padding: 10px 15px;

    border-radius: 8px;

    color: #d8dfeb;
}


/* =========================
   CARDS
========================= */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.card {
    padding: 30px;

    background: #151c2a;

    border: 1px solid #283249;

    border-radius: 12px;

    transition: 0.25s;
}

.card:hover {
    transform: translateY(-5px);

    border-color: #4e607a;
}

.card-number {
    color: #7dd3fc;

    margin-bottom: 40px;

    font-weight: 700;
}

.card h3 {
    font-size: 21px;

    margin-bottom: 14px;
}

.card p {
    color: #929daf;
}


/* =========================
   PROJECT
========================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.project-card {
    overflow: hidden;

    border-radius: 12px;

    background: #111824;

    border: 1px solid #273248;
}

.project-image {
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #182338,
            #213452
        );

    color: #8291aa;

    letter-spacing: 2px;
}

.project-content {
    padding: 24px;
}

.project-type {
    color: #7dd3fc;

    font-size: 11px;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}

.project-content h3 {
    margin-bottom: 12px;
}

.project-content p {
    color: #909bad;

    margin-bottom: 20px;
}

.project-content a {
    font-weight: 600;
}

.project-coming {
    color: #6f7c91;

    font-size: 13px;
    font-weight: 600;

    cursor: default;
}


/* =========================
   EXPERIENCE
========================= */

.timeline {
    max-width: 900px;
}

.timeline-item {
    padding: 35px 0;

    border-bottom: 1px solid #293248;
}

.timeline-item:first-child {
    padding-top: 0;
}

.experience-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    margin-bottom: 20px;
}

.timeline-date {
    color: #7dd3fc;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 7px;

    letter-spacing: 1.2px;
}

.timeline-item h3 {
    font-size: 24px;

    margin-bottom: 4px;
}

.experience-company {
    color: #aab4c5;

    font-size: 15px;
}

.experience-location {
    color: #76839a;

    font-size: 13px;

    white-space: nowrap;

    margin-top: 5px;
}

.experience-list {
    padding-left: 20px;

    max-width: 760px;
}

.experience-list li {
    color: #929daf;

    margin-bottom: 9px;

    padding-left: 5px;
}

.experience-list li::marker {
    color: #7dd3fc;
}

.timeline {
    max-width: 800px;
}

.timeline-item {
    padding: 30px 0;

    border-bottom: 1px solid #293248;
}

.timeline-date {
    color: #7dd3fc;

    font-size: 12px;

    margin-bottom: 8px;

    letter-spacing: 1px;
}

.timeline-item h3 {
    font-size: 22px;

    margin-bottom: 8px;
}

.timeline-item > p:last-child {
    color: #929daf;
}


/* =========================
   CONTACT
========================= */

.contact {
    text-align: center;
}

.contact-content {
    max-width: 760px;
}

.contact h2 {
    font-size: clamp(40px, 6vw, 65px);

    margin-bottom: 20px;
}

.contact p:not(.section-label) {
    color: #929daf;

    margin-bottom: 32px;

    font-size: 18px;
}

.contact-buttons {
    justify-content: center;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid #202738;

    padding: 30px 0;

    color: #748097;

    font-size: 14px;
}

.footer-content {
    display: flex;

    justify-content: space-between;
}


/* =========================
   CASE STUDY
========================= */

.case-nav {
    display: flex;
    gap: 25px;
}

.case-nav a {
    color: #aab4c5;
    font-size: 14px;
}

.case-nav a:hover {
    color: #7dd3fc;
}


.case-hero {
    padding: 170px 0 100px;
}

.case-container {
    max-width: 900px;
}

.back-link {
    display: inline-block;

    color: #8e9bb0;

    font-size: 14px;

    margin-bottom: 50px;
}

.back-link:hover {
    color: #7dd3fc;
}


.case-hero h1 {
    font-size: clamp(50px, 8vw, 82px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.case-intro {
    max-width: 760px;

    color: #aab4c5;

    font-size: 20px;

    line-height: 1.6;

    margin-bottom: 50px;
}


.case-meta {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    padding-top: 30px;

    border-top: 1px solid #293248;
}

.case-meta div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.case-meta span {
    color: #69778e;

    font-size: 11px;

    letter-spacing: 1.5px;
}

.case-meta strong {
    font-size: 14px;
}


.case-heading {
    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.2;

    margin-bottom: 30px;
}

.case-text {
    max-width: 760px;

    color: #9aa6b8;

    font-size: 17px;

    margin-bottom: 20px;
}


.problem-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 50px;
}

.problem-card {
    padding: 25px;

    background: #151c2a;

    border: 1px solid #283249;

    border-radius: 10px;
}

.problem-card > span {
    color: #7dd3fc;

    font-size: 12px;
    font-weight: 700;
}

.problem-card h3 {
    margin: 20px 0 8px;

    font-size: 19px;
}

.problem-card p {
    color: #8f9bad;

    font-size: 14px;
}


.workflow {
    margin-top: 45px;
}

.workflow-step {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid #293248;
}

.workflow-step > span {
    color: #7dd3fc;

    font-size: 13px;
    font-weight: 700;
}

.workflow-step h3 {
    margin-bottom: 8px;

    font-size: 21px;
}

.workflow-step p {
    color: #909bad;

    max-width: 680px;
}


.case-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}

.case-tags span {
    padding: 10px 14px;

    background: #151e2d;

    border: 1px solid #293952;

    border-radius: 7px;

    color: #b6c1d2;

    font-size: 13px;
}


.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;

    margin-top: 45px;
}

.comparison-card {
    width: 100%;
}

.case-image {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 10px;

    border: 1px solid #31405b;
}

.comparison-card > p {
    color: #7dd3fc;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.case-placeholder {
    min-height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #182338,
            #213452
        );

    border: 1px solid #31405b;

    border-radius: 10px;

    color: #8493aa;

    font-size: 13px;

    letter-spacing: 1px;
}


.next-project {
    margin-top: 60px;

    padding-top: 30px;

    border-top: 1px solid #293248;
}

.next-project p {
    color: #7dd3fc;

    font-size: 11px;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.next-project h3 {
    font-size: 24px;
}

.case-image {
    width: 100%;

    display: block;

    border-radius: 10px;

    border: 1px solid #31405b;
}

.result-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 40px;
}

.result-card {
    padding: 25px 18px;

    background: #151c2a;

    border: 1px solid #283249;

    border-radius: 10px;

    text-align: center;
}

.result-card strong {
    display: block;

    color: #7dd3fc;

    font-size: 34px;

    margin-bottom: 5px;
}

.result-card span {
    color: #929daf;

    font-size: 12px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .menu-button {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        flex-direction: column;

        background: #0b0f19;

        padding: 25px 5%;

        border-bottom: 1px solid #283249;
    }

    .nav-links.active {
        display: flex;
    }

    .about-grid,
    .card-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 40px;
    }

    .hero {
        min-height: 80vh;
    }

    .section {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;

        gap: 5px;
    }
    .experience-header {
        flex-direction: column;
        gap: 5px;
    }

    .experience-location {
        white-space: normal;
    }

    .project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        margin-bottom: 20px;
    }

    .project-tags span {
        padding: 6px 10px;

        background: #172235;

        border: 1px solid #293952;

        border-radius: 6px;

        color: #9facbf;

        font-size: 11px;
        font-weight: 600;
    }

    .project-link {
        color: #dfe8f5;

        font-size: 14px;
        font-weight: 600;

        transition: 0.2s;
    }

    .project-link:hover {
        color: #7dd3fc;
    }

    .project-image span {
        font-size: 12px;
        font-weight: 700;

        letter-spacing: 1.5px;
    }

    .case-meta {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .case-hero {
        padding: 130px 0 70px;
    }

    .case-intro {
        font-size: 17px;
    }

    .workflow-step {
        grid-template-columns: 40px 1fr;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}