/* HandyCafe Cloud page — sits on top of landing.css + features-showcase.css.
   Only the pieces the shared landing system does not already provide live here. */

.hc-cloud-stage { position: relative; }

.hc-cloud-console {
  position: relative;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(160deg, #0c1524, #080e18);
  box-shadow: 0 34px 90px rgba(2, 6, 15, .5);
  overflow: hidden;
}

.hc-cloud-venues { padding: 18px 20px 6px; display: grid; gap: 8px; }
.hc-cloud-venue {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--hc-line);
  border-radius: 13px;
  background: rgba(3, 7, 13, .42);
}
.hc-cloud-venue strong { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--hc-text); }
.hc-cloud-venue em { font-style: normal; color: var(--hc-muted); font: 500 10px/1 'IBM Plex Mono', ui-monospace, monospace; }
.hc-cloud-venue b { min-width: 34px; text-align: end; color: var(--hc-teal); font: 600 13px/1 'IBM Plex Mono', ui-monospace, monospace; }
.hc-cloud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hc-teal); box-shadow: 0 0 12px rgba(45, 212, 191, .7); }
.hc-cloud-venue-busy .hc-cloud-dot { background: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, .55); }
.hc-cloud-venue-busy b { color: #fbbf24; }
.hc-cloud-venue-off { opacity: .5; }
.hc-cloud-venue-off .hc-cloud-dot { background: #64748b; box-shadow: none; }
.hc-cloud-venue-off b { color: var(--hc-muted); }

.hc-cloud-meter { padding: 6px 20px 22px; }
.hc-cloud-meter .hc-spark-bars { height: 48px; }
.hc-cloud-meter .hc-spark-bars i { background: linear-gradient(var(--hc-teal), rgba(45, 212, 191, .12)); }

.hc-cloud-page .hc-phone-card { right: -30px; bottom: -26px; top: auto; }

/* Getting connected */
.hc-cloud-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--hc-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--hc-line);
}
.hc-cloud-steps article { padding: 32px 28px 34px; background: #080e18; }
.hc-cloud-step-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--hc-teal);
  font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: .14em;
}
.hc-cloud-steps h3 { font-size: 19px; letter-spacing: -.02em; }
.hc-cloud-steps p { margin-top: 10px; color: var(--hc-muted); font-size: 13px; line-height: 1.65; }

.hc-landing .hc-cloud-note {
  margin-top: 26px;
  color: #718196;
  font-size: 12px;
  line-height: 1.6;
  max-width: 62ch;
}
.hc-cloud-link .hc-cloud-note { margin-inline: auto; text-align: center; }
.hc-landing .hc-cloud-note-inline { margin-top: 20px; }

/* Remote commands visual */
.hc-cloud-command-visual { display: flex; justify-content: center; }
.hc-cloud-command-card {
  position: relative;
  width: min(100%, 320px);
  padding: 28px;
  border: 1px solid rgba(45, 212, 191, .28);
  border-radius: 22px;
  background: rgba(7, 17, 27, .88);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .38), 0 0 40px rgba(45, 212, 191, .08);
  text-align: center;
}
.hc-cloud-command-card .hc-node-status { justify-content: center; }
.hc-cloud-command-card strong { display: block; margin-top: 26px; font-size: 26px; letter-spacing: -.03em; }
.hc-cloud-command-card small { display: block; margin-top: 6px; color: #718196; font-size: 11px; }
.hc-cloud-command-card p { margin-top: 16px; color: var(--hc-teal); font: 500 11px/1.4 'IBM Plex Mono', ui-monospace, monospace; }
.hc-cloud-command-beam { position: relative; height: 46px; margin-top: 20px; overflow: hidden; }
.hc-cloud-command-beam::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--hc-line), rgba(45, 212, 191, .5));
}
.hc-cloud-command-beam i {
  position: absolute;
  inset-inline-start: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin-inline-start: -3px;
  border-radius: 50%;
  background: var(--hc-teal);
  box-shadow: 0 0 14px var(--hc-teal);
  animation: hc-cloud-beam 2.4s ease-in-out infinite;
}
@keyframes hc-cloud-beam { 0% { top: 0; opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } 100% { top: 39px; opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .hc-cloud-command-beam i { animation: none; top: 18px } }

/* ── Cloud backup: the lead section ────────────────────────────────────── */
.hc-cloud-backup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  margin-bottom: 46px;
}
.hc-cloud-backup-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
/* The product name owns the heading; the line that was the heading before now
   sits under it as a subtitle, so the section is findable by name and still
   says what backup is for. */
