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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, rgba(22, 32, 47, 1) 0%, rgba(13, 27, 42, 1) 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Animated background elements */
.bg-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 106, 0, 0.1), rgba(255, 106, 0, 0.05));
    animation: float 6s ease-in-out infinite;
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.bg-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(22, 32, 47, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: #FF6A00;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
}

.logo img {
    max-height: 40px;
    margin-right: 5px;
}

.welcome-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #FF6A00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.welcome-section p {
    font-size: 1.0rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 106, 0, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6A00;
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.feature-content p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.auth-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.auth-section .back-to-home{
    font-size: 1.0rem;
    margin-bottom: 2rem;
}
.auth-section .back-to-home a {
    color: #FF6A00;
    text-decoration: underline;
}

.auth-toggle {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 1rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-toggle button {
    flex: 1;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-toggle button.active {
    background: #FF6A00;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.3s ease;
}

.form-control {
    width: 100%;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1rem 1rem 3rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #FF6A00;
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
    background: rgba(30, 41, 59, 1);
}

.form-control:focus + i {
    color: #FF6A00;
}

.form-control::placeholder {
    color: #94a3b8;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #FF6A00;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FF6A00;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #cbd5e1;
    cursor: pointer;
    margin: 0;
}

.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: #FF6A00;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #e55a00;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6A00, #e55a00);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    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.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

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

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

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

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #22c55e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .welcome-section {
        order: 2;
        padding: 1rem;
    }

    .auth-section {
        order: 1;
        padding: 1rem;
    }

    .welcome-section h1 {
        font-size: 2.5rem;
    }

    .features {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        border-radius: 1.5rem;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1000px;
    width: 90%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem 2rem;
    color: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.cookie-icon {
    color: #FF6A00;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    font-size: 1.0rem;
}

.cookie-text strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.privacy-link {
    color: #FF6A00;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #e55a00;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-customize {
    background-color: #10b981;
    color: #fff;
}

.btn-customize:hover {
    background-color: #059669;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-accept {
    background-color: #FF6A00;
    color: #fff;
}

.btn-accept:hover {
    background-color: #e55a00;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        border-radius: 1rem;
    }

    .welcome-section h1 {
        font-size: 1.75rem;
    }

    .feature {
        padding: 0.75rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cookie-banner {
        bottom: 1rem;
        width: 95%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}


