@font-face {
    font-family: 'Action Sans';
    src: url('./ActionSans-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #03366D;
    --orange: #FF5918;
    --light-gray: #F2F2F2;
    --med-gray: #808080;
    --dark-gray: #222222;
    --teal: #008376;
    --green: #2e7d32;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-hero: 6rem;
    --spacing-xl: 8rem;
}

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

a {
    text-decoration: none;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-gray);
    color: var(--light-gray);
    line-height: 1.6;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    margin-top: var(--spacing-md);
}

.header {
    background: linear-gradient(180deg, var(--navy) 25%, var(--dark-gray) 100%);
    padding: var(--spacing-md) 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.nav-links {
    font-size: .7rem;
    display: flex;
    gap: 1.5em;
}

.nav-links a {
    color: var(--light-gray);
    opacity: .5;
    transition: all 0.4s ease;
}

.nav-links a:hover {
    color: var(--light-gray);
    opacity: 1;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-gray);
}

.logo img {
    height: 32px;
    width: auto;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-hero) 0;
    margin-bottom: var(--spacing-lg);
    gap: 60px;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    font-family: 'Action Sans', 'Roboto', sans-serif;
}

.hero p {
    font-size: 1.2rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

.btn {
    display: inline-block;
    padding: .6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: .8px;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--orange);
    color: white;
    max-height: 60px;
}

.btn-primary:hover {
    color: white;
    background-color: #e04d0a;
}

.features {
    padding: var(--spacing-lg) var(--spacing-md);
}

.features-grid {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--spacing-sm);
}

.feature-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
    background: linear-gradient(145deg, var(--navy), var(--teal));
    padding: var(--spacing-md);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card h3 {
    font-family: Action Sans, sans-serif;
    font-size: 1.35rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
    color: var(--med-gray);
    opacity: 0.9;
}

.pricing {
    padding: var(--spacing-lg) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    align-items: start;
}

.pricing-card-outer {
    background: #1f2226;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    min-height: 420px;
}

.pricing-card-outer.popular {
    position: relative;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-12px);
    padding-top: calc(var(--spacing-md) + 0.35rem);
    padding-bottom: calc(var(--spacing-md) + 0.35rem);
    min-height: 504px;
    align-self: start;
}

.pricing-card-outer.popular::before {
    content: none;
}

.pricing-card-outer h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: var(--light-gray);
}

.plan-subtext {
    color: var(--light-gray);
    opacity: 0.82;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.95rem;
}

.pricing-card-inner {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
    color: #ffffff;
}

.price-meta {
    color: var(--med-gray);
    font-size: 0.85rem;
    margin-top: 0.45rem;
}

.pricing-card-outer .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.pricing-card-outer .btn.btn-primary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.pricing-card-outer .btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.price-features {
    margin: var(--spacing-md) auto;
    flex: 1;
    padding: 0;
    text-align: left;
    width: fit-content;
    max-width: 240px;
}

.price-features li {
    margin-bottom: 0.5rem;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.4;
}

.price-features li .material-icons {
    flex-shrink: 0;
    color: var(--green);
    font-size: 1rem;
    align-self: center;
    margin-top: 0.06rem;
}

.pricing-card-outer.popular .btn.btn-primary {
    background-color: var(--orange);
    color: white;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.pricing-card-outer.popular .btn.btn-primary:hover {
    color: white;
    background-color: #e04d0a;
}

.pricing-card-outer.popular .btn.btn-primary:disabled {
    opacity: 0.65;
}

.pricing-card-outer.popular .btn.btn-primary:disabled:hover {
    background-color: var(--orange);
}

.built-by {
    margin: var(--spacing-lg) auto;
}

.built-by-content {
    background: linear-gradient(180deg, rgba(3,54,109,.15), rgba(34,34,34,.25));
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    max-width: 500px;
    margin: var(--spacing-lg) auto;
}

.built-by h3 {
    font-family: 'Action Sans', sans-serif;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.built-by p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--med-gray);
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: left;
}

.built-by a {
    color: var(--med-gray);
    text-decoration: none;
    border-bottom: 1px solid var(--orange);
    transition: all 0.2s ease;
}

.built-by a:hover {
    color: var(--orange);
}

.roi-input {
    width: 120px;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--light-gray);
    font-size: 1.8rem;
    font-family: 'Action Sans', sans-serif;
    text-align: center;
    transition: all 0.2s ease;
}

.roi-input:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-color: var(--orange);
    background: rgba(0,0,0,0.5);
}

.roi-input::placeholder {
    color: var(--med-gray);
}

@media (max-width: 801px) {
    .pricing-card-outer {
        min-height: 0;
    }

    .pricing-card-outer.popular {
        transform: none;
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        padding: var(--spacing-lg) 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}
