
:root {
    --bg-gradient: linear-gradient(135deg, #e9ecef 0%, #fef8e3 100%);
    --card-light: rgba(255, 255, 255, 0.4);
    --card-dark: #222222;
    --accent-yellow: #facc15;
    --text-main: #111827;
    --text-muted: #6b7280;
    --green: #4ade80;
    --red: #f87171;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #94a3b8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

/* Main Container */
.dashboard-container {
    width: 100vw;
    background: var(--bg-gradient);
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Top Navigation */
/* header {
    display: none;
} */

header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "logo nav actions";
    align-items: center;
    gap: 12px 18px;
    margin-bottom: 28px;
}

header .logo { grid-area: logo; }

header nav {
    grid-area: nav;
    justify-self: center;
    max-width: min(820px, 70vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

header nav::-webkit-scrollbar { display: none; }

.header-actions {
    grid-area: actions;
    justify-self: end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

nav {
    /* visibility: hidden !important; */
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e5e7eb;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    gap: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    display: none !important;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

nav a:hover { color: var(--text-main); }

.header-actions {
    /* visibility: hidden !important; */
    display: flex;
    gap: 15px;
    align-items: center;
    display: none !important;
}

.icon-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.settings-btn {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* Pricing Header */
.pricing-header {
    margin-bottom: 40px;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.currency-picker {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    padding: 10px 20px;
    min-width: 170px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.currency-picker:focus,
.currency-picker:focus-visible {
    outline: none;
    border-color: var(--card-dark);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.16);
}

.currency-picker option {
    background: #ffffff;
    color: var(--text-main);
}

.toggle {
    background: rgba(255, 255, 255, 0.6);
    padding: 5px;
    border-radius: 25px;
    border: 1px solid #e5e7eb;
    display: flex;
    width: fit-content;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.toggle button {
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.toggle .active {
    background: #222;
    color: white;
}

.toggle .inactive {
    background: transparent;
    color: var(--text-muted);
}

/* Pricing Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 58%, rgba(250, 204, 21, 0.06) 100%);
    border-radius: 35px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
}

.card.featured {
    background: var(--card-dark);
    color: white;
    transform: scale(1.03);
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card.solid {
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 58%, rgba(250, 204, 21, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
}

/* Badges */
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}
.card.featured .badge {
    top: 10px;
    right: 20px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-orange { background: #fb923c; }
.dot-green { background: #4ade80; }

.save-badge {
    background: repeating-linear-gradient(45deg, #facc15, #facc15 5px, #fde047 5px, #fde047 10px);
    padding: 6px 16px;
    border-radius: 20px;
    color: black;
    font-weight: 600;
}

/* Card Content */
.plan-name {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-top: 3vh;
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.currency {
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
}

.price { font-size: 56px; font-weight: 500; line-height: 1; }
.featured .price { color: var(--accent-yellow); }
.featured .currency { color: var(--accent-yellow); }
.price-unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}
.featured .price-unit { color: #9ca3af; }

.old-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    text-decoration: line-through;
    font-size: 34px;
    color: #4b5563;
}

.billing-info {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured .billing-info { color: #9ca3af; }
.price-sub { display: inline-block; margin-top: 2px; }

.description {
    font-size: 12px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0 10px;
}

.featured .description { color: #9ca3af; }

.divider {
    border-top: 1px dotted #d1d5db;
    margin-bottom: 30px;
}

.featured .divider { border-color: #4b5563; }

/* Feature List */
.features {
    list-style: none;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.featured .features li { color: #d1d5db; }

.features li.unavailable {
    color: #9ca3af;
}

.features li.section-heading {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.features li.section-heading .check-icon,
.features li.section-heading .cross-icon {
    display: none;
}

.featured .features li.section-heading { color: #9ca3af; }

.hours-trust-line {
    display: none;
    margin-top: 18px;
    font-size: 13px;
    text-align: center;
    color: var(--text-muted);
}

.card-addons-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin: 8px 0 8px;
    letter-spacing: 0.2px;
}

.card-addons-list {
    margin: 0;
    padding: 12px 14px 12px 30px;
    list-style: disc;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(209, 213, 219, 0.7);
    border-radius: 14px;
}

.card-addons-list li {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 6px;
}

.card-addons-list li:last-child { margin-bottom: 0; }

.featured .card-addons-title { color: #e5e7eb; }
.featured .card-addons-list {
    background: rgba(255, 255, 255, 0.06);
    border-color: #4b5563;
}
.featured .card-addons-list li { color: #9ca3af; }

.quote-notes {
    margin: 8px 0 4px;
    padding: 12px 14px 12px 30px;
    list-style: disc;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(209, 213, 219, 0.7);
    border-radius: 14px;
}

.quote-notes li {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.quote-notes li:last-child { margin-bottom: 0; }

.quote-notes-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.featured .quote-notes {
    background: rgba(255, 255, 255, 0.06);
    border-color: #4b5563;
}

.featured .quote-notes li { color: #9ca3af; }
.featured .quote-notes-title { color: #e5e7eb; }

.check-icon {
    color: var(--green);
    flex-shrink: 0;
}

.cross-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    margin-top: 30px;
    width: fit-content;
    align-self: center;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-ghost { background: white; color: var(--text-main); border: 1px solid #e5e7eb; }
.btn-white { background: white; color: black; }

.addons-panel {
    margin-top: 28px;
    width: 100%;
    max-width: 420px;
    margin-right: auto;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.addons-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.addons-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.addons-list {
    list-style: disc;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.addons-list li {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
}

.site-credit {
    margin-top: 24px;
    padding: 12px 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    color: #4b5563;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
}

.site-credit strong {
    color: #111827;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-backdrop.open {
    display: flex;
}

.contact-modal {
    width: min(560px, 96vw);
    max-height: 92vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

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

.modal-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-main);
}

.modal-close {
    border: none;
    background: #f3f4f6;
    color: #111827;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.thanks-modal {
    width: min(440px, 94vw);
    text-align: center;
    padding: 28px 24px;
}

.thanks-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 26px;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

.thanks-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.thanks-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.thanks-close-btn {
    width: auto;
    min-width: 170px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.plan-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.plan-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12.5px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 500;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field input:focus-visible,
.field textarea:focus,
.field textarea:focus-visible {
    outline: none;
    border-color: var(--card-dark);
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.16);
}

.submit-btn {
    margin-top: 14px;
    width: 100%;
    border: none;
    border-radius: 999px;
    background: var(--card-dark);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #111111;
    transform: translateY(-1px);
}

.submit-btn:focus,
.submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.2);
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    animation: btn-spin 0.8s linear infinite;
    display: none;
    flex-shrink: 0;
}

.submit-btn.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-cta {
    margin-top: 28px;
    background: var(--card-dark);
    color: #ffffff;
    border-radius: 35px;
    border: 4px solid var(--accent-yellow);
    padding: 34px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 20px;
    align-items: center;
}

.contact-cta-copy h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-cta-copy p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    line-height: 1.55;
    font-size: 15px;
}

.contact-cta-points {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-cta-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    font-size: 12.5px;
    color: #f9fafb;
}

.contact-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cta-note {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .card.featured { transform: scale(1); }
    header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "nav"
            "actions";
        justify-items: center;
        gap: 14px;
    }

    .header-actions {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav {
        justify-self: center;
        max-width: 100%;
    }
    .contact-cta {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }
    .contact-cta-actions {
        align-items: flex-start;
    }
    .cta-note {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .addons-list {
        grid-template-columns: 1fr;
    }
}
