@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

.reg {
    --reg-accent: var(--matblue, #03a9f4);
    --reg-accent-dark: #0284c7;
    --reg-ink: #0f172a;
    --reg-muted: #64748b;
    --reg-border: rgba(148, 163, 184, 0.18);
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(3, 169, 244, 0.08), transparent 32%),
        linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
    color: var(--reg-ink);
    font-family: 'Noto Sans', 'Roboto', sans-serif;
}

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

.reg a:focus-visible,
.reg button:focus-visible,
.reg [tabindex]:focus-visible {
    outline: 3px solid var(--reg-accent);
    outline-offset: 2px;
    border-radius: 8px;
}

.reg-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reg-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reg-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 78px) 16px clamp(34px, 4vw, 52px);
    background: linear-gradient(135deg, #0b1a2b 0%, #0d2238 48%, #081521 100%);
}

.reg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 21, 33, 0.88) 0%, rgba(8, 21, 33, 0.72) 45%, rgba(8, 21, 33, 0.48) 100%),
        url('/images/img/DSC_2072_opt75.jpg') center center / cover no-repeat;
    opacity: 1;
}

.reg-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 44vw;
    height: 44vw;
    min-width: 280px;
    min-height: 280px;
    background: radial-gradient(circle, rgba(3, 169, 244, 0.24) 0%, rgba(3, 169, 244, 0) 72%);
    pointer-events: none;
}

.reg-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.reg-hero-copy {
    align-self: center;
}

.reg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #d9f3ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reg-hero-title {
    margin: 18px 0 12px;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 400;
    color: #ffffff;
}

.reg-hero-title strong {
    font-weight: 800;
}

.reg-hero-sub {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
}

.reg-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.reg-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #eff8ff;
    font-size: 13px;
    line-height: 1.4;
}

.reg-hero-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 54px rgba(5, 16, 28, 0.35);
    color: #ffffff;
}

.reg-hero-panel-kicker {
    color: #8fdfff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reg-hero-panel-title {
    margin: 0;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.2;
    font-weight: 700;
}

.reg-hero-panel-sub {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.7;
}

.reg-hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.reg-hero-stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reg-hero-stat strong {
    display: block;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.reg-hero-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.reg-main {
    padding: clamp(28px, 4vw, 46px) 16px 64px;
}

.reg-main-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
    gap: 24px;
    align-items: start;
}

.reg-form-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3.3vw, 34px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 22px 58px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.reg-form-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--reg-accent) 0%, #5dd5ff 50%, #0ea5e9 100%);
}

.reg-form-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.reg-form-copy {
    min-width: 0;
}

.reg-form-eyebrow {
    color: var(--reg-accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reg-form-title {
    margin: 10px 0 8px;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--reg-ink);
}

.reg-form-sub {
    margin: 0;
    color: var(--reg-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 680px;
}

.reg-form-helper {
    min-width: 240px;
    max-width: 290px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(3, 169, 244, 0.08), rgba(3, 169, 244, 0.03));
    border: 1px solid rgba(3, 169, 244, 0.16);
    color: #0f172a;
}

.reg-form-helper strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.reg-form-helper span {
    display: block;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.reg-form-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.reg-form-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(3, 169, 244, 0.14);
    background: #f7fbff;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.4;
}

.reg-submit-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

.reg-submit-wrap > div {
    width: 100%;
    max-width: 320px;
}

.reg-sidebar {
    position: sticky;
    top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-info-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.reg-info-title {
    margin: 0 0 14px;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--reg-ink);
}

.reg-info-text {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.reg-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    counter-reset: reg-step;
}

.reg-steps li {
    position: relative;
    padding-left: 46px;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.reg-steps li::before {
    counter-increment: reg-step;
    content: counter(reg-step);
    position: absolute;
    inset: 1px auto auto 0;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--reg-accent) 0%, var(--reg-accent-dark) 100%);
    color: #ffffff;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.reg-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.reg-feature {
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fcff, #f1f7fb);
    border: 1px solid rgba(3, 169, 244, 0.12);
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}

.reg-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.reg-contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border-radius: 16px;
    background: #f8fbfd;
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.reg-contact-item:hover {
    transform: translateY(-1px);
    border-color: rgba(3, 169, 244, 0.24);
    box-shadow: 0 10px 24px rgba(3, 169, 244, 0.08);
}

.reg-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--reg-accent);
    flex-shrink: 0;
}

.reg-contact-item span {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.5;
}

.reg-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--reg-accent-dark);
    background: rgba(3, 169, 244, 0.08);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.reg-inline-link:hover {
    background: rgba(3, 169, 244, 0.14);
}

.reg #registerform .dx-form-group-caption {
    margin-top: 8px;
    margin-bottom: 14px;
    color: var(--reg-ink);
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.reg #registerform .dx-field-item-label-text,
.reg #registerform .dx-field-item-label-content {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.reg #registerform .dx-texteditor,
.reg #registerform .dx-dropdowneditor-button,
.reg #registerform .dx-checkbox-container {
    border-radius: 14px;
}

.reg #registerform .dx-texteditor {
    border: 1px solid #d7e3ef;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.reg #registerform .dx-texteditor.dx-state-hover,
.reg #registerform .dx-texteditor.dx-state-focused,
.reg #registerform .dx-texteditor.dx-state-active {
    border-color: rgba(3, 169, 244, 0.45);
    box-shadow: 0 0 0 4px rgba(3, 169, 244, 0.11);
}

.reg #registerform .dx-texteditor-input,
.reg #registerform .dx-textarea .dx-texteditor-input {
    padding: 12px 14px;
    color: var(--reg-ink);
    font-size: 14px;
}

.reg #registerform .dx-checkbox-text {
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
}

.reg #registerform .dx-invalid-message {
    margin-top: 6px;
    font-size: 12px;
}

.reg #registerform .dx-layout-manager .dx-field-item {
    margin-bottom: 10px;
}

.reg #btnRegister .dx-button {
    width: 100% !important;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--reg-accent) 0%, var(--reg-accent-dark) 100%);
    box-shadow: 0 16px 28px rgba(2, 132, 199, 0.24);
}

.reg #btnRegister .dx-button .dx-button-content {
    padding: 0 24px;
    color: #ffffff;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.reg #btnRegister .dx-button.dx-state-hover,
.reg #btnRegister .dx-button.dx-state-focused {
    filter: brightness(1.02);
}

@media (max-width: 1024px) {
    .reg-hero-inner,
    .reg-main-inner {
        grid-template-columns: 1fr;
    }

    .reg-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .reg-hero {
        padding-top: 36px;
    }

    .reg-hero-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    .reg-hero-stat-grid,
    .reg-feature-grid {
        grid-template-columns: 1fr;
    }

    .reg-form-head {
        flex-direction: column;
    }

    .reg-form-helper {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .reg-submit-wrap {
        justify-content: stretch;
    }

    .reg-submit-wrap > div {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reg-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .reg-contact-item,
    .reg-inline-link,
    .reg #registerform .dx-texteditor,
    .reg #btnRegister .dx-button {
        transition: none !important;
    }
}
