/* 
==============================================
Platform.az - Base CSS & Design Tokens
==============================================
*/

:root {
    /* Color Palette - Light Mode Default */
    --clr-bg-main: #f8fafc;
    --clr-bg-card: #ffffff;
    --clr-bg-surface: #f1f5f9;
    --clr-bg-nav: rgba(255, 255, 255, 0.7);
    --clr-bg-nav-scrolled: rgba(255, 255, 255, 0.95);
    --clr-bg-floating: rgba(255, 255, 255, 0.85);
    --clr-bg-handover: #f1f5f9;
    --clr-bg-input: #ffffff;
    
    --clr-deep-blue: #1e3a8a;
    --clr-slate-gray: #64748b;
    --clr-slate-light: #0f172a;
    
    --clr-electric-purple: #8b5cf6;
    --clr-electric-purple-glow: rgba(139, 92, 246, 0.2);
    
    --clr-growth-green: #10b981;
    --clr-growth-green-glow: rgba(16, 185, 129, 0.2);
    
    --clr-border: rgba(15, 23, 42, 0.1);
    --clr-border-glow: rgba(139, 92, 246, 0.3);
    
    --clr-text-main: #0f172a;
    --clr-text-muted: #475569;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --container-max: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
    
    /* Effects */
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.2);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --glass-blur: blur(12px);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode */
    --clr-bg-main: #060B19;
    --clr-bg-card: rgba(16, 26, 48, 0.6);
    --clr-bg-surface: #0f172a;
    --clr-bg-nav: rgba(6, 11, 25, 0.7);
    --clr-bg-nav-scrolled: rgba(6, 11, 25, 0.9);
    --clr-bg-floating: rgba(16, 26, 48, 0.65);
    --clr-bg-handover: rgba(16, 26, 48, 0.4);
    --clr-bg-input: rgba(0, 0, 0, 0.2);
    
    --clr-deep-blue: #1e3a8a;
    --clr-slate-gray: #94a3b8;
    --clr-slate-light: #f8fafc;
    
    --clr-electric-purple: #8b5cf6;
    --clr-electric-purple-glow: rgba(139, 92, 246, 0.5);
    
    --clr-growth-green: #10b981;
    --clr-growth-green-glow: rgba(16, 185, 129, 0.4);
    
    --clr-border: rgba(148, 163, 184, 0.15);
    --clr-border-glow: rgba(139, 92, 246, 0.3);
    
    --clr-text-main: #f8fafc;
    --clr-text-muted: #94a3b8;
    
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.2);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.accent {
    color: var(--clr-electric-purple);
}

.green-accent {
    color: var(--clr-growth-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-electric-purple), #6d28d9);
    color: white;
    box-shadow: 0 4px 14px var(--clr-electric-purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-electric-purple-glow);
}

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

.btn-outline:hover {
    border-color: var(--clr-electric-purple);
    background: rgba(139, 92, 246, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--clr-bg-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--clr-bg-nav-scrolled);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--clr-electric-purple), var(--clr-growth-green));
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    position: relative;
}

.nav-link:hover {
    color: var(--clr-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-electric-purple);
    transition: var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Nav Dropdowns */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.text-sm {
    font-size: 0.70rem;
    margin-left: 0.2rem;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-base);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.05);
    color: var(--clr-electric-purple);
    padding-left: 1.8rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.theme-toggle:hover {
    border-color: var(--clr-electric-purple);
    color: var(--clr-electric-purple);
}

.lang-select {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: var(--transition-fast);
    appearance: auto;
}

.lang-select:focus {
    border-color: var(--clr-electric-purple);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav, .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Base Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--clr-border-glow);
    border-radius: var(--border-radius-pill);
    color: var(--clr-electric-purple);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ==============================================
   Hero Section
   ============================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for navbar */
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow Orbs for Depth */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.4);
    top: 10%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.3);
    bottom: 20%;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Floating Mockup Cards */
.floating-card {
    position: absolute;
    background: var(--clr-bg-floating);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--clr-border-glow);
}

.metric-card {
    top: 20%;
    right: 5%;
    width: 280px;
    display: flex;
    gap: 1rem;
    animation: float 6s ease-in-out infinite 1s;
    z-index: 2;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--clr-growth-green);
    border-radius: 3px;
}

.trend {
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-card {
    bottom: 25%;
    left: 5%;
    width: 320px;
    animation: float 7s ease-in-out infinite;
    z-index: 3;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--clr-electric-purple);
    object-fit: cover;
}

