:root {
    --bg: #0b0f0e;
    --bg-2: #0f1715;
    --card: #121b18;
    --muted: #9fb1ab;
    --text: #e6f2ee;
    --brand: #0E946E;
    --brand-2: #0bb985;
    --line: #1e2a26;
    --accent: #122a24;
    --warn: #ffcc66;
    --danger: #ff7a7a;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.hero {
    padding: 56px 0 36px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(800px 400px at 80% -10%, rgba(14, 148, 110, .25), transparent);
    margin-top: 0px;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin: 0 0 12px;
    margin-top: 20px;
}

.hero p {
    color: var(--muted);
    margin: 0 0 24px
}

.hero .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: .2s ease;
    font-weight: 600;
    margin-top: 20px;

}

.btn.primary {
    background: var(--brand);
    border-color: var(--brand);
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.stat {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 14px;
    border-radius: 12px;
}

.stat b {
    display: block;
    font-size: 20px
}

.section {
    padding: 32px 0
}

.section h2 {
    margin: 0 0 8px
}

.section p.lead {
    color: var(--muted);
    margin: 0 0 20px
}

.toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 8px 12px;
    border-radius: 999px;
    width: max-content;
}

.toggle input {
    display: none
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
    font-weight: 600;
}

.toggle input:checked+.pill {
    background: var(--brand);
    color: #fff
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 4px 0 4px
}

.price {
    font-size: 34px;
    font-weight: 800
}

.muted {
    color: var(--muted)
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(14, 148, 110, .2);
    color: #c7ffee;
    font-size: 12px;
    border: 1px solid rgba(14, 148, 110, .4)
}

.features {
    margin: 10px 0 0;
    padding: 0 0 0 18px
}

.features li {
    margin: 6px 0
}

.build-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.field {
    margin-bottom: 12px
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600
}

.range {
    width: 100%;
}

.inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.chip {
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--accent);
    border: 1px solid var(--line);
    cursor: pointer;
    user-select: none;
}

.chip input {
    display: none
}

.chip.active {
    background: rgba(14, 148, 110, .2);
    border-color: rgba(14, 148, 110, .5)
}

.summary {
    background: var(--bg-2);
    border: 1px dashed var(--line);
    padding: 12px;
    border-radius: 12px;
}

.addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px
}

.addon {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: center
}

thead th {
    position: sticky;
    top: 0;
    background: #101916;
    z-index: 1;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--muted);
    cursor: help;
}

.tooltip .tip {
    display: none;
    position: absolute;
    right: 0;
    top: 24px;
    background: #0d1513;
    border: 1px solid var(--line);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    width: 200px;
    font-size: 12px;
    z-index: 2;
}

.tooltip:hover .tip {
    display: block
}

.roi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.result {
    font-size: 22px;
    font-weight: 700
}



/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.modal {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    width: min(520px, 92%);
    padding: 20px;
}

.modal h3 {
    margin: 0 0 10px
}

.close {
    float: left;
    cursor: pointer;
    font-size: 18px;
    color: var(--muted)
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0
}

.total {
    font-size: 26px;
    font-weight: 800;
}

.note {
    font-size: 12px;
    color: var(--muted)
}


.pricing-footer-note {
    padding: 24px 0 60px;
    color: var(--muted);
    text-align: center;
}


.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 6px;
    border-radius: 999px;
}

.billing-toggle .pill {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: .2s ease;
}

.billing-toggle .pill:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.billing-toggle .pill.active {
    background: var(--brand);
    color: #fff;
}



/* Pricing Cards - Enhanced */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: linear-gradient(135deg, var(--card) 0%, rgba(18, 27, 24, 0.8) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    position: relative;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    opacity: 0;
    transition: opacity .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(14, 148, 110, .15);
    border-color: rgba(14, 148, 110, .3);
}

.card:hover::before {
    opacity: 1;
}

/* Popular Card */
.card.popular {
    background: linear-gradient(135deg, rgba(14, 148, 110, .08) 0%, var(--card) 100%);
    border: 2px solid var(--brand);
    box-shadow: 0 8px 32px rgba(14, 148, 110, .25);
    transform: scale(1.02);
}

.card.popular::before {
    opacity: 1;
    height: 4px;
}

.card.popular:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(14, 148, 110, .35);
}

.popular-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(14, 148, 110, .4);
}

.card h3 {
    margin: 32px 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.card.popular h3 {
    margin-top: 48px;
}

/* Price Styling */
.price {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 16px 0;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
}

.card>p:not(.price) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0 20px;
    min-height: 42px;
}

/* Features List */
.features {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.features li {
    margin: 12px 0;
    padding-right: 24px;
    position: relative;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--brand-2);
    font-weight: 700;
    font-size: 16px;
}

/* CTA Button in Card */
.card .btn {
    width: 100%;
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    padding: 14px 20px;
    background: var(--accent);
    border: 1px solid var(--line);
    transition: all .3s ease;
}

.card.popular .btn {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.card .btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.card.popular .btn:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
}