:root {
    --navy: #1a1146;
    --navy-2: #2a1f6e;
    --navy-3: #3b2f80;
    --gold: #c9a84c;
    --gold-l: #e2c97d;
    --cream: #faf8f4;
    --surface: #f7f8fc;
    --ink: #1e1e2f;
    --muted: #6b6b7b;
    --line: rgba(201, 168, 76, .16);
    --soft: #fffaf0;
    --green: #0f7a5a;
    --radius: 16px;
    --radius-lg: 24px;
}

body {
    background: linear-gradient(180deg, #fffaf2 0%, var(--cream) 42%, var(--surface) 100%);
    letter-spacing: 0;
}

.wrap {
    max-width: 1120px;
}

.top {
    background: rgba(26, 17, 70, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, .15);
    box-shadow: 0 8px 36px rgba(0, 0, 0, .18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: url("/assets/img/apple-icon.png") center/cover no-repeat;
}

.nav a {
    font-weight: 600;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.nav a:hover {
    transform: translateY(-1px);
}

.order-progress-wrap {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.order-progress {
    position: relative;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
}

.order-progress::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(201, 168, 76, .16), rgba(201, 168, 76, .55), rgba(201, 168, 76, .16));
    transform: translateY(-50%);
    pointer-events: none;
}

.progress-step {
    position: relative;
    z-index: 1;
    flex-direction: column;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 5px;
    color: rgba(26, 17, 70, .52);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.progress-step span {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 168, 76, .24);
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 17, 70, .08);
}

.progress-step.current,
.progress-step.done {
    background: transparent;
}

.progress-step.current {
    color: var(--navy);
}

.progress-step.current span {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-l));
    color: var(--navy);
    box-shadow: 0 10px 28px rgba(201, 168, 76, .34);
}

.progress-step.done {
    color: var(--green);
}

.progress-step.done span {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(10, 5, 30, .92), rgba(26, 17, 70, .9) 52%, rgba(10, 5, 30, .92)),
        url("/assets/img/pages/home-hero-bg.png") center/cover no-repeat;
    padding: 84px 0 76px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(ellipse at 28% 18%, rgba(201, 168, 76, .12), transparent 42%),
        radial-gradient(ellipse at 74% 76%, rgba(59, 47, 128, .18), transparent 36%);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero h1,
h2,
.section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
}

.hero h1 {
    max-width: 900px;
    margin: 10px auto 16px;
    letter-spacing: 0;
    line-height: 1.08;
    font-size: 3.7rem;
}

h2 {
    font-size: 2.25rem;
}

.hero p {
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, .72);
    line-height: 1.72;
    font-weight: 400;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 54px;
    align-items: center;
    text-align: left;
}

.hero-split h1,
.hero-split p {
    margin-left: 0;
    margin-right: 0;
}

.eyebrow {
    color: var(--gold-l);
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.eyebrow::after {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    display: inline-block;
}

.section {
    padding: 76px 0;
}

.section:nth-of-type(even) {
    background: rgba(255, 255, 255, .58);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    color: var(--navy);
    font-size: 2.35rem;
    line-height: 1.15;
    margin: 0 0 14px;
}

.section-sub {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: 0;
    margin: 0 auto 22px;
}

.grid {
    gap: 24px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(40, 28, 110, .055);
    position: relative;
    overflow: hidden;
}

.card h3 {
    color: var(--navy);
}

.card p {
    line-height: 1.65;
}

.story-card,
.design-card,
.package-card,
.review-card,
.support-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.story-card:hover,
.design-card:hover,
.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, .34);
    box-shadow: 0 18px 52px rgba(40, 28, 110, .09);
}

.story-card::before,
.design-card::before,
.package-card::before,
.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-l));
    opacity: .78;
}

.btn {
    min-height: 48px;
    border-radius: 999px;
    padding: 14px 30px;
    font-weight: 700;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-l));
    color: var(--navy);
    box-shadow: 0 10px 28px rgba(201, 168, 76, .3);
}

.btn-secondary {
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 1.5px solid rgba(201, 168, 76, .25);
}

.actions {
    align-items: center;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    line-height: 1.45;
}

.trust-item i {
    color: var(--gold-l);
    font-size: 1.2rem;
    margin-top: 1px;
}

.hero-proof {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof i {
    color: var(--gold-l);
}

.website-showcase {
    position: relative;
    min-height: 430px;
}

.website-window {
    background: #fff;
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 24px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.window-bar {
    height: 38px;
    background: #f7f0df;
    border-bottom: 1px solid rgba(201, 168, 76, .2);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
}

.window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(26, 17, 70, .25);
}

.mock-hero {
    min-height: 190px;
    background:
        linear-gradient(160deg, rgba(26, 17, 70, .9), rgba(26, 17, 70, .68)),
        url("/assets/img/pages/home-cta-bg.webp") center/cover no-repeat;
    color: #fff;
    padding: 28px;
}

.mock-hero small,
.mock-hero strong,
.mock-hero em {
    display: block;
}

.mock-hero small {
    color: var(--gold-l);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
    margin-bottom: 12px;
}

.mock-hero strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
    line-height: 1.1;
    max-width: 260px;
}

