/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #0a0c15;
    --bg-elevated: #11131f;
    --bg-card: #181c2c;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);
    
    /* Vibrant Colors */
    --primary: #5f7ef2;
    --primary-dark: #3b59d4;
    --primary-light: #8ba3ff;
    --secondary: #2bd9c6;
    --secondary-dark: #1fbfac;
    --accent-orange: #ff9460;
    --accent-pink: #f26c8f;
    --accent-purple: #a855f7;
    --accent-yellow: #feca57;
    --accent-cyan: #00d9ff;
    --accent-green: #00d4aa;
    
    --text-primary: #f0f3fa;
    --text-secondary: #a7b0cc;
    --text-muted: #5b648c;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(95, 126, 242, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    cursor: none;
}

/* ==================== CUSTOM CURSOR ==================== */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.05s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

body:hover .custom-cursor,
body:hover .custom-cursor-dot {
    opacity: 1;
}

/* ==================== ANIMATED BACKGROUND ==================== */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-pink), transparent);
    bottom: -100px;
    left: 20%;
    animation-delay: -10s;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    bottom: 30%;
    right: 30%;
    animation-delay: -15s;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 12, 21, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.logo-icon {
    position: relative;
}

.logo-icon i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.8rem;
}

.logo-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.logo span {
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(95, 126, 242, 0.1);
}

.badge-new {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 30px;
    font-weight: 600;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.login-btn {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 108, 143, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(95, 126, 242, 0.4);
}

.btn-primary.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(95, 126, 242, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(95, 126, 242, 0.6);
    }
}

.btn-primary.small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border-medium);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 120px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(95, 126, 242, 0.15);
    border: 1px solid rgba(95, 126, 242, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-1 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

.gradient-2 {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
}

.gradient-3 {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-subtle);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* ==================== FLOATING ELEMENTS ==================== */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
}

.floating-card span {
    font-size: 0.85rem;
    font-weight: 500;
}

.float-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
    border-left: 3px solid var(--primary);
}

.float-2 {
    top: 60%;
    right: 8%;
    animation-delay: -1s;
    border-left: 3px solid var(--secondary);
}

.float-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: -2s;
    border-left: 3px solid var(--accent-orange);
}

.float-4 {
    top: 40%;
    right: 15%;
    animation-delay: -3s;
    border-left: 3px solid var(--accent-purple);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(95, 126, 242, 0.15);
    border: 1px solid rgba(95, 126, 242, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(95, 126, 242, 0.2), rgba(43, 217, 198, 0.2));
    border-radius: 50%;
    font-size: 2rem;
}

.feature-icon i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .icon-glow {
    opacity: 0.3;
    animation: pulse 1.5s ease-in-out infinite;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-pink));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==================== SEARCH SECTION ==================== */
.search-section {
    padding: 4rem 0;
}

.search-wrapper {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.search-header h3 {
    font-size: 1.5rem;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(95, 126, 242, 0.2);
}

.search-filters {
    display: flex;
    gap: 1rem;
}

.category-select {
    flex: 1;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.category-select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==================== PREMIUM BANNER ==================== */
.premium-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    animation: slideDownBanner 0.5s ease;
}

@keyframes slideDownBanner {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 80px;
        opacity: 1;
    }
}

.premium-content {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

.premium-icon {
    position: relative;
    font-size: 1.5rem;
}

.premium-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    animation: pulse 1.5s ease-in-out infinite;
}

.premium-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.premium-text p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.premium-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.premium-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ==================== RESULTS SECTION ==================== */
.results-section {
    padding: 4rem 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-count {
    color: var(--secondary);
    font-weight: 600;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-placeholder {
    text-align: center;
    padding: 4rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-subtle);
}

.result-placeholder i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.result-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    animation: fadeInUp 0.4s ease;
}

.result-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.result-card strong {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.result-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.result-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.result-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 126, 242, 0.4);
}

/* ==================== CATEGORIES SHOWCASE ==================== */
.categories-showcase {
    padding: 4rem 0;
    background: linear-gradient(180deg, transparent, rgba(95, 126, 242, 0.05), transparent);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(95, 126, 242, 0.1), transparent);
    transform: scale(0);
    transition: transform 0.5s;
}

.category-card:hover::before {
    transform: scale(1);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    margin-bottom: 0.3rem;
}

.category-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    padding: 4rem 0;
}

.newsletter-wrapper {
    background: linear-gradient(135deg, rgba(95, 126, 242, 0.1), rgba(43, 217, 198, 0.1));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom i {
    color: var(--accent-pink);
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 450px;
    position: relative;
    border: 1px solid var(--border-medium);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.modal-header h2 {
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(95, 126, 242, 0.2);
}

.login-hint {
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(95, 126, 242, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.btn-library {
    background: linear-gradient(95deg, #8b5cf6, #3b82f6);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-library:hover {
    background: linear-gradient(95deg, #a78bfa, #60a5fa);
    transform: scale(1.02);
}

.login-hint strong {
    color: var(--secondary);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-filters {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-subtle);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-card {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .premium-content {
        margin: 0 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================== LOADING ANIMATION ==================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255, 255, 255, 0.1) 50%, var(--bg-card) 75%);
    background-size: 1000px 100%;
    animation: shimmer 1.5s infinite;
}