.hc-landing .hc-cloud-backup-lead {
  margin-top: 14px;
  color: var(--hc-teal);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.hc-landing .hc-cloud-backup-head .hc-section-lead { margin-top: 16px; }

/* The "no extra fee" panel is the one claim on this page that decides whether
   an operator keeps reading, so it gets its own weight rather than a footnote. */
.hc-cloud-free {
  padding: 26px 26px 24px;
  border: 1px solid rgba(45, 212, 191, .38);
  border-radius: var(--hc-radius);
  background: linear-gradient(150deg, rgba(45, 212, 191, .12), rgba(45, 212, 191, .03));
}
.hc-cloud-free strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--hc-teal);
}
.hc-cloud-free span { display: block; margin-top: 10px; color: var(--hc-muted); font-size: 13px; line-height: 1.6; }

.hc-cloud-backup-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 18px;
}
.hc-cloud-who {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 32px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(145deg, rgba(15, 25, 42, .96), rgba(8, 15, 26, .96));
}
.hc-cloud-who-label {
  color: var(--hc-teal);
  font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hc-cloud-who-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; }
.hc-cloud-who-chips span {
  padding: 9px 15px;
  border: 1px solid var(--hc-line);
  border-radius: 99px;
  background: rgba(3, 7, 13, .4);
  font-size: 13px;
  font-weight: 600;
  color: #dce5ef;
}
.hc-landing .hc-cloud-who p { margin-top: auto; color: var(--hc-muted); font-size: 14px; line-height: 1.7; }

.hc-cloud-backup-grid { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.hc-cloud-backup-cta { margin-top: 30px; }

/* Off-site backup visual */
.hc-cloud-backup-visual {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 40px 28px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(160deg, #0c1524, #080e18);
}
.hc-cloud-backup-node {
  display: grid;
  place-items: center;
  min-width: 150px;
  padding: 22px 20px;
  border: 1px solid var(--hc-line);
  border-radius: 18px;
  background: rgba(3, 7, 13, .5);
  color: var(--hc-muted);
  font: 500 12px/1.3 'IBM Plex Mono', ui-monospace, monospace;
  text-align: center;
}
.hc-cloud-backup-line { position: relative; width: 1px; height: 76px; background: linear-gradient(var(--hc-line), rgba(45, 212, 191, .55)); }
.hc-cloud-backup-line i {
  position: absolute;
  inset-inline-start: -3px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hc-teal);
  box-shadow: 0 0 14px var(--hc-teal);
  animation: hc-cloud-upload 3s ease-in-out infinite;
}
@keyframes hc-cloud-upload { 0% { top: 68px; opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } 100% { top: 0; opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .hc-cloud-backup-line i { animation: none; top: 34px } }
.hc-cloud-backup-store {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 260px);
  padding: 26px 24px;
  border: 1px solid rgba(45, 212, 191, .26);
  border-radius: 20px;
  background: rgba(45, 212, 191, .05);
}
.hc-cloud-backup-store em { font-style: normal; font-size: 26px; color: var(--hc-teal); }
.hc-cloud-backup-store strong { font-size: 15px; letter-spacing: -.02em; }
.hc-cloud-backup-store div { display: flex; gap: 8px; width: 100%; }
.hc-cloud-backup-store b { flex: 1; height: 8px; border-radius: 4px; background: rgba(45, 212, 191, .3); }
.hc-cloud-backup-store b:last-child { background: rgba(148, 163, 184, .18); }
.hc-cloud-backup-store small { color: var(--hc-teal); font: 500 10px/1 'IBM Plex Mono', ui-monospace, monospace; }

/* Security first: eight cards, so two rows of four rather than one of eight */
.hc-cloud-security-grid { grid-template-columns: repeat(4, 1fr); }
.hc-cloud-security-grid article { min-height: 236px; }
.hc-cloud-security-grid article > span { margin-bottom: 30px; }


/* Published venue page preview */
.hc-cloud-venuecard {
  overflow: hidden;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(160deg, #0c1524, #080e18);
  box-shadow: 0 28px 70px rgba(2, 6, 15, .42);
}
.hc-cloud-venuecard-cover {
  height: 168px;
  background:
    radial-gradient(70% 90% at 20% 10%, rgba(45, 212, 191, .35), transparent 70%),
    linear-gradient(140deg, rgba(139, 92, 246, .3), rgba(14, 165, 233, .22));
}
.hc-cloud-venuecard-body { padding: 24px 26px 28px; }
.hc-cloud-venuecard-body strong { display: block; font-size: 20px; letter-spacing: -.025em; }
.hc-cloud-venuecard-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--hc-teal); font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace; }
.hc-cloud-venuecard-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--hc-teal); box-shadow: 0 0 12px var(--hc-teal); }
.hc-cloud-venuecard-rows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hc-cloud-venuecard-rows em {
  font-style: normal;
  padding: 7px 12px;
  border: 1px solid var(--hc-line);
  border-radius: 99px;
  color: var(--hc-muted);
  font-size: 11px;
}

