/* ==========================================================================
   ZETA BASE — Reset, Variables, Typography, Utilities
   ========================================================================== */

@font-face {
    font-family: 'Zeta Sans';
    src: local('Inter'), local('Segoe UI'), local('Helvetica Neue');
}

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

:root {
    /* ===== Light Theme (default) ===== */
    --zeta-bg: #ffffff;
    --zeta-bg-soft: #f6f7f9;
    --zeta-bg-elevated: #ffffff;
    --zeta-surface: #f1f2f5;
    --zeta-border: #e4e6eb;
    --zeta-text: #14161a;
    --zeta-text-soft: #565c66;
    --zeta-text-muted: #8a8f98;

    --zeta-primary: #6366f1;
    --zeta-primary-hover: #818cf8;
    --zeta-primary-soft: #eef2ff;
    --zeta-accent: #06b6d4;

    --zeta-success: #10b981;
    --zeta-success-bg: #ecfdf5;
    --zeta-success-border: #a7f3d0;

    --zeta-danger: #ef4444;
    --zeta-danger-bg: #fef2f2;
    --zeta-danger-border: #fecaca;

    --zeta-warning: #f59e0b;
    --zeta-warning-bg: #fffbeb;
    --zeta-warning-border: #fde68a;

    --zeta-info: #3b82f6;
    --zeta-info-bg: #eff6ff;
    --zeta-info-border: #bfdbfe;

    --zeta-radius-sm: 6px;
    --zeta-radius: 8px;
    --zeta-radius-lg: 18px;
    --zeta-radius-full: 8px;

    --zeta-shadow-sm: 0 1px 3px rgba(20, 22, 26, 0.06);
    --zeta-shadow: 0 6px 20px rgba(20, 22, 26, 0.08);
    --zeta-shadow-lg: 0 16px 40px rgba(20, 22, 26, 0.14);

    --zeta-nav-bg: rgba(255, 255, 255, 0.82);
    --zeta-admin-bg: #14161a;

    --zeta-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --zeta-transition: all 0.2s var(--zeta-ease);
    --zeta-transition-slow: all 0.4s var(--zeta-ease);

    --zeta-max-width: 1280px;
    --zeta-header-height: 68px;
}

/* ===== Dark Theme ===== */
[data-zeta-theme="dark"] {
    --zeta-bg: #121212;
    --zeta-bg-soft: #181818;
    --zeta-bg-elevated: #1e1e1e;
    --zeta-surface: #222222;
    --zeta-border: #2c2c2c;
    --zeta-text: #f2f2f2;
    --zeta-text-soft: #b7b7b7;
    --zeta-text-muted: #838383;

    --zeta-success-bg: #0d2b22;
    --zeta-success-border: #145c42;

    --zeta-danger-bg: #2c1414;
    --zeta-danger-border: #5c1e1e;

    --zeta-warning-bg: #2b230d;
    --zeta-warning-border: #5c4a14;

    --zeta-info-bg: #10203a;
    --zeta-info-border: #1e3a5c;

    --zeta-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --zeta-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    --zeta-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);

    --zeta-nav-bg: rgba(18, 18, 18, 0.82);
    --zeta-admin-bg: #000000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zeta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--zeta-bg);
    color: var(--zeta-text);
    line-height: 1.6;
    transition: background 0.3s var(--zeta-ease), color 0.3s var(--zeta-ease);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ===== Layout Utilities ===== */
.zeta-container {
    max-width: var(--zeta-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.zeta-flex { display: flex; }
.zeta-flex-col { display: flex; flex-direction: column; }
.zeta-items-center { align-items: center; }
.zeta-justify-between { justify-content: space-between; }
.zeta-justify-center { justify-content: center; }
.zeta-gap-1 { gap: 0.5rem; }
.zeta-gap-2 { gap: 1rem; }
.zeta-gap-3 { gap: 1.5rem; }
.zeta-gap-4 { gap: 2rem; }
.zeta-hidden { display: none !important; }
.zeta-w-full { width: 100%; }

.zeta-grid {
    display: grid;
    gap: 2rem;
}

.zeta-grid-4 { grid-template-columns: repeat(4, 1fr); }
.zeta-grid-3 { grid-template-columns: repeat(3, 1fr); }
.zeta-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Typography ===== */
.zeta-text-muted { color: var(--zeta-text-muted); }
.zeta-text-soft { color: var(--zeta-text-soft); }
.zeta-text-sm { font-size: 0.875rem; }
.zeta-text-xs { font-size: 0.75rem; }
.zeta-font-bold { font-weight: 700; }
.zeta-font-semibold { font-weight: 600; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--zeta-bg-soft); }
::-webkit-scrollbar-thumb {
    background: var(--zeta-border);
    border-radius: var(--zeta-radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--zeta-text-muted); }

.zeta-icon-align{
    -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  vertical-align: middle;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .zeta-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .zeta-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .zeta-grid-4, .zeta-grid-3, .zeta-grid-2 {
        grid-template-columns: 1fr;
    }
}

