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

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --hyper-cyan: #06b6d4;
    --hyper-purple: #8B5CF6;
    --hyper-pink: #ec4899;
    --hyper-orange: #f59e0b;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-hyper: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hyper: 0 8px 30px rgba(102, 126, 234, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* Modern Navigation Bar */
/* ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Smooth purple-to-pink gradient background */
    background: linear-gradient(135deg, #667eea, #f093fb);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #667eea, #f093fb);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-links {
    flex: 1;
}

.logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
    z-index: 1001;
}

.auth-buttons {
    margin-right: 60px; /* Space for logo */
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Logo image */
.logo-image {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Authentication buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Login button with white border */
.btn-login {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-family: 'Poppins', sans-serif;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Sign Up button with orange gradient */
.btn-signup {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    border: none;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    filter: brightness(1.1);
}

/* User profile avatar */
.user-profile {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-avatar:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

/* User menu dropdown */
.user-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    display: none;
    z-index: 1001;
    animation: slideDown 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.user-menu.active {
    display: block;
}

.user-menu-header {
    padding: 1rem 1.25rem;
}

.user-menu-header div:first-child {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.user-menu-header div:last-child {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.user-menu-divider {
    height: 1px;
    background: var(--gray-200);
}

.user-menu-item {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    font-family: 'Poppins', sans-serif;
}

.user-menu-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-menu-item:last-child {
    border-radius: 0 0 12px 12px;
    color: #ef4444;
}

.user-menu-item:last-child:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 999;
    font-family: 'Poppins', sans-serif;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .logo {
        font-size: 1.4rem;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

/* ============================================ */
/* Modern Navigation Bar */
/* ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Smooth purple-to-pink gradient background */
    background: linear-gradient(135deg, #667eea, #f093fb);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: linear-gradient(135deg, #667eea, #f093fb);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-family: 'Poppins', sans-serif;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.75rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Logo text - "HYPER" in bold yellow, "AI" in italic */
.logo-text {
    font-weight: 700;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-ai {
    font-style: italic;
    font-weight: 600;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Authentication buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Login button with white border */
.btn-login {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-family: 'Poppins', sans-serif;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Sign Up button with orange gradient */
.btn-signup {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    border: none;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    filter: brightness(1.1);
}

/* User profile avatar */
.user-profile {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-avatar:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

/* User menu dropdown */
.user-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    display: none;
    z-index: 1001;
    animation: slideDown 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.user-menu.active {
    display: block;
}

.user-menu-header {
    padding: 1rem 1.25rem;
}

.user-menu-header div:first-child {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.user-menu-header div:last-child {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.user-menu-divider {
    height: 1px;
    background: var(--gray-200);
}

.user-menu-item {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    font-family: 'Poppins', sans-serif;
}

.user-menu-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-menu-item:last-child {
    border-radius: 0 0 12px 12px;
    color: #ef4444;
}

.user-menu-item:last-child:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 999;
    font-family: 'Poppins', sans-serif;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .logo {
        font-size: 1.4rem;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

/* ============================================ */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 50%, rgba(240, 147, 251, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-hyper);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 50%, rgba(240, 147, 251, 0.98) 100%);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.logo svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(360deg);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.logo-ai {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.nav-links a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
}

/* Authentication Buttons in Navbar */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login, .btn-signup {
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-login {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-signup {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-signup:hover {
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* User Profile */
.user-profile {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-avatar:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.user-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    display: none;
    z-index: 1001;
    animation: slideDown 0.3s ease;
}

.user-menu.active {
    display: block;
}

.user-menu-header {
    padding: 1rem 1.25rem;
}

.user-menu-header div:first-child {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.user-menu-header div:last-child {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.user-menu-divider {
    height: 1px;
    background: var(--gray-200);
}

.user-menu-item {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
}

.user-menu-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-menu-item:last-child {
    border-radius: 0 0 12px 12px;
    color: #ef4444;
}

.user-menu-item:last-child:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.5);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.5);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hyper-brand {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 30%, #f59e0b 60%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.5));
    animation: hyperGlow 3s ease-in-out infinite;
}

@keyframes hyperGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.5));
    }
    50% {
        filter: drop-shadow(0 4px 30px rgba(251, 191, 36, 0.8)) drop-shadow(0 0 40px rgba(245, 158, 11, 0.6));
    }
}

.gradient-text {
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-top: 0.5rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Background Section */
.background-section {
    background: var(--gray-50);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.channel-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

/* Special styling for AI Search card */
#ai-search-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

#ai-search-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
}

#ai-search-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#ai-search-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    transform: translateY(-10px) scale(1.02);
}

#ai-search-card .channel-icon svg {
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

#ai-search-card:hover .channel-icon svg {
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.5));
    transform: scale(1.1);
}

/* External link badge */
.external-link-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

#ai-search-card:hover .external-link-badge {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Special styling for Post Your Ad card */
#post-ad-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05));
    border: 2px solid transparent;
    position: relative;
}

#post-ad-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#post-ad-card:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    transform: translateY(-8px) scale(1.02);
}

#post-ad-card .channel-icon svg {
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
    transition: all 0.3s ease;
}

#post-ad-card:hover .channel-icon svg {
    filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.5));
    transform: scale(1.1) rotate(5deg);
}

.channel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.channel-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.channel-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Chat Connect Badge */
.chat-connect-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

#search-engines-card:hover .chat-connect-badge,
#live-chat-card:hover .chat-connect-badge {
    animation: bounce 0.5s ease;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
}

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

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
}

.problem-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.problem-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.problem-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.problem-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.problem-text p {
    color: var(--gray-400);
}

/* Objectives Section */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.objective-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.objective-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.objective-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.objective-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--gray-50);
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.workflow-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.workflow-step p {
    color: var(--gray-600);
    line-height: 1.6;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Dashboard Section */
.dashboard-preview {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--gray-50), white);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
}

.stat-trend.up {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.stat-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.feature-bullet {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Outcome Section */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.outcome-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

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

.outcome-metric {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.outcome-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.outcome-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Privacy Section */
.privacy-notice {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border: 2px solid var(--primary);
}

.privacy-icon {
    font-size: 4rem;
}

.privacy-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.privacy-content p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Tech Stack Section */
.tech-stack-section {
    background: var(--gray-50);
}

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

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.tech-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Constraints Section */
.constraints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.constraint-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.constraint-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.constraint-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.constraint-card p {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.3));
}

.footer-brand .logo:hover {
    filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.5));
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .workflow-arrow {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .privacy-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-box {
        width: 100%;
        height: 100%;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }
}

/* ============================================ */
/* LIVE CHAT WIDGET STYLES */
/* ============================================ */

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.chat-box.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.chat-header {
    background: var(--gradient);
    color: white;
    padding: 1.25rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.status-indicator {
    font-size: 0.875rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--gray-50);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--gray-300);
}

