/* ========== Rental plans (bento layout) ========== */
.plans {
    padding: 80px 0 100px;
}

.plans .container { max-width: 1280px; }

/* Heading row: title left, text right */
.plans-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 44px;
}

.plans-eyebrow {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.plans-title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.2px;
    color: var(--heading);
}

.plans-subtitle {
    max-width: 400px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    padding-bottom: 6px;
}

/* Bento grid: big card left (2 rows), two cards right */
.plans-bento {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}

/* ---------- Featured card ---------- */
.plan-featured {
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
    background: #0b0b1a;
    color: #fff;
    border-radius: 28px;
    padding: 36px 40px 38px;
    display: flex;
    flex-direction: column;
}

/* decorative road lines */
.road-lines {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 420px;
    height: 420px;
    pointer-events: none;
}

.road-lines path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 26;
    opacity: .35;
}

.road-lines path:last-child {
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 14 14;
    opacity: .25;
}

.plan-featured > *:not(.road-lines) { position: relative; }

.featured-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.featured-badge {
    background: var(--accent);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 100px;
}

/* Day / Week / Month switch */
.period-switch {
    display: flex;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 100px;
    padding: 4px;
}

.period-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: all .2s;
}

.period-btn:hover { color: #fff; }

.period-btn.active {
    background: #fff;
    color: #0b0b1a;
    font-weight: 600;
}

.featured-title {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.featured-text {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .7);
    max-width: 420px;
    margin-bottom: 26px;
}

/* Price */
.featured-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 26px;
    line-height: 1;
}

.featured-price .from {
    font-size: 16px;
    color: rgba(255, 255, 255, .6);
    margin-right: 10px;
}

.featured-price .currency { font-size: 34px; font-weight: 600; color: #8ff0ff; }

.featured-price .amount {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    color: #8ff0ff;
    transition: opacity .2s, transform .2s;
}

.featured-price .amount.changing { opacity: 0; transform: translateY(6px); }

.featured-price .unit {
    font-size: 18px;
    color: rgba(255, 255, 255, .6);
    margin-left: 6px;
}

/* Features */
.featured-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 30px;
}

.featured-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .88);
}

.featured-features svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 3px;
    background: var(--primary);
    border-radius: 50%;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Bottom: car types + button */
.featured-bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-types a {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .25);
    transition: all .2s;
}

.featured-types a:hover { background: #fff; color: #0b0b1a; }

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    font-size: 17px;
    font-weight: 600;
    padding: 15px 24px;
    border-radius: 14px;
    transition: background .2s;
}

.featured-btn:hover { background: var(--primary-dark); }

.featured-btn svg,
.side-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s;
}

.featured-btn:hover svg { transform: translateX(4px); }

/* ---------- Side cards ---------- */
.plan-side {
    --side-bg: #ffe3f1;
    --side-accent: var(--accent);

    position: relative;
    background: var(--side-bg);
    border-radius: 28px;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.plan-mint { --side-bg: #d7f9ff; --side-accent: var(--primary); }

.plan-side:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 11, 26, .1);
}

/* big faint number */
.side-num {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--side-accent);
    opacity: .12;
}

.side-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.side-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--side-accent);
    display: grid;
    place-items: center;
}

.side-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.side-head h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--heading);
}

.side-price {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--heading);
    margin-bottom: 14px;
    line-height: 1;
}

.side-price small {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.side-price span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
    margin-left: 4px;
}

.side-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-right: 60px;
}

.side-features li {
    position: relative;
    font-size: 15px;
    color: #3a3d4a;
    padding-left: 14px;
}

.side-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--side-accent);
}

.side-arrow {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: var(--heading);
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.side-arrow svg { transform: rotate(-45deg); }

.plan-side:hover .side-arrow { background: var(--heading); color: #fff; }
.plan-side:hover .side-arrow svg { transform: rotate(0deg); }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
    .plans-title { font-size: 44px; }
    .featured-title { font-size: 32px; }
    .featured-price .amount { font-size: 52px; }
    .featured-features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .plans { padding: 56px 0 70px; }
    .plans-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
    .plans-bento { grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; }
    .plan-featured { grid-row: auto; }
}

@media (max-width: 560px) {
    .plans-title { font-size: 34px; }
    .plans-subtitle { font-size: 15px; }
    .plan-featured { padding: 26px 22px 28px; border-radius: 22px; }
    .featured-title { font-size: 27px; }
    .featured-text { font-size: 15px; }
    .featured-price .amount { font-size: 44px; }
    .featured-price .currency { font-size: 26px; }
    .featured-btn { width: 100%; justify-content: center; }
    .period-btn { padding: 6px 12px; font-size: 13px; }
    .plan-side { padding: 24px 22px; border-radius: 22px; }
    .side-head h3 { font-size: 22px; }
    .side-price { font-size: 30px; }
    .side-num { font-size: 48px; }
    .side-arrow { width: 42px; height: 42px; right: 20px; bottom: 20px; }
}