:root {
    /* Core Palette */
    --primary-color: #2563eb;
    --primary-color-dark: #1d4ed8;
    --secondary-color: #1f2937;
    --accent-color: #14b8a6;
    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-200: #e2e8f0;
    --neutral-100: #f8fafc;
    --neutral-50: #f1f5f9;

    /* Surface & Glass */
    --bg-primary: #f8fafc;
    --bg-secondary: rgba(248, 250, 252, 0.9);
    --panel-color: rgba(255, 255, 255, 0.65);
    --panel-border: rgba(148, 163, 184, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(148, 163, 184, 0.25);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(20, 184, 166, 0.2) 100%);

    /* Semantic */
    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #0ea5e9;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.7);
    --text-muted: rgba(15, 23, 42, 0.5);
    --divider-color: rgba(148, 163, 184, 0.4);

    /* Responsive Typography */
    --font-size-base: 1rem; /* 16px base */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-lg: 1.125rem; /* 18px */
    --font-size-xl: 1.25rem; /* 20px */
    --font-size-2xl: 1.5rem; /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem; /* 36px */

    /* Spacing Scale */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */
    --spacing-2xl: 3rem; /* 48px */

    /* Touch Target Size */
    --touch-target-min: 44px;

    /* Container Widths */
    --container-sm: 100%;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
}

/* Theme Presets */
[data-theme-color="ocean"] {
    --primary-color: #2563eb;
    --primary-color-dark: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
}

[data-theme-color="violet"] {
    --primary-color: #7c3aed;
    --primary-color-dark: #6d28d9;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
}

[data-theme-color="sunset"] {
    --primary-color: #f97316;
    --primary-color-dark: #ea580c;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
}

[data-theme-color="forest"] {
    --primary-color: #16a34a;
    --primary-color-dark: #15803d;
    --accent-gradient: linear-gradient(135deg, #16a34a 0%, #0ea5e9 100%);
}

[data-theme="dark"] {
    --primary-color: #ef4444;
    --primary-color-dark: #dc2626;
    --accent-color: #f97316;
    --bg-primary: #0f1118;
    --bg-secondary: rgba(17, 24, 39, 0.92);
    --panel-color: rgba(17, 24, 39, 0.85);
    --panel-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(17, 24, 39, 0.78);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 30px 65px rgba(15, 23, 42, 0.45);
    --text-primary: rgba(255, 255, 255, 0.96);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --divider-color: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(249, 115, 22, 0.9) 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(249, 115, 22, 0.22) 100%);
}

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

html {
    font-size: 16px; /* Base font size */
    -webkit-text-size-adjust: 100%; /* Prevent iOS font scaling */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    background: var(--bg-primary);
    background-image:
        radial-gradient(circle at 6% 20%, rgba(37, 99, 235, 0.18), transparent 55%),
        radial-gradient(circle at 90% 15%, rgba(20, 184, 166, 0.18), transparent 60%),
        linear-gradient(140deg, rgba(241, 245, 249, 0.9) 0%, rgba(248, 250, 252, 0.4) 55%, rgba(248, 250, 252, 0.2) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(circle at 12% 18%, rgba(239, 68, 68, 0.25), transparent 58%),
        radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.22), transparent 62%),
        linear-gradient(160deg, rgba(15, 15, 15, 0.95) 0%, rgba(17, 24, 39, 0.92) 55%, rgba(17, 24, 39, 0.88) 100%);
}

/* Glass Effect - Enhanced */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.15;
    pointer-events: none;
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.16);
    border-color: rgba(37, 99, 235, 0.15);
}

/* Navbar - Professional Responsive */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 80%);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: clamp(0.75rem, 1.6vw, 1.15rem) clamp(1rem, 4vw, 2.25rem);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: 0 18px 45px -20px rgba(15, 23, 42, 0.25);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem); /* Responsive font size */
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Mobile Navbar Hamburger Menu */
.navbar-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.navbar-toggle:hover,
.navbar-toggle:active {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.navbar-toggle.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn {
    padding: 0.75rem 1.25rem; /* 12px 20px */
    border: none;
    border-radius: 0.5rem; /* 8px */
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    min-height: var(--touch-target-min); /* 44px minimum for touch */
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
    filter: brightness(1.02);
}

.btn-secondary {
    background: rgba(248, 250, 252, 0.85);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.125rem;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Container - Responsive */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    box-sizing: border-box;
}

/* Section Layout Helpers */
.section {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.section__header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__headline {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section__subhead {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

/* Responsive grids */
.grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.grid--cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
    .section {
        padding: clamp(2.25rem, 9vw, 3.25rem) 0;
    }

    .section__header {
        margin-bottom: clamp(1.5rem, 7vw, 2.5rem);
    }
}

/* Responsive Container Widths */
@media (min-width: 576px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-lg);
        padding: var(--spacing-lg) var(--spacing-xl);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-xl);
    }
}

