/* 
 * FileShare Premium: 'Etheric Glass' Design System
 * --------------------------------------------------
 * A state-of-the-art UI foundation using glassmorphism, 
 * vibrant gradients, and tonal layering.
 */

:root {
    /* Color Palette */
    /* Previous Palette Backup (in case you want to revert):
       --primary: #4f46e5;
       --secondary: #8b5cf6;
       --accent: #f472b6;
    */
    --primary: #00b9ae;       /* Light Sea Green */
    --secondary: #009f93;     /* Verdigris */
    --accent: #037171;        /* Stormy Teal */
    --background: #f5f7f9;    /* Porcelain Surface */
    --surface: #ffffff;
    --surface-low: #eef1f3;   /* Sectional Tier */
    --on-surface: #2c2f31;
    --on-surface-variant: #595c5e;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    
    /* Shadows (Ambient) */
    --shadow-sm: 0 4px 12px rgba(79, 70, 229, 0.04);
    --shadow-md: 0 12px 24px rgba(79, 70, 229, 0.08);
    --shadow-lg: 0 24px 48px rgba(79, 70, 229, 0.12);
}

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

body {
    background-color: var(--background);
    color: var(--on-surface);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}

.glass-nav {
    background: rgba(245, 247, 249, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Animations */
@keyframes etherealFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.animate-entrance {
    animation: etherealFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Button Stylings */
.btn-premium {
    background: var(--grad-primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--surface-low);
    color: var(--on-surface);
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary:hover {
    background: #dfe3e6;
}

/* Feature Cards */
.feature-card {
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Tonal Sectioning (No-Line Rule) */
.section-tonal {
    background-color: var(--surface-low);
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Overrides */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1c1e;
}

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