/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --border-color: #E5E7EB;
    --text-color: #374151;
    --text-light: #6B7280;
    --error-color: #EF4444;
    --success-color: #10B981;
    --warning-color: #F59E0B;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo i {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu > li > a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.625rem 1.125rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-menu > li > a.btn-primary {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
}

.nav-menu > li > a.btn-primary:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-menu > li > a.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid transparent;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
}

.nav-menu > li > a.btn-secondary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    min-width: 220px;
    margin-top: 0;
    padding: 0.75rem 0;
    list-style: none;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: dropdownFadeIn 0.2s ease;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.mobile-menu-toggle i {
    transition: transform 0.25s ease;
}

.mobile-menu-toggle.is-open i {
    transform: rotate(90deg);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-white {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #059669;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--light-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
}

.btn-icon:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title-single-line {
    white-space: nowrap;
    font-size: clamp(2rem, 2.7vw, 3rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-badge i {
    color: #93c5fd;
}

.hero-subheading-hi {
    margin: 0 0 1rem;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
    color: #e2e8f0;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-subtitle-hi-text {
    margin-top: -1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-benefit-card {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.hero-benefit-card h5 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
}

.hero-benefit-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.hero-benefit-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(147, 197, 253, 0.18);
    color: #bfdbfe;
    font-size: 0.95rem;
}

.hero-benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #dbeafe;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-match-strip {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.9) 0%, #ffffff 100%);
}

.ai-match-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.ai-match-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-match-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-color);
}

.ai-match-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ai-match-card {
    padding: 1.35rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ai-match-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.85rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
}

.ai-match-card h4 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.ai-match-card p {
    margin: 0;
    line-height: 1.65;
    color: var(--text-light);
}

/* Statistics Section */
.stats-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.how-it-works-section .section-title {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.how-it-works-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.step-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.step-image-box {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    z-index: 3;
}

.step-card:hover .step-number {
    transform: rotate(360deg) scale(1.15);
    background: #fff;
}

.step-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: all 0.4s ease;
}