/* Signup/Login Pages */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.auth-header h2 {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Profile Picture Upload */
.profile-upload {
    text-align: center;
    margin-bottom: 30px;
}

.profile-upload-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-upload-icon:hover {
    border-color: var(--primary-color);
    background: var(--glass-bg);
}

.profile-upload-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-upload-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
}

.profile-upload input[type="file"] {
    display: none;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-secondary);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.step.active .step-label,
.step.completed .step-label {
    color: var(--text-primary);
}

/* Form Styles - Professional Responsive */
.form-group {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem; /* 14px 16px */
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem; /* 8px */
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    min-height: var(--touch-target-min); /* 44px for mobile */
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--glass-bg);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 6.25rem; /* 100px */
    font-family: inherit;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.social-link-item input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 5px;
}

.social-link-item input:focus {
    outline: none;
}

/* Tags Input */
.tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-height: 50px;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-remove {
    cursor: pointer;
    font-weight: bold;
}

.tag-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: 5px;
    min-width: 100px;
}

.tag-input:focus {
    outline: none;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Home Page */
.hero {
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 7vw, 5.5rem);
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.75rem);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.375rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    width: fit-content;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(37, 99, 235, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__copy {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    max-width: 640px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

.hero__action-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.hero__action-secondary:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
    margin-top: clamp(1rem, 4vw, 1.75rem);
}

.hero-stat {
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat__value {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stat__label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero__visual {
    position: relative;
    padding: clamp(2rem, 5vw, 3rem);
}

.hero-visual-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 5%, rgba(241, 245, 249, 1) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    padding: clamp(1.75rem, 4vw, 2.25rem);
    display: grid;
    gap: 1.25rem;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 12%, rgba(37, 99, 235, 0.16), transparent 58%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-visual-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    font-weight: 600;
    width: fit-content;
    font-size: 0.95rem;
}

.hero-visual-card__title {
    font-size: clamp(1.35rem, 3.2vw, 1.65rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.hero-visual-insights {
    display: grid;
    gap: 0.75rem;
}

.insight-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.22);
    font-size: 0.95rem;
}

.insight-pill__label {
    color: var(--text-secondary);
    font-weight: 500;
}

.insight-pill__value {
    font-weight: 700;
    color: var(--text-primary);
}

.hero-visual-floating {
    position: absolute;
    bottom: -1.5rem;
    right: clamp(0.5rem, 4vw, 2.5rem);
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.85);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.38);
    min-width: 220px;
}