.profile-header h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.profile-header span {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .value {
    font-weight: 700;
    font-size: 1.1rem;
}

.stat .label {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

/* ==============================================
   Bento Grid Services
   ============================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.bento-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.large-card {
    grid-column: span 2;
    grid-row: span 2;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.bento-card:hover .card-bg {
    opacity: 0.4;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-electric-purple);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.large-card h3 {
    font-size: 2rem;
}

.bento-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.large-card p {
    font-size: 1.1rem;
    max-width: 70%;
}

.btn-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--clr-electric-purple);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-link i {
    transition: transform var(--transition-fast);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* Responsiveness for Services & Hero */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .large-card {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .metric-card, .profile-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .large-card {
        grid-column: span 1;
    }
}

/* ==============================================
   Handover Module
   ============================================== */
.handover {
    background: linear-gradient(180deg, var(--clr-bg-main) 0%, var(--clr-bg-handover) 50%, var(--clr-bg-main) 100%);
}

.handover-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.handover-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.handover-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.glass-panel {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--clr-electric-purple);
    border-radius: var(--border-radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.icon-pulse {
    width: 80px;
    height: 80px;
    background: var(--clr-electric-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* ==============================================
   Analytics Section
   ============================================== */
.dashboard-mockup {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--clr-border);
}

.date-picker {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid var(--clr-border);
}

.chart-wrapper {
    height: 400px;
    width: 100%;
}

/* ==============================================
   Footer
   ============================================== */
.footer {
    background: var(--clr-bg-surface);
    padding-top: 4rem;
    border-top: 1px solid var(--clr-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--clr-electric-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1.5rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* ==============================================
   Modals
   ============================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--clr-bg-surface);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,1);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.close-modal:hover {
    color: white;
}

.modal-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--clr-bg-input);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-md);
    color: var(--clr-text-main);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--clr-electric-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.w-100 {
    width: 100%;
}

.mt-4 { margin-top: 1rem; }

/* Responsive Adjustments for new sections */
@media (max-width: 768px) {
    .handover-container, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        height: 250px;
    }
}

/* ==============================================
   Influencers Page Layout
   ============================================== */
.influencer-hero {
    padding-top: 150px;
    padding-bottom: 60px;
    background: var(--clr-bg-surface);
    text-align: center;
}

.search-headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-subline {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Search Bar container */
.search-bar-wrapper {
    display: flex;
    align-items: center;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-pill);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    margin: 0 auto 2.5rem auto;
    max-width: 950px;
    box-shadow: var(--shadow-card);
}

.search-segment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    flex: 1;
}

.stretch-segment {
    flex: 2; /* Make category input larger */
}

.search-segment label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-text-main);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clean-select,
.clean-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    padding: 0;
    cursor: pointer;
}

.clean-select:focus,
.clean-input:focus {
    color: var(--clr-text-main);
}

.segment-divider {
    width: 1px;
    height: 40px;
    background-color: var(--clr-border);
    margin: 0 0.5rem;
}

.search-btn-container {
    padding-left: 1rem;
}

.btn-search-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--clr-text-main);
    color: var(--clr-bg-card); /* Inverse */
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.btn-search-round:hover {
    background-color: var(--clr-electric-purple);
}

/* Filter Pills */
.quick-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-pill {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition-base);
}

.filter-pill:hover {
    border-color: var(--clr-electric-purple);
    color: var(--clr-electric-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1);
}

/* Categories & Grid */
.category-row {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-main);
}