/* Suggestion categories */
.hc-cloud-cats { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 18px; }
.hc-cloud-cats span {
  padding: 6px 11px;
  border: 1px solid rgba(167, 139, 250, .26);
  border-radius: 99px;
  background: rgba(139, 92, 246, .06);
  color: #d9d2ff;
  font-size: 11px;
}

/* Dashboard rows */
.hc-cloud-account-visual {
  display: grid;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(160deg, #0c1524, #080e18);
}
.hc-cloud-account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  background: rgba(3, 7, 13, .42);
  font: 500 12px/1 'IBM Plex Mono', ui-monospace, monospace;
}
.hc-cloud-account-row span { color: var(--hc-muted); }
.hc-cloud-account-ok b { color: var(--hc-teal); }
.hc-cloud-account-wait b { color: #fbbf24; }

/* Cross links to the gaming page and the apps */
.hc-cloud-crosslinks { display: grid; gap: 18px; }
.hc-cloud-crosslinks .hc-cloud-crosslink-panel h2 { font-size: clamp(22px, 2.1vw, 28px); }
.hc-cloud-crosslink-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 44px 46px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(135deg, rgba(45, 212, 191, .07), rgba(139, 92, 246, .05));
}
.hc-cloud-crosslink-panel h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.hc-cloud-crosslink-panel p { margin-top: 12px; color: var(--hc-muted); font-size: 14px; line-height: 1.65; max-width: 60ch; }

