/* Base styles */
body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2 {
    color: #555;
}

/* Controls panel */
.controls {
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Telephone input */
input[type="tel"] {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Call button */
#callButton {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease;
}
#callButton:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}
#callButton:hover:not(:disabled) {
    opacity: 0.9;
}

/* Call status text */
#callStatus {
    margin-top: 10px;
    font-weight: bold;
    min-height: 1.2em;
}

/* Transcripts panel */
.transcripts {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.transcripts h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.transcripts pre {
    min-height: 1.2em;
    background-color: #e9ecef;
    padding: 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ─── PRICING TABLE ───────────────────────────────────────────────────────── */
.pricing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}
.pricing-card {
    position: relative;
    background: #fafafa;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}
.pricing-card h3 {
    margin: 0 0 12px;
    font-size: 1.25em;
}
.pricing-card p {
    font-size: 0.95em;
    line-height: 1.4;
    color: #555;
    margin-bottom: 20px;
}
.pricing-card .price {
    font-size: 2em;
    font-weight: bold;
}
.pricing-card .price .period {
    font-size: 0.5em;
    font-weight: normal;
    color: #777;
    margin-left: 4px;
    vertical-align: super;
}
.pricing-card.popular {
    border: 2px solid #007bff;
}
.pricing-card.popular .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

/* ─── FAQ CARDS ───────────────────────────────────────────────────────── */
.faq-container {
    display: grid;
    gap: 16px;
    margin-top: 10px;
    text-align: left;
}
.faq-item {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-item h4 {
    margin: 0 0 8px;
    font-size: 1.1em;
    color: #333;
}
.faq-item p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}

/* Navbar tagline */
.navbar {
    display: flex;
    align-items: center;
    /* …existing rules… */
}
.navbar .tagline {
    margin-left: 20px;
    font-size: 0.95em;
    font-style: italic;
    color: #555;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .navbar .tagline {
        display: none;
    }
}

/* ─── MODAL LAYOUT TWEAKS ───────────────────────────────────────────── */
.modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;    /* center modal vertically */
    overflow-y: auto;
    padding: 10px;          /* minimal padding so close is visible */
}
.modal {
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    margin: auto;
}
@media (max-width: 400px) {
    .modal {
        width: 100%;
        margin: 10px;
    }
}
