@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Michroma&display=swap");
@import url("theme.css");

:root {
    --bg-color: #080808;
    --bg-secondary: #0c0c0f;
    --surface: rgba(18, 18, 22, 0.75);
    --surface-strong: rgba(26, 26, 32, 0.95);
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
    --accent: #0757ff;
    --accent-hover: #1b67ff;
    --accent-soft: rgba(7, 87, 255, 0.12);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --danger: #ef4444;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 20px 48px rgba(0, 0, 0, 0.7);
    --float-x: 0px;
    --float-y: 0px;
    --float-x-soft: 0px;
    --float-y-soft: 0px;
    --grid-pan-x: 0px;
    --grid-pan-y: 0px;
}

* {
    box-sizing: border-box;
}

@keyframes scrollGrid {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 40px;
    }
}

html {
    position: relative;
    isolation: isolate;
    scroll-behavior: smooth;
}

html::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background-size: 20px 20px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
    animation: scrollGrid 18s linear infinite;
    opacity: 0.3;
}

html.grid-motion::before,
html:has(.hero-section)::before {
    content: "";
    position: fixed;
    inset: -24vh -18vw -10vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.62;
    background-image:
        linear-gradient(rgba(7, 87, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 87, 255, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    background-position: 0 0, 0 0;
    transform:
        perspective(1400px)
        rotateX(78deg)
        translate3d(var(--grid-pan-x), calc(14vh + var(--grid-pan-y)), 0)
        scale(1.45);
    transform-origin: center top;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.86) 18%, rgba(0, 0, 0, 0.38) 60%, transparent 100%);
    will-change: transform, background-position;
    animation: grid-flow 18s linear infinite;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-main);
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 10%, rgba(7, 87, 255, 0.03), transparent 20%),
        radial-gradient(circle at 88% 18%, rgba(122, 196, 255, 0.02), transparent 20%),
        linear-gradient(180deg, #010102 0%, #040405 44%, #010102 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.12;
    transition: transform 0.35s ease-out;
}

body::before {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(7, 87, 255, 0.12) 0%, rgba(7, 87, 255, 0) 70%);
    transform: translate3d(var(--float-x), var(--float-y), 0);
}

body::after {
    width: 420px;
    height: 420px;
    bottom: -180px;
    left: -140px;
    background: radial-gradient(circle, rgba(122, 196, 255, 0.09) 0%, rgba(122, 196, 255, 0) 72%);
    transform: translate3d(var(--float-x-soft), var(--float-y-soft), 0);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 28px 36px;
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    position: relative;
    z-index: 5;
    background: rgba(7, 7, 7, 0.78);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo h1 {
    margin: 0;
    font-family: "Michroma", "Trebuchet MS", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
}

.logo h1 span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.main-nav .btn:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.main-nav .btn.btn-login {
    color: #ffffff !important;
    background: var(--accent);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(7, 87, 255, 0.24);
}

.main-nav .btn.btn-login:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 24px rgba(7, 87, 255, 0.32);
}

.hero-section {
    padding: clamp(3.2rem, 7vw, 5.4rem) 0 2.4rem;
    text-align: center;
}

.hero-section h2 {
    max-width: 30ch;
    margin: 0 auto 18px;
    font-family: "Michroma", "Trebuchet MS", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 30%, #52aeff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(7, 87, 255, 0.2);
}

.hero-section p {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    align-items: stretch;
    margin: 14px 0 80px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 32px 28px 28px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 22, 0.65);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    isolation: isolate;
    backdrop-filter: blur(18px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(7, 87, 255, 0.15) 0%, rgba(7, 87, 255, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 24%);
}

.product-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 112px;
    height: 76px;
    border-top: 1px solid rgba(7, 87, 255, 0.32);
    border-right: 1px solid rgba(7, 87, 255, 0.32);
    border-top-right-radius: 24px;
    opacity: 0.8;
    box-shadow: 16px -16px 30px rgba(7, 87, 255, 0.08);
    transform: translate3d(calc(var(--card-shift-x, 0px) * -0.34), calc(var(--card-shift-y, 0px) * -0.34), 0);
    transition: transform 0.45s ease-out, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(7, 87, 255, 0.45);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(7, 87, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.product-card:hover::after {
    opacity: 1;
    border-color: rgba(7, 87, 255, 0.6);
    box-shadow: 22px -18px 36px rgba(7, 87, 255, 0.2);
}

.product-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    font-family: "Michroma", "Trebuchet MS", sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}

