/* ===========================================
   TECHNOVAFINDS - AI-POWERED DESIGN SYSTEM
=========================================== */

/* Variables */
:root {
    --primary: #00D9FF;
    --secondary: #8B5CF6;
    --dark: #0A192F;
    --dark-light: #112240;
    --gray: #8892B0;
    --light: #CCD6F6;
    --white: #E6F1FF;
    --accent: #64FFDA;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', -apple-system, sans-serif; 
    background: var(--dark); 
    color: var(--light); 
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Navigation */
.navbar { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    background: rgba(10, 25, 47, 0.85); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s;
}
.navbar.scrolled { 
    background: rgba(10, 25, 47, 0.95); 
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}
.nav-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { 
    width: 40px; 
    height: 40px; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--dark);
    font-size: 1.5rem;
}
.logo-text { 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; 
    font-weight: 700; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { 
    color: var(--light); 
    font-weight: 500; 
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

/* AI Background */
.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -10%;
    right: -10%;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -10%;
    left: -10%;
    animation-delay: 5s;
}
.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}
.float-card {
    position: absolute;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}
.float-card:hover { transform: scale(1.05); }
.fc-1 { top: 15%; left: 10%; width: 280px; animation: float 8s ease-in-out infinite; }
.fc-2 { top: 60%; right: 15%; width: 300px; animation: float 10s ease-in-out infinite 2s; }
.fc-3 { bottom: 20%; left: 15%; width: 260px; animation: float 9s ease-in-out infinite 4s; }
.fc-4 { top: 35%; right: 10%; width: 240px; animation: float 7s ease-in-out infinite 1s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}
.fc-icon { font-size: 2rem; margin-bottom: 0.75rem; display: inline-block; }
.fc-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.fc-desc { font-size: 0.875rem; color: var(--gray); line-height: 1.4; }
.fc-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 255, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Hero Content */
.hero-content { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    max-width: 900px; 
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}
.hero-title { 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    color: var(--white);
    letter-spacing: -0.02em;
}
.gradient-text { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-subtitle { 
    font-size: 1.25rem; 
    color: var(--gray); 
    margin-bottom: 2.5rem; 
    line-height: 1.6;
}
.hero-cta { 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn { 
    padding: 1rem 2.5rem; 
    border-radius: 50px; 
    font-weight: 600; 
    transition: all 0.3s; 
    display: inline-block; 
    cursor: pointer; 
    border: none; 
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn:hover::before { left: 100%; }
.btn-primary { 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: var(--dark); 
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}
.btn-secondary { 
    background: transparent; 
    color: var(--primary); 
    border: 2px solid var(--primary);
}
.btn-secondary:hover { 
    background: rgba(0, 217, 255, 0.1); 
    transform: translateY(-3px);
}
.btn-outline { 
    background: transparent; 
    color: var(--primary); 
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(0, 217, 255, 0.1); }

/* Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.stat-label { color: var(--gray); font-size: 0.875rem; }

/* Category Filter */
.category-filter { 
    padding: 3rem 2rem 1rem; 
    background: var(--dark); 
}
.category-tabs { 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
    flex-wrap: wrap; 
    max-width: 1400px;
    margin: 0 auto;
}
.category-tab { 
    padding: 0.875rem 1.75rem; 
    border-radius: 50px; 
    background: var(--dark-light); 
    color: var(--light); 
    font-weight: 600; 
    cursor: pointer; 
    border: 1px solid rgba(100, 255, 218, 0.2); 
    transition: all 0.3s; 
    font-size: 0.875rem;
}
.category-tab:hover { 
    border-color: var(--primary); 
    color: var(--primary); 
    transform: translateY(-2px);
}
.category-tab.active { 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: var(--dark); 
    border-color: transparent; 
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}
.category-count { 
    display: inline-block; 
    margin-left: 0.5rem; 
    padding: 0.125rem 0.5rem; 
    background: rgba(255,255,255,0.2); 
    border-radius: 20px; 
    font-size: 0.75rem;
}

/* Products Section */
.products { 
    padding: 3rem 2rem 5rem; 
    background: var(--dark); 
}
.section-header { 
    text-align: center; 
    margin-bottom: 3rem; 
}
.section-title { 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-bottom: 0.5rem; 
    color: var(--white);
}
.section-subtitle { color: var(--gray); }
.products-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 2rem; 
}
.product-card { 
    background: var(--dark-light); 
    border-radius: 20px; 
    overflow: hidden; 
    transition: all 0.3s; 
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.product-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.3);
}
.product-card.hidden { display: none; }
.product-image { 
    height: 250px; 
    overflow: hidden; 
    background: rgba(0, 0, 0, 0.2); 
    position: relative; 
}
.product-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s;
}
.product-card:hover .product-image img { transform: scale(1.1); }
.product-badge { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: var(--dark); 
    padding: 0.5rem 1rem; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    font-weight: 600;
}
.product-info { padding: 1.5rem; }
.product-name { 
    font-size: 1.125rem; 
    font-weight: 700; 
    margin-bottom: 0.75rem; 
    color: var(--white);
}
.product-description { 
    color: var(--gray); 
    font-size: 0.875rem; 
    margin-bottom: 1rem; 
}
.product-meta { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 1.25rem; 
}
.product-price { 
    font-size: 1.5rem; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-views { 
    font-size: 0.875rem; 
    color: var(--gray); 
}
.product-actions { 
    display: flex; 
    gap: 0.75rem; 
}
.product-actions .btn { 
    flex: 1; 
    padding: 0.75rem 1rem; 
    font-size: 0.875rem; 
    text-align: center;
}
.no-products { 
    text-align: center; 
    padding: 4rem 2rem; 
    color: var(--gray); 
    grid-column: 1 / -1; 
}

/* Product Detail Page */
.product-detail { 
    padding: 8rem 2rem 5rem; 
    min-height: 100vh; 
}
.breadcrumb { 
    display: flex; 
    gap: 0.5rem; 
    margin-bottom: 3rem; 
    font-size: 0.875rem; 
    color: var(--gray); 
    flex-wrap: wrap; 
}
.breadcrumb a { 
    color: var(--primary); 
}
.breadcrumb a:hover { text-decoration: underline; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: var(--dark-light);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.product-detail-image { position: sticky; top: 100px; }
.product-detail-image img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}
.product-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.product-detail-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}
.product-detail-meta { margin-bottom: 2rem; }
.views-count { color: var(--gray); font-size: 0.875rem; }
.product-detail-price {
    background: rgba(0, 217, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
}
.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}
.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-detail-description h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}
.product-detail-description p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.product-detail-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.product-features {
    background: rgba(0, 217, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}
.product-features h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}
.product-features ul { list-style: none; }
.product-features li {
    padding: 0.75rem 0;
    color: var(--gray);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}