.step-card:hover .step-image {
    transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.3) 0%, 
        rgba(118, 75, 162, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover .step-overlay {
    opacity: 1;
}

/* Decorative patterns on image box */
.step-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: movePattern 20s linear infinite;
    z-index: 1;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.step-content {
    padding: 2rem 2rem 2.5rem;
    text-align: center;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    position: relative;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: slide 2s ease-in-out infinite;
}

@keyframes slide {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.connector-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
}

.testimonials-section .section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-section .section-title {
    font-size: 2.75rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.testimonials-section .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.testimonial-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.featured-label {
    position: absolute;
    top: -12px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.featured-label i {
    color: #ffc107;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.testimonial-card.featured .testimonial-avatar {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.testimonial-card.featured .testimonial-info h4 {
    color: #fff;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.testimonial-card.featured .testimonial-role {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-card.featured .testimonial-rating {
    color: #ffd700;
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2.5rem;
    color: rgba(102, 126, 234, 0.1);
    z-index: 0;
}

.testimonial-card.featured .quote-icon {
    color: rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-card.featured .testimonial-content p {
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.testimonial-card.featured .testimonial-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    border-top: 2px solid #e0e0e0;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        transform: scale(1);
    }
    
    .testimonial-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }
    
    .testimonials-section .section-title {
        font-size: 2rem;
    }
    
    .testimonial-stats {
        gap: 2rem;
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(0, -60px) rotate(180deg); }
    75% { transform: translate(-30px, -30px) rotate(270deg); }
}

@media (max-width: 968px) {
    .step-connector {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .how-it-works-section .section-title {
        font-size: 2rem;
    }
    
    .how-it-works-section .section-subtitle {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    background: var(--success-color);
    color: #fff;
}

.flash-error {
    background: var(--error-color);
    color: #fff;
}

.flash-warning {
    background: var(--warning-color);
    color: #fff;
}

.flash-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* Auth Pages */
.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-box-large {
    max-width: 700px;
}

.auth-box h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 2rem;
}

.auth-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: var(--light-color);
    padding: 0.375rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.auth-toggle-btn {
    flex: 1;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-toggle-btn.is-active {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.auth-panel {
    display: none;
}

.auth-panel.is-active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Subscription Plans */
.subscription-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .subscription-plans {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}

.plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-4px);
}

.plan-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(16, 185, 129, 0.05));
}

.plan-card.current-plan {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
}

.plan-card.current-plan:hover {
    border-color: var(--success-color);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.current-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 0.35rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 8px 8px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.plan-unavailable {
    background: #FEE2E2;
    color: #991B1B;
    padding: 0.5rem 1rem;
    text-align: center;
    margin-top: 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-card input[type="radio"]:disabled ~ .plan-label {
    opacity: 0.6;
    cursor: not-allowed;
}

.plan-card input[type="radio"]:disabled {
    cursor: not-allowed;
}

.plan-card input[type="radio"] {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    z-index: 2;
}

.plan-card .plan-label {
    display: block;
    padding: 1.5rem;
    padding-right: 3rem;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.plan-card.current-plan .plan-label {
    padding-top: 2.5rem;
}

.plan-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.plan-price .currency {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 600;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.plan-price .duration {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    list-style: none;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col p {
    color: #9CA3AF;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9CA3AF;
}

/* Deals Page */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.deals-section {
    padding: 3rem 0;
}

.deals-filters {
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    gap: 1rem;
}

.deal-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.deal-card-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.deal-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-card-content {
    flex: 1;
    min-width: 0;
}

.deal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.deal-category,
.deal-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.deal-category {
    background: #EEF2FF;
    color: var(--primary-color);
}

.deal-type {
    background: #ECFDF5;
    color: var(--secondary-color);
}

.deal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.deal-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.deal-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.seller-info,
.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deal-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.deal-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Dashboard */
.dashboard-section {
    padding: 3rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.stat-icon.bg-blue {
    background: var(--primary-color);
}

.stat-icon.bg-green {
    background: var(--secondary-color);
}

.stat-icon.bg-orange {
    background: var(--warning-color);
}

.stat-icon.bg-purple {
    background: #8B5CF6;
}

.stat-icon.bg-teal {
    background: #14B8A6;
}

.stat-icon.bg-yellow {
    background: #F59E0B;
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-light);
}

.dashboard-content {
    margin-top: 3rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.content-header h2 {
    font-size: 1.5rem;
}

.content-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table thead {
    background: var(--light-color);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
}

.data-table th {
    font-weight: 600;
    color: var(--dark-color);
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: var(--light-color);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-active {
    background: #ECFDF5;
    color: #059669;
}

.badge-pending {
    background: #FEF3C7;
    color: #D97706;
}

.badge-completed {
    background: #EEF2FF;
    color: #4F46E5;
}

.badge-cancelled {
    background: #FEE2E2;
    color: #DC2626;
}

.empty-state {
    text-align: center;
    padding: 4rem 0;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ── Business Directory Search ── */
.biz-search-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 1rem;
}

.biz-search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.biz-search-field label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 0.4rem;
}

.biz-input-wrap {
    position: relative;
}

.biz-input-wrap .biz-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.biz-input-wrap input,
.biz-input-wrap select {
    width: 100%;
    padding: 0.65rem 0.75rem 0.65rem 2.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.biz-input-wrap input:focus,
.biz-input-wrap select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
    background: #fff;
}

.biz-input-wrap--select::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

.biz-clear-input {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
}
.biz-clear-input:hover { color: #ef4444; }

.biz-search-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.biz-search-btn {
    white-space: nowrap;
    padding: 0.65rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    font-weight: 600;
}

.biz-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all .2s;
}
.biz-reset-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Active filter chips */
.biz-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.biz-filter-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.biz-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
}

.biz-chip a {
    color: #818cf8;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.25rem;
}
.biz-chip a:hover { color: #ef4444; }

/* Results meta */
.biz-results-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.biz-results-meta strong { color: #1e293b; }

/* ── Business Square Card Grid ── */
.biz-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.biz-sq-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.25rem 1.25rem;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 1 / 1;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    overflow: hidden;
}

.biz-sq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    border-color: var(--primary-color);
}

.biz-sq-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}

.biz-sq-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.biz-sq-badges {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
}

.biz-sq-verified {
    color: #16a34a;
    font-size: 1rem;
}

.biz-sq-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
    line-height: 1.3;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.biz-sq-cat {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.biz-sq-location {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.biz-sq-location i {
    color: #cbd5e1;
    margin-right: 0.2rem;
}

.biz-sq-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
}

.biz-sq-services {
    font-size: 0.75rem;
    color: #64748b;
}

.biz-sq-services i {
    color: #94a3b8;
}

.biz-sq-cta {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}

.biz-sq-card:hover .biz-sq-cta {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
    .biz-search-grid {
        grid-template-columns: 1fr 1fr;
    }
    .biz-search-field--wide {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .biz-search-grid {
        grid-template-columns: 1fr;
    }
    .biz-search-field--wide {
        grid-column: span 1;
    }
    .biz-search-actions {
        flex-direction: row;
    }
    .biz-search-btn { flex: 1; }
}

/* ── Shared Pagination (used on business/, products, etc.) ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.2rem 0 2rem;
}

.pagination-top {
    margin: 0 0 1.25rem;
    justify-content: flex-end;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.pagination .page-link:hover {
    border-color: #c7d2fe;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67,56,202,.12);
}

.pagination .page-link.active {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-color: #4338ca;
    color: #fff;
    box-shadow: 0 6px 14px rgba(67,56,202,.35);
}

.pagination .page-link.page-nav {
    min-width: 96px;
    padding: 0 1rem;
}

@media (max-width: 560px) {
    .pagination-top { justify-content: center; }
    .pagination .page-link { min-width: 38px; height: 38px; }
    .pagination .page-link.page-nav { min-width: 80px; }
}

/* Forms */
.page-section {
    padding: 3rem 0;
}

.page-header-simple {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header-simple h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.standard-form .form-group {
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seller-visibility-grid,
    .seller-support-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    .seller-visibility-gain-card,
    .seller-usecase-card {
        order: 2;
        width: 100%;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .hero-title-single-line {
        white-space: normal;
    }

    .hero-subheading-hi {
        font-size: 1.05rem;
    }

    .hero-badge {
        display: flex;
        width: 100%;
        border-radius: 18px;
        font-size: 0.9rem;
    }

    .hero-subtitle-hi-text {
        margin-top: -0.5rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .ai-match-header h3 {
        font-size: 1.45rem;
    }

    .ai-match-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 20px;
        right: 20px;
        padding: 0.85rem;
        border-radius: 16px;
        background: linear-gradient(150deg, #111827 0%, #1F2937 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 1001;
    }

    .nav-menu.mobile-menu-open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a,
    .nav-menu > li > .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 1rem;
        border-radius: 12px;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.06);
        color: #F9FAFB;
        transform: none;
        box-shadow: none;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > .dropdown-toggle:hover {
        background: rgba(79, 70, 229, 0.32);
        border-color: rgba(129, 140, 248, 0.45);
        color: #fff;
        transform: none;
        box-shadow: none;
    }

    .nav-menu > li > a.btn-primary {
        background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
        border-color: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    .nav-menu > li > a.btn-primary:hover {
        background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .nav-menu > li > a.btn-secondary {
        background: #fff;
        color: #111827;
    }

    .nav-menu > li > a.btn-secondary:hover {
        background: #F3F4F6;
        color: #111827;
    }

    .dropdown-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: auto;
        bottom: calc(100% + 0.45rem);
        margin-top: 0;
        min-width: 100%;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.75);
        border: 1px solid rgba(148, 163, 184, 0.2);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
        padding: 0.4rem;
        z-index: 1004;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        color: #E5E7EB;
        border-radius: 8px;
        padding: 0.75rem 0.9rem;
    }

    .dropdown-menu a:hover {
        background: rgba(59, 130, 246, 0.18);
        color: #fff;
        padding-left: 0.9rem;
    }

    .dropdown.mobile-dropdown-open {
        z-index: 1005;
    }

    .dropdown.mobile-dropdown-open .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .features-grid,
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .flash-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Deal Images */
.deal-item-wrapper {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.deal-item-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.deal-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-item-thumbnail.deal-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 28px;
}

.deal-item-content {
    flex: 1;
    min-width: 0;
}

.deal-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f3f4f6;
}

.deal-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-image-large {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    background: #f3f4f6;
}

.deal-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-image {
    margin-bottom: 1rem;
}

/* Business Module Styles */
.business-service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 8px;
}

.business-service-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-service-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.business-service-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.2s ease;
}

.business-service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.business-service-details {
    padding: 1rem;
}

.business-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    position: relative;
}

.business-profile-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid white;
}

.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1200;
}

.image-modal.is-open {
    display: flex;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
}

.image-modal-content {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: 90vh;
    padding: 1rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.image-modal-content img {
    display: block;
    width: 100%;
    max-height: calc(90vh - 2rem);
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
}

.image-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close:hover {
    background: rgba(15, 23, 42, 0.92);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.image-modal-nav:hover {
    background: rgba(15, 23, 42, 0.92);
}

.image-modal-prev {
    left: 0.6rem;
}

.image-modal-next {
    right: 0.6rem;
}

.image-modal-counter {
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
}

/* File Input Styling for Business Module */
input[type="file"] {
    display: block;
    padding: 0.75rem;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s ease;
    width: 100%;
}

input[type="file"]:hover {
    border-color: #64748b;
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #f0f4ff;
}

/* Responsive Image Gallery */
@media (max-width: 768px) {
    .business-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .business-service-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .business-service-gallery img {
        height: 100px;
    }

    .image-modal {
        padding: 0.75rem;
    }

    .image-modal-content {
        padding: 0.75rem;
        border-radius: 16px;
    }
}
