/* Cloud Neural Ops — premium dark theme */
:root {
  --bg-deep: #070b14;
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-soft: #182338;
  --line: rgba(201, 162, 39, 0.18);
  --line-strong: rgba(94, 234, 212, 0.28);
  --text: #e8eef8;
  --text-muted: #9aa8c0;
  --gold: #c9a227;
  --gold-soft: #e4c76a;
  --teal: #5eead4;
  --teal-dim: #2dd4bf;
  --danger: #f87171;
  --ok: #34d399;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --header-h: 76px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(900px 600px at 90% 8%, rgba(201, 162, 39, 0.14), transparent 50%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, #0a101c);
  min-height: 100vh;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--gold-soft);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.35), transparent 55%),
    linear-gradient(225deg, rgba(201, 162, 39, 0.55), #132038);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft) !important;
  background: rgba(201, 162, 39, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(12, 18, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a88414);
  color: #14100a;
}

.btn-primary:hover {
  color: #14100a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.btn-ghost {
  border-color: rgba(94, 234, 212, 0.35);
  color: var(--teal);
  background: rgba(94, 234, 212, 0.05);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(201, 162, 39, 0.45);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero variants */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.45);
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.72) 48%, rgba(7, 11, 20, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--text);
  margin-bottom: 0.6rem;
  background: linear-gradient(120deg, #fff 20%, var(--gold-soft) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.9s ease both;
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.75rem;
  animation: fadeUp 0.9s ease 0.12s both;
}

.hero-support {
  font-size: 1.05rem;
  max-width: 38rem;
  animation: fadeUp 0.9s ease 0.22s both;
}

.hero .btn-row {
  animation: fadeUp 0.9s ease 0.32s both;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerLine {
  from { transform: scaleX(0.4); opacity: 0.4; }
  to { transform: scaleX(1); opacity: 1; }
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

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

.panel {
  background: linear-gradient(160deg, rgba(24, 35, 56, 0.9), rgba(12, 18, 32, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel-accent {
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.12);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

.stat {
  padding: 1.15rem 1.2rem;
  border-left: 2px solid var(--teal);
  background: rgba(18, 26, 43, 0.7);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
}

.stat span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.course-grid,
.card-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.35rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

@media (max-width: 900px) {
  .course-grid,
  .blog-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.course-card,
.blog-card,
.price-card,
.review-card {
  background: rgba(18, 26, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.course-card:hover,
.blog-card:hover,
.price-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-3px);
}

.course-card img,
.blog-card img,
.page-hero img,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-body,
.blog-body,
.price-body,
.review-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.meta {
  color: var(--gold-soft);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.price-card {
  padding: 1.6rem;
}

.price-card.featured {
  border-color: rgba(201, 162, 39, 0.5);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.1), transparent 40%),
    rgba(18, 26, 43, 0.9);
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.price small {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 1.5rem 0;
}

.quote-block p {
  color: var(--text);
  font-size: 1.15rem;
  font-style: italic;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.avatar-row img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 162, 39, 0.45);
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.page-hero .hero-media {
  position: absolute;
  inset: 0;
}

.page-hero .hero-content {
  padding: 4rem 0 2.5rem;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose ul,
.prose ol {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.module-list {
  display: grid;
  gap: 0.85rem;
}

.module {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(18, 26, 43, 0.55);
}

.module h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq p {
  margin-top: 0.65rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 20, 0.7);
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(94, 234, 212, 0.35);
  border-color: rgba(94, 234, 212, 0.45);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  vertical-align: top;
}

th {
  color: var(--text);
  background: rgba(18, 26, 43, 0.9);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 14, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

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

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

.footer-heading {
  font-size: 0.95rem;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-address a {
  color: var(--text-muted);
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: rgba(12, 18, 32, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fadeUp 0.35s ease both;
}

.cookie-banner p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  background: linear-gradient(120deg, var(--gold-soft), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline {
  display: grid;
  gap: 1.2rem;
  border-left: 2px solid rgba(94, 234, 212, 0.25);
  padding-left: 1.25rem;
}

.timeline-item h3 {
  font-size: 1.05rem;
}

.accent-line {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  margin: 0.75rem 0 1.25rem;
  transform-origin: left;
  animation: shimmerLine 1.2s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rating {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

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

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.legal-nav a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}