.badge-version {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(7, 87, 255, 0.24);
    background: rgba(7, 87, 255, 0.12);
    color: #72aeff;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-desc {
    margin: 0;
    max-width: 34ch;
    min-height: 96px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price {
    margin: auto 0 1.4rem;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: "Michroma", "Trebuchet MS", sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1;
}

.btn-buy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--accent);
    color: #ffffff;
    font-family: "Michroma", "Trebuchet MS", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow:
        0 12px 24px rgba(7, 87, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-buy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.4) 48%, transparent 75%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
}

.btn-buy:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow:
        0 16px 32px rgba(7, 87, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-buy:hover::before {
    transform: translateX(120%);
}

.site-footer {
    color: var(--text-muted) !important;
    border-top: 1px solid var(--line) !important;
}

@keyframes grid-flow {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 0 72px, 72px 0;
    }
}

.will-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.product-card.will-reveal {
    transform: translate3d(0, 48px, 0) scale(0.98);
}

.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Auth Pages */
body.auth-page,
body:has(.auth-container) {
    background:
        radial-gradient(circle at 12% 10%, rgba(7, 87, 255, 0.15), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(122, 196, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #080808 0%, #0c0c0f 44%, #080808 100%) !important;
}

body.auth-page::before,
body:has(.auth-container)::before {
    width: 440px;
    height: 440px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(7, 87, 255, 0.22) 0%, rgba(7, 87, 255, 0) 70%);
}

body.auth-page::after,
body:has(.auth-container)::after {
    width: 520px;
    height: 520px;
    bottom: -220px;
    left: -180px;
    background: radial-gradient(circle, rgba(122, 196, 255, 0.18) 0%, rgba(122, 196, 255, 0) 72%);
}

body.auth-page .container,
body:has(.auth-container) .container {
    max-width: 1120px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 24px !important;
}

body.auth-page .site-header,
body:has(.auth-container) .site-header {
    display: flex !important;
    width: 100%;
    max-width: 470px;
    margin-bottom: 24px;
}

body.auth-page.auth-register .site-header {
    max-width: 940px;
}

body.auth-page .auth-container,
body:has(.auth-container) .auth-container {
    width: 100%;
    margin: 0 auto !important;
    display: grid;
    gap: 22px;
    position: relative;
    z-index: 1;
}

body.auth-page.auth-login .auth-container {
    max-width: 470px !important;
}

body.auth-page.auth-register .auth-container {
    max-width: 940px !important;
}

body.auth-page .auth-card,
body:has(.auth-container) .auth-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 3vw, 42px) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(18, 18, 22, 0.65) !important;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(18px);
}

body.auth-page .auth-card::before,
body:has(.auth-container) .auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(7, 87, 255, 0.15) 0%, rgba(7, 87, 255, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 28%);
}

body.auth-page .auth-card::after,
body:has(.auth-container) .auth-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(28px, 4vw, 42px);
    width: 110px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(7, 87, 255, 0.16) 100%);
}

body.auth-page .auth-card > *,
body:has(.auth-container) .auth-card > * {
    position: relative;
    z-index: 1;
}

