/* Brand fonts, self-hosted from glu.ai's own font files */
@font-face {
    font-family: 'Interdisplay';
    src: url('../fonts/InterDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Interdisplay';
    src: url('../fonts/InterDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Interdisplay';
    src: url('../fonts/InterDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Interdisplay';
    src: url('../fonts/InterDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Intertight';
    src: url('../fonts/InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Intertight';
    src: url('../fonts/InterTight-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Intertight';
    src: url('../fonts/InterTight-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Intertight';
    src: url('../fonts/InterTight-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Glu Brand Colors - matches glu.ai */
    --primary: #2979FF;
    --primary-dark: #0050E2;
    --primary-light: #EAF2FF;
    --secondary: #2DD4BF;
    --secondary-light: #69F0AE;
    --dark: #202124;
    --gray-900: #202124;
    --gray-700: #45464A;
    --gray-600: #636466;
    --gray-500: #636466;
    --gray-400: #B3B4BC;
    --gray-300: #B3B4BC;
    --gray-200: #EAEBF1;
    --gray-100: #F7F7F7;
    --gray-50: #F9F9F9;
    --white: #ffffff;

    --font-body: 'Interdisplay', Arial, sans-serif;
    --font-heading: 'Intertight', Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navigation — the links/logo row remaining after the dropdown menu and
   mobile hamburger were removed. Classes still mirror glu.ai/pricing's own
   naming (nav-container-02, log-infos-02, button-large-02, etc.) since
   they were ported from its Webflow CSS bundle. */

.w-inline-block {
    max-width: 100%;
    display: inline-block;
}

.w-container {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.w-nav {
    z-index: 1000;
    background: #ddd;
    position: relative;
}

.w-nav-brand {
    float: left;
    color: #333;
    text-decoration: none;
    position: relative;
}

@media screen and (max-width: 767px) {
    .w-nav-brand {
        padding-left: 10px;
    }
}

.cart-wrap {
    display: none;
}

.nav-container-02 {
    /* Flex, not the original's grid — its 3-column grid relied on Webflow's
       generated per-node grid-area IDs to place items, which don't carry
       over into hand-written markup. Flex gives the identical visual
       result (brand left, buttons right) without them. */
    width: 100%;
    height: 56px;
    max-width: 1344px;
    min-height: 56px;
    margin-right: 32px;
    margin-left: 32px;
    gap: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-component {
    z-index: 999;
    border-bottom: 1px solid var(--gray-200);
    background-color: transparent;
    justify-content: center;
    align-items: center;
    display: flex;
    position: sticky;
}

.navigation {
    z-index: 999;
    background-color: var(--white);
    position: sticky;
    top: 0;
}

.nav-brand {
    /* Was a fixed 195px to match the old grid's symmetric columns — with
       that grid gone (flex now), a fixed-width logo cell just steals space
       from Log in/Sign up on narrow viewports, clipping their text. Shrink
       to the logo's own content size instead. */
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.website-brand-img {
    height: 41px;
    width: auto;
    display: block;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.log-infos-02 {
    column-gap: 10px;
    row-gap: 10px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.logo-div {
    width: 20px;
    height: 20px;
}

.button-normal-outside {
    width: 100%;
    height: 24px;
    overflow: hidden;
}

.button-normal-outside.nav-btn-outsite {
    height: 20px;
}

/* Sliding duplicate-text hover effect: two identical text divs stacked in a
   clipped box, hover translates the stack up by one item's height. Webflow
   drives this via its IX2 interactions runtime (no static CSS rule exists
   for .button-normal-inside/.button-normal-text) — reproduced here as a
   plain CSS transition, same visual result. */
.button-normal-inside {
    transition: transform .3s ease;
}

.nav-btn:hover .button-normal-inside {
    transform: translateY(-50%);
}

.button-medium-outline-02 {
    padding: 8px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    color: var(--gray-900);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none;
}

.button-medium-outline-02.nav-btn {
    padding: 4px 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: -0.14px;
}

.button-large-02 {
    padding: 8px 20px;
    border: 1px solid var(--gray-900);
    border-radius: 8px;
    background-color: var(--gray-900);
    font-family: var(--font-body);
    color: var(--white);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.button-large-02.nav-btn {
    padding: 4px 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: -0.14px;
}

@media screen and (max-width: 991px) {
    .nav-container-02 {
        margin-left: 40px;
        margin-right: 40px;
    }

    .w-container {
        max-width: 728px;
    }
}

@media screen and (max-width: 767px) {
    /* Log in/Sign up used to tuck behind a hamburger menu on mobile — with
       that menu gone, they need to stay visible; hiding them here would
       leave mobile with no way to reach either. */
    .cart-wrap {
        display: block;
    }

    .nav-container-02 {
        justify-content: space-between;
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 479px) {
    .nav-container-02 {
        margin-left: 20px;
        margin-right: 20px;
    }

    .w-container {
        max-width: none;
    }
}

/* Hero */
.hero {
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); */
    /* color: var(--white); */
    /* padding: 80px 24px 60px; */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    border-left: 1px solid #eaebf1;
    border-right: 1px solid #eaebf1;
    border-bottom: 1px solid #eaebf1;
}

.hero h1 {
    /* font-size: 3rem; */
    font-weight: 600;
    margin-bottom: 16px;
    /* letter-spacing: -0.02em; */
    line-height: 68px;
    letter-spacing: -1.68px;
    font-size: 56px;
}

.hero p {
    font-size: 1.25rem;
    /* opacity: 0.9; */
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.875rem;
    /* opacity: 0.8; */
}

/* Main Content */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    border-left: 1px solid #eaebf1;
    border-right: 1px solid #eaebf1;
}

/* Presets */
.presets-section {
    text-align: center;
    margin-bottom: 48px;
}

.presets-section h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.presets-section p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.preset-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.preset-card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    text-decoration: none;
}

.popular-badge {
    position: absolute;
    top: 8px;
    right: 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
}

.preset-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.1);
}

.preset-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, #f2f7ff 100%);
}

.preset-card h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.preset-card .preset-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.preset-card .preset-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
}

.preset-card .preset-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.preset-card.enterprise {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preset-card.enterprise:not(.active) {
    background: var(--white));
}

.preset-card.enterprise .preset-price {
    font-size: 1.1rem;
}

/* Calculator Grid */
.calculator-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    margin-top: 48px;
}

@media (max-width: 1000px) {
    .calculator-section {
        grid-template-columns: 1fr;
    }
}

/* Config Panel */
.config-panel {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.config-group {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--gray-200);
}

.config-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.config-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.config-header .count-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.config-description {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.config-subheading {
    font-size: 0.85rem;
    color: var(--gray-500);
    padding-top: 16px;
    padding-bottom: 8px;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Slider */
.slider-container {
    margin-bottom: 16px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.slider-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.slider-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(41, 121, 255, 0.4);
    transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--gray-400);
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    /* background: var(--gray-50); */
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.checkbox-item:hover {
    border-color: var(--gray-300);
}

.checkbox-item.selected {
    background: var(--primary-light);
    border-color: var(--primary);
}

.checkbox-item.locked {
    cursor: default;
}

.checkbox-item.locked:hover {
    border-color: var(--primary);
}

.checkbox-item input,
.location-item input {
    display: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.checkbox-item.selected .checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-item.selected .checkbox-mark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.checkbox-info {
    flex: 1;
    min-width: 0;
}

.checkbox-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkbox-meta {
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* Location checkboxes */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.location-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    /* background: var(--gray-50); */
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.location-item:hover {
    border-color: var(--gray-300);
}

.location-item.selected {
    background: #fff2e2;
    border-color: #faaf46;
}

.location-item.free {
    background: #ecfdfa;
    border-color: var(--secondary);
}

.location-item.selected .checkbox-mark {
    background: #faaf46;
    border-color: #faaf46;
}

.location-item.free .checkbox-mark {
    background: var(--secondary);
    border-color: var(--secondary);
}

.location-item.selected .checkbox-mark::after,
.location-item.free .checkbox-mark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.location-name {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Summary Panel */
.summary-panel {
    /* Without this, grid's default stretch makes this column as tall as its
       sibling (config-panel) row, leaving no room to actually stick — it'd
       just be one tall box scrolling normally. */
    align-self: start;
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.summary-card h2 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
    color: var(--gray-900);
}

.summary-lines {
    margin-bottom: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.summary-line:last-child {
    border-bottom: none;
}

.summary-line .label {
    color: var(--gray-600);
}

.summary-line .value {
    font-weight: 600;
    color: var(--gray-900);
}

.summary-line .value.included {
    color: var(--secondary);
}

.summary-total {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    margin: 0 -32px;
    padding: 28px 32px;
    text-align: center;
}

.total-monthly {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.total-monthly span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-500);
}

.summary-cta {
    margin-top: 24px;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--gray-900);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 33, 36, 0.2);
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--gray-500);
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 12px;
}

.btn-secondary:hover {
    color: var(--primary);
}

.summary-features {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.summary-features h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.summary-features ul {
    list-style: none;
}

.summary-features li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Info Cards */
.info-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.info-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Agency Banner */
.agency-banner {
    margin-top: 40px;
    background: var(--primary);
    padding: 48px;
    text-align: center;
    color: var(--white);
    width: calc(100% + 48px);
    left: -24px;
    position: relative;
    border-radius: 0;
}

.agency-banner h2 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.agency-banner p {
    /* opacity: 0.8; */
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.agency-banner .btn-primary {
    display: inline-block;
    width: auto;
    padding: 14px 32px;
    /* background: var(--white);
    color: var(--gray-900); */
}

/* .agency-banner .btn-primary:hover {
    background: var(--gray-100);
} */

/* Footer */
.footer {
    padding: 40px 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Contact fields (summary panel, before Get Started) */
.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.contact-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--gray-900);
    text-align: left;
    outline: none;
    box-sizing: border-box;
}

textarea.contact-input {
    resize: vertical;
}

.contact-input:focus {
    border-color: var(--primary);
}

/* Form validation message (location, contact fields) */
.field-error {
    margin-top: -4px;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.85rem;
}

/* Get Started confirmation modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 20px;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.modal-card h3 {
    color: var(--gray-900);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.modal-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: var(--gray-700);
}
