/* primary.css */
:root {
    /* Core Color Palette (Dark Theme with Neon Accents) */
    --bg-color: #09090b;
    --surface-color: #121216;
    --surface-hover: #18181f;
    --primary-color: #ff2a6d;      /* Neon Pink */
    --primary-hover: #e61c5c;
    --secondary-color: #05d9e8;    /* Neon Cyan */
    --text-main: #f8f9fa;
    --text-muted: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 42, 109, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 25px rgba(255, 42, 109, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    margin-right: 0.5rem;
}

.btn-secondary:hover {
    color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 6rem;
    text-align: center;
    position: relative;
}

/* Background glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.1) 0%, rgba(5, 217, 232, 0.05) 40%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Explore Grid */
.explore-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
}

.filters {
    display: flex;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.4rem 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tag:hover {
    border-color: var(--text-muted);
}

.filter-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Persona Cards */
.card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 109, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%; /* Aspect ratio for portrait cards */
    overflow: hidden;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.4rem;
}

.tag {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-chat {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-chat:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 4rem 5%;
    margin: 2rem auto 4rem;
    max-width: 1000px;
}

.cta-box {
    background: linear-gradient(135deg, var(--surface-color), #14141d);
    border: 1px solid rgba(255, 42, 109, 0.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
    background: var(--bg-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding: 6rem 5% 4rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
}
