/* ============================================================
   gitops.html — page-scoped styles.
   This page previously loaded common.css + ruckosplatform.css
   (both now commented out / renamed), so it was rendering with
   zero theme, zero fonts, zero section styling. Everything below
   is migrated from oldcommon.css (base reset/typography) and
   oldruckosplatform.css (hero, buttons, section/card patterns)
   so this page is fully self-contained.
   ============================================================ */

/* @font-face {
  font-family: Assistant-Regular;
  src: url('/assets/font/Assistant-Regular.ttf');
}

@font-face {
  font-family: Assistant-Bold;
  src: url('/assets/font/Assistant-Bold.ttf');
}

* {
  box-sizing: border-box;
  font-family: Assistant-Regular;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Assistant-Bold;
  font-variant-caps: all-small-caps;
} */

/* body, html {
  margin: 0;
  padding: 0;
  background-color: black;
  color: snow;
  line-height: 1.2;
  overflow-x: hidden;
} */

/* Back-to-top button (rendered by the shared footer include on every
   page; styled here since this page no longer loads common.css). */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: #0ea5e9;
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: Assistant-Bold, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: 18px;
}

#myBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(3, 105, 161, 0.35);
  background: #0284c7;
}

#myBtn:active,
#myBtn:focus {
  background: #0369a1;
  color: #e5e7eb;
  outline: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#myBtn i {
  display: none;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 4.2rem 0 4rem;
  background:
    radial-gradient(circle at 84% 82%, rgba(255, 115, 35, 0.16), transparent 18rem),
    radial-gradient(circle at 8% 74%, rgba(255, 115, 35, 0.07), transparent 18rem),
    linear-gradient(180deg, #020202 0%, #010101 68%, #050100 100%);
}

#hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}

#hero .hero-text {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: 100%;
  color: snow;
  text-align: left;
  transform: none;
}

.hero-layout {
  min-height: calc(100vh - 8.8rem);
  position: relative;
  align-items: flex-start !important;
  padding-top: 4.4rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  color: #4f9bd0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 2rem;
  height: 1px;
  background: #ff7a24;
}

.hero-title {
  margin: 0;
  color: #f7f3f0;
  font-size: 4rem;
  font-weight: 800;
  font-variant-caps: normal;
  line-height: 0.98;
  text-transform: none;
}

.hero-title span,
.hero-title strong,
.hero-title b {
  display: block;
}

.hero-title span {
  color: #d8d3d0;
  font-size: 3rem;
  font-weight: 300;
  font-variant-caps: normal;
  text-transform: none;
}

.hero-title strong {
  color: #ffffff;
  font-weight: 100;
  font-variant-caps: normal;
  text-transform: none;
}

.hero-title em {
  color: #ff7a24;
  font-style: normal;
}

.hero-copy {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: #aaa4a0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79, 155, 208, 0.4);
}

#hero .btn-primary {
  background: #ff7a24;
  border: 1px solid #ff7a24;
  box-shadow: 0 1rem 2.4rem rgba(255, 122, 36, 0.24);
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

#hero .btn-primary:hover {
  box-shadow: 0 1.2rem 2.8rem rgba(255, 122, 36, 0.34);
}

#hero .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

#hero .btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 122, 36, 0.12);
  border-color: rgba(255, 122, 36, 0.38);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------
   Section shell + shared headings
   ------------------------------------------------------------ */
.sections {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
}

.section-divider {
  width: 70px;
  height: 4px;
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #4f9bd0, #ff7a24);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-head .portal-kicker {
  margin-bottom: 1.2rem;
}

.section-head .portal-headline {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.section-head .portal-sub {
  margin: 0 auto;
}

.portal-kicker {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(79, 155, 208, 0.3);
  background: rgba(79, 155, 208, 0.1);
  border-radius: 50px;
  color: #4f9bd0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.portal-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.5rem;
}

.portal-gradient {
  background: linear-gradient(135deg, #4f9bd0, #ff7a24 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portal-sub {
  max-width: 720px;
  color: #b8b8b8;
  font-size: 1.2rem;
  line-height: 1.75;
  margin: 0 0 3rem;
}

@media (max-width: 767px) {
  .portal-headline {
    font-size: 2.3rem;
  }

  .section-head .portal-headline {
    font-size: 2rem;
  }
}

/* "Ruckos Cloud" inline link: flips like a card on hover to reveal a
   duplicate, orange-accented copy of the label. */
.cloud-flip-link {
  display: inline-block;
  color: #ff7a24;
  text-decoration: none;
  font-weight: 700;
  perspective: 40rem;
}

.cloud-flip-link:hover,
.cloud-flip-link:focus-visible {
  color: #ff7a24;
  text-decoration: none;
  outline: none;
}

.cloud-flip-inner {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.cloud-flip-link:hover .cloud-flip-inner,
.cloud-flip-link:focus-visible .cloud-flip-inner {
  transform: rotateX(180deg);
}

.cloud-flip-face {
  display: block;
  backface-visibility: hidden;
}

.cloud-flip-back {
  position: absolute;
  top: 0;
  left: 0;
  color: #7cbde6;
  transform: rotateX(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .cloud-flip-inner {
    transition: none;
  }
}

/* ------------------------------------------------------------
   #managed-services — icon + checklist service cards
   ------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(15, 15, 15, 0.6);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(79, 155, 208, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4f9bd0, #ff7a24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

#managed-services .service-card {
  padding: 2rem;
  text-align: left;
}

#managed-services .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

#managed-services .service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

#managed-services .service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#managed-services .service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: #a0a0a0;
  line-height: 1.5;
}

#managed-services .service-list li i {
  color: #4f9bd0;
  margin-top: 0.2rem;
}

.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(79, 155, 208, 0.1);
  border: 1px solid rgba(79, 155, 208, 0.25);
  color: #b8b8b8;
  font-size: 0.9rem;
  font-weight: 600;
}

.cloud-tag i {
  color: #4f9bd0;
}

.cta-container {
  padding: 3rem;
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.cta-text {
  color: #a0a0a0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------
   #services — solution cards
   ------------------------------------------------------------ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-card {
  background: rgba(15, 15, 15, 0.6);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 155, 208, 0.3);
}

.solution-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.solution-card .card-description {
  color: #a0a0a0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ------------------------------------------------------------
   #core — GitOps principles feature cards
   ------------------------------------------------------------ */
.bg-accent {
  background: rgba(15, 15, 15, 0.8);
  position: relative;
  overflow: hidden;
}

.bg-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 155, 208, 0.05) 0%, rgba(255, 122, 36, 0.05) 100%);
  z-index: 0;
}

.bg-accent > * {
  position: relative;
  z-index: 1;
}

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

@media (max-width: 767px) {
  .nytro-grid {
    grid-template-columns: 1fr;
  }
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.card-content {
  color: #a0a0a0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.ai-enhancement {
  background: rgba(79, 155, 208, 0.1);
  border: 1px solid rgba(79, 155, 208, 0.2);
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: auto;
  font-size: 0.9rem;
  color: #4f9bd0;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-title span {
    font-size: 2.6rem;
  }

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

@media (max-width: 992px) {
  #hero {
    padding: 6rem 0 5rem;
  }

  .hero-layout {
    min-height: auto;
    gap: 3rem;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: auto;
  }

  .hero-kicker {
    align-items: flex-start;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title span {
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 1rem;
  }
}