.mock-hero em {
    font-style: normal;
    color: rgba(255, 255, 255, .72);
    margin-top: 12px;
}

.mock-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 18px;
}

.mock-sections span {
    min-height: 74px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.phone-preview {
    position: absolute;
    right: -18px;
    bottom: 18px;
    width: 148px;
    min-height: 280px;
    background: #111;
    border: 7px solid #17122d;
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.phone-preview::before {
    content: "";
    display: block;
    height: 96px;
    background: linear-gradient(160deg, rgba(26, 17, 70, .86), rgba(201, 168, 76, .52)), url("/assets/img/pages/home-hero-bg.png") center/cover;
}

.phone-preview span {
    display: block;
    height: 14px;
    margin: 12px;
    border-radius: 99px;
    background: #eee4cd;
}

.phone-preview span:nth-child(3) {
    width: 62%;
}

.phone-preview span:nth-child(4) {
    height: 50px;
    border-radius: 12px;
    background: #f6f6fb;
}

.story-card {
    padding: 32px 28px;
}

.story-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(201, 168, 76, .12);
    color: var(--gold);
    font-size: 1.45rem;
    margin-bottom: 18px;
}

.studio-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.studio-note {
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
}

.studio-note p {
    color: rgba(255, 255, 255, .72);
    margin: 8px 0 0;
}

.design-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.design-card {
    grid-column: span 3;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.design-card:first-child {
    grid-column: span 6;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
}

.design-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.preview-media {
    position: relative;
    height: 270px;
    border-radius: 0;
    overflow: hidden;
    background: var(--navy);
}

.design-card:first-child .preview-media {
    height: 100%;
    min-height: 360px;
}

.preview-desktop-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.preview-phone-frame {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 92px;
    aspect-ratio: 9 / 16;
    border: 5px solid #17122d;
    border-radius: 20px;
    background: #111;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.design-card:first-child .preview-phone-frame {
    width: 118px;
}

.preview-phone-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.design-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 16px;
}

.pill,
.recommendation {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(201, 168, 76, .24);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(201, 168, 76, .08);
    color: #7a5c16;
    font-size: .78rem;
    font-weight: 800;
}

.recommendation {
    background: #eaf7f1;
    border-color: #b7decf;
    color: #125642;
}

.package-grid {
    align-items: stretch;
}

.package-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.package-card.selected {
    border-color: rgba(201, 168, 76, .72);
    box-shadow: 0 22px 60px rgba(201, 168, 76, .14);
    transform: translateY(-10px);
}

.package-card.selected:hover {
    transform: translateY(-14px);
}

.package-badge {
    align-self: flex-start;
    margin-bottom: 14px;
}

.package-price-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.package-price-pair div {
    border: 1px solid rgba(201, 168, 76, .2);
    border-radius: 16px;
    background: var(--soft);
    padding: 14px;
}

.package-price-pair span,
.package-specs span {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.package-price-pair strong {
    display: block;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    margin-top: 3px;
}

.monthly-price-panel {
    border: 1px solid rgba(201, 168, 76, .28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 250, 240, .96), rgba(255, 255, 255, .94));
    padding: 18px;
    margin: 18px 0 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.monthly-price-panel span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(201, 168, 76, .12);
    color: #7a5c16;
    padding: 6px 10px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.monthly-price-panel strong {
    display: block;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.3rem;
    line-height: 1.05;
    margin-top: 10px;
}

.annual-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(201, 168, 76, .14);
    border-radius: 14px;
    background: rgba(250, 248, 244, .72);
    padding: 12px 14px;
    margin-bottom: 18px;
}

.annual-option span {
    color: var(--green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.annual-option strong {
    color: var(--navy);
    font-size: 1rem;
    text-align: right;
}

.package-specs {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.package-specs div {
    display: grid;
    grid-template-columns: 30px minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(201, 168, 76, .12);
    padding-bottom: 10px;
}

.package-specs i {
    color: var(--gold);
    font-size: 1.15rem;
}

.package-specs strong {
    color: var(--navy);
    font-size: .92rem;
    line-height: 1.35;
}

.price {
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.55rem;
    letter-spacing: 0;
}

.package-note {
    background: rgba(201, 168, 76, .07);
    border-left-color: var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 10px 12px;
    line-height: 1.55;
}

.feature-list {
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 9px;
    margin: 10px 0;
}

.feature-list li::before {
    content: "\2713";
    color: var(--green);
    font-weight: 900;
}

.checkout-grid {
    align-items: start;
}

.review-lead {
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.review-lead::after {
    content: "\271D";
    position: absolute;
    right: -12px;
    bottom: -42px;
    color: rgba(201, 168, 76, .08);
    font-size: 9rem;
}

.review-lead p {
    color: rgba(255, 255, 255, .72);
}

.summary-row {
    border-bottom-color: rgba(201, 168, 76, .16);
    padding: 14px 0;
}

.summary-row span {
    color: var(--muted);
}

.summary-row strong {
    color: var(--navy);
}

.edit-link {
    color: var(--gold);
    font-weight: 800;
    font-size: .88rem;
}

.checkout-assurance {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.assurance-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: .94rem;
}

.assurance-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 1px;
}

.tracker {
    display: grid;
    gap: 14px;
}

.track-item {
    border-color: rgba(201, 168, 76, .16);
    box-shadow: 0 8px 22px rgba(26, 17, 70, .045);
    position: relative;
}

.track-item.done {
    background: linear-gradient(135deg, #f2fff8, #fff);
}

.track-item.current {
    background: linear-gradient(135deg, #fff8df, #fff);
    border-color: rgba(201, 168, 76, .42);
}

.track-dot {
    font-weight: 900;
}

.status-hero {
    text-align: center;
}

.status-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 16px 42px rgba(40, 28, 110, .055);
}

.payment-highlight {
    border-radius: var(--radius);
    padding: 18px;
    background: var(--soft);
    border: 1px solid rgba(201, 168, 76, .24);
    margin-bottom: 18px;
}

.payment-highlight strong {
    color: var(--navy);
}

.package-info-section {
    padding-top: 0;
}

.info-panel {
    padding: 28px;
}

.info-panel summary {
    cursor: pointer;
    list-style: none;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
}

.info-panel summary::-webkit-details-marker {
    display: none;
}

.info-panel summary span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.info-panel summary i,
.info-panel h2 + .order-timeline i {
    color: var(--gold);
}

.order-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 22px;
    position: relative;
}

.order-timeline div {
    position: relative;
    text-align: center;
    color: var(--navy);
}

.order-timeline div:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    right: -12px;
    top: 13px;
    color: var(--gold);
    font-weight: 900;
}

.order-timeline span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-l));
    color: var(--navy);
    font-weight: 900;
}