body.auth-page .auth-card h2,
body:has(.auth-container) .auth-card h2 {
    margin: 0 0 26px !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff !important;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.auth-page.auth-login .auth-card h2 {
    text-align: center !important;
}

body.auth-page.auth-register .auth-card h2 {
    text-align: left !important;
}

body.auth-page .auth-card form,
body:has(.auth-container) .auth-card form {
    display: grid;
    gap: 0;
}

body.auth-page label,
body:has(.auth-container) label {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.auth-page input,
body.auth-page select,
body:has(.auth-container) input,
body:has(.auth-container) select {
    width: 100%;
    min-height: 52px;
    margin: 0 0 18px 0 !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 18px rgba(0, 0, 0, 0.1) !important;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease !important;
}

body.auth-page input::placeholder,
body.auth-page select::placeholder,
body:has(.auth-container) input::placeholder,
body:has(.auth-container) select::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

body.auth-page input:hover,
body.auth-page select:hover,
body.auth-page input.has-value,
body.auth-page select.has-value,
body:has(.auth-container) input:hover,
body:has(.auth-container) select:hover,
body:has(.auth-container) input.has-value,
body:has(.auth-container) select.has-value {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(7, 87, 255, 0.24) !important;
}

body.auth-page input:focus,
body.auth-page select:focus,
body.auth-page input.is-focused,
body.auth-page select.is-focused,
body:has(.auth-container) input:focus,
body:has(.auth-container) select:focus,
body:has(.auth-container) input.is-focused,
body:has(.auth-container) select.is-focused {
    outline: none;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(7, 87, 255, 0.45) !important;
    box-shadow:
        0 0 0 4px rgba(7, 87, 255, 0.15),
        0 16px 28px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px);
}

body.auth-page .btn-auth,
body:has(.auth-container) .btn-auth {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 10px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow:
        0 14px 24px rgba(7, 87, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease !important;
}

body.auth-page .btn-auth:hover,
body:has(.auth-container) .btn-auth:hover {
    transform: translateY(-2px);
    background: var(--accent-hover) !important;
    box-shadow:
        0 18px 30px rgba(7, 87, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.auth-page .btn-auth:active,
body:has(.auth-container) .btn-auth:active {
    transform: translateY(0);
}

body.auth-page .link-toggle,
body:has(.auth-container) .link-toggle {
    display: block;
    margin-top: 24px !important;
    text-align: center;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

body.auth-page .link-toggle span,
body:has(.auth-container) .link-toggle span {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

body.auth-page .link-toggle:hover,
body:has(.auth-container) .link-toggle:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

body.auth-page .alert,
body.auth-page .alert-error,
body.auth-page .alert-success,
body:has(.auth-container) .alert,
body:has(.auth-container) .alert-error,
body:has(.auth-container) .alert-success {
    padding: 16px 18px !important;
    border-radius: 14px !important;
    text-align: center;
    font-weight: 700;
    border: 1px solid transparent !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(12px);
}

body.auth-page .alert-error,
body:has(.auth-container) .alert-error {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ff8a8a !important;
    border-color: rgba(239, 68, 68, 0.24) !important;
}

body.auth-page .alert-success,
body:has(.auth-container) .alert-success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #8affd2 !important;
    border-color: rgba(16, 185, 129, 0.24) !important;
}

body.auth-page .section-title,
body:has(.auth-container) .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.auth-page .section-title::before,
body:has(.auth-container) .section-title::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--accent);
}

body.auth-page .form-row-2,
body.auth-page .form-row-3,
body:has(.auth-container) .form-row-2,
body:has(.auth-container) .form-row-3 {
    gap: 16px !important;
}

body.auth-page .form-row-2 > div,
body.auth-page .form-row-3 > div,
body:has(.auth-container) .form-row-2 > div,
body:has(.auth-container) .form-row-3 > div {
    min-width: 0;
}

body.auth-page .form-row-3,
body:has(.auth-container) .form-row-3 {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr) !important;
}

body.auth-page .auth-container > div:last-child,
body:has(.auth-container) .auth-container > div:last-child {
    margin: 0 !important;
    display: flex;
    justify-content: center;
}

body.auth-page .auth-container > div:last-child a,
body:has(.auth-container) .auth-container > div:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
}

body.auth-page .auth-container > div:last-child a:hover,
body:has(.auth-container) .auth-container > div:last-child a:hover {
    transform: translateY(-2px);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Surface Pages */
body.surface-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(7, 87, 255, 0.15), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(122, 196, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #080808 0%, #0c0c0f 44%, #080808 100%) !important;
}

body.surface-page .container {
    padding-top: 26px;
    padding-bottom: 52px;
}

body.checkout-page .container {
    max-width: 980px;
}

body.checkout-page .site-header {
    justify-content: center !important;
    max-width: 560px;
    margin: 0 auto 26px;
}

body.dashboard-page .site-header {
    margin-bottom: 26px;
}

body.dashboard-page .main-nav .btn[href="logout.php"] {
    color: #c94e68 !important;
}

body.dashboard-page .dashboard-header,
body.checkout-page .checkout-container {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 22, 0.65);
    box-shadow:
        0 28px 54px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    isolation: isolate;
    backdrop-filter: blur(18px);
}

body.dashboard-page .dashboard-header::before,
body.checkout-page .checkout-container::before,
body.dashboard-page .license-card::before,
body.dashboard-page .empty-dashboard::before,
body.checkout-page .order-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(7, 87, 255, 0.15) 0%, rgba(7, 87, 255, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 28%);
}

