:root {
    --bg-gradient-start: #0f3485;
    --bg-gradient-end: #0faa9e;
    --text-white: #ffffff;
    --text-dim: #e0e0e0;

    --card-bg: rgba(255, 255, 255, 0.2);
    --card-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);

    --input-bg: rgba(0, 0, 0, 0.2);
    --input-border: rgba(255, 255, 255, 0.1);

    --btn-blue: #3b82f6;
    --btn-green: #10b981;
    --btn-purple: #a855f7;
    --btn-gold: #f59e0b;
    --btn-gold-hover: #d97706;

    --font-inter: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-inter);
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 50px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--text-white);
}

.btn-client-area {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-client-area:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hero */
.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    color: var(--text-dim);
    font-size: 16px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 260px repeat(4, 1fr);
    gap: 15px;
    align-items: stretch;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

/* Config Card */
.config-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.config-card .card-header h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center align input with text */
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.config-input {
    width: 60px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    padding: 5px;
    color: white;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}

select.config-input {
    cursor: pointer;
    appearance: auto;
    text-align: left;
    /* Ensure text is readable */
    padding-right: 0;
    /* Save space */
}

#input-storage {
    width: 75px;
    font-size: 13px;
    padding-left: 5px;
    text-align: center;
}

.config-input:focus {
    border-color: #4fd1c5;
}

.config-item i {
    width: 20px;
}

.config-total {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4ade80;
    /* bright green for total */
    font-weight: 600;
    font-size: 16px;
}

.total-value {
    font-size: 20px;
}

/* Plan Cards */
.plan-card {
    position: relative;
    text-align: left;
    transition: transform 0.2s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.featured {
    border: 1px solid #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

/* Colored Top Borders */
.plan-card.plan-start {
    border-top: 4px solid var(--btn-blue);
}

.plan-card.plan-social {
    border-top: 4px solid var(--btn-green);
}

.plan-card.plan-excelencia {
    border-top: 4px solid var(--btn-purple);
}

.plan-card.plan-clevel {
    border-top: 4px solid var(--btn-gold);
}

.star-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #f59e0b;
    font-size: 20px;
    background: #1e293b;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f59e0b;
}

.plan-card .card-header {
    margin-bottom: 20px;
    height: 80px;
}

.plan-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-card .focus {
    font-size: 12px;
    color: var(--text-dim);
}

.features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.features li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features li i {
    color: var(--btn-green);
    font-size: 12px;
}

.plan-start .features li i {
    color: #fff;
}

/* Override for start? Or stick to check style */

.highlight {
    color: #fcd34d;
    font-weight: 600;
}

.price-area {
    margin-bottom: 20px;
}

.price-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.price {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.price-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.breakdown-row:last-child {
    margin-bottom: 0;
}

.breakdown-row span {
    color: var(--text-dim);
}

.breakdown-row strong {
    color: #fff;
}

.sub-price {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.2;
    margin-bottom: 5px;
}

.implantation-cost {
    font-size: 14px;
    color: #4fd1c5;
    /* Teal to match calculations */
    font-weight: 600;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-blue {
    background-color: var(--btn-blue);
    color: white;
}

.btn-green {
    background-color: var(--btn-green);
    color: white;
}

.btn-purple {
    background-color: var(--btn-purple);
    color: white;
}

.btn-gold {
    background-color: var(--btn-gold);
    color: #1e293b;
}

/* Additional Services */
.additional-services {
    padding: 40px 0;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
}

.service-card h3 {
    color: #4fd1c5;
    /* teal-ish text */
    font-size: 18px;
    margin-bottom: 20px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.service-row strong {
    color: var(--text-white);
}

.promo-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.promo-box .icon {
    font-size: 24px;
    color: #4fd1c5;
}

.promo-box .text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promo-box .text strong {
    color: #4fd1c5;
    font-size: 14px;
}

.promo-box .text span {
    font-size: 12px;
    color: var(--text-dim);
}

.promo-price {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-dim);
}

.new-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

/* Tips Section */
.tips-section {
    padding: 0 0 40px 0;
}

.tip-box {
    background: rgba(15, 118, 110, 0.3);
    /* Dark teal bg */
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.tip-box i {
    color: #fcd34d;
    /* yellow bulb */
    font-size: 24px;
}

.tip-box p {
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    font-size: 12px;
    color: var(--text-dim);
}

.footer h4 {
    margin-bottom: 10px;
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 12px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 5px;
}

.footer-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.btn-outline-white {
    background: white;
    color: #0f3485;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-teal {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .config-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .config-card {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-actions {
        flex-direction: column;
    }
}

.footer-credits {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: var(--text-dim);
}

.footer-credits a {
    color: #4fd1c5;
    text-decoration: none;
    font-weight: 600;
}

.footer-credits a:hover {
    text-decoration: underline;
}