.order-timeline strong {
    display: block;
    font-size: .86rem;
    line-height: 1.25;
}

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .62);
    border-top: 1px solid rgba(201, 168, 76, .15);
}

.admin-card .payment-soft,
.admin-card .next-action-soft {
    background: #fffbef;
    border: 1px solid rgba(201, 168, 76, .22);
    border-radius: 14px;
    padding: 12px;
}

@media (max-width: 980px) {
    .hero-split,
    .studio-intro,
    .design-card:first-child {
        grid-template-columns: 1fr;
    }

    .hero-split {
        text-align: center;
    }

    .hero-split h1,
    .hero-split p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-proof {
        justify-content: center;
    }

    .website-showcase {
        max-width: 520px;
        margin: 0 auto;
    }

    .design-card,
    .design-card:first-child {
        grid-column: 1 / -1;
    }

    .package-card.selected {
        transform: none;
    }
}

@media (max-width: 860px) {
    .top .wrap {
        gap: 10px;
    }

    .brand {
        font-size: 1rem;
    }

    .brand::before {
        width: 30px;
        height: 30px;
    }

    .hero {
        padding: 52px 0 46px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .price {
        font-size: 2.1rem;
    }

    .package-price-pair,
    .order-timeline {
        grid-template-columns: 1fr;
    }

    .package-specs div {
        grid-template-columns: 28px 1fr;
    }

    .package-specs strong {
        grid-column: 2;
    }

    .order-timeline div {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 10px;
        text-align: left;
        align-items: center;
    }

    .order-timeline span {
        margin: 0;
    }

    .order-timeline div:not(:last-child)::after {
        content: "";
        left: 16px;
        right: auto;
        top: 38px;
        width: 2px;
        height: 16px;
        background: rgba(201, 168, 76, .5);
    }

    .section {
        padding: 44px 0;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .order-progress {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
    }

    .order-progress::before {
        left: 48px;
        right: 48px;
    }

    .progress-step {
        min-width: 96px;
        font-size: .68rem;
    }

    .website-showcase {
        min-height: 370px;
    }

    .mock-hero {
        min-height: 160px;
    }

    .phone-preview {
        right: 8px;
        width: 120px;
        min-height: 232px;
    }

    .preview-media,
    .design-card:first-child .preview-media {
        height: 220px;
        min-height: 220px;
    }

    .preview-phone-frame,
    .design-card:first-child .preview-phone-frame {
        width: 78px;
        right: 12px;
        bottom: 12px;
    }

    .card,
    .package-card,
    .story-card {
        padding: 20px;
    }

    .design-card {
        padding: 0;
    }

    .design-body {
        padding: 20px;
    }

    .actions .btn,
    .actions form {
        width: 100%;
    }

    .actions form .btn {
        width: 100%;
    }

    .summary-row {
        display: block;
    }

    .summary-row strong {
        display: block;
        text-align: left;
        margin-top: 4px;
    }
}
