/* ================================================
   Trans Thonon Rencontres — Premium Dating Design
   Typography: DM Serif Display + Outfit
   Palette: deep navy, warm rose, soft gold
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0f1d4a;
    --secondary-color: #3b4f8a;
    --primary-gradient: linear-gradient(135deg, #0f1d4a 0%, #2a3d7c 50%, #3b4f8a 100%);
    --accent-rose: #e8566c;
    --accent-rose-soft: #fce4e8;
    --gold: #d4a853;
    --gold-soft: #fdf6e8;
    --alert: #e8566c;
    --light-bg: #f7f8fc;
    --card-bg: #ffffff;
    --card-bg-alt: #f2f4fa;
    --card-shadow: 0 1px 3px rgba(15, 29, 74, 0.06), 0 6px 20px rgba(15, 29, 74, 0.04);
    --card-shadow-hover: 0 4px 12px rgba(15, 29, 74, 0.08), 0 16px 40px rgba(15, 29, 74, 0.08);
    --radius: 14px;
    --radius-sm: 10px;
    --btn-radius: 10px;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--light-bg);
    color: #2d3250;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    background: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.navbar-brand img {
    border-radius: 8px;
    width: 30px;
    height: 30px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s var(--transition-smooth);
    position: relative;
}

.nav-icon-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}

.nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-rose);
    color: #fff;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

/* Conversations dropdown */
.conversations-wrapper { position: relative; }

.conversations-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(15, 29, 74, 0.18), 0 0 0 1px rgba(15, 29, 74, 0.05);
    min-width: 320px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 1001;
}
.conversations-dropdown.show { display: block; }

.conversations-header {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 1px solid #f0f1f5;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}
.conversations-list { padding: 6px; }
.no-conversations {
    padding: 24px;
    text-align: center;
    color: #9ca3bf;
    font-size: 0.88rem;
}

.conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    color: #2d3250;
    transition: background 0.15s;
}
.conv-item:hover { background: var(--light-bg); }
.conv-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; font-size: 0.88rem; }
.conv-last-msg { font-size: 0.78rem; color: #7a80a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 0.72rem; color: #9ca3bf; }

/* ================================================
   HERO BANNER
   ================================================ */
.hero-banner {
    background: var(--primary-gradient);
    padding: 22px 0 18px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(59, 79, 138, 0.5) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(232, 86, 108, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 0.88rem;
    font-weight: 400;
    opacity: 0.6;
    letter-spacing: 0.01em;
}

/* ================================================
   SECTION CARDS
   ================================================ */
.section-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 24px 28px;
    margin-bottom: 18px;
    border: 1px solid rgba(15, 29, 74, 0.05);
    transition: box-shadow 0.3s var(--transition-smooth);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.section-title i {
    color: var(--accent-rose);
    font-size: 1.1rem;
}

/* ================================================
   AD CARDS (Homepage)
   ================================================ */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

a.ad-card, a.ad-card:hover, a.ad-card:visited {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.ad-card * {
    text-decoration: none;
}

.ad-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 29, 74, 0.06);
    overflow: hidden;
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(15, 29, 74, 0.04);
}

.ad-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.ad-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--card-bg-alt);
}

.ad-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.ad-card:hover .ad-card-img img {
    transform: scale(1.04);
}

.ad-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ad-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.01em;
}

.ad-badge i {
    font-size: 0.65rem;
}

.ad-badge.heart {
    background: var(--accent-rose-soft);
    color: var(--accent-rose);
}

.ad-badge.lock {
    background: #f0f1f5;
    color: #6b7194;
}

.ad-preview {
    font-size: 0.86rem;
    color: #5a5f7d;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
}

.btn-voir {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.25s var(--transition-smooth);
    text-align: center;
    width: fit-content;
    letter-spacing: 0.02em;
}

.btn-voir:hover {
    background: var(--secondary-color);
    color: #fff;
}

