/* ==========================================================================
   Premium SaaS CSS Variables & Theme Configuration
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Gradients & Vibrant Colors (Vercel/Stripe Vibe) */
    --primary-blue: #0070f3;
    --primary-purple: #7928ca;
    --primary-cyan: #50e3c2;
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    --gradient-hover: linear-gradient(135deg, #3291ff 0%, #8a2be2 100%);
    
    /* Glassmorphism Backgrounds */
    --bg-main: #f8f9fa;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --bg-input: rgba(255, 255, 255, 0.85);
    
    /* Text */
    --text-dark: #111827;
    --text-main: #374151;
    --text-muted: #6b7280;
    --text-light: #ffffff;
    
    /* Borders & UI Elements */
    --border-glass: rgba(255, 255, 255, 0.6);
    --border-solid: rgba(17, 24, 39, 0.08);
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    
    /* Premium Glows & Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --shadow-glow: 0 10px 25px -5px rgba(121, 40, 202, 0.4);
    --shadow-glow-hover: 0 15px 35px -5px rgba(121, 40, 202, 0.6);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.06);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --nav-height: 72px;
    --sidebar-width: 260px;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Dynamic background for Glassmorphism */
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 112, 243, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(121, 40, 202, 0.12) 0px, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.2s ease;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-muted { color: var(--text-muted); }
.font-medium { font-weight: 500; }
.mt-1 { margin-top: 1rem; }
.hidden { display: none !important; }

/* ==========================================================================
   Buttons (Micro-interactions & Glows)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth upscale */
    font-family: var(--font-family);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-large {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

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

.btn-outline:hover {
    background: var(--bg-glass-hover);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-gradient {
    background: var(--gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
}

.btn-gradient:hover {
    background: var(--gradient-hover);
    box-shadow: var(--shadow-glow-hover);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ==========================================================================
   Glassmorphism Navigation
   ========================================================================== */
.navbar {
    height: var(--nav-height);
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Layout structure
   ========================================================================== */
#app-container {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
}

.view {
    display: flex;
    flex: 1;
    width: 100%;
}

/* ==========================================================================
   Landing View
   ========================================================================== */
#landing-view {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero {
    max-width: 850px;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
}

/* Decorative background elements */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: rgba(0, 112, 243, 0.25);
    top: -100px;
    left: -150px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(121, 40, 202, 0.25);
    bottom: -50px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* ==========================================================================
   Glassmorphism Auth View
   ========================================================================== */
#auth-view {
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border: 1px solid var(--border-glass);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-solid);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.auth-tab:hover {
    color: var(--text-dark);
}

.auth-tab.active {
    color: var(--primary-blue);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    box-shadow: 0 -2px 10px rgba(0, 112, 243, 0.5);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-solid);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.1);
    background: #ffffff;
}

/* ==========================================================================
   Dashboard View
   ========================================================================== */
.dashboard-layout {
    display: flex;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
}

/* Glass Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.sidebar-menu {
    padding: 2rem 1.25rem;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    padding: 0.85rem 1.25rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 3px solid transparent;
}

.sidebar-nav li:hover {
    transform: translateX(4px);
    background: rgba(0, 112, 243, 0.05);
    color: var(--text-dark);
}

.sidebar-nav li.active {
    background: rgba(0, 112, 243, 0.08);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    box-shadow: inset 1px 0 0 rgba(0, 112, 243, 0.1);
}

.sidebar-nav li i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--border-solid);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.user-profile .avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.user-plan {
    font-size: 0.75rem;
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
}

/* Premium Card Panels */
.panel {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-solid);
    background: rgba(255, 255, 255, 0.4);
}

.panel-header h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

.panel-body {
    padding: 2rem;
    flex: 1;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Drag & Drop Zone Micro-interactions */
.drop-zone {
    width: 100%;
    max-width: 450px;
    height: 280px;
    border: 2px dashed rgba(0, 112, 243, 0.3);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drop-zone:hover, .drop-zone.dragover {
    transform: scale(1.02);
    border-color: var(--primary-blue);
    background: rgba(0, 112, 243, 0.03);
    box-shadow: var(--shadow-glow);
}

.drop-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.drop-zone:hover .drop-icon {
    transform: translateY(-5px);
}

.drop-zone h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

/* Upload States */
.upload-state, .upload-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Chat Box */
.chat-panel {
    display: flex;
    flex-direction: column;
}

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

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-left: 0.5rem;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.badge {
    background: rgba(121, 40, 202, 0.1);
    color: var(--primary-purple);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chat-history {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
}

.message {
    display: flex;
    gap: 1.25rem;
    max-width: 85%;
}

.ai-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row;
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.msg-avatar.ai {
    background: var(--gradient);
}

.msg-avatar.user {
    background: var(--text-dark);
}

.bubble {
    padding: 1.25rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

.ai-message .bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-top-left-radius: 4px;
}

.user-message .bubble {
    background: var(--primary-blue);
    color: var(--text-light);
    border-top-right-radius: 4px;
}

.chat-input-area {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid var(--border-solid);
}

.input-wrapper {
    display: flex;
    gap: 1rem;
}

.input-wrapper input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: var(--bg-input);
    border: 1px solid var(--border-solid);
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-wrapper input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.1);
    background: #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-spin {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 112, 243, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pulse-text {
    animation: pulse 2s ease-in-out infinite;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==========================================================================
   Media Queries for Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
    .split-view {
        grid-template-columns: 1fr;
    }
    
    .panel {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dashboard-layout {
        position: relative;
    }
    
    .sidebar {
        position: absolute;
        left: -100%;
        height: 100%;
        z-index: 50;
        box-shadow: var(--shadow-card);
    }
    
    .sidebar.open {
        left: 0;
    }
}

/* ==========================================================================
   Dark Mode Theme
   ========================================================================== */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.75);
    --bg-glass-hover: rgba(30, 41, 59, 0.9);
    --bg-input: rgba(15, 23, 42, 0.6);
    
    --text-dark: #f8fafc;
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-solid: rgba(255, 255, 255, 0.05);
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.4);
    
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 112, 243, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(121, 40, 202, 0.15) 0px, transparent 50%);
}

/* Dark mode specific tweaks */
[data-theme="dark"] .auth-card,
[data-theme="dark"] .panel {
    box-shadow: var(--shadow-card), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .input-wrapper input:focus,
[data-theme="dark"] .input-group input:focus {
    background: rgba(30, 41, 59, 0.8);
}

/* Theme Toggle Component */
.theme-toggle {
    width: 48px;
    height: 26px;
    background: var(--border-solid);
    border: 1px solid var(--border-glass);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle.dark-active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.theme-toggle-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.theme-toggle.dark-active .theme-toggle-thumb {
    left: 24px;
}

/* ==========================================================================
   Extended Landing Page Components
   ========================================================================== */
.nav-center {
    display: flex;
    gap: 2rem;
}

.nav-center a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.glass-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

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

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

/* How It Works Steps */
.step-card {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h3 i {
    color: var(--primary-purple);
}

.footer h4 {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

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

.footer ul a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--gradient);
}

@media (max-width: 768px) {
    .nav-center { display: none; }
    .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
