/* ==========================================================================
   AetherEngine - Elegant Light Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-base: #fdfdfd;
    --bg-surface-1: #ffffff;
    --bg-surface-2: #f8f9fa;
    --bg-surface-3: #f1f3f5;
    
    --text-main: #1a1e21;
    --text-secondary: #495057;
    --text-muted: #868e96;
    
    --accent: #228be6; /* Subtle Modern Blue */
    --accent-glow: rgba(34, 139, 230, 0.15);
    --accent-hover: #1c7ed6;
    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.03), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    
    --border-color: #e9ecef;
    
    /* Typography */
    --font-header: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Layout & Spacing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(241, 243, 245, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(233, 236, 239, 0.4) 0px, transparent 50%),
        radial-gradient(at 50% 0%, var(--accent-glow) 0px, transparent 60%);
    background-attachment: fixed;
}

/* Typography Utility */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

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

/* Glassmorphism Styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-header);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-surface-1);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-3);
    transform: translateY(-2px);
}

/* Navigation Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 0;
    background: rgba(253, 253, 253, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    padding: 6rem 0 4rem 0;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-surface-3);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Features / Benefits */
.features {
    padding: 6rem 0;
    background-color: var(--bg-surface-2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Product App Section */
.app-section {
    padding: 6rem 0;
}

.app-wrapper {
    padding: 3rem;
    border-radius: var(--radius-lg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}