.hero-visual-floating__value {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.hero-visual-floating__label {
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

/* Search Panel */
.search-panel {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.search-panel__wrapper {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
    padding: 0.85rem;
    flex-wrap: wrap;
}

.search-panel__field {
    flex: 1 1 280px;
    position: relative;
}

.search-panel__input {
    width: 100%;
    padding: 0.95rem 1.1rem 0.95rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(248, 250, 252, 0.9);
    font-size: 1rem;
    color: var(--text-primary);
    box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.08);
}

.search-panel__input:focus {
    border-color: rgba(37, 99, 235, 0.4);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.search-panel__icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.75;
}

.search-panel__filters {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(248, 250, 252, 0.85);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.search-panel__filters:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

/* Profile Showcase */
.showcase {
    padding-top: clamp(2.5rem, 6vw, 4rem);
}

.showcase__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.showcase__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.showcase__description {
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.profile-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profile-card {
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
    padding: clamp(1.65rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: relative;
}

.profile-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-card__avatar {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(248, 250, 252, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.profile-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
}

.profile-card__meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-card__bio {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

.profile-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    text-align: center;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.profile-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.profile-card__meta-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.profile-card__meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-card__cta {
    display: flex;
    gap: 0.75rem;
}

.profile-card__cta .btn {
    flex: 1;
}

/* Services */
.services {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
    padding: clamp(2rem, 5vw, 3.5rem);
}

.about-card {
    padding: clamp(2rem, 6vw, 3.75rem);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.95) 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.25rem, 4vw, 2.25rem);
    margin-top: clamp(1rem, 4vw, 2.5rem);
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.about-highlight h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-highlight p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.98rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
}

.service-card {
    padding: clamp(1.4rem, 4vw, 1.85rem);
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    min-height: 160px;
}

.service-card__icon {
    font-size: 2.2rem;
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.2rem;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
}

.service-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card__description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Newsletter */
.newsletter-card {
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.newsletter-card .section__header {
    margin-bottom: clamp(1.5rem, 5vw, 2.75rem);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.newsletter-form .form-control {
    flex: 1 1 260px;
    max-width: 420px;
    border-radius: 16px;
}

.newsletter-form .btn-primary {
    padding-inline: 1.75rem;
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .service-grid {
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.1rem;
    }

    .service-card__icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.8rem;
    }
}


/* ============================================
   PROFESSIONAL RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile First Approach - Base styles are mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        padding: var(--spacing-lg);
    }
    
    .hero-section {
        padding: clamp(4rem, 10vw, 7rem) var(--spacing-xl);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .navbar {
        padding: var(--spacing-md) var(--spacing-xl);
        flex-wrap: nowrap;
    }
    
    .navbar-actions {
        gap: var(--spacing-md);
        flex-wrap: nowrap;
    }
    
    .auth-card {
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
    
    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: row;
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .container {
        padding: var(--spacing-xl) var(--spacing-2xl);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-xl);
    }
}

/* Mobile-specific optimizations (max-width: 767px) */
@media (max-width: 767px) {
    .auth-card {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin: var(--spacing-md);
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    /* Ensure touch targets are adequate */
    .btn, button, a[class*="btn"], .card-action-btn {
        min-height: var(--touch-target-min);
        min-width: var(--touch-target-min);
    }
}

/* Hidden class for step navigation */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dashboard Specific Styles */
.dashboard-sidebar {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    position: sticky;
    top: 100px;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 8px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: #CC0000;
}

.profile-image-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    background: var(--bg-secondary);
}

.brand-logo-container img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    background: var(--bg-secondary);
}

.social-icons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.social-icons-container a {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icons-container a:hover {
    transform: scale(1.2);
}

/* Analytics Containers */
.analytics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.analytics-card {
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
}

.analytics-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.analytics-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.analytics-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.analytics-progress {
    background: var(--bg-secondary);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.analytics-progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.analytics-percentage {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Filter Popup */
.filter-popup {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-popup-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}

/* Option Preview Cards */
.option-preview-card {
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: inherit;
    display: block;
}

.option-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Influencer Card Pattern */
.recommended-cards-container {
    position: relative;
    width: 100%;
}

.recommended-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}

.recommended-cards-scroll::-webkit-scrollbar {
    height: 8px;
}

.recommended-cards-scroll::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.recommended-cards-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.recommended-cards-scroll::-webkit-scrollbar-thumb:hover {
    background: #CC0000;
}

.influencer-card {
    min-width: 320px;
    max-width: 320px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--glass-border);
}

.influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.card-profile-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    background: var(--bg-secondary);
}

.card-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-profile-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--bg-secondary);
}

.card-name {
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-bio {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    min-height: 40px;
}

.card-description {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 60px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.card-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
}

.card-action-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.action-icon {
    font-size: 20px;
}

.action-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    justify-content: center;
}

.star {
    font-size: 16px;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.star.filled {
    opacity: 1;
}

.rating-value {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-niche {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.niche-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.niche-value {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
    
    .influencer-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Search Results */
.search-results-container {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-top: 0;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
}

.search-result-item {
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-secondary);
}

/* Brand Card Pattern */
.brand-card {
    min-width: 320px;
    max-width: 320px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--glass-border);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.card-action-btn.liked {
    color: var(--primary-color);
}

.card-action-btn.following {
    background: var(--primary-color);
    color: white;
}

.card-action-btn.following:hover {
    background: #CC0000;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 20px 15px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}

/* Enhanced Mobile Responsive (max-width: 767px) */
@media (max-width: 767px) {
    /* Mobile Navbar - Professional Enhanced Styling */
    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
        flex-wrap: nowrap;
        gap: var(--spacing-xs);
        align-items: center;
        min-height: 56px;
        position: sticky;
        top: 0;
        box-shadow: 0 2px 10px 0 rgba(31, 38, 135, 0.15);
    }
    
    .navbar-brand {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }
    
    .navbar-actions {
        gap: 0.375rem; /* 6px - tighter spacing */
        flex-wrap: nowrap;
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
        margin: 0;
    }
    
    .navbar-actions .btn {
        padding: 0.5rem 0.75rem; /* 8px 12px - more compact */
        font-size: 0.75rem; /* 12px */
        flex: 0 0 auto;
        min-width: auto;
        white-space: nowrap;
        line-height: 1.2;
        min-height: 2.5rem; /* 40px */
    }
    
    .navbar-actions .btn-primary {
        padding: 0.5rem 1rem; /* Slightly more padding for primary */
        font-weight: 600;
    }
    
    .navbar .btn-secondary {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-width: 1px;
    }
    
    .navbar .theme-toggle {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        font-size: 1rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Navbar toggle button (for future hamburger menu) */
    .navbar-toggle {
        display: flex;
    }
    
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .auth-container {
        padding: var(--spacing-lg) var(--spacing-sm);
        min-height: calc(100vh - 60px);
    }
    
    .auth-card {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin: var(--spacing-md);
    }
    
    .auth-header h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .auth-header h2 {
        font-size: var(--font-size-base);
    }
    
    .steps-indicator {
        margin-bottom: var(--spacing-lg);
        gap: var(--spacing-xs);
    }
    
    .step-circle {
        width: clamp(2rem, 6vw, 2.5rem);
        height: clamp(2rem, 6vw, 2.5rem);
        font-size: var(--font-size-sm);
    }
    
    .step-label {
        font-size: 0.625rem; /* 10px */
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .tags-input {
        min-height: 3.5rem; /* 56px */
        padding: var(--spacing-sm);
    }
    
    .influencer-card,
    .brand-card {
        min-width: min(280px, 85vw);
        max-width: min(280px, 85vw);
        padding: var(--spacing-lg);
    }
    
    .recommended-cards-container {
        margin: 0 calc(-1 * var(--spacing-sm));
        padding: 0 var(--spacing-sm);
    }
    
    .scroll-btn {
        display: none;
    }
    
    .dashboard-sidebar {
        max-height: none;
        position: static;
    }
    
    .analytics-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .analytics-card {
        padding: var(--spacing-md);
    }
    
    .analytics-icon {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .analytics-value {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }
    
    .card-actions {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
    }
    
    .card-action-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: var(--touch-target-min);
    }
    
    .action-icon {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }
    
    .action-label {
        font-size: 0.625rem; /* 10px */
    }
    
    .rating-stars {
        gap: 0.125rem; /* 2px */
    }
    
    .star {
        font-size: var(--font-size-sm);
    }
    
    .rating-value {
        font-size: var(--font-size-sm);
    }
    
    .profile-upload-icon {
        width: clamp(5rem, 20vw, 7.5rem);
        height: clamp(5rem, 20vw, 7.5rem);
    }
    
    .profile-image-container img,
    .brand-logo-container img {
        width: clamp(4rem, 15vw, 6.25rem);
        height: clamp(4rem, 15vw, 6.25rem);
    }
    
    .hero-section {
        padding: clamp(2.5rem, 8vw, 4rem) var(--spacing-lg);
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-section p {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .filter-popup-content {
        padding: var(--spacing-lg);
        max-width: 95%;
        margin: var(--spacing-md);
    }
    
    .search-results-container {
        max-height: 50vh;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Ultra-compact mobile navbar */
    .navbar {
        padding: var(--spacing-xs) var(--spacing-sm);
        min-height: 52px;
        gap: 0.25rem;
    }
    
    .navbar-brand {
        font-size: clamp(0.8125rem, 3vw, 0.9375rem); /* 13px to 15px */
        font-weight: 600;
    }
    
    .navbar-actions {
        gap: 0.25rem; /* 4px - very tight spacing */
        width: auto;
        justify-content: flex-end;
        margin: 0;
    }
    
    .navbar-actions .btn {
        padding: 0.4375rem 0.625rem; /* 7px 10px */
        font-size: 0.6875rem; /* 11px */
        min-width: auto;
    }
    
    .navbar-actions .btn-primary {
        padding: 0.4375rem 0.875rem; /* 7px 14px */
    }
    
    .navbar .theme-toggle {
        width: 2.25rem; /* 36px */
        height: 2.25rem; /* 36px */
        font-size: 0.9375rem; /* 15px */
    }
    
    /* Hide text on very small screens, show only icons */
    .navbar-actions .btn-secondary:not(.theme-toggle) {
        padding: 0.5rem;
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0;
        position: relative;
    }
    
    .navbar-actions .btn-secondary:not(.theme-toggle)::before {
        content: '🔐';
        font-size: 1rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .navbar-actions .btn-primary {
        padding: 0.4375rem 0.75rem;
        font-size: 0.6875rem;
    }
    
    .auth-card {
        padding: var(--spacing-lg) var(--spacing-md);
        margin: var(--spacing-sm);
    }
    
    .influencer-card,
    .brand-card {
        min-width: min(240px, 90vw);
        max-width: min(240px, 90vw);
        padding: var(--spacing-md);
    }
    
    .card-name {
        font-size: var(--font-size-base);
    }
    
    .card-bio {
        font-size: var(--font-size-sm);
    }
    
    .card-description {
        font-size: 0.6875rem; /* 11px */
        line-height: 1.4;
    }
    
    .container {
        padding: var(--spacing-sm);
    }
    
    .glass {
        padding: var(--spacing-md) !important;
    }
}

/* Floating Pin Widget */
.floating-pin {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: move;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    touch-action: none;
}

.floating-pin:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.floating-pin:active {
    transform: scale(0.95);
    cursor: grabbing;
}

.floating-pin-menu {
    position: fixed;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10000;
    min-width: 280px;
    max-width: 320px;
    min-height: 60vh;
    max-height: 85vh;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-pin-menu.active {
    display: flex;
}

.pin-menu-scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    flex: 1;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior: contain; /* Prevent scroll chaining */
}

.pin-menu-scrollable::-webkit-scrollbar {
    width: 8px;
}

.pin-menu-scrollable::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
    margin: 10px 0;
}

.pin-menu-scrollable::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.pin-menu-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-color-rgb, 255, 0, 0), 0.8);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pin-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1;
}

.pin-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.pin-menu-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.pin-menu-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.pin-menu-section {
    margin-bottom: 20px;
}

.pin-menu-section:last-child {
    margin-bottom: 0;
}

/* Smooth scroll indicators */
.pin-menu-scrollable::before,
.pin-menu-scrollable::after {
    content: '';
    position: sticky;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--glass-border), 
        transparent
    );
    margin: 0 -20px;
    pointer-events: none;
}

.pin-menu-scrollable::before {
    top: 0;
    margin-bottom: 10px;
}

.pin-menu-scrollable::after {
    bottom: 0;
    margin-top: 10px;
}

.pin-menu-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.theme-color-option {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.theme-color-option:hover {
    transform: scale(1.05);
    border-color: var(--glass-border);
}

.theme-color-option.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 255, 0, 0), 0.3);
}

.theme-color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-color-red { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%); }
.theme-color-blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.theme-color-green { background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%); }
.theme-color-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.theme-color-orange { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.theme-color-pink { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

.pin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pin-menu-item:last-child {
    margin-bottom: 0;
}

.pin-menu-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.pin-menu-item-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.pin-menu-item-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Enhanced Button Styles */
.btn-primary {
    background: var(--accent-gradient);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
    color: #ffffff;
}

.btn-primary:hover {
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
    filter: brightness(1.02);
}

/* Enhanced Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px 0 rgba(31, 38, 135, 0.2);
}

/* Enhanced Cards */
.influencer-card,
.brand-card {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.influencer-card:nth-child(1) { animation-delay: 0.1s; }
.influencer-card:nth-child(2) { animation-delay: 0.2s; }
.influencer-card:nth-child(3) { animation-delay: 0.3s; }
.influencer-card:nth-child(4) { animation-delay: 0.4s; }
.influencer-card:nth-child(5) { animation-delay: 0.5s; }

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Pin Widget */
@media (max-width: 768px) {
    .floating-pin {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-pin-menu {
        min-width: 260px;
        max-width: 90vw;
        max-height: 85vh;
    }
    
    .pin-menu-scrollable {
        padding: 15px;
    }
    
    .pin-menu-header {
        padding: 15px 15px 12px 15px;
    }
    
    .theme-colors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .pin-menu-item {
        padding: 10px;
        font-size: 13px;
    }
    
    .pin-menu-section {
        margin-bottom: 15px;
    }
    
    .pin-menu-section h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .floating-pin-menu {
        min-width: 240px;
        max-width: 95vw;
        max-height: 90vh;
    }
    
    .pin-menu-scrollable {
        padding: 12px;
    }
    
    .pin-menu-header {
        padding: 12px 12px 10px 12px;
    }
    
    .pin-menu-header h3 {
        font-size: 16px;
    }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 20px 0 rgba(31, 38, 135, 0.2);
    z-index: 1000;
    display: none;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav.active {
    display: flex;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    position: relative;
    min-height: 60px;
}

.mobile-nav-item.active {
    color: var(--primary-color);
}

.mobile-nav-item-icon {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.mobile-nav-item.active .mobile-nav-item-icon {
    transform: scale(1.1);
}

.mobile-nav-item-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.mobile-nav-item-badge {
    position: absolute;
    top: 4px;
    right: 20%;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid var(--glass-bg);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sidebar-toggle:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.sidebar-toggle.active {
    background: var(--primary-color);
    color: white;
}

/* Mobile Sidebar */
.dashboard-sidebar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 9999;
        background: var(--glass-bg);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-right: 1px solid var(--glass-border);
        box-shadow: 2px 0 20px 0 rgba(31, 38, 135, 0.3);
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add padding to body when mobile nav is active */
    body.has-mobile-nav {
        padding-bottom: 70px;
    }
}

/* Smooth Page Transitions */
* {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Smooth animations for all interactive elements */
a, button, .btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Touch Targets for Mobile */
@media (max-width: 767px) {
    /* Ensure all interactive elements meet minimum touch target size */
    .btn, 
    button, 
    a[class*="btn"],
    .card-action-btn,
    .theme-toggle,
    .scroll-btn,
    .pin-menu-item,
    .mobile-nav-item {
        min-height: var(--touch-target-min);
        min-width: var(--touch-target-min);
    }
    
    .mobile-nav-item {
        min-height: 3.75rem; /* 60px */
    }
    
    /* Improve form inputs for mobile */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: var(--touch-target-min);
    }
    
    /* Better spacing for mobile cards */
    .influencer-card,
    .brand-card {
        gap: var(--spacing-md);
    }
}

/* Service Cards */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
    border-color: var(--primary-color);
}

/* Profile Info Items */
.profile-info-item {
    transition: all 0.2s ease;
}

.profile-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.2);
}

/* Footer Styles */
.site-footer {
    margin-top: var(--spacing-2xl);
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.95) 60%, rgba(241, 245, 249, 1) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 24%, rgba(37, 99, 235, 0.15), transparent 55%),
                radial-gradient(circle at 82% 20%, rgba(20, 184, 166, 0.12), transparent 55%);
    opacity: 0.65;
    pointer-events: none;
}

.footer {
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.75rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__brand h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer__titleboxes h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: var(--text-primary);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer__links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__socials {
    display: flex;
    gap: 0.85rem;
}

.footer__socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.footer__socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
}

.footer__note {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.site-footer a {
    transition: all 0.2s ease;
}

/* Professional Responsive Grid Improvements */
@media (max-width: 767px) {
    /* Convert all multi-column grids to single column on mobile */
    .container > div[style*="grid-template-columns"],
    div[style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md) !important;
    }
    
    /* Chat layout responsive */
    div[style*="grid-template-columns: 350px 1fr"],
    div[style*="grid-template-columns: 300px 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide chat list on mobile, show only when selected */
    .chat-list-mobile {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        z-index: 10000;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .chat-list-mobile.active {
        left: 0;
    }
    
    /* Profile info items responsive */
    .profile-info-item[style*="grid-column: span 2"],
    .profile-info-item[style*="grid-column: span 3"] {
        grid-column: span 1 !important;
    }
    
    /* Service cards responsive */
    .service-card {
        padding: var(--spacing-lg) !important;
    }
    
    .service-card div[style*="font-size: 48px"] {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    /* Dashboard layout responsive */
    .dashboard-layout,
    div[style*="grid-template-columns: 300px 1fr"],
    div[style*="grid-template-columns: 350px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-lg) !important;
    }
    
    /* Flex layouts stack on mobile */
    div[style*="display: flex"][style*="align-items: flex-start"],
    div[style*="display: flex"][style*="justify-content: space-between"] {
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
    }
    
    /* Social icons container */
    .social-icons-container {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: var(--spacing-md) !important;
    }
}

