/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 /* KPI cards */
 .hero-kpis {
     margin-top: 34px;
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 16px;
 }

 .kpi-card {
     position: relative;
     padding: 18px 18px 16px;
     border-radius: 14px;
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.10);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
 }

 .kpi-card::before,
 .kpi-card::after {
     content: '';
     position: absolute;
     top: 16px;
     bottom: 16px;
     width: 4px;
     background: linear-gradient(180deg, var(--accent-red) 0%, rgba(225, 25, 25, 0.0) 100%);
     opacity: 0.9;
 }

 .kpi-card::before {
     left: 10px;
 }

 .kpi-card::after {
     right: 10px;
 }

 .kpi-value {
     font-size: 1.55rem;
     font-weight: 800;
     letter-spacing: 0.2px;
     color: rgba(255, 255, 255, 0.96);
     margin-bottom: 6px;
 }

 .kpi-label {
     font-size: 0.92rem;
     color: rgba(255, 255, 255, 0.74);
 }

:root {
    --nav-height: 70px;
    --glass-bg: rgba(18, 18, 18, 0.68);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: rgba(0, 0, 0, 0.55);
    --accent-red: #e11919;
    --accent-red-2: #c21313;
    --text-primary: rgba(255, 255, 255, 0.96);
    --text-secondary: rgba(255, 255, 255, 0.72);
}

html {
    scroll-behavior: smooth;
}

body {
    background: url('assets/fon.jpg') center center no-repeat fixed;
    background-size: cover;
    background-color: #000000;
    min-height: 100vh;
    color: var(--text-primary);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

 body::before {
     content: '';
     position: fixed;
     inset: 0;
     pointer-events: none;
     z-index: -1;
     background:
         radial-gradient(1200px 700px at 25% 18%, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.96) 100%),
         linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.92) 100%);
 }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

 .navbar::after {
     content: '';
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     height: 1px;
     background: linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.16) 35%, rgba(255, 255, 255, 0.10) 65%, rgba(255, 255, 255, 0.0) 100%);
     opacity: 0.9;
 }

 .navbar::before {
     content: '';
     position: absolute;
     left: 0;
     right: 0;
     bottom: -18px;
     height: 18px;
     pointer-events: none;
     background: radial-gradient(700px 18px at 50% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
 }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.2px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 10px;
    border-radius: 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
}

 .nav-toggle {
     display: none;
     width: 42px;
     height: 42px;
     border-radius: 12px;
     border: 1px solid rgba(212, 175, 55, 0.22);
     background: rgba(255, 255, 255, 0.04);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     padding: 10px;
     cursor: pointer;
 }

 .nav-toggle-line {
     display: block;
     height: 2px;
     width: 100%;
     background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), var(--accent-red));
     border-radius: 2px;
     margin: 5px 0;
     transition: transform 0.25s ease, opacity 0.25s ease;
 }

 body.nav-open .nav-toggle-line:nth-child(1) {
     transform: translateY(7px) rotate(45deg);
 }
 body.nav-open .nav-toggle-line:nth-child(2) {
     opacity: 0;
 }
 body.nav-open .nav-toggle-line:nth-child(3) {
     transform: translateY(-7px) rotate(-45deg);
 }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: calc(var(--nav-height) + 60px) 20px 80px;
    position: relative;
}

.bonus-banner {
    margin-bottom: 22px;
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bonus-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.bonus-text {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.2px;
}

 .hero-grid {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .hero-copy {
     max-width: 720px;
     animation: fadeInUp 1s ease-out;
 }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    margin-bottom: 30px;
}

.badge-text {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-2) 100%);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: clamp(2.3rem, 5.4vw, 4.1rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    line-height: 1.1;
}

 .hero-lead {
     font-size: 1.05rem;
     line-height: 1.7;
     color: var(--text-secondary);
     max-width: 680px;
     margin-bottom: 26px;
 }

.hero-cta {
    margin-top: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-2) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(225, 25, 25, 0.22);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(225, 25, 25, 0.28);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(255, 255, 255, 0.32);
    border-bottom: 3px solid rgba(255, 255, 255, 0.32);
    transform: rotate(45deg);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: rotate(45deg) translateY(0); opacity: 1; }
    100% { transform: rotate(45deg) translateY(15px); opacity: 0; }
}

