/* =========================================
   THE PHYSICS HOUSE
   ========================================= */

   :root {
    --navy: #0b1635;
    --navy-light: #132552;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --cream: #f7f6f1;
    --white: #ffffff;
    --text: #111827;
    --muted: #667085;
    --line: #dfe3ea;
}


/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================================
   NAVIGATION
   ========================================= */

header {
    position: relative;
    z-index: 10;
    padding: 25px 0;
    background: var(--cream);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: var(--navy);
    color: var(--cyan);

    overflow: hidden;
}

.nav-button {
    display: inline-flex;
    align-items: center;

    color: var(--navy);

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    border-bottom: 2px solid var(--blue);
    padding-bottom: 4px;

    transition: all .2s ease;
}

.nav-button:hover {
    color: var(--blue);
}


/* =========================================
   ATOM ICON
   ========================================= */

.atom-icon {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;
}

.atom-nucleus {
    position: absolute;

    width: 20%;
    height: 20%;

    top: 40%;
    left: 40%;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 12px rgba(34, 211, 238, .8);
}

.atom-orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 75%;
    height: 30%;

    border: 1.5px solid var(--cyan);

    border-radius: 50%;

    transform-origin: center;
}

.atom-orbit-one {
    transform: translate(-50%, -50%) rotate(0deg);
}

.atom-orbit-two {
    transform: translate(-50%, -50%) rotate(60deg);
}

.atom-orbit-three {
    transform: translate(-50%, -50%) rotate(-60deg);
}

.small-atom {
    width: 25px;
    height: 25px;
}

.large-atom {
    width: 82px;
    height: 82px;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(59, 130, 246, .14),
            transparent 30%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;

    padding: 90px 0 120px;
}

.eyebrow {
    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;

    color: var(--blue);
}

.hero h1 {
    margin-bottom: 32px;

    font-size: clamp(64px, 8vw, 108px);
    line-height: .9;
    letter-spacing: -6px;

    color: var(--navy);
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 540px;

    margin-bottom: 35px;

    font-size: 20px;
    line-height: 1.55;

    color: #475467;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 24px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.primary-button {
    background: var(--blue);
    color: white;

    box-shadow:
        0 10px 30px rgba(59, 130, 246, .25);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(59, 130, 246, .35);
}

.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 24px;

    background: var(--white);
    color: var(--navy);

    border: 1px solid var(--line);

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 10px 30px rgba(11, 22, 53, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.text-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(11, 22, 53, .12);

    border-color: var(--blue);
}


/* =========================================
   HERO PHYSICS VISUAL
   ========================================= */

.hero-visual {
    position: relative;

    height: 460px;
    width: 460px;

    justify-self: center;
}

.physics-grid {
    position: absolute;
    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(rgba(59, 130, 246, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, .07) 1px, transparent 1px);

    background-size: 45px 45px;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 35%,
        black 70%,
        transparent
    );
}

.orbit {
    position: absolute;

    border: 1px solid rgba(59, 130, 246, .35);

    border-radius: 50%;
}

.orbit-one {
    width: 410px;
    height: 190px;

    top: 120px;
    left: 20px;

    transform: rotate(-28deg);
}

.orbit-two {
    width: 410px;
    height: 190px;

    top: 120px;
    left: 20px;

    transform: rotate(28deg);
}

.orbit-dot {
    position: absolute;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--cyan);

    top: 75px;
    right: 65px;

    box-shadow:
        0 0 25px rgba(34, 211, 238, .7);
}

.central-circle {
    position: absolute;

    width: 170px;
    height: 170px;

    top: 145px;
    left: 145px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);

    box-shadow:
        0 20px 60px rgba(11, 22, 53, .25);
}

