/* ====================================
   AOFMOKA - DESIGN SYSTEM
   ==================================== */

:root {
    /* Colors */
    --primary: #9333ea;
    --primary-light: #a855f7;
    --primary-dark: #7e22ce;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --accent-yellow: #fbbf24;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #9333ea 0%, #06b6d4 50%, #f43f5e 100%);
    --gradient-hero: linear-gradient(135deg, #1a0533 0%, #0a0a0a 50%, #1a0533 100%);
    --gradient-card: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    
    /* Neutrals */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====================================
   RESET & BASE
   ==================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    position: relative;
    z-index: 10;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cta {
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-xl);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 30px rgba(147, 51, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(147, 51, 234, 0.5);
}

.cta-button svg {
    transition: transform var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ====================================
   PRODUCTS SECTION
   ==================================== */

.products {
    padding: var(--space-2xl) 0;
    background: var(--bg-dark);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: all var(--transition-normal);
    aspect-ratio: 16/9;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
}

.product-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: var(--gradient-card);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.shop-link {
    color: var(--secondary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.product-card:hover .shop-link {
    color: var(--accent-yellow);
}

/* ====================================
   FEATURES SECTION
   ==================================== */

.features {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f0f 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(147, 51, 234, 0.3);
    background: var(--bg-card-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    color: var(--text-secondary);
}

/* ====================================
   CTA SECTION
   ==================================== */

.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    position: relative;
}

.cta-large {
    font-size: 1.2rem;
    padding: var(--space-md) var(--space-2xl);
    position: relative;
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .navbar {
        padding: var(--space-sm) var(--space-md);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-button {
        padding: var(--space-sm) var(--space-lg);
        font-size: 1rem;
    }
}

/* ====================================
   ANIMATIONS
   ==================================== */

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 30px rgba(147, 51, 234, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(147, 51, 234, 0.6); }
}

.hero-content {
    animation: float 6s ease-in-out infinite;
}

.cta-button {
    animation: pulse-glow 3s ease-in-out infinite;
}
