:root {
    --ipn-navy: #0c1f3f;
    --ipn-navy-deep: #081528;
    --ipn-navy-soft: #162a4a;
    --ipn-orange: #f97316;
    --ipn-orange-dark: #ea580c;
    --ipn-orange-soft: #fff7ed;
    --ipn-gold: #fbbf24;
    --ipn-cream: #f8fafc;
    --ipn-white: #ffffff;
    --ipn-muted: #64748b;
    --ipn-border: rgba(12, 31, 63, 0.1);
    --ipn-shadow: 0 20px 60px rgba(8, 21, 40, 0.12);
    --ipn-radius: 20px;
    --ipn-font-display: "Montserrat", system-ui, sans-serif;
    --ipn-font-body: "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.gw-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ipn-font-body);
    color: var(--ipn-navy);
    background: var(--ipn-cream);
    display: flex;
    flex-direction: column;
}

.gw-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 32px clamp(20px, 4vw, 48px) 40px;
    flex: 1;
}

.gw-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ipn-border);
}

.gw-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.gw-brand img {
    height: 56px;
    width: auto;
    display: block;
}

.gw-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.gw-panel {
    border-radius: var(--ipn-radius);
    overflow: hidden;
    box-shadow: var(--ipn-shadow);
}

.gw-panel-dark {
    background: linear-gradient(165deg, var(--ipn-navy-deep) 0%, var(--ipn-navy) 55%, var(--ipn-navy-soft) 100%);
    color: #fff;
    position: relative;
    order: 2;
}

.gw-panel-light {
    background: var(--ipn-white);
    border: 1px solid var(--ipn-border);
    order: 1;
}

.gw-panel-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.16), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(251, 191, 36, 0.1), transparent 35%);
    pointer-events: none;
}

.gw-panel-inner {
    position: relative;
    padding: clamp(24px, 3vw, 40px);
}

.gw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.28);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fdba74;
    margin-bottom: 10px;
    font-weight: 700;
}

.gw-title {
    font-family: var(--ipn-font-display);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 700;
}

.gw-subtitle {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    max-width: 48ch;
    font-size: 0.9rem;
}

.gw-price-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 28px;
}

.gw-price-main {
    font-family: var(--ipn-font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1;
    color: var(--ipn-gold);
    font-weight: 800;
}

.gw-price-main small {
    font-family: var(--ipn-font-body);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
}

.gw-price-meta {
    text-align: right;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.gw-price-meta del {
    display: block;
    opacity: 0.55;
    margin-bottom: 4px;
}

.gw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.gw-stat {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gw-stat strong {
    display: block;
    font-family: var(--ipn-font-display);
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: #fff;
}

.gw-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
}

.gw-section-label {
    font-family: var(--ipn-font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
    font-weight: 700;
}

.gw-timeline {
    display: grid;
    gap: 14px;
    max-height: 460px;
    overflow: auto;
    padding-right: 6px;
}

.gw-timeline::-webkit-scrollbar {
    width: 6px;
}

.gw-timeline::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.gw-workshop-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.gw-workshop-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.gw-workshop-index {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(251, 191, 36, 0.18));
    border: 1px solid rgba(249, 115, 22, 0.35);
    font-family: var(--ipn-font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: #fdba74;
}

.gw-workshop-card h3 {
    margin: 0 0 8px;
    font-family: var(--ipn-font-display);
    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 600;
}

.gw-workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.gw-workshop-meta i {
    color: var(--ipn-orange);
}

.gw-workshop-desc {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.gw-form-head {
    margin-bottom: 28px;
}

.gw-form-head h2 {
    font-family: var(--ipn-font-display);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--ipn-navy);
}

.gw-form-head p {
    margin: 0;
    color: var(--ipn-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.gw-field {
    margin-bottom: 18px;
}

.gw-field label {
    display: block;
    font-family: var(--ipn-font-display);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ipn-navy);
}

.gw-input-wrap {
    position: relative;
}

.gw-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ipn-muted);
    font-size: 1.15rem;
}

.gw-input-wrap input {
    width: 100%;
    padding: 15px 16px 15px 44px;
    border-radius: 12px;
    border: 1px solid var(--ipn-border);
    background: #fcfdfe;
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gw-input-wrap input:focus {
    outline: none;
    border-color: var(--ipn-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.gw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gw-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.gw-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.gw-submit {
    width: 100%;
    margin-top: 10px;
    padding: 17px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ipn-orange), var(--ipn-orange-dark));
    color: #fff;
    font-family: var(--ipn-font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(234, 88, 12, 0.34);
}

.gw-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 20px;
    color: var(--ipn-muted);
    font-size: 0.82rem;
}

.gw-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gw-trust-row i {
    color: var(--ipn-orange);
}

.gw-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--ipn-muted);
    line-height: 1.6;
}

.gw-site-footer {
    margin-top: auto;
    padding: 20px clamp(20px, 4vw, 48px);
    background: var(--ipn-navy-deep);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.gw-site-footer-inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gw-site-footer strong {
    color: #fff;
}

.gw-site-footer a {
    color: #fdba74;
    text-decoration: none;
    font-weight: 600;
}

.gw-site-footer a:hover {
    text-decoration: underline;
}

.gw-razorpay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.gw-razorpay-badge i {
    color: var(--ipn-orange);
}

.gw-success-hero {
    text-align: center;
    padding: 52px 32px 32px;
    background: linear-gradient(165deg, #065f46 0%, #0f766e 50%, #14b8a6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.gw-success-hero.error-hero {
    background: linear-gradient(165deg, #7f1d1d 0%, #dc2626 100%);
}

.gw-success-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.16), transparent 55%);
}

.gw-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    animation: gw-pop 0.55s ease;
    position: relative;
}