.load-more-wrap {
    text-align: center;
    margin-top: 24px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary-color);
    border: 1.5px solid rgba(15, 29, 74, 0.15);
    padding: 11px 28px;
    border-radius: var(--btn-radius);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--transition-smooth);
    letter-spacing: 0.01em;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ================================================
   BENEFITS SECTION
   ================================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--accent-rose-soft);
    color: var(--accent-rose);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.benefit-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.benefit-text p {
    font-size: 0.82rem;
    color: #6b7194;
    line-height: 1.55;
}

/* ================================================
   GUIDE SECTION
   ================================================ */
.guide-content p {
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: #4a4f6d;
    line-height: 1.8;
}

.guide-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.guide-content li {
    font-size: 0.92rem;
    color: #4a4f6d;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.guide-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-rose);
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-item {
    border-bottom: 1px solid #f0f1f5;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    gap: 16px;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--secondary-color); }
.faq-question i { font-size: 0.7rem; transition: transform 0.3s var(--transition-smooth); flex-shrink: 0; color: #9ca3bf; }
.faq-question.open i { transform: rotate(180deg); color: var(--accent-rose); }

.faq-answer { display: none; padding: 0 0 18px 0; }
.faq-answer.show { display: block; }
.faq-answer p { font-size: 0.88rem; color: #5a5f7d; line-height: 1.75; }

/* ================================================
   FOOTER
   ================================================ */
footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 36px 0 28px;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 8px;
}

.footer-left p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    max-width: 460px;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-right a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-copyright {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

/* ================================================
   AD DETAIL PAGE
   ================================================ */
/* Breadcrumb */
.breadcrumb {
    padding: 18px 0 10px;
    font-size: 0.82rem;
    list-style: none;
    display: flex;
    gap: 6px;
}
.breadcrumb a { color: var(--secondary-color); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { color: #c0c4d8; }
.breadcrumb .current { color: #9ca3bf; }

/* Profile hero banner */
.profile-hero {
    background: var(--primary-gradient);
    border-radius: var(--radius);
    padding: 34px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 86, 108, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.profile-hero h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
}

.online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    position: relative;
}

.online-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6b7194;
    display: inline-block;
}

.online-dot.active {
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* Two-column layout */
.ad-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* Gallery */
.gallery-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 29, 74, 0.06);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.gallery-main {
    position: relative;
    text-align: center;
    background: var(--card-bg-alt);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 29, 74, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--transition-smooth);
}
.carousel-nav:hover { background: rgba(15, 29, 74, 0.75); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8dae6;
    cursor: pointer;
    border: none;
    transition: all 0.25s var(--transition-smooth);
}

.gallery-dot.active {
    background: var(--accent-rose);
    transform: scale(1.15);
}

/* Contact sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 29, 74, 0.06);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.contact-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card h4 i {
    color: var(--accent-rose);
    font-size: 0.95rem;
}

.contact-card > p {
    font-size: 0.86rem;
    color: #6b7194;
    margin-bottom: 18px;
    line-height: 1.55;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1.5px solid;
    cursor: pointer;
    transition: all 0.25s var(--transition-smooth);
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-contact-chat {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.btn-contact-chat:hover { background: #1a2d6a; border-color: #1a2d6a; color: #fff; }

.btn-contact-video {
    background: var(--gold-soft);
    color: #8a6d2b;
    border-color: rgba(212, 168, 83, 0.25);
}
.btn-contact-video:hover { background: #f8ecd4; border-color: rgba(212, 168, 83, 0.4); }

.btn-contact-meet {
    background: #ecfdf5;
    color: #166534;
    border-color: rgba(22, 101, 52, 0.15);
}
.btn-contact-meet:hover { background: #dcfce7; border-color: rgba(22, 101, 52, 0.25); }

.btn-contact-back {
    background: transparent;
    color: #6b7194;
    border-color: rgba(15, 29, 74, 0.1);
}
.btn-contact-back:hover { background: var(--light-bg); color: var(--primary-color); border-color: rgba(15, 29, 74, 0.15); }

/* Similar profiles sidebar */
.similar-profiles h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.similar-profiles h4 i {
    color: var(--accent-rose);
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.similar-card {
    background: var(--card-bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 29, 74, 0.04);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.similar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 74, 0.08);
}

.similar-card .online-tag {
    font-size: 0.68rem;
    color: #34d399;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.similar-card .online-tag i { font-size: 0.42rem; }

.similar-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}

.similar-card .sim-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.similar-card .sim-name a { color: var(--primary-color); text-decoration: none; }
.similar-card .sim-name a:hover { color: var(--accent-rose); }

.similar-card .sim-preview {
    font-size: 0.7rem;
    color: #6b7194;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-card .btn-sim {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--btn-radius);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.similar-card .btn-sim:hover { background: var(--secondary-color); }

/* Presentation card */
.presentation-card {
    margin-top: 24px;
}

.presentation-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presentation-card h3 i {
    color: var(--accent-rose);
}

.presentation-card p {
    font-size: 0.92rem;
    color: #4a4f6d;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Info section */
.info-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h4 i {
    color: var(--accent-rose);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 7px 0;
    font-size: 0.88rem;
    color: #4a4f6d;
    border-bottom: 1px solid #f5f6fa;
}

.info-list li:last-child { border-bottom: none; }

.info-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Rating */
.rating-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-card h4 i { color: var(--gold); }

.rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-count {
    font-size: 0.82rem;
    color: #9ca3bf;
    margin-left: 4px;
}

/* ================================================
   EMAIL MODAL
   ================================================ */
.email-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.email-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 29, 74, 0.45);
    backdrop-filter: blur(6px);
}
.email-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(15, 29, 74, 0.25);
    overflow: hidden;
}
.email-modal-header {
    background: var(--primary-gradient);
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.email-modal-header h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.email-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.email-modal-close:hover { color: #fff; }
.email-modal-body { padding: 22px; }
.email-modal-body p { margin-bottom: 16px; color: #5a5f7d; font-size: 0.88rem; }
.email-input-group { display: flex; flex-direction: column; gap: 10px; }
.email-input-group input {
    padding: 11px 14px;
    border: 1.5px solid #e0e3ee;
    border-radius: var(--btn-radius);
    font-size: 0.92rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}
.email-input-group input:focus { border-color: var(--primary-color); }
.email-submit-btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: opacity 0.2s;
}
.email-submit-btn:hover { opacity: 0.9; }

/* Message notification */
.message-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    animation: slideInUp 0.4s var(--transition-smooth);
}
.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(15, 29, 74, 0.12);
    border-left: 3px solid var(--accent-rose);
    max-width: 340px;
}
.notification-icon { font-size: 1.3rem; }
.notification-text strong { display: block; color: var(--primary-color); font-size: 0.82rem; margin-bottom: 2px; }
.notification-text p { font-size: 0.76rem; color: #6b7194; margin: 0; }
.notification-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #c0c4d8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.notification-close:hover { color: #6b7194; }

/* ================================================
   CHAT PAGE
   ================================================ */
.chat-page { background: #f0f2f5; min-height: 100vh; }

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    background: #fff;
}

.chat-header {
    background: var(--primary-gradient);
    color: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-back { color: rgba(255,255,255,0.7); font-size: 1.1rem; text-decoration: none; padding: 4px; transition: color 0.2s; }
.chat-back:hover { color: #fff; }
.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}
.chat-header-info h3 { font-size: 0.95rem; font-weight: 600; margin: 0; }
.chat-status { font-size: 0.78rem; opacity: 0.6; display: flex; align-items: center; gap: 4px; }
.chat-status.online { opacity: 1; color: #34d399; }
.chat-status .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    display: inline-block;
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s var(--transition-smooth);
}
.chat-icon-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Chat messages area */
.messages-wrapper {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fc;
}

.chat-messages {
    padding: 28px 20px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    color: #9ca3bf;
    padding: 40px 20px;
}

.chat-welcome-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-rose-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.chat-welcome-icon i {
    font-size: 1.6rem;
    color: var(--accent-rose);
}

.chat-welcome h3 {
    font-size: 1.05rem;
    color: #5a5f7d;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-welcome p {
    font-size: 0.88rem;
    color: #9ca3bf;
}

/* Messages */
.message {
    display: flex;
    margin-bottom: 8px;
    max-width: 70%;
    animation: messageIn 0.3s var(--transition-smooth);
}
.message.sent { margin-left: auto; }
.message.received { margin-right: auto; }

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

.message-bubble {
    padding: 10px 14px;
    border-radius: 16px;
}
.message.sent .message-bubble {
    background: var(--primary-color);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.message.received .message-bubble {
    background: #fff;
    color: #2d3250;
    border: 1px solid #eceef5;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(15, 29, 74, 0.04);
}
.message-bubble p { margin: 0; font-size: 0.88rem; line-height: 1.55; }
.message-time { display: block; font-size: 0.68rem; margin-top: 3px; opacity: 0.5; text-align: right; }

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #fff;
    border-top: 1px solid #f0f1f5;
}
.typing-animation { display: flex; gap: 4px; }
.typing-animation span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--secondary-color);
    animation: typingBounce 1.4s infinite;
}
.typing-animation span:nth-child(2) { animation-delay: 0.2s; }
.typing-animation span:nth-child(3) { animation-delay: 0.4s; }
.typing-text { font-size: 0.78rem; color: #9ca3bf; }

/* Chat bottom CTA (locked state) */
.chat-bottom-cta {
    background: #fff;
    border-top: 1px solid #eceef5;
    padding: 16px 20px;
    text-align: center;
}

.chat-bottom-cta p {
    font-size: 0.86rem;
    color: #5a5f7d;
    margin-bottom: 12px;
    line-height: 1.5;
}

.chat-bottom-cta .btn-unlock {
    display: block;
    width: 100%;
    background: var(--accent-rose);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s var(--transition-smooth);
    letter-spacing: 0.02em;
}

.chat-bottom-cta .btn-unlock:hover { background: #d44a5e; transform: translateY(-1px); }
.chat-bottom-cta .btn-unlock i { margin-right: 6px; }

/* Chat input (unlocked state) */
.chat-input {
    padding: 10px 20px;
    background: #fff;
    border-top: 1px solid #eceef5;
}
.chat-input .input-group { display: flex; gap: 10px; }
.chat-input .form-control {
    flex: 1;
    border: 1.5px solid #e0e3ee;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
    background: #f8f9fc;
}
.chat-input .form-control:focus { border-color: var(--primary-color); background: #fff; }
.btn-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s var(--transition-smooth);
    flex-shrink: 0;
}
.btn-send:hover { background: var(--secondary-color); transform: scale(1.05); }

/* ================================================
   VIDEO & MEET PAGES
   ================================================ */
.video-page, .meet-page { max-width: 600px; margin: 0 auto; }

.vip-card {
    background: linear-gradient(135deg, #3b4f8a, #7c5cbf);
    color: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(59, 79, 138, 0.25);
}
.vip-card h1 { color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; font-weight: 400; }
.video-subtitle { font-size: 0.95rem; opacity: 0.8; }
.video-profile-img { margin: 18px 0; }
.video-profile-img img { width: 110px; height: 110px; object-fit: cover; border: 3px solid rgba(255,255,255,0.25); border-radius: 50%; }
.feature-boxes { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.feature-box {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.1); padding: 10px 14px;
    border-radius: var(--radius-sm); font-size: 0.86rem;
    transition: background 0.2s;
}
.feature-box:hover { background: rgba(255,255,255,0.18); }

.payment-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 29, 74, 0.05);
}
.payment-card h3 { color: var(--primary-color); font-family: var(--font-display); font-weight: 400; margin-bottom: 10px; }
.sms-form label { font-weight: 600; color: var(--primary-color); font-size: 0.86rem; }
.sms-cost { font-size: 0.82rem; color: #6b7194; margin-bottom: 14px; }
.sms-cost i { color: var(--secondary-color); }

/* Appointment steps */
.appointment-step {
    display: none; background: #fff; border-radius: var(--radius);
    padding: 28px; box-shadow: var(--card-shadow);
    border: 1px solid rgba(15, 29, 74, 0.05); margin-bottom: 18px;
}
.appointment-step.active { display: block; }
.appointment-step h3 {
    color: var(--primary-color); margin-bottom: 18px;
    font-family: var(--font-display); font-weight: 400;
    display: flex; align-items: center; gap: 10px;
}
.step-number {
    width: 30px; height: 30px;
    background: var(--primary-gradient); color: #fff;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 0.82rem; font-weight: 700;
    flex-shrink: 0;
}
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}
.duration-option, .location-option, .date-option, .time-option {
    background: var(--light-bg); border: 1.5px solid transparent;
    border-radius: var(--btn-radius); padding: 14px; text-align: center;
    cursor: pointer; transition: all 0.25s var(--transition-smooth);
}
.duration-option:hover, .location-option:hover, .date-option:hover, .time-option:hover {
    border-color: rgba(59, 79, 138, 0.25);
}
.duration-option.selected, .location-option.selected, .date-option.selected, .time-option.selected {
    background: var(--primary-gradient); color: #fff; border-color: transparent;
}
.option-icon { font-size: 1.2rem; margin-bottom: 4px; color: var(--secondary-color); }
.duration-option.selected .option-icon, .location-option.selected .option-icon { color: #fff; }
.price-badge { display: block; font-weight: 700; color: var(--primary-color); margin-top: 3px; font-size: 1.02rem; }
.duration-option.selected .price-badge { color: #fff; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; }
.booking-summary {
    background: var(--light-bg); border-radius: var(--btn-radius);
    padding: 18px; margin-bottom: 18px;
}
.summary-item { padding: 6px 0; border-bottom: 1px solid #e8eaf0; font-size: 0.86rem; }
.summary-item:last-child { border-bottom: none; }
.summary-price { font-size: 1rem; color: var(--primary-color); }
.payment-info { background: rgba(15, 29, 74, 0.03); border-radius: var(--radius-sm); padding: 12px; }
.payment-info p { margin: 0; font-size: 0.82rem; color: #5a5f7d; }
.gradient-text {
    background: linear-gradient(45deg, var(--accent-rose), #7c5cbf);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 700;
}

/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-content h2 { color: var(--primary-color); font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin: 24px 0 10px 0; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 0.88rem; color: #5a5f7d; line-height: 1.75; }
.legal-content ul { padding-left: 20px; margin-bottom: 10px; }

/* Btn generic */
.btn-action {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px; border-radius: var(--btn-radius);
    font-weight: 600; font-size: 0.88rem; text-decoration: none;
    font-family: var(--font-body);
    border: none; cursor: pointer; transition: all 0.25s var(--transition-smooth);
    letter-spacing: 0.01em;
}
.btn-primary-action { background: var(--primary-gradient); color: #fff; }
.btn-primary-action:hover { opacity: 0.9; color: #fff; }
.btn-outline-action { background: #fff; color: var(--primary-color); border: 1.5px solid rgba(15, 29, 74, 0.15); }
.btn-outline-action:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-secondary-action { background: linear-gradient(135deg, #3b4f8a, #7c5cbf); color: #fff; }
.btn-tertiary-action { background: linear-gradient(135deg, var(--accent-rose), #c44569); color: #fff; }

/* ================================================
   TYPING DOTS (inside message bubble)
   ================================================ */
.typing-bubble-inner {
    padding: 10px 16px !important;
}
.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
    height: 20px;
}
.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b0b5cc;
    animation: typingBounce 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ================================================
   VOICE MESSAGE IN CHAT
   ================================================ */
.voice-bubble {
    padding: 8px 12px !important;
}
.voice-bubble audio {
    width: 220px;
    height: 36px;
    display: block;
    margin-bottom: 2px;
}

/* ================================================
   RECORDING INDICATOR IN CHAT
   ================================================ */
.recording-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px !important;
}
.recording-dot-anim {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-rose);
    animation: pulse 1s infinite;
}
.recording-bubble span {
    font-size: 0.82rem;
    color: #9ca3bf;
    font-style: italic;
}

/* ================================================
   UNLOCK MODAL (email collection)
   ================================================ */
.unlock-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.unlock-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 29, 74, 0.45);
    backdrop-filter: blur(6px);
}
.unlock-modal-content {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 34px 28px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(15, 29, 74, 0.25);
}
.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    border: 1.5px solid #e0e3ee;
    border-radius: var(--btn-radius);
    background: #fff;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: #2d3250;
    transition: all 0.2s;
}
.btn-google-login:hover { background: var(--light-bg); border-color: #d0d3e2; }
.modal-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: #9ca3bf;
    font-size: 0.82rem;
    font-weight: 600;
}
.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8eaf0;
}
.modal-email-input-wrap {
    position: relative;
    margin-bottom: 18px;
}
.modal-email-input-wrap input {
    width: 100%;
    padding: 13px 44px 13px 14px;
    border: 1.5px solid #e0e3ee;
    border-radius: var(--btn-radius);
    font-size: 0.92rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}
.modal-email-input-wrap input:focus { border-color: var(--accent-rose); }
.modal-email-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-rose);
    font-size: 1.1rem;
}
.modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7194;
    margin-bottom: 22px;
    cursor: pointer;
    line-height: 1.45;
}
.modal-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-rose);
}
.modal-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}
.btn-modal-validate {
    width: 100%;
    padding: 14px;
    background: var(--accent-rose);
    color: #fff;
    border: none;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all 0.25s var(--transition-smooth);
}
.btn-modal-validate:hover { background: #d44a5e; transform: translateY(-1px); }

/* ================================================
   FLOATING CHAT BUBBLE
   ================================================ */
.floating-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    cursor: pointer;
    text-decoration: none;
}
.floating-chat-bubble .bubble-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(232, 86, 108, 0.35);
    transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
}
.floating-chat-bubble:hover .bubble-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(232, 86, 108, 0.45);
}
.floating-chat-bubble .bubble-circle i {
    font-size: 1.3rem;
    color: #fff;
}
.floating-chat-bubble .bubble-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes slideInUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Entrance animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-card {
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

.section-card:nth-child(1) { animation-delay: 0.05s; }
.section-card:nth-child(2) { animation-delay: 0.12s; }
.section-card:nth-child(3) { animation-delay: 0.19s; }
.section-card:nth-child(4) { animation-delay: 0.26s; }

.ad-card {
    animation: fadeInUp 0.45s var(--transition-smooth) both;
}
.ad-card:nth-child(1) { animation-delay: 0.08s; }
.ad-card:nth-child(2) { animation-delay: 0.16s; }
.ad-card:nth-child(3) { animation-delay: 0.24s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .ads-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
    .ad-detail-layout { grid-template-columns: 1fr; }
    .contact-sidebar { order: -1; }
    .similar-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-banner h1 { font-size: 1.25rem; }
    .hero-banner { padding: 18px 0 14px; }
    .profile-hero { padding: 24px 20px; }
    .profile-hero h1 { font-size: 1.5rem; }
    .section-card { padding: 22px; }
    .footer-inner { flex-direction: column; gap: 16px; }
    .footer-right { align-items: flex-start; }
}

@media (max-width: 576px) {
    .ads-grid { grid-template-columns: 1fr; }
    .hero-banner h1 { font-size: 1.3rem; }
    .section-title { font-size: 1.15rem; }
    .similar-grid { grid-template-columns: 1fr 1fr; }
    .message { max-width: 85%; }
    .notification-content { max-width: calc(100vw - 30px); }
    .container { padding: 0 16px; }
    .section-card { padding: 18px; border-radius: 12px; }
}
