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

:root {
    --navy: #1a2332;
    --light-navy: #2d3e50;
    --grey: #8b95a5;
    --light-grey: #f5f7fa;
    --electric-blue: #0ea5e9;
    --white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    overflow-y: scroll;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

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

nav {
    background: var(--navy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 45px;
    height: 45px;
}

.logo span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--electric-blue);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    padding: 80px 0;
}

#home {
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

#problem {
    background: var(--light-grey);
}

#problem h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--grey);
}

.problem-list {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--electric-blue);
}

.problem-list ul {
    list-style: none;
    margin-top: 1rem;
}

.problem-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--navy);
}

.problem-list li:before {
    content: "•";
    color: var(--electric-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.closing {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 2rem;
}

#architecture {
    background: var(--white);
}

#architecture h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--navy);
}

.home-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.home-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--electric-blue);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.subheadline {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--electric-blue);
    font-weight: 600;
}

.supporting-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light-grey);
}

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

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-grey);
    border-radius: 10px;
    border-top: 4px solid var(--electric-blue);
}

.step-number {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.step p {
    color: var(--grey);
    font-size: 0.95rem;
}

#services {
    background: var(--light-grey);
}

#services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-best-for {
    color: var(--electric-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--grey);
}

.service-features li:before {
    content: "•";
    color: var(--electric-blue);
    position: absolute;
    left: 0;
}

.service-outcome {
    color: var(--navy);
    font-weight: 600;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

#case-studies {
    background: var(--white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-item {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--electric-blue);
}

.case-study-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.case-study-item p {
    margin-bottom: 0.8rem;
    color: var(--grey);
    font-size: 0.9rem;
}

#tech-stack {
    background: var(--navy);
    color: var(--white);
}

#tech-stack h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

#tech-stack .tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

#who-i-work-with {
    background: var(--light-grey);
}

#who-i-work-with h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.client-type {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--electric-blue);
}

.client-type h3 {
    color: var(--navy);
    font-size: 1.1rem;
}

#insights {
    background: var(--white);
}

#insights .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#about {
    background: var(--light-grey);
}

#about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--grey);
    line-height: 1.8;
}

#contact .contact-info {
    text-align: center;
    margin: 2rem 0;
}

#contact .contact-info p {
    font-size: 1.1rem;
    color: var(--light-grey);
}

.arch-description {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--grey);
}

#services {
    background: var(--light-grey);
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(14,165,233,0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.service-card p {
    color: var(--grey);
    line-height: 1.8;
}

#use-cases {
    background: var(--white);
}

#use-cases h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--navy);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.use-case {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--electric-blue);
}

.use-case h3 {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 600;
}

#experience {
    background: var(--navy);
    color: var(--white);
}

#experience h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.experience-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light-grey);
}

.technologies {
    margin-top: 3rem;
}

.technologies h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--electric-blue);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-tag {
    background: var(--light-navy);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--white);
    font-weight: 600;
    border: 2px solid var(--electric-blue);
}

#case-study {
    background: var(--light-grey);
}

#case-study h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--navy);
}

.case-study-card {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.case-study-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.case-study-card p {
    font-size: 1.1rem;
    color: var(--grey);
    margin-bottom: 2rem;
    line-height: 1.8;
}

#insights {
    background: var(--white);
}

#insights h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--navy);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.insight-card {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid var(--electric-blue);
    transition: transform 0.3s;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(14,165,233,0.2);
}

.insight-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
}

#contact {
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
    color: var(--white);
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-grey);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    scroll-snap-align: end;
    min-height: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    section {
        min-height: auto;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-text h1 {
        font-size: 2rem;
    }

    .home-image img {
        max-width: 280px;
    }

    .approach-steps {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero-buttons,
    .contact-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
