@import url('https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.14.1/themes/base/jquery-ui.min.css');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.pink {
    color: #ff4766;
}

.bg-white {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    color: #000000;
}

a, a:visited {
    color: #ff4766;
}

a:hover, a:focus, a:active {
    color: #ff4766;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

/* Hero Section avec formulaire intégré */
.hero {
    background-color: #0a0a0a;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 71, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    justify-self: start;
}

.hero-logo {
    width: 250px;
    height: auto;
    margin-bottom: 30px;
}

.section-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
    margin: 0 8px;
}

.hero-content h1 {
    font-size: 3.2em;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
}

.hero-content h1 .highlight {
    color: #ff4766;
}

.hero-content p {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.hero-subheading {
    font-size: 1.35em;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 0;
    line-height: 1.4;
    white-space: nowrap;
}

.hero-subheading .highlight {
    color: #ff4766;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95em;
    line-height: 1.5;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3em;
}

.benefit-item strong {
    color: #ff4766;
    font-weight: bold;
}

/* Formulaire d'inscription */
.signup-form-container {
    background-color: #ffffff;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    width: 100%;
}

.form-header {
    background: linear-gradient(135deg, #ff4766, #ff6680);
    padding: 20px;
    text-align: center;
}

.form-title {
    font-size: 1.5em;
    margin-bottom: 0;
    font-weight: bold;
    color: white;
}

.form-body {
    padding: 25px 20px;
}

.form-subtitle {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.gender-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.gender-option {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gender-label {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

.gender-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gender-btn {
    padding: 15px 12px;
    border: 2px solid #ddd;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.85em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 90px;
    justify-content: center;
}

.gender-btn:hover {
    border-color: #ff4766;
    background-color: #fff;
    transform: scale(1.02);
}

.gender-btn.active {
    background-color: white;
    border-color: #ff4766;
    color: #ff4766;
}

.gender-icon {
    font-size: 2em;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 0;
}

.form-group label {
    display: none;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-size: 1em;
    transition: all 0.3s;
    font-family: Arial, sans-serif;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff4766;
    background-color: #fffbfc;
    box-shadow: 0 0 0 3px rgba(255, 71, 102, 0.1);
}

.terms-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0;
    font-size: 0.85em;
    line-height: 1.5;
}

.terms-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #ff4766;
}

.terms-group label {
    color: #333;
    cursor: pointer;
}

.terms-group a {
    color: #ff4766;
    text-decoration: none;
    font-weight: bold;
}

.terms-group a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff4766, #ff6680);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 71, 102, 0.2);
    letter-spacing: 0.5px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 71, 102, 0.3);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9em;
}

.login-link a {
    color: #ff4766;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Benefits Listing Section */
.benefits-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item-large {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 71, 102, 0.05) 0%, rgba(255, 71, 102, 0.02) 100%);
    border: 1px solid rgba(255, 71, 102, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item-large:hover {
    border-color: rgba(255, 71, 102, 0.3);
    background: linear-gradient(135deg, rgba(255, 71, 102, 0.1) 0%, rgba(255, 71, 102, 0.05) 100%);
    transform: translateY(-5px);
}

.benefit-icon-large {
    font-size: 2.5em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text {
    flex: 1;
}

.benefit-text h3 {
    font-size: 1.1em;
    color: #ff4766;
    margin-bottom: 6px;
    font-weight: bold;
}

.benefit-text p {
    font-size: 0.9em;
    color: #aaa;
    line-height: 1.4;
}

/* Stats Section */
.stats {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.stats-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 60px;
    font-weight: bold;
}

.stats-title .highlight {
    color: #ff4766;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    flex-wrap: wrap;
}

.stats-chart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-chart {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(#ff4766 0deg 209deg, #f0f0f0 209deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 71, 102, 0.2);
}

.donut-center {
    width: 180px;
    height: 180px;
    background-color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 0.9em;
}

.stats-content {
    flex: 1;
    min-width: 300px;
}

.stat-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #ff4766;
}

.stat-label {
    color: #aaa;
    font-size: 0.95em;
}

/* Profiles Section */
.profiles-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.section-title .highlight {
    color: #ff4766;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.profile-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 71, 102, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px);
    background: linear-gradient(135deg, #ff4766 0%, #6b1e3a 100%);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.lock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4766, #ff6680);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(255, 71, 102, 0.4);
    z-index: 2;
}

.profile-info {
    color: white;
    z-index: 2;
}

.profile-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-location {
    font-size: 0.9em;
    color: #ccc;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    padding: 80px 20px;
    margin: 100px 0 0;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 71, 102, 0.05);
    border: 1px solid rgba(255, 71, 102, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 71, 102, 0.1);
    border-color: rgba(255, 71, 102, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    color: #ff4766;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-desc {
    color: #aaa;
    font-size: 0.9em;
}

/* Footer */
.footer {
    background-color: #000;
    border-top: 1px solid #ff4766;
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ff4766;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8em;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-subheading {
        font-size: 1.35em;
        white-space: nowrap;
    }

    .signup-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.2em;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-subheading {
        font-size: 1.1em;
        white-space: normal;
    }

    .gender-options {
        gap: 20px;
    }

    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        flex-direction: column;
    }

    .donut-chart {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6em;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-subheading {
        font-size: 0.95em;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .form-body {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 1.3em;
    }

    .gender-options {
        grid-template-columns: 1fr;
    }

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

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 5px;
    color: inherit;
    background-color: transparent;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
}

.alert-success {
    color: #75b798;
    background-color: #d1e7dd;
    border-color: #0f5132 !important;
}

.alert-danger {
    color: #ea868f;
    background-color: #f8d7da;
    border-color: #842029;
}