/* =====================================================
   AAC HUB – iOS style UI
   Full stylesheet
===================================================== */

/* ----------------------
   CSS VARIABLES
---------------------- */
:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.70);

  --brand: #7c5cff;
  --brand2: #3dd6ff;

  --r: 22px;
  --shadow: 0 18px 45px rgba(0,0,0,.35);
}

/* Light theme (αν το χρειαστείς αργότερα) */
html[data-theme="light"]{
  --bg: #f4f6fb;
  --panel: rgba(0,0,0,.06);
  --border: rgba(0,0,0,.12);
  --text: rgba(15,20,30,.95);
  --muted: rgba(15,20,30,.65);

  --shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* ----------------------
   RESET / BASE
---------------------- */
*{ box-sizing:border-box; }

html,body{
  height:100%;
  margin:0;
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(800px 600px at 80% 10%, rgba(61,214,255,.18), transparent 55%),
    var(--bg);
  color: var(--text);
}

/* ----------------------
   LAYOUT
---------------------- */
.wrap{
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
}

/* ----------------------
   TOP BAR (iOS-like)
---------------------- */
.top{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.top__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display:grid;
  place-items:center;
  font-size: 18px;
  box-shadow: var(--shadow);
}

.brand__title{
  font-weight: 900;
  letter-spacing:.3px;
}

.top__actions{
  display:flex;
  gap:8px;
}

.iconBtn{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 70%, transparent);
  color: var(--text);
  cursor:pointer;
}

/* ----------------------
   AAC HUB
---------------------- */
.aac{
  padding: 28px 0 48px;
}

.aacHeader{
  margin-bottom: 22px;
}

.aacHeader h1{
  margin:0;
  font-size: 30px;
  font-weight: 900;
}

.aacHeader p{
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ----------------------
   AAC GRID (iOS Home Screen)
---------------------- */
.aacGrid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.aacApp{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;

  height: 150px;
  border-radius: 26px;
  text-decoration:none;

  background: color-mix(in oklab, var(--panel) 80%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  color: var(--text);
  font-weight: 800;

  transition: transform .12s ease, box-shadow .12s ease;
}

.aacApp:hover{
  transform: translateY(-2px);
}

.aacApp:active{
  transform: scale(.96);
}

.aacIcon{
  font-size: 44px;
  line-height: 1;
}

.aacTitle{
  font-size: 15px;
  letter-spacing: .2px;
  text-align:center;
}

/* ----------------------
   RESPONSIVE
---------------------- */
@media (max-width: 600px){
  .aacGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}