/* Sections */
section {
    padding: 90px 20px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.application-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Glassmorphism container */
.glass-container {
    width: 100%;
    max-width: 900px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease-out;
}

 .glass-card {
     background: linear-gradient(180deg, rgba(20, 20, 20, 0.88) 0%, rgba(10, 10, 10, 0.82) 100%);
     border: 1px solid rgba(212, 175, 55, 0.18);
 }

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 28px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red) 0%, rgba(225, 25, 25, 0.0) 100%);
    opacity: 0.85;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.benefit-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.benefit-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 26px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-red) 0%, rgba(225, 25, 25, 0.0) 100%);
    opacity: 0.9;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.step-num {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-2) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(225, 25, 25, 0.28);
}

.step-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* Form Section */
.card-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.form-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

/* Form styles */
.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

 .consent-row {
     display: grid;
     grid-template-columns: 18px 1fr;
     align-items: start;
     gap: 12px;
     padding: 10px 12px;
     border-radius: 12px;
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.10);
 }

 .consent-row input[type="checkbox"] {
     width: 18px;
     height: 18px;
     margin-top: 2px;
     accent-color: var(--accent-red);
 }

 .consent-text {
     font-size: 0.82rem;
     line-height: 1.35;
     color: rgba(255, 255, 255, 0.72);
     text-transform: none;
     letter-spacing: 0;
     font-weight: 500;
 }

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 2px rgba(225, 25, 25, 0.10), 0 14px 40px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Submit button */
.submit-btn {
    padding: 18px 30px;
    background: linear-gradient(135deg, #0b4aa2 0%, #0a64d6 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(10, 100, 214, 0.25);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

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

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Success message */
.success-message {
    margin-top: 25px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 3rem;
    color: #22c55e;
    display: block;
    margin-bottom: 10px;
}

.success-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #22c55e;
}

 .success-message.success-message--error {
     background: rgba(245, 158, 11, 0.16);
     border-color: rgba(245, 158, 11, 0.55);
 }

 .success-message.success-message--error .success-icon {
     color: #f59e0b;
 }

 .success-message.success-message--error .success-text {
     color: rgba(255, 255, 255, 0.88);
 }

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: var(--nav-height);
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        background: rgba(10, 10, 10, 0.78);
        border: 1px solid rgba(212, 175, 55, 0.22);
        border-radius: 16px;
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body.nav-open .nav-menu {
        display: flex;
        animation: menuDrop 0.22s ease-out;
    }

    @keyframes menuDrop {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 12px 12px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: var(--nav-height) 15px 40px;
    }

    .hero-kpis {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        letter-spacing: 3px;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 50px;
    }
    
    .nav-brand {
        gap: 5px;
    }
    
    .brand-icon {
        font-size: 1.2rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .hero-section {
        padding: var(--nav-height) 10px 30px;
    }
    
    .badge-text {
        font-size: 0.8rem;
        padding: 8px 20px;
        letter-spacing: 2px;
    }
    
    .hero-title {
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        letter-spacing: 2px;
    }
    
    .cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .glass-card {
        padding: 25px 15px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    section {
        padding: 40px 10px;
    }
}

/* Loading state */
.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    opacity: 0.7;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error state */
.form-group.error input {
    border-color: var(--accent-red);
    animation: shake 0.5s ease;
}

 .form-group.error textarea {
     border-color: var(--accent-red);
     animation: shake 0.5s ease;
 }

 .consent-row.error {
     border-color: rgba(196, 30, 58, 0.65);
     box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.18);
 }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group .error-message {
    font-size: 0.8rem;
    color: var(--accent-red);
    margin-top: 5px;
    display: none;
}

 .consent-row .error-message {
     font-size: 0.8rem;
     color: var(--accent-red);
     margin-top: 6px;
     display: none;
     grid-column: 1 / -1;
 }

.form-group.error .error-message {
    display: block;
}

 .consent-row.error .error-message {
     display: block;
 }
