/* ============================================
   WEBDEMO PAGE — Modern Eduro Design
   ============================================ */
:root {
    --wd-primary:   #DE6B3B;
    --wd-secondary: #F2943C;
    --wd-dark:      #1a1a2e;
    --wd-gradient:  linear-gradient(135deg, #DE6B3B 0%, #F2943C 100%);
    --wd-gradient-dark: linear-gradient(135deg, #c85a2e 0%, #df8030 100%);
    --wd-soft:      rgba(222,107,59,.08);
    --wd-border:    #e8e8e8;
    --wd-shadow:    0 4px 24px rgba(0,0,0,.08);
    --wd-shadow-lg: 0 12px 48px rgba(0,0,0,.12);
    --wd-r:         16px;
    --wd-r-sm:      10px;
    --wd-trans:     .22s ease;
    --wd-text:      #1a1a2e;
    --wd-muted:     #6b7280;
}

/* ---- Page background ---- */
.wd-page {
    background: #f6f6f9;
    min-height: calc(100vh - 80px);
    padding: 0 0 80px;
}

/* ---- Hero banner ---- */
.wd-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d50 60%, #3a2518 100%);
    padding: 56px 0 72px;
    position: relative;
    overflow: hidden;
}
.wd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(222,107,59,.25) 0%, transparent 65%);
    pointer-events: none;
}
.wd-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.wd-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(222,107,59,.18);
    border: 1px solid rgba(222,107,59,.35);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #F2943C;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.wd-hero__badge i { font-size: 11px; }
.wd-hero__title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 16px;
}
.wd-hero__title span { color: var(--wd-secondary); }
.wd-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

/* Decorative blobs */
.wd-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.wd-hero__blob--1 {
    width: 400px; height: 400px;
    right: -80px; top: -80px;
    background: radial-gradient(circle, rgba(242,148,60,.15) 0%, transparent 70%);
}
.wd-hero__blob--2 {
    width: 220px; height: 220px;
    right: 200px; bottom: -60px;
    background: radial-gradient(circle, rgba(222,107,59,.12) 0%, transparent 70%);
}

/* ---- Main layout ---- */
.wd-main {
    margin-top: -36px;
    position: relative;
    z-index: 2;
}
.wd-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
.wd-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

/* ---- Form card ---- */
.wd-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--wd-shadow-lg);
    padding: 44px 44px 40px;
}
.wd-form-card__heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--wd-text);
    margin: 0 0 6px;
}
.wd-form-card__sub {
    font-size: 15px;
    color: var(--wd-muted);
    margin: 0 0 32px;
    line-height: 1.5;
}