body.dashboard-page .dashboard-header::after,
body.checkout-page .checkout-container::after,
body.dashboard-page .license-card::after,
body.dashboard-page .empty-dashboard::after,
body.checkout-page .order-summary::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 102px;
    height: 66px;
    border-top: 1px solid rgba(7, 87, 255, 0.32);
    border-right: 1px solid rgba(7, 87, 255, 0.32);
    border-top-right-radius: 24px;
    box-shadow: 14px -14px 28px rgba(7, 87, 255, 0.08);
    transform: translate3d(calc(var(--panel-shift-x, 0px) * -0.34), calc(var(--panel-shift-y, 0px) * -0.34), 0);
    transition: transform 0.45s ease-out, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
    opacity: 0.8;
}

body.dashboard-page .dashboard-header > *,
body.checkout-page .checkout-container > *,
body.dashboard-page .license-card > *,
body.dashboard-page .empty-dashboard > *,
body.checkout-page .order-summary > * {
    position: relative;
    z-index: 1;
}

body.dashboard-page .dashboard-header {
    margin-bottom: 24px;
    padding: 32px 34px;
}

body.dashboard-page .dashboard-header h2 {
    margin: 0 !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.2;
    text-transform: uppercase;
}

body.dashboard-page .dashboard-header p {
    margin: 12px 0 0 !important;
    max-width: 42ch;
    color: var(--text-muted) !important;
    font-size: 1rem;
}

body.dashboard-page main > h3 {
    margin: 32px 0 18px !important;
    color: #fff;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.dashboard-page .license-card,
body.dashboard-page .empty-dashboard,
body.checkout-page .order-summary {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    isolation: isolate;
}

body.dashboard-page .license-card {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) auto auto !important;
    gap: 20px !important;
    align-items: center !important;
    margin-bottom: 18px !important;
    padding: 26px 28px !important;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.dashboard-page .license-card:hover,
body.dashboard-page .empty-dashboard:hover,
body.checkout-page .order-summary:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 87, 255, 0.3);
    box-shadow:
        0 26px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dashboard-page .license-info h3 {
    margin: 0 !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff !important;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    line-height: 1.2;
    text-transform: uppercase;
}

