/* Modern Cute Hero Card */
.hero-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(236,72,153,0.10), 0 2px 8px #fbcfe8cc;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 500px;
    margin: 2.5rem auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.chatbot-iframe-container {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 400px;
    height: 600px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
}

.chatbot-iframe-container iframe {
    width: 100%;
    height: 100%;
}

.chatbot-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
    margin-bottom: 1.2em;
}
.hero-title {
    font-family: 'Quicksand', 'Inter', 'Arial', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: 1px;
    margin: 0;
}
.hero-flower {
    font-size: 2em;
    color: #f472b6;
    filter: drop-shadow(0 2px 4px #fbcfe8);
}
.btn-main {
    display: block;
    width: 100%;
    background: #f9a8d4;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    border: none;
    border-radius: 2em;
    padding: 0.8em 0;
    margin-top: 2em;
    box-shadow: 0 4px 16px #fbcfe8cc;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
.btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
    text-align: center;
    text-decoration: none;
}
.btn-main:hover {
    background: #f472b6;
    transform: translateY(-2px) scale(1.03);
}
/* Center all section headlines */
h2 {
    text-align: center;
}
/* About Section - friendly paragraph */
.about-text {
    font-size: 1.18em;
    color: #6d28d9;
    background: rgba(255,255,255,0.7);
    border-radius: 1.2em;
    padding: 1.5em 2em;
    margin: 2em auto 0 auto;
    max-width: 600px;
    box-shadow: 0 2px 12px #fbcfe8cc;
    text-align: center;
}
/* Transfemme Flag Banner */
.transfemme-banner {
    margin-top: 3em;
    padding: 0 0 1.5em 0;
    text-align: center;
}
.flag-stripes {
    display: flex;
    width: 220px;
    height: 28px;
    margin: 0 auto 0.5em auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px #fbcfe8cc;
}
.stripe {
    flex: 1;
    height: 100%;
}
.stripe-blue { background: #7dd3fc; }
.stripe-pink { background: #f9a8d4; }
.stripe-white { background: #fff; }
.safe-space-msg {
    font-size: 1em;
    color: #ec4899;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.2em;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(120deg, #e0e7ff 0%, #fbcfe8 50%, #bae6fd 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
/* Hero Section */
/* About Cards - Mailflow/DreamyMisa.com inspired */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 3rem 1rem 2rem 1rem;
    background: none;
    border-radius: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(99,102,241,0.08);
}
.hero-content {
    flex: 1 1 320px;
    max-width: 420px;
    z-index: 2;
}
.hero-content h1 {
    font-size: 2.7em;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5em;
    letter-spacing: -1px;
}
.hero-content .highlight {
    color: #ec4899;
    background: linear-gradient(90deg, #bae6fd 0%, #fbcfe8 50%, #f9a8d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.2em;
    color: #ec4899;
    margin-bottom: 1.5em;
}
.hero-content .btn {
    font-size: 1.1em;
    padding: 0.8em 2em;
    border-radius: 2em;
    background: linear-gradient(90deg, #3b82f6 0%, #f472b6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
    transition: background 0.2s, transform 0.2s;
}
.hero-content .btn {
    font-size: 1.1em;
    padding: 0.8em 2em;
    border-radius: 2em;
    background: linear-gradient(90deg, #3b82f6 0%, #f472b6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
    transition: background 0.2s, transform 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.navbar-auth {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.navbar-social {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.hero-content .btn:hover {
    background: linear-gradient(90deg, #f472b6 0%, #3b82f6 100%);
    transform: translateY(-2px) scale(1.04);
}
.hero-visual {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 180px;
    z-index: 1;
}
.cat-svg {
    width: 220px;
    height: 180px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 16px #fbcfe8);
}
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding: 2rem 0.5rem 1rem 0.5rem;
    }
    .hero-content, .hero-visual {
        max-width: 100%;
        min-width: 0;
    }
    .cat-svg {
        width: 160px;
        height: 120px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    color: white;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    gap: 15px;
}

.btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

main {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.auth-section {
    max-width: 400px;
    margin: 0 auto;
}

.auth-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #667eea;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select {
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
}

.optional-fields {
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
    margin-top: 10px;
}

.optional-fields label {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.auth-section .btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
}

.auth-section .btn:hover {
    background: #5a6fd8;
}

.auth-section p {
    text-align: center;
    margin-top: 15px;
}

.auth-section a {
    color: #667eea;
    text-decoration: none;
}

.auth-section a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

#home-section {
    text-align: center;
    padding: 60px 20px;
}

#home-section h2 {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 20px;
}

#home-section p {
    font-size: 1.2em;
    color: #666;
}

#profile-section {
    max-width: 500px;
    margin: 0 auto;
}

#profile-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#profile-info p {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e1e1e1;
}

#profile-info p:last-child {
    border-bottom: none;
}

#user-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

#user-display {
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.error-message {
    background: #ff6b6b;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.success-message {
    background: #51cf66;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}


/* Modern Navbar and Tabs */
.navbar {
    width: 100%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(102,126,234,0.08);
    border-radius: 0 0 18px 18px;
    margin-bottom: 32px;
    padding: 0 0 0 0;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-tab {
    position: relative;
    padding: 18px 32px 14px 32px;
    font-size: 1.1em;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
    border-radius: 18px 18px 0 0;
    background: none;
    z-index: 1;
}

.nav-tab.active, .nav-tab:hover {
    color: #667eea;
    background: #fff;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
    font-weight: bold;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    z-index: 2;
}

/* Tab Content */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}
.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInTab 0.5s;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    h1 {
        font-size: 2em;
    }
    main {
        padding: 20px;
    }
    .nav-tabs {
        gap: 0.5rem;
    }
    .nav-tab {
        padding: 12px 10px 10px 10px;
        font-size: 1em;
    }
}
