:root {
    --start-bg: #f7f0e7;
    --start-card: rgba(253, 250, 246, 0.94);
    --start-ink: #171717;
    --start-muted: #655e56;
    --start-gold: #a98243;
    --start-gold-light: #c39a54;
    --start-border: rgba(169, 130, 67, 0.24);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background: var(--start-bg);
}

body {
    min-height: 100vh;
    color: var(--start-ink);
    font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif;
    background:
        radial-gradient(circle at 50% 5%, rgba(255, 255, 255, 0.88), transparent 24rem),
        linear-gradient(145deg, #f8f2ea 0%, #ecdfd0 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.start-header {
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
    padding-top: 1.4rem;
}

.start-home {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--start-gold);
    font-weight: 600;
}

.start-home svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.start-main {
    position: relative;
    isolation: isolate;
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
    padding: 1rem 0 4rem;
    overflow: hidden;
}

.start-decoration {
    position: absolute;
    z-index: -1;
    width: 17rem;
    height: 28rem;
    border: 1px solid rgba(169, 130, 67, 0.18);
    border-radius: 50%;
}

.start-decoration-right {
    top: 8rem;
    right: -12rem;
    transform: rotate(24deg);
}

.start-decoration-left {
    bottom: 2rem;
    left: -12rem;
    transform: rotate(-24deg);
}

.start-logo {
    display: flex;
    width: auto;
    height: auto;
    margin: 0 auto 1.1rem;
}

.start-card {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 2.3rem;
    border: 1px solid var(--start-border);
    border-radius: 32px;
    background: var(--start-card);
    box-shadow: 0 22px 65px rgba(70, 51, 25, 0.12);
    text-align: center;
    backdrop-filter: blur(10px);
}

.start-kind {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.55rem;
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    background: #1a1612;
    color: #f6e7c8;
    font-size: 0.75rem;
    font-weight: 800;
}

.start-page.is-basic .start-kind {
    background: linear-gradient(180deg, #b58a45, #a98243);
    color: #fffdf7;
}

.start-eyebrow {
    margin-bottom: 0.35rem;
    color: var(--start-gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.start-card h1 {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.45;
}

.start-lead {
    margin-top: 0.45rem;
    color: var(--start-muted);
    font-size: 0.94rem;
}

.start-status {
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(169, 130, 67, 0.12);
    color: #76571f;
}

#start-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.8rem;
}

.quantity-group,
.phone-group {
    display: grid;
    gap: 0.55rem;
    text-align: right;
}

.quantity-group > label,
.phone-group > span:first-child {
    color: #433b32;
    font-size: 0.9rem;
    font-weight: 700;
}

.quantity-stepper-wrap {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
}

.quantity-stepper-wrap .quantity-stepper {
    flex: 1;
}

.quantity-offer {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 0 0.85rem;
    border: 1px solid var(--start-border);
    border-radius: 18px;
    background: #17130f;
    color: #f8e8c9;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.quantity-offer:hover {
    background: #2a2118;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 58px 1fr 58px;
    overflow: hidden;
    border: 1px solid var(--start-border);
    border-radius: 18px;
    background: #fffdfa;
}

.quantity-stepper button {
    border: 0;
    background: rgba(169, 130, 67, 0.1);
    color: var(--start-gold);
    font-size: 1.55rem;
    cursor: pointer;
}

.quantity-stepper button:hover {
    background: rgba(169, 130, 67, 0.18);
}

.quantity-stepper input {
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--start-ink);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.quantity-notice {
    min-height: 1.2rem;
    color: #9a4f3d;
    font-size: 0.78rem;
}

.price-card {
    position: relative;
    display: grid;
    gap: 0.7rem;
    padding: 1.3rem;
    border: 1px solid var(--start-border);
    border-radius: 20px;
    background: linear-gradient(145deg, #f8f0e4, #f0e1ce);
    text-align: right;
}

.price-card.is-offer {
    border-color: rgba(47, 107, 92, 0.35);
    background: linear-gradient(145deg, #e7f4ef, #cfe8df);
}

.price-card.is-offer .discount-badge {
    background: #1d4a3f;
    color: #e8fff6;
}

.price-card.is-offer .price-total strong {
    color: #1d4a3f;
}

.offer-name {
    color: #1d4a3f;
    font-size: 1rem;
    font-weight: 800;
}

.discount-badge {
    position: absolute;
    top: -0.7rem;
    left: 1rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #17130f;
    color: #f8e8c9;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price-before {
    color: var(--start-muted);
    font-size: 0.9rem;
}

.price-total strong {
    color: #7b581f;
    font-size: 1.55rem;
}

.price-card p {
    color: var(--start-muted);
    font-size: 0.78rem;
}

.phone-field {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.2rem 0.9rem;
    border: 1px solid var(--start-border);
    border-radius: 18px;
    background: #fffdfa;
}

.phone-field svg {
    width: 22px;
    fill: none;
    stroke: var(--start-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.phone-field input {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    direction: ltr;
    text-align: right;
}

.phone-group small {
    color: #9a4f3d;
    font-size: 0.78rem;
}

.start-submit {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--start-gold-light), var(--start-gold));
    color: #fffaf2;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(134, 94, 35, 0.22);
    cursor: pointer;
}

.start-choice-main {
    min-height: calc(100dvh - 8rem);
    display: grid;
    align-content: center;
}

.start-choice-card {
    max-width: 44rem;
}

.start-choice-card h1,
.start-choice-card .start-lead {
    text-align: center;
}

.start-paused-card {
    max-width: 36rem;
}

.start-paused-card .start-lead + .start-lead {
    margin-top: 0.85rem;
}

.start-kind-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.start-kind-option {
    display: flex;
    margin: 0;
}

.start-kind-option .start-kind-choice {
    width: 100%;
}

.start-kind-choice {
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.25rem;
    border: 1px solid var(--start-border);
    border-radius: 24px;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.start-kind-choice:hover,
.start-kind-choice:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(62, 44, 20, 0.12);
}

.start-kind-choice span {
    font-size: 1.3rem;
    font-weight: 700;
}

.start-kind-choice small {
    color: var(--start-muted);
    line-height: 1.7;
}

.start-kind-choice .start-kind-balance {
    margin-top: 0.15rem;
    color: #6d645c;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.start-kind-choice.is-vip {
    background: linear-gradient(145deg, rgba(195, 154, 84, 0.22), rgba(255, 253, 249, 0.92));
}

.start-kind-choice.is-basic {
    background: rgba(255, 253, 249, 0.92);
}

.start-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    color: var(--start-muted);
    font-size: 0.85rem;
}

@media (max-width: 639.98px) {
    .start-header {
        padding-top: 1rem;
    }

    .start-main {
        width: min(100% - 1.25rem, 1120px);
        padding-top: 0.5rem;
    }

    .start-logo {
        width: auto;
        height: auto;
    }

    .start-card {
        padding: 1.5rem 1rem;
        border-radius: 26px;
    }

    .start-choice-main {
        min-height: auto;
    }

    .start-kind-choices {
        grid-template-columns: minmax(0, 1fr);
    }

    .start-kind-choice {
        min-height: 7.25rem;
    }

    .quantity-stepper {
        grid-template-columns: 52px 1fr 52px;
    }

    .quantity-offer {
        min-width: 64px;
        padding: 0 0.7rem;
        font-size: 0.84rem;
    }
}
