/* Airtable pricing page – all classes prefixed with airtable- to avoid collision */

.airtable-pricing-hero {
    background: linear-gradient(135deg, #126fcc 0%, #0d5299 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.airtable-pricing-section {
    margin-bottom: 2rem;
}

.airtable-pricing-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.airtable-price-copy {
    color: #555;
    font-size: 0.95rem;
    margin: 0.75rem 0;
}

.airtable-price-copy--sm {
    font-size: 0.8rem;
    margin: 0.4rem 0 0.75rem;
}

.airtable-price-strikethrough {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    font-weight: 400;
    margin-right: 0.5rem;
}

.airtable-price-promo {
    color: #28a745;
    font-weight: 700;
}

.airtable-payg-select {
    max-width: 100%;
    font-size: 0.8rem;
}

.airtable-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #126fcc;
    margin: 0.5rem 0;
}

.airtable-price-amount--sm {
    font-size: 1.4rem;
    margin: 0.25rem 0;
}

.airtable-price-badge {
    display: inline-block;
    background: #e7f3ff;
    color: #126fcc;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* Subscription group: one joined container holding the 3 tiers,
   so they read as "one product with options" rather than 3 separate offers. */
.airtable-sub-group {
    height: 100%;
    background: #f5f9fd;
    border: 2px solid #d5e6f7;
    border-radius: 10px;
    padding: 1rem 1rem 0.25rem;
    display: flex;
    flex-direction: column;
}

.airtable-sub-group-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #126fcc;
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.airtable-sub-row {
    flex: 1;
}

.airtable-sub-tile {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.1rem 1rem;
    border-left: 1px solid #d5e6f7;
    transition: background-color 0.2s ease;
}

/* Floats above the tile's own content flow so a badge on one tile never
   pushes its heading out of line with the other tiles. */
.airtable-price-badge--floating {
    position: absolute;
    top: -0.6rem;
    left: 1.1rem;
    margin-bottom: 0;
}

.airtable-sub-row > .col-md-4:first-child .airtable-sub-tile {
    border-left: none;
}

.airtable-sub-tile:hover {
    background: #eaf3fc;
}

.airtable-sub-tile--highlight {
    background: #eefaf1;
}

.airtable-sub-tile--highlight:hover {
    background: #e3f6e8;
}

/* Pay-as-you-go: separate card, deliberately plain/neutral so it doesn't compete
   visually with the subscription group. */
.airtable-payg-box {
    height: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}
