:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-gradient-start: #0a0a0f;
    --bg-gradient-end: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --glow-blue: rgba(59, 130, 246, 0.3);
    --glow-purple: rgba(139, 92, 246, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --fz-1: 16px;  /* base */
    --fz-2: 20px;  /* section titles / emphasis */
    --fz-3: 13px;  /* small / meta */
    --fz-hero: clamp(56px, 7vw, 92px); /* SIREN only */
    --brand-1: #0800A7;
    --brand-2: #E90189;
    --brand-gradient: linear-gradient(135deg, #0800A7 0%, #E90189 100%);
    --glow-1: rgba(8, 0, 167, 0.35);
    --glow-2: rgba(233, 1, 137, 0.25);
    --bg: #04040A;
    --bg-2: #080818;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background:
        radial-gradient(900px 600px at 15% 30%, var(--glow-1), transparent 60%),
        radial-gradient(900px 600px at 85% 40%, var(--glow-2), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        120deg,
        rgba(8, 0, 167, 0.14) 0%,
        rgba(233, 1, 137, 0.12) 100%
    );
    opacity: 0.22;
    mix-blend-mode: screen;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md) 0;
    flex-shrink: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: var(--fz-2);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-mark {
    font-size: var(--fz-2);
    color: var(--brand-2);
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

a:hover {
    color: var(--brand-2);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    padding: 10px clamp(1.25rem, 3vw, 1.5rem);
    background: linear-gradient(90deg, rgba(72, 0, 255, 0.55), rgba(255, 0, 150, 0.55));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 0 25px rgba(255, 0, 180, 0.25);
    text-shadow: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.btn {
    font-size: var(--fz-3);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(255, 0, 180, 0.25);
    background: linear-gradient(90deg, rgba(72, 0, 255, 0.75), rgba(255, 0, 150, 0.75));
}

.request-access-btn:hover {
    color: #ffffff !important;
}

.btn-primary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
    box-shadow: none;
}

.btn-primary:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.request-access-btn {
    font-weight: 500 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    white-space: nowrap;
    transition: all 0.15s ease-out;
    cursor: pointer;
}

.btn-github svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.85;
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.btn-github:hover svg {
    opacity: 1;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: color 0.2s ease, background-color 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Main */
.main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: var(--spacing-md) 0;
}

.site-header,
.site-main {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
    padding: var(--spacing-md) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-copy {
    display: grid;
    gap: 0;
    padding-top: 6px;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(190px, 22vw, 310px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 8px;
    max-width: 34ch;
    white-space: nowrap;
}

.hero-desc {
    font-size: var(--fz-1);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 14px;
}

.headline {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* .bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.bullets li {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--text-secondary);
    padding-left: var(--spacing-md);
    position: relative;
}

.bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
} */

/* .hero-points {
    list-style: none;
}

.bullet-arrow {
    display: inline-block;
} */

/* Hero Right */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.logo {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 20px var(--glow-blue));
}

.logo,
.logo-wrap,
.hero-logo,
.hero-mark,
.brand-hero-logo {
    display: none !important;
}

.halo-canvas {
    filter: drop-shadow(0 0 22px var(--glow-1)) drop-shadow(0 0 32px var(--glow-2));
}

/* Features */
.features {
    flex-shrink: 0;
    padding: var(--spacing-lg) 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    transition: all 0.15s ease-out;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(140, 90, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.feature-title {
    font-size: var(--fz-2);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-description {
    font-size: var(--fz-3);
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-title {
    margin: 0;
    padding: 0;
    font-size: var(--fz-2);
    font-weight: 750;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.90);
}

.card-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1.5px;
    margin-top: 14px;          /* spacing below title */
    margin-bottom: 14px;       /* equal spacing above description */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 20px,
        rgba(255, 255, 255, 0.12) calc(100% - 20px),
        transparent 100%
    );
}

.card-text {
    margin: 0;
    padding: 0;
    font-size: var(--fz-3);
    color: var(--muted-2);
    line-height: 1.55;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease-out;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(140, 90, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-right {
        order: -1;
    }

    .hero-title {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: 240px;
    }

    .logo-container {
        max-width: 300px;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .header {
        padding: var(--spacing-sm) 0;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .header-nav {
        flex-wrap: nowrap;
        gap: var(--spacing-xs);
        flex-shrink: 0;
    }

    .site-logo {
        flex-shrink: 0;
    }

    .btn-primary {
        padding: 10px 1.25rem;
        font-size: 14px;
        min-height: 44px;
    }

    .btn-github {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
    }

    .icon-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .hero {
        padding: var(--spacing-md) 0;
    }

    .hero-content {
        gap: var(--spacing-lg);
    }

    .hero-left {
        gap: var(--spacing-md);
    }

    .logo-container {
        max-width: 250px;
    }

    .features {
        padding: var(--spacing-md) 0;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }
}

@media (max-width: 640px) {
    .hero-subtitle {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: clamp(120px, 25vw, 180px);
    }

    .hero-subtitle {
        font-size: 18px;
        margin-top: 12px;
    }

    .btn-primary {
        padding: 10px 1.5rem;
        font-size: 14px;
    }

    .btn-github {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-wrap: nowrap;
        gap: var(--spacing-xs);
    }

    .header-nav {
        flex-wrap: nowrap;
        gap: 6px;
        flex-shrink: 0;
    }

    .site-logo img {
        width: 28px;
        height: 28px;
    }

    .btn-primary {
        padding: 8px 1rem;
        font-size: 13px;
        white-space: nowrap;
    }

    .btn-github {
        padding: 8px 12px;
        font-size: 13px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .hero-title {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: clamp(96px, 22vw, 140px);
        line-height: 0.9;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .logo-container {
        max-width: 200px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .feature-card {
        padding: var(--spacing-md);
    }
}

@media (max-width: 375px) {
    .header-content {
        gap: 8px;
    }

    .header-nav {
        gap: 4px;
    }

    .btn-primary {
        padding: 8px 0.875rem;
        font-size: 12px;
    }

    .btn-github {
        padding: 8px 10px;
        font-size: 12px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .site-logo img {
        width: 24px;
        height: 24px;
    }

    .hero-title {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: clamp(80px, 20vw, 120px);
    }

    .logo-container {
        max-width: 180px;
    }
}

/* Page Load Animations */
.is-loading .header {
    opacity: 0;
    transform: translateY(-8px);
}

.is-loading .hero-title {
    opacity: 0;
    transform: translateY(12px);
}

.is-loading .hero-subtitle {
    opacity: 0;
    transform: translateY(12px);
    transition-delay: 0ms;
}

.is-loading .feature-card:nth-child(1) {
    opacity: 0;
    transform: translateY(14px);
    transition-delay: 0ms;
}

.is-loading .feature-card:nth-child(2) {
    opacity: 0;
    transform: translateY(14px);
    transition-delay: 0ms;
}

.is-loading .feature-card:nth-child(3) {
    opacity: 0;
    transform: translateY(14px);
    transition-delay: 0ms;
}

/* Animation transitions */
.header {
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms,
                transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

.hero-subtitle {
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) 250ms,
                transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
}

.feature-card {
    transition: opacity 750ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:nth-child(1) {
    transition-delay: 400ms;
}

.feature-card:nth-child(2) {
    transition-delay: 500ms;
}

.feature-card:nth-child(3) {
    transition-delay: 600ms;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .feature-card:hover,
    .card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .signal-canvas {
        display: none;
    }
}

/* Hide scrollbars */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-container {
    position: relative;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

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

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

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.modal-telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.modal-telegram-link:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 1);
}

.modal-telegram-link:active {
    transform: translateY(1px);
}

.modal-telegram-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: #E90189;
}

.optional {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(8, 0, 167, 0.2);
}

.form-group select {
    color: #ffffff;
}

.form-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--brand-1);
    flex-shrink: 0;
}

.checkbox-label span:not(.required) {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 200ms ease, border-color 200ms ease;
    border: none;
}

.btn-submit {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: none;
    text-shadow: none;
}

.btn-submit:hover:not(:disabled) {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #0a01c5 0%, #ff069d 100%);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.form-error {
    color: #ff6b6b;
    font-size: 14px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4ade80;
    font-size: 14px;
    padding: 12px;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.form-success svg {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .modal-container {
        padding: 16px;
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-header {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .modal-title {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .modal-telegram-link {
        font-size: 11px;
        padding: 6px 10px;
        height: 28px;
    }
    
    .modal-form {
        gap: 12px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 60px;
    }
    
    .checkbox-label {
        font-size: 12px;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 4px;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .form-error,
    .form-success {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .modal-container {
        padding: 12px;
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-header {
        margin-bottom: 10px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-form {
        gap: 10px;
    }
    
    .form-group {
        gap: 5px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 7px 10px;
        font-size: 13px;
    }
    
    .form-group textarea {
        min-height: 50px;
    }
    
    .btn-submit,
    .btn-cancel {
        padding: 9px 14px;
        font-size: 13px;
    }
}

