/* Homepage - beautiful default stylesheet
   Location: /home/github/compose/homepage/config/static/css/homepage.css
   - Modern, responsive design with a neutral warm color palette
   - Variables for quick theming
   - Typography, navbar, hero, cards, grid, forms, buttons, footer
   - Small utility classes and subtle micro-interactions
*/
:root{
  --bg: #0f1724; /* deep navy */
  --card: #0b1220; /* slightly lighter */
  --muted: #9aa7bf;
  --accent: #7dd3fc; /* cyan */
  --accent-2: #a78bfa; /* violet */
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.02);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(2,6,23,0.6);
  --glass-border: rgba(255,255,255,0.04);
  --max-width: 1180px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
  --ui: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--ui);
  background:linear-gradient(180deg,var(--bg) 0%, #071026 100%);
  color: #e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  padding:32px 20px;
}
.container{
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
}

/* NAVBAR */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
}
.brand{
  display:flex;align-items:center;gap:12px;
}
.brand .logo{
  width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 6px 20px rgba(122,95,255,0.12), inset 0 -6px 18px rgba(255,255,255,0.04);
}
.brand h1{font-size:18px;margin:0;font-weight:600}
.brand p{margin:0;font-size:12px;color:var(--muted)}

.nav-actions{display:flex;align-items:center;gap:10px}
.btn{
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border:1px solid var(--glass-border);
  color:inherit;padding:8px 12px;border-radius:10px;font-weight:600;cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted)}
.btn.primary{
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#04202a;border:none;box-shadow:0 8px 30px rgba(124,58,237,0.18);
}

/* HERO */
.hero{
  display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start;margin-bottom:30px;
}
.hero-card{
  background:linear-gradient(180deg,var(--card), rgba(7,13,24,0.6));
  border-radius:var(--radius);padding:28px;border:1px solid var(--glass);box-shadow:var(--shadow);
}
.hero h2{margin:0;font-size:28px}
.hero p.lead{color:var(--muted);margin-top:8px}

.stats{
  display:flex;gap:12px;margin-top:18px
}
.stat{flex:1;background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:14px;border-radius:10px;border:1px solid rgba(255,255,255,0.02);}
.stat h3{margin:0;font-size:14px;color:var(--muted)}
.stat p{margin:8px 0 0;font-size:18px;font-weight:700}

/* SIDEBAR WIDGETS */
.widgets{display:flex;flex-direction:column;gap:14px}
.widget{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,0.02)}
.widget h4{margin:0 0 8px;font-size:13px;color:var(--muted)}

/* GRID OF CARDS */
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px;
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding:18px;border-radius:12px;border:1px solid rgba(255,255,255,0.02);box-shadow:0 12px 30px rgba(2,6,23,0.45);
}
.card h3{margin:0 0 10px}
.card p{color:var(--muted);font-size:13px}

/* small list inside cards */
.list{display:flex;flex-direction:column;gap:10px}
.list-item{display:flex;justify-content:space-between;align-items:center}
.list-item .meta{color:var(--muted);font-size:13px}

/* TABLE-like widget */
.table{width:100%;border-collapse:collapse}
.table thead th{font-size:12px;text-align:left;color:var(--muted);padding:10px 8px}
.table tbody td{padding:12px 8px;border-top:1px dashed rgba(255,255,255,0.02)}
.table .positive{color:#86efac;font-weight:700}
.table .negative{color:#fb7185;font-weight:700}

/* SEARCH / INPUT */
.input{
  width:100%;padding:10px 12px;border-radius:10px;background:var(--glass);border:1px solid var(--glass-border);color:inherit;outline:none
}
.input::placeholder{color:rgba(255,255,255,0.35)}

.form-row{display:flex;gap:10px}

/* FOOTER */
.footer{margin-top:32px;padding:18px;border-radius:12px;background:linear-gradient(180deg, transparent, rgba(255,255,255,0.01));display:flex;justify-content:space-between;align-items:center;color:var(--muted)}

/* RESPONSIVE */
@media (max-width:1000px){
  .hero{grid-template-columns:1fr 320px}
  .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  body{padding:18px}
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .header{flex-direction:column;align-items:flex-start;gap:10px}
  .nav-actions{width:100%;justify-content:space-between}
}

/* Utilities */
.kicker{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:0.12em}
.small{font-size:12px;color:var(--muted)}
.center{text-align:center}
.muted{color:var(--muted)}
.round{border-radius:999px}

/* micro-interactions */
.card, .widget, .btn{transition:transform .14s cubic-bezier(.2,.9,.2,1),box-shadow .14s ease}
.card:hover, .widget:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(2,6,23,0.6)}

/* Tiny animated shimmer for loading placeholders */
@keyframes shimmer{0%{background-position:-200px 0}100%{background-position:200px 0}}
.shimmer{background:linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.02) 75%);background-size:400px 100%;animation:shimmer 1.6s linear infinite}

/* Compact utilities for embedding widgets and iframes */
.embed{width:100%;height:260px;border-radius:10px;border:1px solid rgba(255,255,255,0.03);overflow:hidden}

/* accessibility */
:focus{outline:3px solid rgba(125,211,252,0.16);outline-offset:2px}

/* Example theme override for a light mode (activate with .theme-light on body) */
.theme-light{
  --bg: #f7fbff;
  --card: #ffffff;
  --muted: #445066;
  --accent: #0ea5e9;
  --accent-2: #a78bfa;
  color:#0b1220;
  background:linear-gradient(180deg,var(--bg),#eef6ff);
}

/* Quick customization guidance:
   - Change --accent and --accent-2 for brand colors
   - Tweak --max-width for layout width
   - Use .theme-light on <body> to switch to a light variant
*/