/* Form grid */
.wd-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.wd-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wd-field--full { grid-column: 1 / -1; }
.wd-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wd-text);
    letter-spacing: .01em;
}
.wd-field label span { color: var(--wd-primary); margin-left: 2px; }
.wd-field input {
    width: 100%;
    height: 50px;
    border: 1.5px solid var(--wd-border);
    border-radius: var(--wd-r-sm);
    padding: 0 16px;
    font-size: 15px;
    color: var(--wd-text);
    font-family: inherit;
    background: #fafafa;
    transition: border-color var(--wd-trans), background var(--wd-trans), box-shadow var(--wd-trans);
    outline: none;
}
.wd-field input::placeholder { color: #b0b0b8; }
.wd-field input:focus {
    border-color: var(--wd-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(222,107,59,.12);
}
.wd-field .error-row {
    font-size: 12px;
    color: #dc3545;
    margin: 0;
}

/* Phone field with intl-tel-input */
.wd-phone-wrap { position: relative; }
.wd-phone-wrap .iti { width: 100%; }
.wd-phone-wrap .iti input {
    width: 100%;
    height: 50px;
    padding-left: 56px;
    border: 1.5px solid var(--wd-border);
    border-radius: var(--wd-r-sm);
    font-size: 15px;
    background: #fafafa;
    font-family: inherit;
    outline: none;
    transition: border-color var(--wd-trans), background var(--wd-trans), box-shadow var(--wd-trans);
}
.wd-phone-wrap .iti input:focus {
    border-color: var(--wd-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(222,107,59,.12);
}
.wd-phone-wrap .iti__selected-flag {
    background: transparent;
    border-radius: var(--wd-r-sm) 0 0 var(--wd-r-sm);
    padding: 0 8px 0 12px;
}
.wd-phone-wrap .iti__flag-container { border-right: 1px solid var(--wd-border); }

/* Privacy note */
.wd-privacy {
    font-size: 13px;
    color: var(--wd-muted);
    line-height: 1.6;
    margin: 20px 0 24px;
    padding: 14px 16px;
    background: #f8f8fa;
    border-radius: var(--wd-r-sm);
    border-left: 3px solid var(--wd-border);
}
.wd-privacy a { color: var(--wd-primary); font-weight: 600; text-decoration: none; }
.wd-privacy a:hover { text-decoration: underline; }

/* Submit button */
.wd-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    background: var(--wd-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(222,107,59,.40);
    transition: all var(--wd-trans);
    text-decoration: none;
    letter-spacing: .01em;
}
.wd-submit:hover {
    background: var(--wd-gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(222,107,59,.50);
    color: #fff;
}
.wd-submit i { font-size: 18px; }

/* ---- Benefits card (right) ---- */
.wd-benefits {
    background: var(--wd-gradient);
    border-radius: 20px;
    padding: 36px 32px 40px;
    box-shadow: 0 8px 32px rgba(222,107,59,.30);
    position: sticky;
    top: 100px;
    color: #fff;
}
.wd-benefits__icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,.18);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.wd-benefits__title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 24px;
}
.wd-benefits__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wd-benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,.92);
    line-height: 1.45;
}
.wd-benefits__list li .wd-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: rgba(255,255,255,.22);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.wd-benefits__list li .wd-check i { font-size: 11px; color: #fff; }

/* Divider + stats row in benefits */
.wd-benefits__divider {
    height: 1px;
    background: rgba(255,255,255,.20);
    margin: 28px 0;
}
.wd-benefits__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.wd-benefits__stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.wd-benefits__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    line-height: 1.4;
}

/* ---- Trust bar ---- */
.wd-trust {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1.5px solid #e4e4e8;
}
.wd-trust__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.wd-trust__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wd-trust__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-text);
    text-decoration: none;
    transition: color var(--wd-trans);
}
.wd-trust__links a:hover { color: var(--wd-primary); }
.wd-trust__links a i {
    width: 28px; height: 28px;
    background: var(--wd-soft);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: var(--wd-primary);
    flex-shrink: 0;
    transition: background var(--wd-trans);
}
.wd-trust__links a:hover i { background: rgba(222,107,59,.16); }

.wd-trust__badges {
    display: flex;
    align-items: center;
    gap: 20px;
}
.wd-trust__badges a img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: .85;
    transition: all var(--wd-trans);
}
.wd-trust__badges a:hover img { filter: grayscale(0%); opacity: 1; }

/* ---- Success / flash state ---- */
.wd-success-banner {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--wd-shadow-lg);
    padding: 60px 48px;
    text-align: center;
}
.wd-success-banner__icon {
    width: 72px; height: 72px;
    background: var(--wd-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(222,107,59,.35);
}
.wd-success-banner h3 { font-size: 26px; font-weight: 800; color: var(--wd-text); margin: 0 0 10px; }
.wd-success-banner p { font-size: 16px; color: var(--wd-muted); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .wd-grid { grid-template-columns: 1fr; }
    .wd-benefits { position: static; order: -1; }
    .wd-benefits__stats { display: none; }
    .wd-hero { padding: 40px 0 60px; }
    .wd-hero__title { font-size: 32px; }
}
@media (max-width: 640px) {
    .wd-form-card { padding: 28px 22px 24px; }
    .wd-fields { grid-template-columns: 1fr; gap: 12px; }
    .wd-benefits { padding: 28px 22px 32px; }
    .wd-hero { padding: 32px 0 52px; }
    .wd-trust__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .wd-container { padding: 0 16px; }
    .wd-main { margin-top: -24px; }
}
