/* Shared Learmond Systems styles. Loaded from the root static/css platform route. */
:root {
  --rackstack-primary: #4b0082;
  --rackstack-secondary: #6a0dad;
  --rackstack-accent: #00d2ff;
  --systems-dark: #1a1a1a;
  --systems-light: #f4f4f9;
}

body.systems-shell {
  background-color: var(--systems-light);
  color: var(--systems-dark);
}

.systems-shell main {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

.systems-home-page {
  margin-top: -19.9px;
}

.systems-page-header {
  text-align: left;
  padding: 0 20px;
}

.systems-page-content {
  width: 100%;
  margin: 32px 0 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.systems-page-list {
  display: inline-block;
  text-align: left;
  margin: 12px auto 0;
  padding-left: 20px;
}

.systems-shell .home-hero {
  background: linear-gradient(135deg, var(--systems-dark) 0%, #2c3e50 100%);
  color: white;
  padding: 60px 20px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.systems-shell .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(106, 13, 173, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.systems-shell .hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.systems-shell .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.03rem;
  color: var(--rackstack-accent);
}

.systems-shell .home-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.systems-shell .home-hero p {
  font-size: 1.25rem;
  color: #cbd5e0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.systems-shell .cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.systems-shell .btn-rackstack,
.systems-shell .pod-link,
.systems-shell .btn-rack-action {
  background: var(--rackstack-primary);
  color: white !important;
  text-decoration: none;
  font-weight: 700;
}
.systems-home-page .app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 220px));
  gap: 40px 60px;
  align-items: start;
  justify-content: start;
  width: 100%;
  max-width: none;
  margin: 0
}

.systems-home-page .app-module {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  padding: 8px 0 14px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  min-height: 0;
  transition: transform 180ms ease
}

.systems-home-page .app-module:hover {
  transform: translateY(-2px)
}

.systems-home-page .app-icon {
  margin-bottom: 16px
}

.systems-home-page .app-icon a {
  display: block;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  box-shadow: none
}

.systems-home-page .app-icon img {
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.1);
  border: 1px solid #edf0f7
}

.systems-home-page .app-module h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1
}

.systems-home-page .app-module p {
  margin: 0 0 10px;
  color: #586072;
  line-height: 1.5;
  font-size: 0.95rem
}

.systems-home-page .app-link {
  width: 58px;
  height: 58px;
  border: 1px solid transparent;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease
}

.systems-home-page .app-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2);
  filter: saturate(1.05)
}

.systems-home-page .app-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2);
  filter: saturate(1.05);
  outline: 3px solid rgba(41, 120, 240, 0.22);
  outline-offset: 3px
}

.systems-home-page .app-link-ios {
  background: linear-gradient(180deg, #1e1f23 0%, #050505 100%)
}

.systems-home-page .app-link-source {
  background: #ffffff;
  border-color: #efe4a6;
  color: #f2c300
}

.systems-home-page .app-link-source-mark {
  display: block;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #f2c300
}

.systems-home-page .app-link-android {
  background: linear-gradient(180deg, #38b36d 0%, #179f54 100%)
}

.systems-home-page .app-link i {
  font-size: 1.55rem;
  line-height: 1
}


.systems-shell .btn-rackstack {
  padding: 14px 32px;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 20px rgba(75, 0, 130, 0.3);
}

.systems-shell .btn-rackstack:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(75, 0, 130, 0.4);
  background: var(--rackstack-secondary);
}

/* Secondary CTA in hero ("Technical Support") */
.systems-shell .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.systems-shell .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.systems-shell .features-section {
  padding: 13px 40px 12px;
  max-width: 900px;
  margin: 0 auto;
}

.systems-shell .section-title {
  text-align: center;
  margin-bottom: 24px;
}

.systems-shell .section-title h2 {
  margin-top: 0;
  font-weight: 800;
  margin-bottom: 12px;
}

.systems-shell .section-title p {
  color: #4a5568;
  max-width: 900px;
  margin: 0 auto;
}

.systems-shell .feature-grid,
.systems-shell .tier-grid {
  display: grid;
  gap: 24px;
}

.systems-shell .feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.systems-shell .feature-card,
.systems-shell .webdesign-includes,
.systems-shell .tier-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.3s, transform 0.3s;
  text-align: left;
}

.systems-shell .feature-card {
  padding: 12px 40px 40px;
}

.systems-shell .feature-card p {
  line-height: 1.6;
}

.systems-shell .feature-card:hover,
.systems-shell .webdesign-includes:hover {
  border-color: var(--rackstack-primary);
  transform: translateY(-5px);
}

.systems-shell .feature-icon {
  font-size: 2rem;
  color: var(--rackstack-primary);
  margin-bottom: 20px;
}

.systems-shell .webdesign-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
}

.systems-shell .service-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
}

.systems-shell .service-stack .feature-card {
  flex: 1;
}

