/* home.css - Professional & Attractive Design */
/* ===== VARIABLES & THEME ===== */
:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --primary-light: #eef2ff;
    --secondary-color: #764ba2;
    --accent-color: #f5576c;
    --success-color: #43e97b;
    --warning-color: #ffd93d;
    --error-color: #ff6b6b;
    
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-light: #f1f5f9;
    --gray: #94a3b8;
    --gray-dark: #64748b;
    --text-color: #334155;
    --text-light: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ===== MAIN CONTAINER ===== */
.home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 3vw, 3rem);
    min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1s ease-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
}

.brand-highlight {
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
    font-weight: 300;
    animation: slideInRight 1s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    color: white;
}

.feature span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: 2rem auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    animation: slideInSearch 0.6s ease-out;
}

/* Header with Credits and Navigation */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--primary-gradient);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credits-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-items {
    display: flex;
    gap: 1.5rem;
    margin-right: 1.5rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--text-light);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

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

.user-greeting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Search Form */
.search-form-container {
    padding: 2.5rem;
}

.search-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 1rem 0 2rem 0;
}

.search-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-input-group {
    position: relative;
}

.search-input-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.search-input-wrapper {
    position: relative;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.search-input-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.search-input-wrapper:focus-within::before {
    opacity: 1;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1rem 1.25rem 3rem;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    outline: none;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.search-input::placeholder {
    color: var(--gray);
    font-size: 0.95rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.search-input-wrapper:focus-within .search-icon {
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-dark);
}

/* Suggestions Dropdown */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suggestion-item:hover,
.suggestion-item.hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

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

.suggestion-icon {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Search Button */
.search-button-container {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--primary-gradient);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-width: 220px;
    font-family: var(--font-heading);
}

.search-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.search-button:active {
    transform: translateY(-1px);
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.search-button:hover::before {
    left: 100%;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== GUEST VIEW ===== */
.guest-view {
    text-align: center;
    padding: 2rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.guest-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.guest-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guest-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.guest-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.guest-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.guest-feature-card p {
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Login CTA Banner */
.login-cta-banner {
    background: var(--secondary-gradient);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-login-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.cta-login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 6rem;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.author-info span {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* ===== RESULTS GRID ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ===== USER CARD ===== */
.user-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.user-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.user-card:hover .profile-photo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.user-profession {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.user-location {
    font-size: 1rem;
    color: var(--gray-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== ACTION BUTTONS ===== */
.user-card-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    flex: 1;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.follow-btn {
    background: var(--success-gradient);
    color: var(--text-light);
    border: none;
    box-shadow: var(--shadow);
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--gray-light);
    box-shadow: var(--shadow);
}

.pagination-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.page-current {
    color: var(--gray-dark);
    font-weight: 600;
    padding: 1rem 2rem;
    background: var(--gray-light);
    border-radius: var(--radius);
}

/* ===== SECTIONS & MESSAGES ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 3rem 0;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.no-results-message {
    text-align: center;
    padding: 5rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-light);
    margin: 3rem 0;
    box-shadow: var(--shadow);
}

.no-results-message h2 {
    color: var(--dark-color);
    margin: 0 0 1.5rem 0;
    font-size: 2rem;
    font-family: var(--font-heading);
}

.no-results-message p {
    color: var(--gray-dark);
    margin: 0;
    font-size: 1.2rem;
}

.suggested-users-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-light);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    z-index: 1000;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.cookie-banner.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 1rem 0;
}

.cookie-text {
    font-size: 1rem;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.cookie-btn {
    background: var(--gray-light);
    color: var(--dark-color);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 140px;
}

.cookie-btn:hover {
    background: var(--gray);
    transform: translateY(-2px);
}

.cookie-btn-primary {
    background: var(--primary-gradient);
    color: var(--text-light);
    border: none;
    box-shadow: var(--shadow);
}

.cookie-btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-visible {
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-visible .modal-content {
    transform: translateY(0);
}

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

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal-body {
    padding: 2rem;
}

.modal-features {
    margin-bottom: 2rem;
}

.modal-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-feature-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.modal-feature-text h4 {
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.modal-feature-text p {
    margin: 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.modal-actions {
    text-align: center;
}

.modal-login-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.modal-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.modal-signup {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.modal-signup a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.modal-signup a:hover {
    text-decoration: underline;
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    border-left: 4px solid var(--primary-color);
}

.notification-show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-error {
    border-left-color: var(--error-color);
}

.notification-warning {
    border-left-color: var(--warning-color);
}

.notification-content {
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-message {
    flex: 1;
    color: var(--dark-color);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--dark-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets */
@media (max-width: 1200px) {
    .home-container {
        padding: 1rem 2rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .search-section {
        margin: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .home-container {
        padding: 1rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
        margin-bottom: 3rem;
    }

    .search-section {
        margin: 1.5rem;
    }
    
    .search-header {
        padding: 1.25rem 1.5rem;
    }
    
    .brand-section {
        gap: 1.5rem;
    }
    
    .nav-items {
        gap: 1.25rem;
    }
    
    .search-form-container {
        padding: 2rem;
    }

    .guest-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .home-container {
        padding: 0.75rem;
    }

    .hero-section {
        padding: 2.5rem 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .search-section {
        margin: 1rem;
    }
    
    .search-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .brand-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-items {
        margin-right: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .user-greeting {
        justify-content: center;
    }
    
    .search-form-container {
        padding: 2rem 1.5rem;
    }
    
    .search-inputs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .search-button {
        padding: 1.25rem 2rem;
        min-width: 200px;
    }

    .login-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }

    .cta-content h3 {
        font-size: 1.75rem;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .user-card {
        padding: 1.5rem;
    }

    .user-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .user-card-actions {
        flex-direction: column;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-link {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0.75rem;
    }

    .welcome-heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .tagline {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }

    .search-section {
        margin: 0.75rem;
    }
    
    .search-header {
        padding: 1.25rem 1rem;
    }
    
    .brand-logo h1 {
        font-size: 1.5rem;
    }
    
    .search-form-container {
        padding: 1.5rem 1rem;
    }
    
    .search-input {
        padding: 1.125rem 1rem 1.125rem 2.75rem;
    }
    
    .search-icon {
        left: 0.875rem;
    }

    .guest-feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .user-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .suggested-users-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .user-card {
        border: 2px solid var(--dark-color);
    }

    .search-inputs-row {
        border-width: 3px;
    }

    .btn {
        border-width: 3px;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Print styles */
@media print {
    .search-button,
    .cookie-banner,
    .modal,
    .notification {
        display: none !important;
    }
    
    .hero-section {
        background: #667eea !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}