.message-content {
    max-width: 75%;
}

.message-content p {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.user-message .message-content p {
    background: var(--gradient);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-time {
    text-align: right;
}

.typing-indicator .message-content {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.chat-input-container {
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.5rem;
    border-radius: 0 0 16px 16px;
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s;
}

#chatInput:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ============================================
   CONTACT FORM SECTION STYLES
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.product-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.label-icon {
    font-size: 1.125rem;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:hover:not(:focus) {
    border-color: var(--gray-300);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.character-count {
    text-align: right;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: -0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-response {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

.form-response.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 2px solid #16a34a;
}

.form-response.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid #dc2626;
}

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

/* Contact Information Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.info-card h4 {
    color: var(--dark);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--secondary);
}

.info-detail {
    font-size: 0.875rem;
    color: var(--gray-500) !important;
}

.info-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary);
    padding: 1.5rem;
    border-radius: 16px;
}

.info-highlight h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.info-highlight ul {
    list-style: none;
    padding: 0;
}

.info-highlight li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Recent Enquiries Section */
.recent-enquiries-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.enquiries-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.enquiry-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.enquiry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.enquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.enquiry-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.enquiry-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.125rem;
}

.enquiry-email {
    color: var(--primary);
    font-size: 0.875rem;
    text-decoration: none;
}

.enquiry-email:hover {
    text-decoration: underline;
}

.enquiry-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.enquiry-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.status-new {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.status-responded {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid #16a34a;
}

.enquiry-body {
    margin-bottom: 1rem;
}

.enquiry-type {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.enquiry-message {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.9375rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.enquiry-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.enquiry-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive Styles for Contact Section */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit {
        width: 100%;
    }
}

/* ============================================
   POST YOUR AD MODAL STYLES
   ============================================ */

.post-ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.post-ad-container {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.post-ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.post-ad-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-ad-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-ad-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.post-ad-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ad-preview {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05));
    border: 2px dashed #f59e0b;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.ad-preview h3 {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ad-preview-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.ad-preview-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.ad-preview-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ad-preview-tag {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ad-preview-description {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ad-preview-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ad-success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ad-success-message h3 {
    color: #10b981;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.ad-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite;
}

.ad-count-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* ============================================
   PUBLISHED ADS DISPLAY STYLES
   ============================================ */

.published-ads-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.published-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.published-ad-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), rgba(239, 68, 68, 0.03));
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
    position: relative;
    overflow: hidden;
}

.published-ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.published-ad-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
}

.ad-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.ad-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ad-card-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.ad-card-id {
    background: var(--gray-100);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--gray-600);
}

.ad-card-body {
    margin-bottom: 1.25rem;
}

.ad-card-description {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-card-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.ad-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.ad-card-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ad-contact-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ad-contact-email {
    color: var(--primary);
    font-size: 0.8125rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.3s;
}

.ad-contact-email:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.ad-card-actions {
    display: flex;
    gap: 0.5rem;
}

.ad-action-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ad-contact-btn {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: white;
}

.ad-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ad-view-count {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    border-radius: 20px;
}

.ad-new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive adjustments for published ads */
@media (max-width: 768px) {
    .published-ads-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-card-title {
        font-size: 1.125rem;
    }
    
    .ad-card-price {
        font-size: 1.5rem;
    }
}

/* ============================================
   AUTHENTICATION MODAL STYLES
   ============================================ */

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.auth-modal-content {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.auth-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.auth-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.auth-modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-modal-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-modal-header p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-switch a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive auth modal */
@media (max-width: 640px) {
    .auth-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .auth-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
