/* ============================================
   TasteNet AI - Main Stylesheet
   Consciousness-Driven Intelligence
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    --primary: #00FFFF;
    --secondary: #FFD700;
    --dark: #0A0A1A;
    --darker: #050510;
    --text-light: #E0E0E0;
    --text-dim: #A0A0A0;
    --card-bg: rgba(10, 10, 26, 0.8);
    --border-color: rgba(0, 255, 255, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #1a0a2a 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ============================================
   3. NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8)); }
}

.tagline {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 30px;
    color: var(--secondary);
    font-weight: 300;
}

.hero-description {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-dim);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animated particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Orbitron', monospace;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 255, 255, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.btn-large {
    padding: 22px 50px;
    font-size: 20px;
}

/* ============================================
   6. SECTIONS
   ============================================ */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(36px, 5vw, 56px);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   7. FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 5%;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 400;
}

.feature-card p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--secondary);
}

/* ============================================
   8. PRODUCTS PREVIEW
   ============================================ */
.products-preview {
    padding: 100px 5%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-preview-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.product-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.product-preview-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-preview-card > p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-features-list {
    list-style: none;
    margin-bottom: 30px;
}

.product-features-list li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 16px;
}

/* ============================================
   9. CTA SECTION
   ============================================ */
.cta-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    text-align: center;
}

.cta-description {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   10. FOOTER
   ============================================ */
.footer {
    background: rgba(10, 10, 26, 0.95);
    padding: 60px 5% 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
}

.footer-tagline {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
   11. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.98);
        padding: 40px;
        width: 300px;
        height: calc(100vh - 80px);
        transition: right 0.3s;
        border-left: 1px solid var(--border-color);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .cta-nav {
        display: none;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