@keyframes gw-pop {
    0% { transform: scale(0.6); opacity: 0; }
    70% { transform: scale(1.06); }
    100% { transform: scale(1); opacity: 1; }
}

.gw-success-hero h1 {
    font-family: var(--ipn-font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin: 0 0 12px;
    font-weight: 700;
    position: relative;
}

.gw-success-hero p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.65;
    position: relative;
    max-width: 52ch;
    margin-inline: auto;
}

.gw-receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.gw-receipt-block {
    padding: 22px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--ipn-border);
}

.gw-receipt-block h3 {
    margin: 0 0 16px;
    font-family: var(--ipn-font-display);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ipn-muted);
    font-weight: 700;
}

.gw-kv {
    display: grid;
    gap: 12px;
}

.gw-kv-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.92rem;
}

.gw-kv-row span:first-child {
    color: var(--ipn-muted);
}

.gw-kv-row strong,
.gw-kv-row code {
    text-align: right;
}

.gw-kv-row code {
    font-size: 0.76rem;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--ipn-orange-soft);
    color: var(--ipn-orange-dark);
}

.gw-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.82rem;
    font-weight: 700;
}

.gw-next-steps {
    padding: 24px 26px;
    border-radius: 16px;
    background: var(--ipn-orange-soft);
    border: 1px solid rgba(249, 115, 22, 0.18);
    margin-top: 28px;
}

.gw-next-steps h3 {
    margin: 0 0 16px;
    font-family: var(--ipn-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ipn-navy);
}

.gw-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gw-steps li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ipn-navy-soft);
}

.gw-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ipn-orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--ipn-font-display);
    font-size: 0.78rem;
    font-weight: 800;
}

.gw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gw-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    border: 1px solid var(--ipn-border);
    background: #fff;
    color: var(--ipn-navy);
    text-decoration: none;
    font-family: var(--ipn-font-display);
    font-weight: 600;
    font-size: 0.92rem;
}

.gw-btn-secondary:hover {
    background: #f8fafc;
}

.gw-state-card {
    max-width: 720px;
    margin: 0 auto;
}

.gw-state-body {
    padding: 36px;
    text-align: center;
}

.gw-state-body .gw-submit {
    width: auto;
    min-width: 180px;
}

.gw-success-layout .gw-panel-light .gw-panel-inner {
    padding-top: 32px;
}

.gw-workshop-card-light {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ipn-border);
    margin-bottom: 14px;
}

.gw-workshop-card-light h3 {
    margin: 0 0 8px;
    font-family: var(--ipn-font-display);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

.gw-workshop-card-light .gw-workshop-meta {
    color: var(--ipn-muted);
}

.gw-workshop-card-light .gw-workshop-meta i {
    color: var(--ipn-orange);
}

.gw-workshop-card-light .gw-workshop-index {
    background: var(--ipn-orange-soft);
    color: var(--ipn-orange-dark);
    border-color: rgba(249, 115, 22, 0.25);
}

@media (min-width: 961px) {
    .gw-panel-dark {
        order: 1;
    }

    .gw-panel-light {
        order: 2;
    }
}

@media (max-width: 960px) {
    .gw-layout {
        grid-template-columns: 1fr;
    }

    .gw-panel-light {
        order: 1;
    }

    .gw-panel-dark {
        order: 2;
    }

    .gw-stats {
        grid-template-columns: 1fr;
    }

    .gw-form-grid,
    .gw-receipt-grid {
        grid-template-columns: 1fr;
    }

    .gw-timeline {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .gw-shell {
        padding: 20px 16px 32px;
    }

    .gw-topbar {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .gw-brand img {
        height: 48px;
    }

    .gw-panel-inner {
        padding: 22px;
    }

    .gw-site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
