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

body {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #034159;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    font-size: 14px;
    overflow-x: hidden;
}

/* Background decoration */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(2, 89, 81, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(2, 115, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(3, 140, 62, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 20px;
}

.signup-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #02735E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 400;
}

/* logo*/


.domain-preview {
    background: rgba(2, 115, 94, 0.15);
    border: 1px solid rgba(2, 115, 94, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
    text-align: center;
}

.domain-preview .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

.domain-preview strong {
    font-size: 18px;
    font-weight: 600;
    color: #0CF25D;
}

.banner {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.banner.success {
    background: rgba(12, 242, 93, 0.1);
    border: 1px solid rgba(12, 242, 93, 0.3);
    color: #0CF25D;
}

.banner.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.suggestions {
    margin-bottom: 24px;
}

.suggestions-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.suggestion-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background: rgba(2, 115, 94, 0.2);
    border: 1px solid rgba(2, 115, 94, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #02735E;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pill:hover {
    background: rgba(2, 115, 94, 0.3);
    border-color: rgba(2, 115, 94, 0.6);
    transform: translateY(-1px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.label-required::after {
    content: ' *';
    color: #0CF25D;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

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

.form-group input:focus {
    outline: none;
    border-color: #02735E;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(2, 115, 94, 0.15);
}

.form-group.has-error input {
    border-color: rgba(239, 68, 68, 0.6);
    background: rgba(239, 68, 68, 0.05);
}

.form-group.has-warning input {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(245, 158, 11, 0.05);
}

.help-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.error-message {
    color: #fca5a5;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.warning-message {
    color: #fbbf24;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #02735E;
}

.checkbox-label {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.checkbox-label a {
    color: #0CF25D;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #02735E, #038C3E);
    border: none;
    border-radius: 16px;
    padding: 16px 24px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 140, 62, 0.3);
}

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

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

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

.trial-info {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.link {
    display: inline-block;
    color: #0CF25D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin: 8px 16px;
    transition: all 0.2s ease;
    position: relative;
}

.link:hover {
    color: #02735E;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 16px;
        flex-direction: column;
    }

    .signup-card {
        padding: 24px;
        border-radius: 16px;
    }

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

    .header p {
        font-size: 14px;
    }

    .domain-preview {
        padding: 16px;
    }

    .domain-preview strong {
        font-size: 16px;
        word-break: break-all;
    }

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

    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .suggestion-pills {
        justify-content: center;
    }

    .pill {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .signup-card {
        padding: 20px;
        margin: 0;
        border-radius: 12px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .header h1 {
        font-size: 22px;
    }

    .domain-preview strong {
        font-size: 14px;
    }

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

    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}

/* Animation pour les éléments */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-card {
    animation: slideUp 0.6s ease-out;
}

.form-group {
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {

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