/* ============================================
   VBCard Guide Page — guide-style.css
   All guide-specific styles for guide.html
   Uses design tokens from style.css :root
   ============================================ */

/* ========== HERO ========== */
.guide-hero {
  background: linear-gradient(135deg, #243D2E 0%, #358C68 50%, #1A7A5B 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.guide-hero__breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.guide-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.guide-hero__breadcrumb a:hover {
  color: #fff;
}

.guide-hero h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.guide-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.6;
}

.guide-hero .gm-btn--primary {
  background: #fff;
  color: var(--primary);
}

/* ========== LAYOUT ========== */
.guide-layout {
  display: flex;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  position: relative;
}

/* ========== SIDEBAR ========== */
.guide-sidebar {
  flex: 0 0 250px;
  position: relative;
}

.guide-sidebar__inner {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
}

.guide-sidebar__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 12px;
}

.guide-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-nav__link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.guide-nav__link:hover {
  color: var(--text);
  background: rgba(53, 140, 104, 0.04);
}

.guide-nav__link.active {
  color: var(--primary);
  background: rgba(53, 140, 104, 0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}


.guide-contact-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
}

/* ========== CONTENT ========== */
.guide-content {
  flex: 1;
  min-width: 0;
}

/* ========== TOPNAV (tablet) ========== */
.guide-topnav {
  display: none;
  gap: 4px;
  overflow-x: auto;
  background: var(--surface);
  position: sticky;
  top: 72px;
  z-index: 40;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.guide-topnav::-webkit-scrollbar {
  display: none;
}

.guide-topnav a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.guide-topnav a:hover {
  color: var(--text);
  background: rgba(53, 140, 104, 0.04);
}

.guide-topnav a.active {
  color: var(--primary);
  background: rgba(53, 140, 104, 0.08);
  font-weight: 600;
}

/* ========== SIDEBAR TOGGLE (mobile) ========== */
.guide-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  width: 100%;
  margin-bottom: 16px;
}

.guide-sidebar-toggle svg {
  color: var(--primary);
}

.guide-sidebar-toggle:hover {
  background: #F9FAFB;
  border-color: var(--border);
  color: var(--primary);
}

.guide-sidebar-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

/* ========== SECTIONS ========== */
.guide-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 88px;
}

.guide-section:last-of-type {
  border-bottom: none;
}

/* Breadcrumb */
.guide-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.guide-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.guide-breadcrumb a:hover {
  color: #fff;
}

/* Section subtitle */
.guide-section__subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 12px;
}

/* Section note */
.guide-section__note {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 8px 0 24px;
  font-style: italic;
}

/* Table wrapper */
.guide-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.guide-section__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.guide-section__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(53, 140, 104, 0.1);
  flex-shrink: 0;
}

.guide-section__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.guide-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.guide-section__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== STEP CARDS ========== */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.guide-step {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.guide-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step__content {
  flex: 1;
}

.guide-step__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.guide-step__text,
.guide-step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ MOCKUP COMPONENTS ============ */

/* Generic wrapper */
.gm-wrapper {
  overflow: hidden;
  margin-bottom: 28px;
}

/* Split layout (admin sidebar + panel) */
.gm-split {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.gm-admin-sidebar {
  width: 220px;
  background: #243D2E;
  padding: 16px 0;
  flex-shrink: 0;
}

.gm-admin-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  cursor: default;
  transition: all 0.2s ease;
}

.gm-admin-sidebar__item--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #358C68;
}

.gm-admin-sidebar__icon {
  font-size: 18px;
}

.gm-admin-sidebar__label {
  font-size: 13px;
  font-weight: 500;
}

/* Admin sidebar: Back button */
.gm-admin-sidebar__item--back {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  padding: 8px 16px;
  margin-bottom: 4px;
}

.gm-admin-sidebar__item--back:hover {
  color: rgba(255,255,255,0.9);
}

/* Admin sidebar: Live card button */
.gm-admin-sidebar__item--live {
  background: #358C68;
  color: #fff;
  border-radius: 8px;
  margin: 0 8px 8px 8px;
  padding: 10px 16px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

/* Admin sidebar: Divider */
.gm-admin-sidebar__divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 8px 12px;
}

