/* ==========================================================================
   ENCOBOX DESIGN SYSTEM & COMPONENT STYLES (styles.css)
   Aesthetics: Clean, technological, minimalist, and premium.
   Inspired by Stripe, Linear, Notion, Vercel, and Framer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & VARIABLES SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-gate: #02002A;
  --color-bg-dark: #03003E;
  --color-bg-dark-card: #0A074E;
  --color-bg-light: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  
  --color-brand-green: #78D61A;
  --color-brand-green-hover: #63B115;
  --color-brand-green-glow: rgba(120, 214, 26, 0.15);
  
  --color-text-dark: #0F172A;
  --color-text-muted: #64748B;
  --color-text-light: #F8FAFC;
  --color-text-dim: #94A3B8;
  
  --color-border-light: #E2E8F0;
  --color-border-dark: #1E293B;
  
  --color-error: #FF3366;
  --color-error-bg: rgba(255, 51, 102, 0.05);

  /* Typography */
  --font-family-title: 'Outfit', sans-serif;
  --font-family-body: 'Inter', sans-serif;

  /* Layout and Sizing */
  --sidebar-width: 224px;
  --mobile-header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-md);
  --border-radius-lg: var(--radius-lg);
  --radius-xl: 24px;
  --color-text-main: var(--color-text-dark);
  --color-panel-soft-green: #F0FDF4;
  --color-panel-pale-green: #F7FEE7;
  --color-panel-deep: var(--color-bg-dark);
  --color-border-green-soft: rgba(120, 214, 26, 0.24);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(0, 230, 118, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GENERAL STYLES & RESET
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   3. SHARED COMPONENTS & INTERACTIVE PRESETS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  /* Interactive hover disabled for static cards */
}

.card-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 12px;
}

/* Premium Buttons */
.btn-primary {
  background-color: var(--color-brand-green);
  color: var(--color-bg-dark);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-light);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-text-dark);
  transform: translateY(-2px);
}

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

.btn-text {
  color: var(--color-text-dim);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}

.btn-text:hover {
  color: var(--color-brand-green);
}