/* Light theme */
html:not(.dark) .hc-cloud-console { background: linear-gradient(160deg, #fff, #f2f6f9); box-shadow: 0 24px 60px rgba(15, 23, 42, .08); }
html:not(.dark) .hc-cloud-venue { background: rgba(255, 255, 255, .8); border-color: rgba(15, 23, 42, .1); }
html:not(.dark) .hc-cloud-venue strong { color: #172033; }
html:not(.dark) .hc-cloud-venue em { color: #64748b; }
html:not(.dark) .hc-cloud-steps article { background: #fff; }
html:not(.dark) .hc-cloud-steps p { color: #536276; }
html:not(.dark) .hc-cloud-command-card { background: #fff; border-color: rgba(13, 148, 136, .3); box-shadow: 0 18px 46px rgba(15, 23, 42, .08); }
html:not(.dark) .hc-cloud-command-card strong { color: #172033; }
html:not(.dark) .hc-cloud-backup-visual,
html:not(.dark) .hc-cloud-who { background: linear-gradient(160deg, #fff, #f2f6f9); box-shadow: 0 24px 60px rgba(15, 23, 42, .05); }
html:not(.dark) .hc-cloud-backup-node { background: #fff; border-color: rgba(15, 23, 42, .1); color: #64748b; }
html:not(.dark) .hc-cloud-backup-store { background: rgba(13, 148, 136, .06); border-color: rgba(13, 148, 136, .24); }
html:not(.dark) .hc-cloud-free { background: linear-gradient(150deg, rgba(13, 148, 136, .1), rgba(13, 148, 136, .02)); border-color: rgba(13, 148, 136, .32); }
html:not(.dark) .hc-cloud-free strong { color: #0f766e; }
html:not(.dark) .hc-cloud-free span { color: #536276; }
html:not(.dark) .hc-cloud-who-chips span { background: #fff; border-color: rgba(15, 23, 42, .12); color: #172033; }
html:not(.dark) .hc-landing .hc-cloud-who p { color: #536276; }
html:not(.dark) .hc-cloud-crosslink-panel { background: linear-gradient(135deg, rgba(13, 148, 136, .07), rgba(109, 91, 208, .05)); border-color: rgba(15, 23, 42, .1); }
html:not(.dark) .hc-cloud-crosslink-panel p { color: #536276; }
html:not(.dark) .hc-cloud-venuecard,
html:not(.dark) .hc-cloud-account-visual { background: linear-gradient(160deg, #fff, #f2f6f9); box-shadow: 0 24px 60px rgba(15, 23, 42, .07); }
html:not(.dark) .hc-cloud-venuecard-rows em { color: #64748b; border-color: rgba(15, 23, 42, .12); }
html:not(.dark) .hc-cloud-cats span { color: #5142a7; border-color: rgba(109, 91, 208, .24); background: rgba(109, 91, 208, .06); }
html:not(.dark) .hc-cloud-account-row { background: rgba(255, 255, 255, .82); border-color: rgba(15, 23, 42, .1); }
html:not(.dark) .hc-cloud-account-row span { color: #64748b; }

@media (max-width: 980px) {
  .hc-cloud-steps { grid-template-columns: 1fr; }
  /* Panel uc kart tasiyor: iki sutun 2+1 yetim satir birakiyor. */
  .hc-cloud-panel-grid { grid-template-columns: 1fr; }
  .hc-cloud-security-grid { grid-template-columns: 1fr 1fr; }
  .hc-cloud-backup-head { grid-template-columns: 1fr; gap: 30px; }
  .hc-cloud-backup-split { grid-template-columns: 1fr; }
  .hc-cloud-backup-grid { grid-template-columns: 1fr 1fr; }
  .hc-cloud-crosslink-panel { grid-template-columns: 1fr; gap: 26px; padding: 34px 30px; }
}
@media (max-width: 700px) {
  .hc-cloud-page .hc-phone-card { right: 8px; bottom: -18px; }
  .hc-cloud-venue { grid-template-columns: 10px 1fr auto; gap: 10px; }
  /* Doluluk ("24 / 30") kalir, etiketsiz aktif sayisi gizlenir: tek basina
     bir sayi mobilde neyi anlattigini soylemiyordu. Durum rengi noktada duruyor. */
  .hc-cloud-venue b { display: none; }
  .hc-cloud-venue em { text-align: end; }
  .hc-cloud-panel-grid,
  .hc-cloud-security-grid,
  .hc-cloud-backup-grid { grid-template-columns: 1fr; }
}

/* Acik mod kontrast duzeltmesi, games-page.css ile ayni gerekce. */
html:not(.dark) .hc-cloud-venue-busy b { color: #b45309; }
html:not(.dark) .hc-cloud-account-wait b { color: #b45309; }
html:not(.dark) .hc-cloud-command-card small { color: #536276; }