/* Admin sidebar: Logout */
.gm-admin-sidebar__item--logout {
  color: #F87171;
}

.gm-admin-sidebar__item--logout:hover {
  color: #FCA5A5;
  background: rgba(248, 113, 113, 0.1);
}

.gm-panel {
  flex: 1;
  background: var(--surface);
  padding: 24px;
}

.gm-panel__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

/* Panel subtitle */
.gm-panel__subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* AI badge */
.gm-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #D97706;
  background: #FFFBEB;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

.gm-ai-badge svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Form mockups */
.gm-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gm-form__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gm-form__input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #F9FAFB;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.gm-form__textarea {
  min-height: 80px;
  height: auto;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #F9FAFB;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.gm-form__select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #F9FAFB;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gm-form__select::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
}

/* Form variants */
.gm-form__input--url {
  display: flex;
  align-items: center;
  gap: 0;
}
.gm-form__prefix {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}
.gm-form__hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.gm-form__chevron {
  color: var(--text-muted);
  font-size: 12px;
}
.gm-form__input--placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* Toggle switch */
.gm-toggle {
  width: 40px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: #D1D5DB;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gm-toggle--on {
  background: #358C68;
}

.gm-toggle__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.gm-toggle--on .gm-toggle__dot {
  transform: translateX(18px);
}

/* Upload area */
.gm-upload {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gm-upload__icon {
  color: var(--text-muted);
  font-size: 32px;
}

.gm-upload__text {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Button mockup */
.gm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.gm-btn--primary {
  background: #358C68;
  color: #fff;
}

.gm-btn--secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.gm-btn--ai {
  background: linear-gradient(135deg, #358C68, #2D7D5E);
  color: #fff;
}

/* Card preview mockup */
.gm-card-preview {
  width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
}

.gm-card-preview__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.gm-card-preview__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.gm-card-preview__role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.gm-card-preview__buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.gm-card-preview__buttons span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Card preview components */
.gm-card-preview__cover {
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent, #2D7D5E));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.gm-card-preview__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(53, 140, 104, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ========== STATS GRID ========== */
.gm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gm-stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  background: var(--surface);
}

.gm-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.gm-stat-card__label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.gm-chart-area {
  height: 120px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-top: 16px;
  background: #F9FAFB;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 12px 16px;
}

.gm-chart-bar {
  flex: 1;
  background: rgba(53, 140, 104, 0.3);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

/* ========== CONTACTS LIST ========== */
.gm-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.gm-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface);
}

.gm-contact-row__icon {
  font-size: 18px;
  color: var(--text-secondary);
}

.gm-contact-row__label {
  font-size: 13px;
  font-weight: 600;
  width: 100px;
  flex-shrink: 0;
}

.gm-contact-row__value {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-contact-row__eye {
  font-size: 16px;
  cursor: pointer;
  color: var(--text-muted);
}

.gm-contact-row--visible .gm-contact-row__eye {
  color: var(--primary);
}

/* Contact eye states */
.gm-contact-row__eye--on {
  color: var(--primary);
}
.gm-contact-row__eye--off {
  color: var(--text-muted);
  opacity: 0.4;
}

/* Disabled contact row */
.gm-contact-row--disabled {
  opacity: 0.45;
}

.gm-contact-row--disabled .gm-contact-row__eye--off {
  text-decoration: line-through;
  color: #9CA3AF;
}

/* ========== GALLERY GRID ========== */
.gm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.gm-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: #F3F4F6;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.gm-gallery-item--filled {
  border-style: solid;
}

.gm-gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.gm-gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 6px 8px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.gm-gallery-item__alt {
  border: none;
  background: transparent;
  font-size: 11px;
  color: var(--text-muted);
  padding: 0;
  flex: 1;
}

.gm-gallery-add {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-light);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  gap: 4px;
  font-size: 13px;
}

/* ========== SAVE BAR MOCKUP ========== */
.gm-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3F4F6;
  border-radius: 10px;
  padding: 10px 16px 36px;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
  overflow: visible;
}

