/* 567tvios.id - Apple App Store Light Frosted Glass Stylesheet (Namespace: ap567) */
:root {
  --ap-bg: #f5f5f7;
  --ap-card: #ffffff;
  --ap-soft: #eef2f6;
  --ap-border: #d2d2d7;
  --ap-blue: #0071e3;
  --ap-blue-hover: #005bb5;
  --ap-indigo: #5e5ce6;
  --ap-green: #248a3d;
  --ap-ink: #1d1d1f;
  --ap-sub: #515154;
  --ap-muted: #86868b;
  --ap-radius: 20px;
  --ap-max: 1000px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--ap-bg);
  color: var(--ap-ink);
  line-height: 1.62;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--ap-blue);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--ap-blue-hover);
}

.ap567-container {
  width: 100%;
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Frosted Glass Navigation Bar */
.ap567-glass-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(210, 210, 215, 0.75);
}

.ap567-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.ap567-title-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ap-ink);
  letter-spacing: -0.2px;
}

.ap567-glyph {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, #0071e3, #5e5ce6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(0, 113, 227, 0.25);
}

.ap567-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.ap567-nav-list a {
  color: var(--ap-sub);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.ap567-nav-list a:hover,
.ap567-nav-list a.is-on {
  background: var(--ap-blue);
  color: #ffffff;
}

/* Breadcrumb */
.ap567-trail {
  font-size: 0.83rem;
  color: var(--ap-muted);
  padding: 16px 0 2px;
}

.ap567-trail b {
  font-weight: 600;
  color: var(--ap-ink);
}

/* App Store Showcase Header */
.ap567-showcase {
  margin: 22px 0 26px;
  padding: 30px;
  background: var(--ap-card);
  border: 1px solid rgba(210, 210, 215, 0.8);
  border-radius: var(--ap-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.ap567-app-top {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.ap567-squircle {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(140deg, #0071e3 0%, #5e5ce6 60%, #32ade6 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.24);
}

.ap567-squircle strong {
  font-size: 1.5rem;
  line-height: 1.05;
  font-weight: 900;
}

.ap567-squircle small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  opacity: 0.92;
}

.ap567-app-headline {
  flex: 1;
}

.ap567-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--ap-blue);
  font-size: 0.77rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ap567-showcase h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.12rem);
  line-height: 1.22;
  letter-spacing: -0.4px;
  color: var(--ap-ink);
  margin-bottom: 10px;
}

.ap567-summary {
  color: var(--ap-sub);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.ap567-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ap567-btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ap-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.25);
}

.ap567-btn-get:hover {
  background: var(--ap-blue-hover);
  color: #ffffff;
}

.ap567-btn-safari {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ap-soft);
  border: 1px solid var(--ap-border);
  color: var(--ap-ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.ap567-btn-safari:hover {
  border-color: var(--ap-blue);
  color: var(--ap-blue);
}

/* App Store Horizontal Spec Strip */
.ap567-ribbon-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ap-border);
  text-align: center;
}

.ap567-spec-cell span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ap-muted);
  letter-spacing: 0.5px;
}

.ap567-spec-cell strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ap-ink);
  margin: 2px 0;
}

.ap567-spec-cell em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--ap-sub);
}

/* Sheet Content Cards */
.ap567-sheet {
  margin-bottom: 24px;
  padding: 26px;
  background: var(--ap-card);
  border: 1px solid rgba(210, 210, 215, 0.8);
  border-radius: var(--ap-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.025);
}

.ap567-sheet h2 {
  font-size: 1.32rem;
  letter-spacing: -0.2px;
  color: var(--ap-ink);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ap-soft);
}

.ap567-sheet h3 {
  font-size: 1.06rem;
  color: var(--ap-ink);
  margin: 16px 0 6px;
}

.ap567-sheet p {
  color: var(--ap-sub);
  margin-bottom: 12px;
}

.ap567-sheet ol,
.ap567-sheet ul {
  margin: 10px 0 14px 22px;
  color: var(--ap-sub);
}

.ap567-sheet li {
  margin-bottom: 8px;
}

/* Bento Grid */
.ap567-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ap567-bento-item {
  padding: 18px;
  border-radius: 15px;
  background: var(--ap-bg);
  border: 1px solid rgba(210, 210, 215, 0.7);
}

.ap567-bento-item h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--ap-ink);
  margin-bottom: 6px;
}

.ap567-bento-item p {
  font-size: 0.88rem;
  color: var(--ap-sub);
  margin-bottom: 0;
}

/* Clean Apple Table */
.ap567-table-box {
  overflow-x: auto;
  margin: 12px 0;
}

.ap567-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ap567-table th,
.ap567-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--ap-border);
  text-align: left;
}

.ap567-table th {
  color: var(--ap-muted);
  font-weight: 600;
  width: 36%;
  background: var(--ap-bg);
}

.ap567-table td {
  color: var(--ap-ink);
}

/* Callout Banner */
.ap567-banner {
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(36, 138, 61, 0.08);
  border: 1px solid rgba(36, 138, 61, 0.28);
  color: #165b26;
  font-size: 0.91rem;
  margin: 14px 0;
}

/* Accordion */
.ap567-fold {
  border: 1px solid var(--ap-border);
  border-radius: 13px;
  background: var(--ap-bg);
  margin-bottom: 10px;
}

.ap567-fold summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ap-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ap567-fold summary::-webkit-details-marker {
  display: none;
}

.ap567-fold summary::after {
  content: "+";
  color: var(--ap-blue);
  font-size: 1.2rem;
  font-weight: 700;
}

.ap567-fold[open] summary::after {
  content: "−";
}

.ap567-fold-txt {
  padding: 0 18px 15px;
  color: var(--ap-sub);
  font-size: 0.93rem;
}

/* Footer */
.ap567-footer {
  margin-top: auto;
  background: #ebebf0;
  border-top: 1px solid var(--ap-border);
  padding: 26px 0;
  font-size: 0.85rem;
  color: var(--ap-sub);
}

.ap567-foot-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}

@media (max-width: 680px) {
  .ap567-app-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .ap567-ribbon-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap567-showcase,
  .ap567-sheet {
    padding: 20px;
  }
  .ap567-btn-get,
  .ap567-btn-safari {
    width: 100%;
  }
}
