/* 
  WardrobeAI Premium Stylesheet (V4)
  Optimized for Conversion & Aesthetics
  Design Intelligence: UI/UX Pro Max 
*/

:root {
    --primary: #6366f1;
    --primary-light: #8b5cf6;
    --secondary: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-premium: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.75;
    color: var(--dark);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation & Header --- */
header {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: var(--transition);
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
    filter: brightness(1.1);
}

/* --- Hero Section (Mesh Aesthetic) --- */
.hero {
    background: radial-gradient(circle at top right, #4f46e5, #4338ca 35%, #0f172a);
    color: white;
    padding: 12rem 0 10rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' 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;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.06em;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 760px;
    margin: 0 auto 3rem;
}

.hero-nudge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 1.25rem 2.75rem;
    border-radius: 1rem;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1.25rem 2.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Section Layouts --- */
section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

/* --- Feature Bento Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: var(--transition);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(99, 102, 241, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* --- Pricing Cards --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    width: 100%;
    max-width: 380px;
    border: 1px solid #f1f5f9;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    transform: scale(1.05);
    background: #0f172a;
    color: white;
}

.pricing-card.popular h3 { color: white; }
.pricing-card.popular .features-list li { color: rgba(255,255,255,0.8); }

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

/* --- Comparison Bento --- */
.comparison-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .comparison-bento { grid-template-columns: 1fr; }
}

.contrast-card {
    padding: 2.5rem;
    border-radius: 2rem;
    background: var(--light);
}

.contrast-card.premium {
    background: linear-gradient(135deg, white 0%, #f1f5f9 100%);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-premium);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Chrome extension badge */
.chrome-badge {
    opacity: 0.8;
    transition: opacity 0.3s;
}
.chrome-badge:hover { opacity: 1; }

/* --- Social Proof --- */
.logo-cloud span {
    transition: var(--transition);
    cursor: default;
}

.logo-cloud span:hover {
    opacity: 1;
    filter: grayscale(0);
    color: var(--primary);
}

/* --- FAQ Section --- */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 1.5rem;
    transition: var(--transition);
}

.faq-item:hover {
    background: white;
    box-shadow: var(--shadow-premium);
}

/* --- Footer --- */
.footer-main {
    background: #0f172a !important;
    color: white !important;
    padding: 8rem 0 4rem !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