.gm-save-bar__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.gm-save-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gm-save-bar__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #D1D5DB;
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: default;
  white-space: nowrap;
}

.gm-save-bar__dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.gm-save-bar__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #F97316;
  border-radius: 50%;
  animation: saveDotPulse 1.5s ease-in-out infinite;
}

@keyframes saveDotPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.gm-save-bar__dot-annotation {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.gm-save-bar__dot-arrow {
  font-size: 10px;
  line-height: 1;
  color: #F97316;
}

.gm-save-bar__dot-label {
  font-size: 11px;
  font-weight: 500;
  color: #F97316;
  line-height: 1.2;
}

.gm-save-bar__btn-save {
  padding: 8px 16px;
  background: #2D6A4F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
}

/* ========== QR SECTION ========== */
.gm-qr-section {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.gm-qr-code {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gm-qr-code__pattern {
  width: 100px;
  height: 100px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1px;
}

.gm-qr-code__pattern span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1px;
}

.gm-qr-actions {
  display: flex;
  gap: 8px;
}

/* QR code grid (step 3 card preview) */
.gm-qr-code__grid {
  width: 80px;
  height: 80px;
  background-image:
    linear-gradient(45deg, #333 25%, transparent 25%),
    linear-gradient(-45deg, #333 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #333 75%),
    linear-gradient(-45deg, transparent 75%, #333 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
  border-radius: 4px;
}

/* ========== CATALOG PREVIEW ========== */
.gm-catalog-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.gm-catalog-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gm-catalog-item__header {
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.gm-catalog-item__body {
  padding: 12px;
  text-align: center;
  background: var(--surface);
}

.gm-catalog-item__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.gm-catalog-item__role {
  font-size: 10px;
  color: var(--text-secondary);
}

/* ========== LANGUAGE LIST ========== */
.gm-lang-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.gm-lang-item--active {
  border-color: var(--primary);
  background: rgba(53, 140, 104, 0.04);
}

/* ========== SERVICES LIST ========== */
.gm-services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ========== ABOUT CARD ========== */
.gm-about-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--surface);
}

.gm-about-card__year {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.gm-about-card__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.gm-about-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-about-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

/* About card items */
.gm-about-card__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.gm-about-card__item:last-child {
  border-bottom: none;
}
.gm-about-card__item strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.gm-about-card__item p,
.gm-about-card__item span {
  font-size: 14px;
  color: var(--text);
}
.gm-about-card__item ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.gm-about-card__item ul li {
  font-size: 13px;
  color: var(--text);
  padding: 2px 0;
}
.gm-about-card__item ul li::before {
  content: '\2713  ';
  color: var(--primary);
  font-weight: 600;
}

/* ========== MODAL ========== */
.gm-modal {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: var(--surface);
  max-width: 420px;
  margin: 0 auto 28px;
}

.gm-modal__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.gm-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-modal__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Modal sub-components */
.gm-modal__dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.gm-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.gm-modal__header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.gm-modal__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F3F4F6;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}
.gm-modal__subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.gm-modal__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ========== TABLE ========== */
.guide-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.guide-table thead {
  background: #243D2E;
}

.guide-table th {
  padding: 12px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.guide-table td {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.guide-table tr:nth-child(even) td {
  background: #FAFAFA;
}

.guide-table tr:hover td {
  background: #F0FFF4;
}

.guide-table tr:last-child td {
  border-bottom: none;
}

/* Center the last 2 columns (Free + Premium) regardless of column count */
.guide-table td:nth-last-child(-n+2),
.guide-table th:nth-last-child(-n+2) {
  text-align: center;
}

/* Center SVG icons inside table cells */
.guide-table td svg {
  display: inline-block;
  vertical-align: middle;
}

/* ========== TIP BOX ========== */
.guide-tip {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #F0FFF4;
  border-left: 4px solid #358C68;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}

.guide-tip__icon {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-tip__content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guide-tip__content svg {
  display: inline;
  vertical-align: middle;
}

.guide-tip strong {
  color: var(--primary);
}

/* ========== NOTE BOX ========== */
.guide-note {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #FFF7ED;
  border-left: 4px solid #F59E0B;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}

.guide-note__icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-note__content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guide-note__content svg {
  display: inline;
  vertical-align: middle;
}

/* ========== BADGES ========== */
.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.guide-badge--free {
  background: #ECFDF5;
  color: #059669;
}

.guide-badge--premium {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
}

/* ========== PLAN CARDS ========== */
.guide-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.guide-plan {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.3s ease;
}

.guide-plan--free {
  border-color: #E5E7EB;
  background: var(--surface);
}

.guide-plan--premium {
  border-color: #358C68;
  border-width: 2px;
  background: var(--surface);
  box-shadow: 0 0 20px rgba(53, 140, 104, 0.15);
  animation: premiumGlow 3s ease-in-out infinite;
}

.guide-plan__popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.guide-plan__trial {
  background: #F0FFF4;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.guide-plan__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.guide-plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.guide-plan__price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
}

.guide-plan__price-period {
  font-size: 14px;
  color: var(--text-secondary);
}

.guide-plan__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.guide-plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.guide-plan__cta {
  width: 100%;
  text-align: center;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========== FINAL CTA ========== */
.guide-cta {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(53, 140, 104, 0.08), rgba(53, 140, 104, 0.02));
  border-radius: var(--radius-lg);
  margin-top: 24px;
}

.guide-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.guide-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.guide-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.guide-final-cta {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(53, 140, 104, 0.08), rgba(53, 140, 104, 0.02));
  border-radius: var(--radius-lg);
  margin-top: 24px;
}

.guide-final-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.guide-final-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ========== SCREENSHOT ========== */
.guide-screenshot {
  margin-bottom: 28px;
  text-align: center;
}

.guide-screenshot img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  max-width: 100%;
  height: auto;
}

.guide-screenshot__sk-note {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  display: none;
}

html[lang="sk"] .guide-screenshot__sk-note {
  display: block;
}

.guide-screenshot__frame {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.guide-screenshot__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border-light);
}

.guide-screenshot__img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-screenshot__caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

.guide-screenshot--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-screenshot__phone {
  width: 280px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.guide-screenshot__phone .guide-screenshot__img {
  border-radius: 24px;
}

/* ---------- Guide Screenshots ---------- */
.guide-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid #E5E7EB;
  margin: 16px 0;
  display: block;
}


/* QR mockup (existing HTML) */
.guide-qr-mockup {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.guide-qr-mockup__code {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9FAFB;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  color: var(--text);
  flex-shrink: 0;
}

.guide-qr-mockup__info {
  flex: 1;
}

.guide-qr-mockup__info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.guide-qr-mockup__buttons {
  display: flex;
  gap: 8px;
}

/* Language mockup (existing HTML) */
.guide-lang-mockup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-lang-mockup__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #F9FAFB;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}

.guide-lang-mockup__item--active {
  border-color: var(--primary);
  background: rgba(53, 140, 104, 0.04);
}

/* Comparison table (existing HTML) */
.guide-comparison-table {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.guide-comparison-table__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 20px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.guide-comparison-table__header span:first-child {
  text-align: left;
}

.guide-comparison-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  text-align: center;
}

.guide-comparison-table__row span:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.guide-comparison-table__row span svg {
  display: inline-block;
  vertical-align: middle;
}

.guide-comparison-table__row:nth-child(even) {
  background: #F9FAFB;
}

.guide-comparison-table__row:last-child {
  border-bottom: none;
}

.guide-comparison-table .guide-comparison-table__row--price {
  background: rgba(53, 140, 104, 0.04);
  font-weight: 600;
}

.guide-comparison-table__row--price strong {
  font-size: 18px;
  color: var(--primary);
}

.guide-comparison-table__row--price small {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== ANIMATIONS ========== */
@keyframes premiumGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(53, 140, 104, 0.15); }
  50% { box-shadow: 0 0 30px rgba(53, 140, 104, 0.25); }
}

/* ========== RESPONSIVE ========== */

/* Desktop: sidebar visible, topnav + toggle hidden */
@media (min-width: 1200px) {
  .guide-topnav {
    display: none;
  }

  .guide-sidebar-toggle {
    display: none;
  }
}

/* Tablet: sidebar hidden, topnav visible, toggle hidden */
@media (max-width: 1199px) {

  /* 1. Layout: column direction so topnav sits above content */
  .guide-layout {
    flex-direction: column;
    gap: 0;
  }

  .guide-sidebar {
    display: none;
  }

  /* 2. Topnav: full width, sticky, no gap interference */
  .guide-topnav {
    display: flex;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
  }

  .guide-sidebar-toggle {
    display: none;
  }

  /* 3. Admin mockup split: column layout with horizontal sidebar */
  .gm-split {
    flex-direction: column;
  }

  .gm-admin-sidebar {
    width: 100%;
    flex-direction: row;
    display: flex;
    overflow-x: auto;
    padding: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .gm-admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .gm-admin-sidebar__item {
    white-space: nowrap;
    min-width: max-content;
    padding: 8px 14px;
  }

  .gm-admin-sidebar__item--active {
    border-left: none;
    border-bottom: 3px solid #358C68;
  }

  .gm-admin-sidebar__item--back {
    padding: 6px 12px;
  }

  .gm-admin-sidebar__item--live {
    margin: 4px 8px;
  }

  .gm-admin-sidebar__divider {
    border-top: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    margin: 0 4px;
    min-height: 24px;
    align-self: center;
  }

  /* 4. Tables: ensure overflow-x scroll on tablet */
  .guide-table {
    display: block;
    overflow-x: auto;
  }

  /* 6. Catalog preview: 3 columns instead of 4 */
  .gm-catalog-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 8. Comparison table: slightly tighter padding */
  .guide-comparison-table__header,
  .guide-comparison-table__row {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* Smaller tablets (768px - 899px): additional adjustments */
@media (max-width: 899px) and (min-width: 768px) {

  /* 5. Stats grid: 2 columns for narrower tablets */
  .gm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 6. Catalog: 2 columns on narrow tablets */
  .gm-catalog-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 9. iPhone mockup: smaller on narrow tablets */
  .guide-sec-demo .iphone-frame {
    width: 260px;
    height: 546px;
    border-radius: 44px;
  }

  .guide-screenshot__phone {
    width: 260px;
  }
}

/* Mobile: topnav hidden, toggle visible, mobile sidebar overlay */
@media (max-width: 767px) {
  .guide-topnav {
    display: none;
  }

  .guide-sidebar-toggle {
    display: flex;
    margin-bottom: 12px;
  }

  .guide-sidebar.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 16px 16px;
  }

  .guide-sidebar.open .guide-sidebar__inner {
    position: static;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 320px;
    margin: 0 auto;
    max-height: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  }

  /* 1. Layout: column direction, remove large gap */
  .guide-layout {
    flex-direction: column;
    gap: 0;
    padding: 24px 16px;
  }

  .guide-hero {
    padding: 100px 16px 40px;
  }

  .guide-hero h1 {
    font-size: 1.75rem;
  }

  /* 5. Hero CTA: constrain width, prevent overflow */
  .guide-hero .btn-cta,
  .guide-hero .btn-cta--lg {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }

  /* 10. Breadcrumb: smaller on mobile */
  .guide-breadcrumb {
    font-size: 12px;
    gap: 6px;
  }

  .guide-section__header {
    flex-direction: column;
  }

  .guide-section__title {
    font-size: 20px;
  }

  /* Tighter section spacing on mobile */
  .guide-section {
    margin-bottom: 36px;
    padding-bottom: 32px;
  }

  .guide-step {
    flex-direction: column;
    padding: 16px;
  }

  .gm-split {
    flex-direction: column;
  }

  /* 9. Admin sidebar: horizontal scroll with hidden scrollbar */
  .gm-admin-sidebar {
    width: 100%;
    flex-direction: row;
    display: flex;
    overflow-x: auto;
    padding: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .gm-admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .gm-admin-sidebar__item {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }

  .gm-stats-grid {
    grid-template-columns: 1fr;
  }

  .gm-catalog-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-plans {
    grid-template-columns: 1fr;
  }

  .guide-plan {
    padding: 24px 20px;
  }

  .guide-table {
    display: block;
    overflow-x: auto;
  }

  .gm-card-preview {
    width: 240px;
    max-width: 100%;
  }

  .gm-qr-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guide-cta {
    padding: 40px 20px;
  }

  .guide-final-cta {
    padding: 40px 20px;
  }

  .guide-final-cta h2,
  .guide-cta h2 {
    font-size: 20px;
  }

  .guide-qr-mockup {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guide-comparison-table__header,
  .guide-comparison-table__row {
    font-size: 11px;
    padding: 8px 12px;
  }

  .guide-comparison-table__row--price strong {
    font-size: 15px;
  }

  .guide-screenshot__phone {
    width: 240px;
    max-width: calc(100vw - 64px);
    border-radius: 30px;
    padding: 10px;
  }

  .guide-screenshot__phone .guide-screenshot__img {
    border-radius: 20px;
  }

  .gm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3. Save bar: wrap actions to prevent overflow */
  .gm-save-bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 36px;
    max-width: 100%;
  }

  .gm-save-bar__actions {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .gm-save-bar__title {
    font-size: 13px;
  }

  .gm-save-bar__btn-outline,
  .gm-save-bar__btn-save {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* 4. Contact rows: narrower label, smaller font */
  .gm-contact-row {
    gap: 8px;
    padding: 8px 10px;
  }

  .gm-contact-row__label {
    width: 72px;
    font-size: 12px;
  }

  .gm-contact-row__value {
    font-size: 12px;
    min-width: 0;
  }

  /* 6. Tip & Note: tighter padding and gap */
  .guide-tip,
  .guide-note {
    gap: 10px;
    padding: 12px 14px;
  }

  .guide-tip__content,
  .guide-note__content {
    font-size: 13px;
  }

  /* 7. iPhone mockups: fit smaller screens */
  .guide-sec-demo .iphone-frame {
    width: 260px;
    height: 546px;
    max-width: calc(100vw - 64px);
    border-radius: 44px;
  }

  .guide-section .dnd-demo-section .iphone-frame {
    width: 260px;
    height: 546px;
    max-width: calc(100vw - 64px);
    border-radius: 44px;
  }

  /* 8. URL input: prevent overflow */
  .gm-form__input--url {
    overflow: hidden;
  }

  .gm-form__prefix {
    font-size: 11px;
    flex-shrink: 0;
  }

  .gm-form__input {
    font-size: 13px;
    min-width: 0;
  }

  /* 11. Wrapper & content overflow safety */
  .gm-wrapper {
    overflow: hidden;
    max-width: 100%;
  }

  .guide-content {
    overflow: hidden;
  }

  .gm-panel {
    padding: 16px;
  }

  .gm-panel__title {
    font-size: 16px;
  }

  .gm-modal {
    max-width: 100%;
    padding: 20px 16px;
  }
}

/* ===== Extra small screens (320–380px) ===== */
@media (max-width: 380px) {
  .guide-layout {
    padding: 16px 12px;
  }

  .guide-hero {
    padding: 90px 12px 32px;
  }

  .guide-hero h1 {
    font-size: 1.5rem;
  }

  .guide-hero p {
    font-size: 14px;
  }

  .guide-section__title {
    font-size: 18px;
  }

  .guide-step {
    padding: 12px;
  }

  .guide-tip,
  .guide-note {
    padding: 10px 12px;
    gap: 8px;
  }

  .guide-tip__content,
  .guide-note__content {
    font-size: 12px;
  }

  .gm-contact-row__label {
    width: 60px;
    font-size: 11px;
  }

  .gm-contact-row__value {
    font-size: 11px;
  }

  .gm-save-bar {
    padding: 8px 8px 32px;
  }

  .gm-save-bar__title {
    font-size: 12px;
    white-space: normal;
  }

  .gm-save-bar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .guide-sec-demo .iphone-frame,
  .guide-section .dnd-demo-section .iphone-frame {
    width: 240px;
    height: 504px;
    border-radius: 40px;
  }

  .guide-screenshot__phone {
    width: 220px;
  }

  .gm-card-preview {
    width: 220px;
  }

  .guide-comparison-table__header,
  .guide-comparison-table__row {
    font-size: 10px;
    padding: 6px 8px;
  }

  .guide-plan {
    padding: 20px 16px;
  }

  .guide-plan__price-amount {
    font-size: 28px;
  }

  .guide-cta,
  .guide-final-cta {
    padding: 32px 16px;
  }

  .gm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gm-panel {
    padding: 12px;
  }

  .guide-breadcrumb {
    font-size: 11px;
    gap: 4px;
  }
}

/* ===== GUIDE SECTION DEMO (section-vbcard) ===== */
/* Guide-context override for dnd-demo-section (base styles in style.css) */
.guide-section .dnd-demo-section {
  padding: 40px 0;
  background: transparent;
  max-width: 100%;
}

.guide-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f5ec;
  color: #2D4A3E;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px 3px 7px;
  border-radius: 20px;
  border: 1.5px solid #48A868;
  vertical-align: middle;
  margin-left: 10px;
  letter-spacing: 0.02em;
}

.guide-sec-demo {
  padding: 40px 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.guide-sec-demo-text { max-width: 400px; }

.guide-sec-demo-text .section-label {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #48A868; margin-bottom: 12px;
}

.guide-sec-demo-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; color: #2D4A3E;
  line-height: 1.2; margin: 0 0 16px 0;
}

.guide-sec-demo-text .desc {
  font-size: 1.05rem; color: #4a6b5e;
  line-height: 1.7; margin: 0;
}

.guide-sec-demo .iphone-frame {
  width: 300px; height: 630px;
  background: #1a1a1e; border-radius: 50px;
  padding: 10px; position: relative; flex-shrink: 0;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.22),
    0 15px 40px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.guide-sec-demo .iphone-frame::before {
  content: '';
  position: absolute; right: -2.5px; top: 150px;
  width: 3px; height: 44px;
  background: #2c2c30; border-radius: 0 2px 2px 0;
}
.guide-sec-demo .iphone-frame::after {
  content: '';
  position: absolute; left: -2.5px; top: 125px;
  width: 3px; height: 28px;
  background: #2c2c30; border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #2c2c30, 0 78px 0 #2c2c30;
}

.guide-sec-demo .iphone-screen {
  width: 100%; height: 100%;
  border-radius: 42px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative; background: #c5d4c0;
}

.guide-sec-demo .status-bar {
  height: 54px; display: flex;
  align-items: flex-start; justify-content: space-between;
  padding: 16px 28px 0; position: relative;
  z-index: 110; flex-shrink: 0;
  background: #c5d4c0;
}

.guide-sec-demo .status-bar .time {
  font-size: 0.8rem; font-weight: 600;
  color: #2D4A3E; margin-top: 1px;
}

.guide-sec-demo .dynamic-island {
  width: 92px; height: 25px;
  background: #000; border-radius: 20px;
  position: absolute; top: 11px;
  left: 50%; transform: translateX(-50%);
}

.guide-sec-demo .status-icons {
  display: flex; align-items: center;
  gap: 4px; margin-top: 1px;
}

.guide-sec-demo .status-dots { display: flex; gap: 3px; margin-right: 3px; }
.guide-sec-demo .status-dots span { width: 4px; height: 4px; background: #2D4A3E; border-radius: 50%; }
.guide-sec-demo .status-icons .ico { width: 15px; height: 15px; fill: #2D4A3E; }

.guide-sec-demo .app-area {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden; position: relative;
  background: #c5d4c0;
  padding: 0 8px;
  gap: 8px;
}

.guide-sec-demo .toast {
  position: absolute;
  top: 0; left: 8px; right: 8px;
  background: white; padding: 14px 16px 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.15);
  transform: translateY(-110%);
  transition: transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
  z-index: 200; border-radius: 14px;
  border-bottom: 2.5px solid #48A868;
}
.guide-sec-demo .toast.visible { transform: translateY(4px); }
.guide-sec-demo .toast .t-title { font-size: 0.78rem; font-weight: 700; color: #2D4A3E; display: block; margin-bottom: 1px; }
.guide-sec-demo .toast .t-msg { font-size: 0.64rem; color: #666; display: block; }
.guide-sec-demo .toast .t-close {
  position: absolute; top: 10px; right: 12px;
  font-size: 0.75rem; color: #999; cursor: pointer;
}

.guide-sec-demo .sec-card {
  background: white;
  border-radius: 18px;
  padding: 14px 16px 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}

.guide-sec-demo .sec-card.dragging {
  box-shadow: 0 12px 40px rgba(72,168,104,0.25);
  z-index: 20;
  position: relative;
}

.guide-sec-demo .sec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.guide-sec-demo .sec-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2D4A3E;
  flex: 1;
}

.guide-sec-demo .arrow-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.guide-sec-demo .arrow-btns.visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-sec-demo .arrow-btn {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1.5px solid #d0d8d2;
  background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.guide-sec-demo .arrow-btn.clicked {
  transform: scale(0.85);
  background: #e8f0e8;
}

.guide-sec-demo .arrow-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.guide-sec-demo .arrow-btn svg {
  width: 12px; height: 12px; fill: #666;
}

.guide-sec-demo .sec-inner {
  background: white;
  border: 1.5px solid #e8ede8;
  border-radius: 14px;
  padding: 12px 14px;
}

.guide-sec-demo .inner-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2D4A3E;
  margin-bottom: 6px;
}

.guide-sec-demo .inner-text {
  font-size: 0.6rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.guide-sec-demo .inner-btn {
  background: #3a5e4a;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.guide-sec-demo .about-label {
  font-size: 0.55rem;
  color: #48A868;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.guide-sec-demo .about-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2D4A3E;
  display: block;
  margin-bottom: 6px;
}

.guide-sec-demo .about-text {
  font-size: 0.6rem;
  color: #666;
  line-height: 1.5;
}

.guide-sec-demo .about-list {
  font-size: 0.58rem;
  color: #555;
  line-height: 1.6;
  margin-top: 4px;
}

.guide-sec-demo .about-subtitle {
  font-size: 0.55rem;
  color: #48A868;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 2px;
  display: block;
}

.guide-sec-demo .fab-group {
  position: absolute;
  right: 16px; bottom: 56px;
  z-index: 50;
  display: flex; flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.guide-sec-demo .fab-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #3a5e4a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(45,74,62,0.35);
  cursor: pointer;
}
.guide-sec-demo .fab-btn svg { width: 15px; height: 15px; fill: white; }
.guide-sec-demo .fab-btn.share-btn { width: 34px; height: 34px; }
.guide-sec-demo .fab-btn.share-btn svg { width: 14px; height: 14px; }

.guide-sec-demo .tab-bar {
  height: 44px;
  background: #2D4A3E;
  display: flex; align-items: center;
  justify-content: space-around;
  padding: 0 20px;
  flex-shrink: 0;
}

.guide-sec-demo .tab-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  opacity: 0.35; position: relative;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
}

.guide-sec-demo .tab-item.active { opacity: 1; }
.guide-sec-demo .tab-item svg { width: 19px; height: 19px; fill: white; }

.guide-sec-demo .tab-dot {
  width: 4px; height: 4px;
  background: white; border-radius: 50%;
  opacity: 0;
}
.guide-sec-demo .tab-item.active .tab-dot { opacity: 1; }

.guide-sec-demo .url-pill {
  text-align: center; padding: 5px 0 6px;
  background: #2D4A3E; flex-shrink: 0;
}
.guide-sec-demo .url-pill span {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.12);
  padding: 3px 14px; border-radius: 10px;
  font-weight: 500;
}

@media (max-width: 680px) {
  .guide-sec-demo {
    flex-direction: column; align-items: center;
    padding: 32px 0; gap: 40px;
  }
  .guide-sec-demo-text { text-align: center; }
}

@media (max-width: 720px) {
  .guide-section .dnd-demo-section {
    padding: 32px 0;
  }
}
/* ===== END GUIDE SECTION DEMO ===== */