.product-features li:last-child { border-bottom: none; }

/* Contact Page */
.contact-hero {
    padding: 8rem 2rem 3rem;
    background: linear-gradient(135deg, var(--dark-light), var(--dark));
    text-align: center;
}
.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}
.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
}
.contact-section { padding: 5rem 2rem; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-form-wrapper h2,
.contact-map-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}
.contact-form {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 150px; }
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
    margin-bottom: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    filter: grayscale(1) invert(1) hue-rotate(180deg);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.contact-info-item .icon { font-size: 2rem; }
.contact-info-item h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
}
.contact-info-item p {
    color: var(--gray);
    font-size: 0.875rem;
}
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.alert-success {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Legal Pages */
.legal-page {
    padding: 8rem 2rem 5rem;
}
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}
.legal-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}
.last-updated {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}
.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.legal-content h3 {
    font-size: 1.25rem;
    font-weight:600;
margin-top: 2rem;
margin-bottom: 0.75rem;
color: var(--light);
}
.legal-content p {
color: var(--gray);
line-height: 1.8;
margin-bottom: 1.5rem;
}
.legal-content ul {
list-style: disc;
padding-left: 2rem;
margin-bottom: 1.5rem;
}
.legal-content li {
color: var(--gray);
line-height: 1.8;
margin-bottom: 0.75rem;
}
/* Footer */
.footer {
background: var(--dark-light);
color: var(--light);
padding: 4rem 2rem 2rem;
border-top: 1px solid rgba(100, 255, 218, 0.1);
}
.footer-content {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
padding-bottom: 2rem;
border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}
.footer-col h4 {
margin-bottom: 1rem;
color: var(--white);
}
.footer-col p { color: var(--gray); }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
color: var(--gray);
transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
max-width: 1400px;
margin: 0 auto;
padding-top: 2rem;
text-align: center;
color: var(--gray);
}
/* Responsive */
@media (max-width: 1024px) {
.product-detail-grid,
.contact-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.hero-title { font-size: 3.5rem; }
}
@media (max-width: 768px) {
.nav-links { display: none; }
.hero { min-height: auto; padding: 100px 1.5rem 3rem; }
.hero-title { font-size: 2.5rem; }
.hero-subtitle { font-size: 1rem; }
.hero-cta { flex-direction: column; }
.floating-cards .float-card { display: none; }
.hero-stats { flex-direction: column; gap: 2rem; }
.products-grid { grid-template-columns: 1fr; }
.category-tabs { gap: 0.5rem; }
.category-tab { padding: 0.5rem 1rem; font-size: 0.8rem; }
.page-title { font-size: 2.5rem; }
.section-title { font-size: 2rem; }
}