.circle-inner {
    width: 115px;
    height: 115px;

    border: 1px solid rgba(34, 211, 238, .5);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.equation {
    position: absolute;

    padding: 8px 13px;

    background: rgba(255, 255, 255, .8);

    border: 1px solid rgba(59, 130, 246, .18);

    color: var(--navy);

    font-family: Georgia, serif;
    font-style: italic;

    box-shadow: 0 10px 25px rgba(11, 22, 53, .06);
}

.equation-one {
    top: 25px;
    left: 50px;
}

.equation-two {
    right: 0;
    bottom: 80px;
}

.equation-three {
    left: 30px;
    bottom: 55px;
}


/* =========================================
   CREDENTIALS
   ========================================= */

.credentials {
    position: relative;

    padding: 35px 0;

    background: var(--navy);

    color: white;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 18px;
}

.credential-number {
    color: var(--cyan);

    font-size: 22px;
    font-weight: 800;
}

.credential strong,
.credential span {
    display: block;
}

.credential strong {
    font-size: 15px;
}

.credential span {
    margin-top: 2px;

    color: #aeb9d1;

    font-size: 12px;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 125px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    margin-bottom: 65px;
}

h2 {
    color: var(--navy);

    font-size: clamp(44px, 6vw, 70px);
    line-height: .98;
    letter-spacing: -4px;
}

h2 span {
    color: var(--blue);
}

.section-intro {
    max-width: 350px;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 17px;
}


/* =========================================
   CARDS
   ========================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    position: relative;

    min-height: 330px;

    padding: 35px;

    background: white;

    border: 1px solid #e6e8ed;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(11, 22, 53, .1);
}

.featured-card {
    background: var(--navy);
    color: white;

    border-color: var(--navy);
}

.card-number {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.card h3 {
    margin-top: 30px;
    margin-bottom: 20px;

    font-size: 27px;
}

.card p {
    color: #667085;

    font-size: 15px;
}

.featured-card p {
    color: #b9c3d8;
}

.card-line {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--cyan)
    );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .3s ease;
}

.card:hover .card-line {
    transform: scaleX(1);
}


/* =========================================
   DARK APPROACH SECTION
   ========================================= */

.dark {
    position: relative;

    background: var(--navy);

    color: white;

    overflow: hidden;
}

.dark-grid {
    position: absolute;
    inset: 0;

    opacity: .08;

    background-image:
        linear-gradient(#8bbcff 1px, transparent 1px),
        linear-gradient(90deg, #8bbcff 1px, transparent 1px);

    background-size: 55px 55px;

    mask-image: radial-gradient(
        circle at 20% 50%,
        black,
        transparent 70%
    );
}

.approach {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 100px;
}

.dark h2 {
    color: white;
}

.dark h2 span {
    color: var(--cyan);
}

.blue-eyebrow {
    color: var(--cyan);
}

.small-equation {
    margin-top: 45px;

    color: #7180a0;

    font-family: Georgia, serif;
    font-style: italic;
}

.approach-text {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.approach-item {
    display: grid;
    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding-bottom: 35px;

    border-bottom: 1px solid rgba(255,255,255,.12);
}

.approach-icon {
    color: var(--cyan);

    font-size: 13px;
    font-weight: 800;
}

.approach-item h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.approach-item p {
    color: #aeb9d1;

    font-size: 15px;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
    display: grid;
    grid-template-columns: .95fr 1.05fr;

    gap: 100px;

    align-items: center;
}

.about-visual {
    position: relative;

    height: 500px;

    background: var(--navy);

    overflow: hidden;
}

.about-grid {
    position: absolute;
    inset: 0;

    opacity: .12;

    background-image:
        linear-gradient(var(--cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyan) 1px, transparent 1px);

    background-size: 40px 40px;
}

.about-circle {
    position: absolute;

    width: 190px;
    height: 190px;

    top: 150px;
    left: calc(50% - 95px);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(34, 211, 238, .5);

    border-radius: 50%;

    color: var(--cyan);

    font-family: Georgia, serif;
    font-size: 75px;
}

.about-circle::before,
.about-circle::after {
    content: "";

    position: absolute;

    width: 310px;
    height: 100px;

    border: 1px solid rgba(59, 130, 246, .45);

    border-radius: 50%;
}

.about-circle::before {
    transform: rotate(35deg);
}

.about-circle::after {
    transform: rotate(-35deg);
}

.about-equation {
    position: absolute;

    left: 30px;
    bottom: 30px;

    color: rgba(255,255,255,.5);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 18px;
}

.about-content h2 {
    margin-bottom: 35px;
}

.about-content p {
    max-width: 580px;

    margin-bottom: 20px;

    color: #475467;

    font-size: 18px;
}

.about-content strong {
    color: var(--navy);
}

.signature-line {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 40px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.signature-line span {
    width: 50px;
    height: 2px;

    background: var(--blue);
}


/* =========================================
   PRICING
   ========================================= */

.pricing {
    padding: 95px 0;

    background:
        linear-gradient(
            110deg,
            #eaf2ff,
            #f4f9ff
        );

    border-top: 1px solid #dce8fb;
    border-bottom: 1px solid #dce8fb;
}

.pricing-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 60px;
}

.pricing h2 {
    font-size: clamp(60px, 8vw, 90px);
}

.pricing h2 span {
    margin-left: 8px;

    color: #667085;

    font-size: 20px;
    letter-spacing: 0;
}

.pricing-description {
    margin-top: 10px;

    color: var(--muted);
}

.pricing-features {
    min-width: 320px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;
}

.pricing-features span {
    margin-right: 10px;

    color: var(--blue);

    font-weight: 900;
}


/* =========================================
   CONTACT
   ========================================= */

.contact-section {
    position: relative;

    text-align: center;

    overflow: hidden;
}

.contact {
    position: relative;
    z-index: 2;

    max-width: 800px;
}

.contact h2 {
    margin-bottom: 30px;
}

.contact > p:not(.eyebrow) {
    max-width: 550px;

    margin: 0 auto 35px;

    color: var(--muted);

    font-size: 18px;
}

.contact-orbit {
    position: absolute;

    width: 650px;
    height: 200px;

    top: 40%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(-12deg);

    border: 1px solid rgba(59, 130, 246, .12);

    border-radius: 50%;
}

.contact-orbit::after {
    content: "";

    position: absolute;

    inset: 25px;

    border: 1px solid rgba(34, 211, 238, .1);

    border-radius: 50%;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 30px 0;

    background: var(--navy);

    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #8190ad;

    font-size: 12px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 850px) {

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(460px, 100%);
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .approach,
    .about {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .pricing-container {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    header {
        padding: 18px 0;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
    }

    .small-atom {
        width: 22px;
        height: 22px;
    }

    .nav-button {
        font-size: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 80px;
    }

    .hero h1 {
        font-size: 64px;
        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-visual {
        height: 340px;
    }

    .central-circle {
        width: 125px;
        height: 125px;

        top: 105px;
        left: calc(50% - 62px);
    }

    .circle-inner {
        width: 85px;
        height: 85px;
    }

    .large-atom {
        width: 62px;
        height: 62px;
    }

    .orbit-one,
    .orbit-two {
        width: 320px;
        height: 150px;

        left: calc(50% - 160px);
        top: 95px;
    }

    .equation {
        font-size: 13px;
    }

    .section {
        padding: 80px 0;
    }

    h2 {
        letter-spacing: -3px;
    }

    .about-visual {
        height: 380px;
    }

    .pricing {
        padding: 70px 0;
    }

    .pricing-features {
        min-width: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .about-visual {
        position: relative;
        overflow: hidden;
        min-height: 420px;
        background: var(--navy);
    }
    
    .about-photo {
        width: 100%;
        height: 100%;
        min-height: 420px;
        object-fit: cover;
        display: block;
    }
}