.systems-shell .webdesign-includes {
  padding: 12px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.systems-shell .feature-card h3,
.systems-shell .webdesign-includes h3 {
  margin-top: 0;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--systems-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.systems-shell .capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.systems-shell .capabilities-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #4a5568;
  font-weight: 500;
  line-height: 1.6;
}

.systems-shell .pod-link {
  margin-top: 10px;
  display: inline-block;
  text-align: center;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.systems-shell .feature-card .pod-link {
  cursor: pointer;
}

.systems-shell .pod-link:hover {
  opacity: 0.86;
}

.systems-shell .app-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 32px !important;
  padding: 0 20px !important;
  margin-top: 16px !important;
}

.systems-shell .app-module {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

.systems-shell .app-icon {
  width: 160px !important;
  height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #fff !important;
  border-radius: 32px !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.systems-shell .app-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.systems-shell .source-app-icon {
  background-color: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.systems-shell .source-app-icon img {
  border-radius: 32px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.systems-shell .app-buttons {
  display: flex !important;
  gap: 15px !important;
  margin-top: 12px !important;
}

.systems-shell .app-link {
  font-size: 32px !important;
  color: #333 !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
  text-decoration: none !important;
}

.systems-shell .app-link:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.systems-shell .app-link-ios {
  color: #000 !important;
}

.systems-shell .app-link-android {
  color: #3ddc84 !important;
}

.systems-shell .rackstack-container {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.systems-shell .tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.systems-shell .tier-card {
  padding: 32px;
  border-radius: 16px;
}

.systems-shell .tier-card:hover {
  transform: translateY(-5px);
}

.systems-shell .tier-card.featured {
  border-color: var(--rackstack-primary);
  box-shadow: 0 10px 30px rgba(75, 0, 130, 0.1);
}

.systems-shell .tier-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 20px 0;
}

.systems-shell .btn-rack-action {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
}

.systems-shell .contact-container {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  max-width: 900px;
  margin: 0 auto;
}

.systems-shell .contact-header {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.systems-shell .contact-form-panel {
  flex: 1.2;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-sizing: border-box;
}

.systems-shell .support-form-row {
  display: flex;
  gap: 20px;
}

.systems-shell .support-form-col {
  flex: 1;
}

.systems-shell .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.systems-shell .form-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--rackstack-primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.systems-shell .contact-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 20000;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
}

.systems-shell .contact-popup-overlay.active {
  display: grid;
  align-items: center;
  justify-items: center;
}

.systems-shell .contact-popup {
  background: #fff;
  border-radius: 18px;
  padding: 64px 48px;
  max-width: 900px;
  width: calc(100% - 48px);
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  animation: systems-contact-popup-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  margin-top: 5vh;
}

.systems-shell #contact-popup-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
  text-align: left;
}

.systems-shell .contact-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  z-index: 10;
}

.systems-shell .contact-popup-close:hover {
  color: #333;
}

.systems-shell .cpop-info-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.systems-shell .cpop-info-col h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
}

.systems-shell .cpop-info-col .cpop-sub {
  margin: 0 0 24px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
}

.systems-shell .cpop-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.systems-shell .cpop-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

.systems-shell .cpop-bullet-icon {
  color: var(--rackstack-primary);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.systems-shell .cpop-bullet-text {
  flex: 1;
}

.systems-shell .cpop-info-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.systems-shell .cpop-footer-note {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.4;
}

.systems-shell .cpop-footer-email {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  line-height: 1.4;
}

.systems-shell .cpop-footer-email a {
  color: var(--rackstack-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.systems-shell .cpop-footer-email a:hover {
  color: var(--rackstack-secondary);
  text-decoration: underline;
}

.systems-shell .contact-popup form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.systems-shell .cpop-row {
  display: flex;
  gap: 16px;
}

.systems-shell .cpop-row .cpop-field {
  flex: 1;
}

.systems-shell .cpop-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

.systems-shell .cpop-field input,
.systems-shell .cpop-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.systems-shell .cpop-field input:focus,
.systems-shell .cpop-field textarea:focus {
  outline: none;
  border-color: #4b0082;
  box-shadow: 0 0 0 2px rgba(75, 0, 130, 0.1);
  background: #fff;
}

.systems-shell .cpop-field textarea {
  resize: vertical;
  min-height: 340px;
}

.systems-shell .cpop-submit {
  width: 100%;
  padding: 13px;
  background: #4b0082;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.systems-shell .cpop-submit:hover {
  background: #6a0dad;
  transform: translateY(-1px);
}

.systems-shell .cpop-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.systems-shell .cpop-ok {
  text-align: center;
  padding: 18px 0;
}

.systems-shell .cpop-ok-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.systems-shell .cpop-ok h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #1a1a1a;
}

.systems-shell .cpop-ok p {
  margin: 0 0 16px;
  color: #666;
  font-size: 0.88rem;
}

.systems-shell .cpop-ok button {
  padding: 10px 28px;
  background: #4b0082;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

@keyframes systems-contact-popup-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.systems-legal-page {
  padding: 0 20px;
  margin: -24px 0 0;
}

.systems-legal-content {
  text-align: center;
}

.systems-legal-content p,
.systems-legal-content li {
  line-height: 1.55;
}
