/* AILMX - Ultimate Landing Page Styles */

/* ===== CSS Variables ===== */
:root {
    /* Deep Space Theme */
    --bg-primary: #030014;
    --bg-secondary: #0f0c29;
    --bg-tertiary: #1a1b4b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #b4b4c3;
    --text-muted: #6c7293;
    
    --accent-primary: #7000ff;
    --accent-secondary: #00c6ff;
    --accent-glow: rgba(112, 0, 255, 0.5);
    
    --gradient-main: linear-gradient(135deg, #7000ff 0%, #00c6ff 100%);
    --gradient-text: linear-gradient(to right, #fff 20%, #b4b4c3 40%, #7000ff 60%, #00c6ff 80%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(112, 0, 255, 0.3);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(112, 0, 255, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-primary: 'Inter', sans-serif;
    --font-display: 'JetBrains Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.landing-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* ===== Background & Effects ===== */
.ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a1b4b 0%, #030014 100%);
}

.ai-background canvas {
    opacity: 0.4;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 198, 255, 0.15), transparent 25%);
    pointer-events: none;
}

/* ===== Navigation ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
    padding: 1rem 3rem;
    background: rgba(3, 0, 20, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-glow:hover {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.5);
    transform: scale(1.05);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-title {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.title-letter {
    display: inline-block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(112, 0, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

.title-letter:nth-child(2) { animation-delay: 0.1s; }
.title-letter:nth-child(3) { animation-delay: 0.2s; }
.title-letter:nth-child(4) { animation-delay: 0.3s; }
.title-letter:nth-child(5) { animation-delay: 0.4s; }

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

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

/* ===== Features Section ===== */
.features-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(112, 0, 255, 0.1);
    color: var(--accent-secondary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(112, 0, 255, 0.2);
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #b4b4c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(112, 0, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-main);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

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

/* ===== Models Section ===== */
.models-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3), transparent);
    overflow: hidden;
}

.models-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    animation: scroll-x 30s linear infinite;
    width: max-content;
}

.model-badge {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    transition: var(--transition);
}

.model-badge i {
    color: var(--accent-secondary);
}

.model-badge:hover {
    background: rgba(112, 0, 255, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
    transform: scale(1.05);
}

.model-badge.free {
    border-color: var(--accent-secondary);
}

.model-badge.free i {
    color: #00ff9d;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-info {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.pricing-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
}

.pricing-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.pricing-features div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features i {
    color: #00ff9d;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.15), transparent 70%);
    padding: 4rem;
    border-radius: var(--radius-lg);
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ===== Footer ===== */
.landing-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

@keyframes scroll-x {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 4rem; }
    .landing-nav { padding: 1rem; }
    .nav-links { display: none; } /* Simple mobile hide for now */
    .features-grid { grid-template-columns: 1fr; }
}