.view-all {
    color: var(--clr-electric-purple);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.view-all:hover {
    color: var(--clr-bg-main);
    background: var(--clr-electric-purple);
    padding: 2px 10px;
    border-radius: 12px;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.influencer-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    background: var(--clr-bg-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.influencer-card .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.influencer-card:hover .bg-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    color: #ffffff;
    pointer-events: none;
}

.badge-top {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

.info-bottom h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.info-bottom .stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Feature Split Sections */
.platform-features {
    padding: 5rem 0;
    border-top: 1px solid var(--clr-border);
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-split.row-reverse {
    grid-template-columns: 1fr 1fr;
    direction: ltr; /* Keeping direction normal, but changing order in DOM if needed, or using CSS order */
}
.feature-split.row-reverse .feature-text {
    order: 2;
}

.feature-badge {
    display: inline-block;
    background: var(--clr-electric-purple-glow);
    color: var(--clr-electric-purple);
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-badge.pink-badge {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.feature-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--clr-text-main);
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mt-2 { margin-top: 1rem; }
.pb-4 { padding-bottom: 2rem; }

.mockup-glass {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tall-mockup {
    min-height: 350px;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-bg-surface) 0%, var(--clr-bg-card) 100%);
}

.mockup-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--clr-bg-surface);
    border-radius: var(--border-radius-md);
}

.mockup-avatar {
    width: 50px; height: 50px; border-radius: 50%;
}
.green-bg { background: #10b981; }
.purple-bg { background: #8b5cf6; }

.mock-line { height: 8px; border-radius: 4px; background: var(--clr-border); margin-bottom: 6px; }
.mock-line.short { width: 100px; }
.mock-line.tiny { width: 60px; }

.mockup-search {
    background: var(--clr-electric-purple);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.chat-bubble {
    padding: 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
    font-weight: 500;
}
.chat-bubble.left {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.chat-bubble.right {
    background: var(--clr-electric-purple);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

/* Case Studies */
.bg-light {
    background: #f8fafc;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}
[data-theme="dark"] .bg-light {
    background: #060B19;
}

.case-card {
    height: 300px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}
.black-case { background: linear-gradient(45deg, #000, #333); }
.green-case { background: linear-gradient(45deg, #047857, #10b981); }
.purple-case { background: linear-gradient(45deg, #5b21b6, #8b5cf6); }

.case-card h3 { position: relative; z-index: 2; margin-bottom: 0.5rem; }
.case-card p { position: relative; z-index: 2; font-size: 0.9rem; opacity: 0.8; }

/* FAQ Accordion */
.faq-section {
    padding: 5rem 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}
.faq-item:hover {
    border-color: var(--clr-electric-purple);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h4 {
    font-size: 1.1rem;
    color: var(--clr-text-main);
}
.faq-question i {
    color: var(--clr-text-muted);
}

/* ==============================================
   Redesigned Centered Hero Layout
   ============================================== */
.centered-hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bottom-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 350px;
    background: radial-gradient(ellipse, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.relative-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.text-center {
    text-align: center;
    max-width: 850px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.center-actions {
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-large {
    padding: 0.95rem 2.2rem;
    font-size: 1.15rem;
}

/* Floating Assets Anti-Gravity Animation */
@keyframes floatY {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes floatX {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-10px) translateX(15px); }
}

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

.float-item {
    position: absolute;
    z-index: 5;
    pointer-events: none; /* Make them unclickable so they don't block text */
}

/* Layout Placements based on screenshot */
.float-1 { top: -40px; left: -140px; animation: floatY 6s ease-in-out infinite; }
.float-2 { top: 70px; right: -200px; animation: floatTilt 7s ease-in-out infinite; }
.float-3 { bottom: 20px; left: -180px; animation: floatX 8s ease-in-out infinite; }
.float-4 { top: -80px; right: -40px; animation: floatY 6s ease-in-out infinite 1s; }
.float-5 { bottom: -60px; right: -120px; animation: floatTilt 7s ease-in-out infinite 2s; }
.float-6 { bottom: 80px; left: -60px; animation: floatX 6s ease-in-out infinite 1.5s; }

/* Enhanced CTA Buttons */
.btn-cta {
    font-weight: 700;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}
.btn-outline.btn-cta {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}
.btn-outline.btn-cta:hover {
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}
.btn-cta i { transition: transform 0.3s ease; }
.btn-cta:hover i { transform: translateX(5px); }

/* Visual styling for side cards */
.glass-pill {
    background: var(--clr-bg-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--clr-border);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--clr-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.glass-pill i { color: var(--clr-electric-purple); font-size: 1.25rem; }
.glass-pill.pink-border { border-bottom: 2px solid #ec4899; }
.glass-pill.purple-border { border-bottom: 2px solid #8b5cf6; }

.mockup-card {
    background: var(--clr-bg-card);
    width: 160px;
    height: 110px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--clr-border);
    transform: rotate(5deg);
}

.mock-header { height: 12px; width: 40px; background: var(--clr-electric-purple); border-radius: 6px; margin-bottom: 20px; }
.mock-body { height: 8px; width: 100%; background: var(--clr-border); border-radius: 4px; margin-bottom: 10px; }
.mock-body.short { width: 60%; }

.bento-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--clr-bg-card);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    font-size: 1.8rem;
    border: 1px solid var(--clr-border);
}

.tik-tok-clr { color: var(--clr-text-main); }
.insta-clr { background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.youtube-clr { color: #ff0000; }
.fb-clr { color: #1877f2; }

.decor-coin {
    width: 70px; height: 70px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; color: #fff;
    box-shadow: 0 15px 30px rgba(252, 211, 77, 0.4);
    transform: rotate(15deg);
}
.gold { background: linear-gradient(135deg, #fbbf24, #d97706); }

/* Hide floating elements on smaller screens */
@media (max-width: 992px) {
    .float-item { display: none; }
}

/* ==============================================
   Influencer Internal Profile
   ============================================== */
.profile-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 1.5rem;
}
.header-tools { display: flex; gap: 10px; }

.profile-hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}
.gallery-main, .gallery-sec {
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.gallery-main:hover, .gallery-sec:hover { transform: scale(1.02); }
.book-badge {
    position: absolute; bottom: 20px; right: 20px;
    background: rgba(255, 255, 255, 0.85); color: #000;
    padding: 8px 16px; border-radius: 20px; font-weight: 700;
}

.profile-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 3rem;
    margin-bottom: 100px;
}

.card-block {
    background: transparent;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 2.5rem;
}

.bio-header { display: flex; align-items: center; gap: 20px; }
.bio-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.bio-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.bio-tags .badge { background: var(--clr-bg-card); border: 1px solid var(--clr-border); color: var(--clr-text-main); font-size: 0.8rem; font-weight: 600;}

/* Tabs */
.pack-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--clr-border);
}
.tab-btn {
    background: transparent; border: none; padding: 0.8rem 0; font-weight: 600;
    color: var(--clr-text-muted); cursor: pointer; border-bottom: 2px solid transparent;
}
.tab-btn.active { color: var(--clr-text-main); border-bottom: 2px solid var(--clr-electric-purple); }

.package-list { display: flex; flex-direction: column; gap: 15px; }
.package-card {
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid var(--clr-border); border-radius: 16px;
    padding: 18px 24px; background: var(--clr-bg-card); transition: var(--transition-base);
}
.package-card:hover { border-color: var(--clr-electric-purple); box-shadow: var(--shadow-card); }
.pack-left { display: flex; align-items: center; gap: 15px; }
.pack-icon { font-size: 1.8rem; }
.pack-right { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }

/* Analytics */
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
.stat-box { display: flex; flex-direction: column; padding: 20px; background: var(--clr-bg-card); border-radius: 12px; border: 1px solid var(--clr-border); }
.stat-title { font-size: 0.85rem; color: var(--clr-text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 5px; }
.stat-val { font-size: 1.5rem; font-weight: 800; color: var(--clr-text-main); }

.analytic-splits { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bar-row { display: grid; grid-template-columns: 60px 1fr 40px; align-items: center; gap: 15px; font-size: 0.85rem; margin-bottom: 10px; }
.bar-row .progress-bar { background: var(--clr-border); height: 8px; border-radius: 4px; }
.bar-row .progress { background: #8b5cf6; height: 100%; border-radius: 4px; }

.age-chart-mock {
    display: flex; align-items: flex-end; gap: 15px; height: 120px;
    border-bottom: 1px solid var(--clr-border); padding-bottom: 10px;
}
.col-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; font-size: 0.75rem; }
.col { width: 100%; background: var(--clr-border); border-radius: 4px 4px 0 0; }
.active-col { background: #3b82f6; }

.donut-row { display: flex; align-items: center; gap: 30px; }
.donut { width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(#ec4899 0% 48%, #3b82f6 48% 100%); display:flex; justify-content:center; align-items:center; }
.donut-inner { width: 50px; height: 50px; background: var(--clr-bg-main); border-radius: 50%; }
.legend-item { font-size: 0.85rem; display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display:inline-block; }
.dot.pink { background: #ec4899; }
.dot.blue { background: #3b82f6; }

/* Portfolio */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.vid-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 9/16; cursor:pointer;}
.vid-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vid-card:hover img { transform: scale(1.05); }
.play { position: absolute; bottom: 10px; left: 10px; color: white; font-size: 1.2rem; }

/* Reviews */
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; background: #3b82f6; color: white; display:flex; justify-content:center; align-items:center; font-weight:bold; }
.review-item { padding: 20px; background: var(--clr-bg-card); border-radius: 12px; border: 1px solid var(--clr-border); }

/* Sticky Side */
.sticky-card {
    position: sticky; top: 120px;
    padding: 30px; border-radius: 20px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-hero-gallery { grid-template-columns: 1fr 1fr; }
    .gallery-sec:nth-child(3) { display: none; }
}
