/* ===========================================================================
   Summit Photo Frame — Standalone Design System
   Extracted from LevelUP Business Summit corporate palette
   =========================================================================== */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    /* Brand — LevelUP Green */
    --brand: #01AC02;
    --brand-light: #0CC90D;
    --brand-dark: #019401;
    --brand-glow: rgba(1, 172, 2, 0.25);
    --brand-subtle: rgba(1, 172, 2, 0.08);

    /* Brand — Cyan (secundario) */
    --cyan: #00DFE7;
    --cyan-light: #33E8EE;
    --cyan-glow: rgba(0, 223, 231, 0.2);
    --cyan-subtle: rgba(0, 223, 231, 0.06);

    /* Backgrounds */
    --bg-body: #060610;
    --bg-surface: #0C0C1D;
    --bg-card: #111128;
    --bg-card-hover: #161640;
    --bg-input: #0E0E22;

    /* Text */
    --text-primary: #F0F0F5;
    --text-secondary: #9090AA;
    --text-muted: #55556E;
    --text-inverse: #060610;

    /* Status */
    --success: #01AC02;
    --danger: #E5344A;
    --warning: #E89B00;
    --info: #00DFE7;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-focus: var(--brand);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font-body);

    /* Spacing */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.25rem;
    --s-6: 1.5rem;
    --s-8: 2rem;
    --s-10: 2.5rem;
    --s-12: 3rem;
    --s-16: 4rem;

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.6);
    --shadow-brand: 0 4px 20px var(--brand-glow);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --duration: 200ms;

    /* Layout */
    --max-w: 1080px;
    --max-w-sm: 720px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* Subtle brand gradient on bg */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% -10%, rgba(1,172,2,.06) 0%, transparent 100%),
        radial-gradient(ellipse 40% 30% at 90% 100%, rgba(0,223,231,.04) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--brand-light); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--brand); color: white; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 60px);
    padding-top: var(--s-4);
    padding-bottom: var(--s-12);
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-6);
}

.container--narrow {
    max-width: var(--max-w-sm);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    transition: border-color var(--duration) var(--ease);
}

.card:hover {
    border-color: var(--border-hover);
}

.card--glow {
    border-color: rgba(1,172,2,.15);
    box-shadow: var(--shadow-brand);
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--s-6);
}

.card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.card__subtitle {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-top: var(--s-1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 0.625rem 1.25rem;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.btn--primary:hover {
    background: var(--brand-light);
    border-color: var(--brand-light);
    box-shadow: var(--shadow-brand);
    color: white;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-hover);
}
.btn--outline:hover {
    border-color: var(--brand);
    color: var(--brand-light);
    background: var(--brand-subtle);
}

.btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: var(--r-md);
}

.btn--block { width: 100%; }

/* ==========================================================================
   ALERTS / TOASTS
   ========================================================================== */
.alert {
    padding: var(--s-3) var(--s-5);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    font-size: 0.8125rem;
    font-weight: 500;
    animation: alertSlideIn .3s var(--ease);
    max-width: 380px;
    backdrop-filter: blur(8px);
    transition: all .3s var(--ease);
}

.alert--success { background: rgba(1,172,2,.12); border: 1px solid rgba(1,172,2,.25); color: var(--brand-light); }
.alert--error   { background: rgba(229,52,74,.12); border: 1px solid rgba(229,52,74,.25); color: var(--danger); }

.alert__close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.125rem;
    opacity: .6;
    transition: opacity var(--duration);
}
.alert__close:hover { opacity: 1; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--s-6) var(--s-4);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes alertSlideIn {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

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

.animate-fade-in {
    animation: fadeIn .5s var(--ease) both;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 640px) {
    .main-content { padding-top: var(--s-2); }
}
