:root {
  --ubu-blue: #2563eb;
  --ubu-gold: #facc15;
  --book-teal: #0d9488;
  --book-border: rgba(13, 148, 136, .18);
  --book-text: #0f172a;
}

* { font-family: 'Prompt', system-ui, sans-serif; box-sizing: border-box; }

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--book-text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 6%, rgba(6, 182, 212, .20), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(16, 185, 129, .22), transparent 30rem),
    radial-gradient(circle at 70% 92%, rgba(250, 204, 21, .24), transparent 26rem),
    linear-gradient(180deg, #f0fdfa 0%, #eff6ff 48%, #fffbeb 100%);
}

.container-full {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  flex: 1;
}

.hero {
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 34px;
  background: linear-gradient(135deg, #0f766e 0%, #2563eb 42%, #06b6d4 78%, #facc15 118%);
  box-shadow: 0 24px 70px rgba(37, 99, 235, .20);
  color: #fff;
  overflow: hidden;
  position: relative;
  padding: 2rem 1.75rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -95px -105px auto auto;
  width: 300px; height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, .44), rgba(6, 182, 212, .22) 55%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -110px -75px;
  width: 260px; height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, .42), rgba(16, 185, 129, .18) 56%, transparent 74%);
}

.hero-content { position: relative; z-index: 1; }

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .75rem;
}

.brand-logo {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(15, 118, 110, .22);
  border: 1px solid rgba(255, 255, 255, .82);
  flex-shrink: 0;
  overflow: hidden;
  padding: 10px;
}

.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

.brand-logo-fallback {
  display: none;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--book-teal), var(--ubu-blue) 58%, var(--ubu-gold));
  place-items: center;
  color: #fff; font-weight: 800; font-size: 1rem;
}

.brand-logo.logo-error img { display: none; }
.brand-logo.logo-error .brand-logo-fallback { display: grid; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  padding: .4rem .85rem;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  font-size: .82rem;
  margin-bottom: .4rem;
}

.site-title {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .25rem;
  letter-spacing: -.02em;
}

.site-subtitle {
  font-size: .95rem;
  color: rgba(255, 255, 255, .82);
  margin: 0;
  font-weight: 400;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0 auto;
}

.app-card {
  background: #fff;
  border: 1px solid var(--book-border);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(13, 148, 136, .16);
}

.app-topline {
  height: 6px;
  background: linear-gradient(90deg, #0d9488, #2563eb, #06b6d4, #facc15);
}

.app-card-body {
  padding: 1.35rem 1.35rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: .85rem;
}

.app-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  flex-shrink: 0;
  overflow: hidden;
}

.app-custom-icon { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--book-text);
  margin: 0 0 .35rem;
  line-height: 1.35;
}

.info-box {
  border-radius: 16px;
  padding: .85rem 1rem;
  border: 1px solid rgba(13, 148, 136, .12);
  margin-bottom: .65rem;
}

.info-box.feature {
  background: linear-gradient(180deg, #ecfdf5, #ffffff);
  margin-bottom: 0;
}

.info-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .3rem;
  font-size: .8rem;
  font-weight: 800;
  color: var(--book-teal);
}

.info-text {
  font-size: .88rem;
  line-height: 1.65;
  color: #27364f;
  margin: 0;
  font-weight: 500;
}

.app-card-action { padding: 0 1.35rem 1.35rem; }

.btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .72rem 1rem;
  border-radius: 15px;
  background: linear-gradient(135deg, #0d9488, #2563eb);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  transition: background .15s, transform .1s;
  font-family: inherit;
}

.btn-book:hover {
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
  transform: translateY(-1px);
}

.btn-book:active { transform: translateY(0); }

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid #e2e8f0;
  padding: .85rem 1rem;
  text-align: center;
  font-size: .8rem;
  color: #64748b;
  background: #eef2f7;
}

@media (max-width: 575.98px) {
  .container-full { padding: 1rem 1rem 2.5rem; }
  .hero { border-radius: 24px; padding: 1.5rem 1.25rem; }
  .brand-row { flex-direction: column; gap: .65rem; }
  .brand-logo { width: 64px; height: 64px; }
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
}
