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

body {
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(0, 104, 190, 0.10), rgba(255, 255, 255, 0) 60%),
                radial-gradient(900px 500px at 80% 0%, rgba(0, 104, 190, 0.08), rgba(255, 255, 255, 0) 55%),
                linear-gradient(180deg, #f6f8fb, #ffffff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255, 0);
    z-index: 1;
    pointer-events: none;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 20px;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.klix-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #4a9eff;
    letter-spacing: -0.5px;
}

.logo-by {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 16px 16px 10px;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    padding: 24px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.form-header {
    margin-bottom: 14px;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.title-main-line {
    font-size: 28px;
    font-weight: 700;
}

.title-sub-line {
    display: inline-block;
    margin-top: 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 5px 9px;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    background-color: #e8f4f8;
    font-weight: 500;
}

.language-option .flag {
    font-size: 14px;
}

.form-content {
    margin-top: 10px;
}

.intro-text {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    margin-bottom: 9px;
}

.read-more-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 30px;
    transition: color 0.2s;
}

.read-more-link.inline {
    display: inline;
    margin-bottom: 0;
}

.read-more-link.disabled {
    color: #999;
    text-decoration: none;
    pointer-events: none;
}

.promo-code {
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 0;
    color: #0b2a3f;
    white-space: nowrap;
}

.promo-code-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
    margin: 0 2px;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(0, 104, 190, 0.12);
}

.copy-code-button {
    border: none;
    background: transparent;
    color: #0068BE;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-code-button:hover {
    background: rgba(0, 104, 190, 0.14);
}

.copy-icon {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

.copy-code-button.copied {
    color: #005299;
}

.benefits-list {
    margin: 10px 0 14px;
    padding-left: 18px;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

.benefits-list li + li {
    margin-top: 5px;
}

.cta-separator {
    height: 1px;
    width: 100%;
    background: #e3e7ee;
    margin: 8px 0 6px;
}

.read-more-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 12px;
    margin-top: 12px;
}

/* Klix form input group styling */
.form-input-group {
    border: solid 1px #626270;
    border-radius: 3px;
    margin-top: -1px;
    height: 60px;
    box-sizing: border-box;
    position: relative;
    transition: border 0.3s ease-out;
}

.form-input-group:hover,
.form-input-group:focus-within {
    border: solid 1px #16262E;
    z-index: 2;
    transition: border 0.3s ease-out;
}

.form-input-group:focus-within {
    z-index: 3;
}

.form-input-group:first-of-type {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.form-input-group:last-of-type {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.privacy-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.klix-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.5em;
    font-size: 15px;
    font-weight: 500;
    color: #16262e;
    font-family: 'Manrope', sans-serif;
    background-color: #fff;
    outline: 0;
    border: none;
    height: 100%;
}

.klix-text-input {
    position: absolute;
    top: 29px;
    padding: 0 10px;
    box-sizing: border-box;
    border: none;
    outline: none;
    box-shadow: none;
    z-index: 3;
    height: auto;
}

.text-input-label {
    position: absolute;
    top: 21px;
    left: 10px;
    right: auto;
    font-size: 15px;
    color: #626270;
    transform-origin: top left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    z-index: 3;
}

.form-input-group input:focus + .text-input-label,
.form-input-group input:not(:placeholder-shown) + .text-input-label {
    top: 12px;
    font-size: 12px;
    letter-spacing: -0.1px;
    color: #8a8a8f;
}


.validation-error {
    white-space: nowrap;
    position: absolute;
    color: red;
    top: 12px;
    right: 10px;
    font-size: 12px;
    letter-spacing: -0.1px;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s ease-out;
}

.validation-error:empty {
    opacity: 0;
}

.form-input-group.invalid {
    border: 1px solid red;
    z-index: 5;
}

.privacy-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.privacy-text:last-child {
    margin-bottom: 0;
}

.form-button {
    border-radius: 30px;
    width: 100%;
    height: 48px;
    background-color: #0068BE !important;
    border-color: #0068BE !important;
    border-style: solid;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    margin-top: 10px;
    transition: transform 0.1s;
}

.form-button:active,
.form-button:focus-visible {
    transform: scale(0.99);
}

.form-button:hover:not(:disabled) {
    background-color: #005a9e !important;
    border-color: #005a9e !important;
}

.form-button:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }

    .form-header h1 {
        font-size: 24px;
    }

    .language-selector {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

}

/* Footer Styles */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 6px 12px;
    position: relative; /* Changed from fixed */
    z-index: 100;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

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

.footer-legal {
    max-width: 900px;
    margin: 0 auto;
}

.footer-text {
    font-size: 11px;
    line-height: 1.35;
    color: #666;
}

.footer-text + .footer-text {
    margin-top: 10px;
}

.footer-legal a {
    color: #0066cc;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .background-overlay {
        display: none;
    }
    
    body {
        background-color: #ffffff;
        overflow-y: auto;
    }
    
    .container {
        padding: 8px 0 8px;
        min-height: auto;
    }
    
    .form-wrapper {
        max-width: 100%;
        border-radius: 0;
        padding: 14px 14px;
        box-shadow: none;
        background: #ffffff;
    }

    .form-header h1 {
        text-align: center;
    }

    .title-main-line,
    .title-sub-line {
        text-align: center;
    }

    .language-selector {
        flex-wrap: nowrap;
        overflow-x: visible;
        gap: 10px;
        justify-content: center;
    }
    
    .language-option {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .footer-legal,
    .footer-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .background-overlay {
        display: none;
    }
    
    body {
        background-color: #ffffff;
        overflow-y: auto;
    }
    
    .container {
        padding: 6px 0 6px;
        min-height: auto;
    }
    
    .form-wrapper {
        padding: 10px 12px;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        background: #ffffff;
    }

    .form-header h1 {
        font-size: 20px;
        text-align: center;
    }

    .title-main-line {
        font-size: 20px;
    }

    .title-sub-line {
        font-size: 17px;
    }

    .intro-text {
        font-size: 14px;
    }

    .site-header {
        padding: 6px 12px;
    }

    .site-footer {
        padding: 5px 10px;
    }

    .footer-text {
        font-size: 12px;
        text-align: center;
    }
    
    .language-selector {
        flex-wrap: nowrap;
        overflow-x: visible;
        gap: 8px;
        padding-bottom: 0;
        justify-content: center;
    }
    
    .language-option {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 13px;
        padding: 5px 10px;
    }
}