body.dashboard-page .license-info small {
    color: var(--accent) !important;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

body.dashboard-page .license-info p {
    margin: 10px 0 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.95rem !important;
}

body.dashboard-page .license-info strong {
    color: #fff;
}

body.dashboard-page .license-info code {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px !important;
    border-radius: 8px;
    border: 1px solid rgba(7, 87, 255, 0.24);
    background: rgba(7, 87, 255, 0.12) !important;
    color: #72aeff !important;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dashboard-page .status-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.12) !important;
    color: #8affd2 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.1);
}

body.dashboard-page .license-card > div:last-child {
    display: flex;
    justify-content: flex-end;
}

body.dashboard-page .btn-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    text-decoration: none;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    box-shadow:
        0 10px 20px rgba(7, 87, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body.dashboard-page .btn-action:hover {
    transform: translateY(-2px);
    background: var(--accent-hover) !important;
    box-shadow:
        0 14px 24px rgba(7, 87, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.dashboard-page .btn-action[href*="baixar"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow:
        0 10px 20px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.dashboard-page .btn-action[href*="baixar"]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow:
        0 14px 24px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.dashboard-page .empty-dashboard {
    text-align: center !important;
    padding: 52px 28px !important;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

body.dashboard-page .empty-dashboard p {
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: 1.08rem !important;
}

body.dashboard-page .empty-dashboard .btn-buy {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 22px !important;
    padding: 0 24px;
}

body.checkout-page .checkout-container {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: clamp(28px, 4vw, 42px) !important;
}

body.checkout-page .checkout-header {
    margin-bottom: 26px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.checkout-page .checkout-header h2 {
    margin: 0 !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff !important;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    line-height: 1.2;
    text-transform: uppercase;
}

body.checkout-page .alert-error {
    padding: 16px 18px !important;
    border-radius: 18px !important;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(239, 68, 68, 0.24) !important;
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ff8a8a !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2) !important;
}

body.checkout-page .order-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.checkout-page .order-summary h3 {
    margin: 0 0 8px !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff !important;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.2;
    text-transform: uppercase;
}

body.checkout-page .order-summary p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.95rem !important;
}

body.checkout-page .order-summary p:last-child {
    margin-top: 12px !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
}

body.checkout-page .price-tag {
    color: #fff !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
    font-weight: 700 !important;
    line-height: 1;
}

body.checkout-page .security-badge {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    margin-bottom: 24px !important;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.checkout-page .btn-checkout {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow:
        0 14px 24px rgba(7, 87, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease !important;
}

body.checkout-page .btn-checkout:hover {
    transform: translateY(-2px);
    background: var(--accent-hover) !important;
    box-shadow:
        0 18px 30px rgba(7, 87, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.checkout-page .checkout-container > div:last-child {
    margin-top: 20px !important;
    text-align: center !important;
}

body.checkout-page .checkout-container > div:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

body.checkout-page .checkout-container > div:last-child a:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Domain Registration & Correction Pages */
.register-container {
    max-width: 600px;
    margin: 80px auto;
    padding: clamp(28px, 4vw, 42px);
    background: rgba(18, 18, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    position: relative;
    color: #fff;
    isolation: isolate;
}

.register-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(7, 87, 255, 0.15) 0%, rgba(7, 87, 255, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 28%);
    z-index: -1;
}

.register-container h2 {
    margin-top: 0;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.25s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(7, 87, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(7, 87, 255, 0.15);
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-family: "Michroma", "Trebuchet MS", sans-serif !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(7, 87, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 14px 24px rgba(7, 87, 255, 0.3);
}

.btn-register.btn-warning {
    background: #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-register.btn-warning:hover {
    background: #d97706;
    box-shadow: 0 14px 24px rgba(245, 158, 11, 0.3);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin-bottom: 20px;
    color: #ffb020;
    font-size: 0.9em;
    border-radius: 0 10px 10px 0;
}

@media (max-width: 960px) {
    .site-header {
        position: static;
        padding: 16px;
    }

    .main-nav {
        justify-content: flex-end;
    }

    .product-desc {
        max-width: none;
        min-height: auto;
    }

    body.auth-page.auth-register .auth-container,
    body:has(.auth-container) .auth-container {
        max-width: 720px !important;
    }

    body.dashboard-page .license-card {
        grid-template-columns: 1fr !important;
    }

    body.dashboard-page .license-card > div:last-child {
        justify-content: flex-start;
    }

    body.checkout-page .order-summary {
        grid-template-columns: 1fr !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 16px 14px 30px;
    }

    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 16px;
        border-radius: 24px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        border-radius: 999px;
    }

    .main-nav .btn {
        width: 100%;
        min-height: 38px;
        border-radius: 999px;
    }

    .hero-section {
        padding: 2.2rem 0 1.8rem;
        text-align: center;
    }

    .hero-section h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .products-grid {
        gap: 16px;
    }

    .product-card {
        padding: 24px 20px 20px;
        border-radius: 20px;
    }

    .product-card::after {
        display: none;
    }

    .btn-buy {
        min-height: 48px;
        border-radius: 999px;
        font-size: 0.75rem;
    }

    body.auth-page .container,
    body:has(.auth-container) .container {
        padding: 18px 12px 26px !important;
        align-items: flex-start;
    }

    body.auth-page .site-header,
    body:has(.auth-container) .site-header {
        max-width: 100%;
    }

    body.auth-page .auth-container,
    body:has(.auth-container) .auth-container {
        gap: 18px;
    }

    body.auth-page .auth-card,
    body:has(.auth-container) .auth-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }

    body.auth-page .auth-card h2,
    body:has(.auth-container) .auth-card h2 {
        margin-bottom: 22px !important;
        text-align: center !important;
        font-size: 1.2rem !important;
    }

    body.auth-page .form-row-2,
    body.auth-page .form-row-3,
    body:has(.auth-container) .form-row-2,
    body:has(.auth-container) .form-row-3 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    body.auth-page input,
    body.auth-page select,
    body:has(.auth-container) input,
    body:has(.auth-container) select {
        min-height: 48px;
        border-radius: 12px !important;
    }

    body.auth-page .btn-auth,
    body:has(.auth-container) .btn-auth {
        min-height: 48px;
        border-radius: 999px !important;
        font-size: 0.8rem !important;
    }

    body.auth-page .auth-container > div:last-child a,
    body:has(.auth-container) .auth-container > div:last-child a {
        width: 100%;
    }

    body.surface-page .container {
        padding-top: 18px;
        padding-bottom: 30px;
    }

    body.dashboard-page .dashboard-header,
    body.checkout-page .checkout-container {
        border-radius: 20px;
        padding: 24px 18px !important;
    }

    body.dashboard-page .dashboard-header::after,
    body.checkout-page .checkout-container::after,
    body.dashboard-page .license-card::after,
    body.dashboard-page .empty-dashboard::after,
    body.checkout-page .order-summary::after {
        display: none;
    }

    body.dashboard-page .license-card,
    body.dashboard-page .empty-dashboard,
    body.checkout-page .order-summary {
        border-radius: 18px;
        padding: 20px 16px !important;
    }

    body.dashboard-page .license-card {
        gap: 14px !important;
    }

    body.dashboard-page .btn-action {
        width: 100%;
        min-height: 40px;
        border-radius: 999px !important;
        font-size: 0.7rem !important;
    }

    body.checkout-page .order-summary {
        padding: 20px 16px !important;
    }

    body.checkout-page .btn-checkout {
        min-height: 48px;
        border-radius: 999px !important;
        font-size: 0.8rem !important;
    }

    body.checkout-page .checkout-container > div:last-child a {
        width: 100%;
    }

    .register-container {
        margin: 40px 10px;
        padding: 24px 18px !important;
        border-radius: 20px;
    }

    .btn-register {
        padding: 12px;
        border-radius: 999px !important;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body::before,
    body::after,
    html.grid-motion::before,
    html::before,
    .hero-section::after,
    .product-card::after {
        transform: none !important;
    }

    html.grid-motion::before,
    html:has(.hero-section)::before {
        animation: none;
    }
}

/* Custom Modal Styles */
body.dashboard-page button.btn-action {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 90%;
    max-width: 520px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.96) 100%);
    border: 1px solid rgba(20, 85, 165, 0.16);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 
        0 30px 60px rgba(18, 58, 116, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    isolation: isolate;
}

.modal-overlay.is-active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(52, 156, 255, 0.14) 0%, rgba(52, 156, 255, 0) 32%),
        linear-gradient(180deg, rgba(20, 115, 230, 0.04) 0%, rgba(20, 115, 230, 0) 24%);
    z-index: -1;
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.modal-title-custom h3 {
    margin: 0;
    color: #13356a;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.modal-title-custom p {
    margin: 6px 0 0;
    color: #657895;
    font-size: 0.95rem;
}

.modal-close-btn {
    background: rgba(20, 85, 165, 0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13356a;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.modal-close-btn:hover {
    background: rgba(20, 85, 165, 0.12);
    transform: scale(1.05);
}

.modal-close-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.modal-form-group {
    margin-bottom: 22px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #13356a;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.modal-form-group input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(20, 85, 165, 0.16);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.95rem;
    color: #10213f;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.modal-form-group input:focus {
    outline: none;
    background: #ffffff;
    border-color: rgba(20, 115, 230, 0.4);
    box-shadow: 
        0 0 0 4px rgba(20, 115, 230, 0.1),
        0 12px 20px rgba(18, 74, 148, 0.05);
}

.modal-form-group small {
    display: block;
    margin-top: 8px;
    color: #7a8da9;
    font-size: 0.82rem;
    line-height: 1.4;
}

.modal-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-alert.alert-error {
    background: rgba(255, 241, 243, 0.95);
    color: #b33852;
    border-color: rgba(220, 58, 92, 0.16);
}

.modal-alert.alert-success {
    background: rgba(237, 255, 249, 0.95);
    color: #17795d;
    border-color: rgba(38, 181, 132, 0.18);
}

.modal-btn-submit {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #1668d1 0%, #349cff 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 
        0 14px 24px rgba(20, 115, 230, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modal-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 16px 28px rgba(20, 115, 230, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
