/* Fashion Webinar SaaS — light professional theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #FB6107;
  --accent: #F3DE2C;
  --secondary: #7CB518;
  --dark-green: #5C8001;
  --warm-accent: #FBB02D;
  --primary-rgb: 251, 97, 7;
  --accent-rgb: 243, 222, 44;
  --secondary-rgb: 124, 181, 24;
  --dark-green-rgb: 92, 128, 1;
  --warm-accent-rgb: 251, 176, 45;
  --soft-bg: #fff9ed;
  --soft-bg-alt: #f8fbe9;
  --soft-border: rgba(var(--warm-accent-rgb), 0.32);
  --soft-shadow: 0 18px 48px rgba(var(--primary-rgb), 0.12);
  --soft-shadow-lg: 0 28px 72px rgba(var(--dark-green-rgb), 0.16);
  --saas-bg: var(--soft-bg);
  --saas-surface: #ffffff;
  --saas-border: var(--soft-border);
  --saas-text: #263203;
  --saas-muted: #6c6845;
  --saas-radius: 12px;
  --saas-shadow: var(--soft-shadow);
  --saas-shadow-lg: var(--soft-shadow-lg);
  --accent-red: var(--primary);
  --accent-blue: var(--primary);
  --accent-green: var(--secondary);
  --accent-yellow: var(--accent);
  --saas-focus: rgba(var(--accent-rgb), 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body.app-body,
body.admin-body,
body {
  background: var(--saas-bg);
  color: var(--saas-text);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

.text-saas-heading {
  color: var(--saas-text);
}

.text-saas-muted {
  color: var(--saas-muted);
}

/* Navbar */
.navbar-saas {
  background: var(--saas-surface) !important;
  border-bottom: 1px solid var(--saas-border);
  box-shadow: var(--saas-shadow);
  z-index: 1040;
}

.navbar-saas .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--saas-text) !important;
  min-width: max-content;
}

.navbar-saas .nav-link {
  color: var(--saas-muted) !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.4rem 0.75rem !important;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.navbar-saas .navbar-collapse {
  min-width: 0;
}

.navbar-saas .navbar-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.35rem;
}

.navbar-saas .nav-link:hover {
  color: var(--accent-blue) !important;
  background: rgba(var(--accent-rgb), 0.16);
}

.navbar-saas .nav-link.active {
  color: var(--accent-blue) !important;
  background: rgba(var(--accent-rgb), 0.2);
}

.navbar-saas .btn {
  white-space: nowrap;
}

/* Cards */
.saas-card,
.webinar-card {
  background: var(--saas-surface);
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  box-shadow: var(--saas-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
  overflow: hidden;
}

.webinar-card:hover,
.saas-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.28);
  box-shadow: var(--saas-shadow-lg);
}

.webinar-card .card-img-top {
  object-fit: cover;
  max-height: 180px;
}

/* Modified: admin upload/thumbnail preview surfaces */
.admin-thumb-preview {
  border: 1px solid var(--saas-border);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  max-width: 360px;
}

.admin-thumb-preview img,
.add-webinar-preview > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.admin-table-thumb {
  width: clamp(64px, 8vw, 96px);
  height: clamp(42px, 5vw, 58px);
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--saas-border);
  background: #f8fafc;
  display: block;
}

.add-webinar-preview {
  position: sticky;
  top: 1rem;
}

.upload-preview-box {
  margin-top: 0.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 10px;
  background: #f8fbff;
}

.upload-preview-box a {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  color: var(--saas-text);
  text-decoration: none;
}

.upload-preview-box i {
  color: var(--accent-blue);
  font-size: 1.65rem;
}

.upload-preview-pdf i {
  color: var(--accent-red);
}

.upload-preview-box small,
.upload-preview-box strong {
  display: block;
  line-height: 1.2;
}

.upload-preview-box strong {
  max-width: 26rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Modified: reusable luxury fashion public pages for About, Services, Contact, and footer. */
.luxe-page {
  --luxe-black: var(--dark-green);
  --luxe-ink: #263203;
  --luxe-gold: var(--warm-accent);
  --luxe-silver: #fff4cc;
  --luxe-grey: #6c6845;
  --luxe-line: rgba(var(--dark-green-rgb), 0.16);
  position: relative;
  color: var(--luxe-ink);
}

.luxe-hero,
.luxe-section {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  isolation: isolate;
}

.luxe-hero {
  min-height: min(72vh, 660px);
  padding: clamp(2.5rem, 6vw, 5.5rem);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f4f5f6 44%, #111111 100%);
  border: 1px solid rgba(201, 163, 78, 0.28);
  box-shadow: 0 24px 70px rgba(8, 8, 8, 0.16);
}

.luxe-section {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--luxe-line);
}

.luxe-grid-bg,
.luxe-grid-half::before {
  position: absolute;
  inset: 0 50% 0 0;
  content: "";
  background-image:
    linear-gradient(rgba(201, 163, 78, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 221, 227, 0.7) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  animation: luxeGrid 18s linear infinite;
  z-index: -2;
}

#luxeWebglBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.52;
}

.luxe-kicker {
  color: var(--luxe-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.luxe-page h1 {
  max-width: 12ch;
  color: var(--luxe-black);
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 1rem;
}

.luxe-page h2 {
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.luxe-lead {
  color: #34373a;
  max-width: 42rem;
  font-size: 1.06rem;
  line-height: 1.8;
}

.luxe-glass-panel,
.luxe-copy-card,
.luxe-service,
.luxe-info-tile,
.luxe-stat,
.luxe-contact-form {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(216, 221, 227, 0.32));
  box-shadow: 0 18px 55px rgba(8, 8, 8, 0.13);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.luxe-glass-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: #fff;
  background: linear-gradient(145deg, rgba(8, 8, 8, 0.78), rgba(78, 80, 83, 0.52));
}

.luxe-glass-panel span {
  color: var(--luxe-silver);
  display: block;
  margin-bottom: 0.5rem;
}

.luxe-glass-panel strong {
  color: #fff;
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.luxe-glass-panel p,
.luxe-copy-card p,
.luxe-service p,
.luxe-info-tile p,
.luxe-feature p,
.luxe-footer p {
  color: var(--luxe-grey);
  line-height: 1.7;
  margin-bottom: 0;
}

.luxe-glass-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.luxe-stat {
  min-height: 150px;
  padding: 1.35rem;
  display: grid;
  align-content: end;
  background: #101010;
}

.luxe-stat strong {
  color: var(--luxe-gold);
  font-size: 2.4rem;
  line-height: 1;
}

.luxe-stat span {
  color: var(--luxe-silver);
  margin-top: 0.5rem;
}

.luxe-copy-card,
.luxe-service,
.luxe-info-tile,
.luxe-contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.luxe-service,
.luxe-info-tile {
  min-height: 250px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.luxe-service i,
.luxe-info-tile i,
.luxe-feature i {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--luxe-black);
  background: linear-gradient(135deg, var(--luxe-gold), var(--luxe-silver));
  margin-bottom: 1rem;
}

.luxe-service h2,
.luxe-info-tile h2 {
  font-size: 1.15rem;
}

.luxe-feature-list {
  display: grid;
  gap: 1rem;
}

.luxe-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--luxe-line);
}

.luxe-feature h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.luxe-contact-form .form-control {
  min-height: 3.25rem;
  border-radius: 8px;
  border-color: rgba(25, 25, 25, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.luxe-submit {
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  background: var(--luxe-black);
  border-color: var(--luxe-black);
}

.luxe-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 163, 78, 0.55);
  box-shadow: 0 22px 65px rgba(8, 8, 8, 0.17);
}

.luxe-cursor {
  position: fixed;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--luxe-gold);
  border: 1px solid rgba(201, 163, 78, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
}

.luxe-cursor.is-active {
  width: 48px;
  height: 48px;
  background: rgba(8, 8, 8, 0.82);
}

.luxe-footer {
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 8px;
  background: linear-gradient(135deg, #080808, #2d2f31);
  color: #fff;
  overflow: hidden;
}

.luxe-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 1.5rem;
  align-items: end;
}

.luxe-footer h2 {
  max-width: 36rem;
  color: #fff;
}

.luxe-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.luxe-footer-links a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(216, 221, 227, 0.2);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.luxe-footer-links a:hover {
  color: var(--luxe-gold);
  background: rgba(255, 255, 255, 0.14);
}

@keyframes luxeGrid {
  to { background-position: 34px 34px; }
}

@media (pointer: fine) {
  .luxe-cursor {
    display: inline-flex;
  }
}

/* Stitch home layout */
.stitch-home {
  --stitch-bg: var(--soft-bg);
  --stitch-ink: #263203;
  --stitch-muted: #6c6845;
  --stitch-gold: var(--dark-green);
  --stitch-gold-soft: var(--warm-accent);
  --stitch-line: var(--soft-border);
  --stitch-panel: #ffffff;
  margin: -1.5rem calc(50% - 50vw) 0;
  background: var(--stitch-bg);
  color: var(--stitch-ink);
  font-family: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif;
  overflow: hidden;
}

.stitch-home img {
  display: block;
  width: 100%;
}

.stitch-home h1,
.stitch-home h2,
.stitch-home blockquote {
  font-family: "Bodoni Moda", Georgia, serif;
  letter-spacing: 0;
}

.stitch-hero {
  position: relative;
  min-height: clamp(620px, 92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  isolation: isolate;
}

.stitch-hero-img,
.stitch-cta > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.stitch-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--dark-green-rgb), 0.72) 0%, rgba(var(--primary-rgb), 0.22) 48%, rgba(var(--dark-green-rgb), 0.78) 100%);
}

.stitch-hero-content {
  width: min(920px, calc(100% - 40px));
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.stitch-hero h1,
.stitch-cta h2 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.stitch-hero p,
.stitch-cta p {
  max-width: 660px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0.92;
}

.stitch-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 2.25rem;
  border: 1px solid transparent;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.stitch-btn:hover {
  transform: translateY(-2px);
}

.stitch-btn-gold {
  background: var(--stitch-gold);
  color: #ffffff;
}

.stitch-btn-gold:hover {
  background: var(--stitch-gold-soft);
  color: #1a1c1c;
}

.stitch-btn-light {
  border-color: rgba(255, 255, 255, 0.82);
  color: #ffffff;
}

.stitch-btn-light:hover {
  background: #ffffff;
  color: #111111;
}

.stitch-section {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

/* Full-page wrappers use data-stitch-ui; grid split is for legacy blocks only */
.stitch-about:not([data-stitch-ui]) {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.stitch-portrait {
  position: relative;
}

.stitch-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.stitch-portrait:hover img {
  filter: grayscale(0);
  transform: scale(1.01);
}

.stitch-badge {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: min(230px, 55%);
  padding: 1.5rem;
  background: var(--accent);
  color: #241a00;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.stitch-badge strong {
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stitch-badge span,
.stitch-kicker,
.stitch-meta,
.stitch-course-foot,
.stitch-feature h3,
.stitch-showcase-head a,
.stitch-quote strong,
.stitch-quote span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stitch-kicker,
.stitch-meta,
.stitch-showcase-head a,
.stitch-course-foot a {
  color: var(--stitch-gold);
}

.stitch-kicker {
  display: block;
  margin-bottom: 1.1rem;
}

.stitch-about h2,
.stitch-section-head h2,
.stitch-showcase h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.6rem;
  font-weight: 600;
}

.stitch-about p {
  color: var(--stitch-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.stitch-about blockquote {
  margin: 2rem 0 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--stitch-gold);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--stitch-ink);
}

.stitch-disciplines {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1440px) / 2));
  padding-right: max(20px, calc((100vw - 1440px) / 2));
  background: #f3f3f4;
}

.stitch-section-head {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.stitch-course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stitch-course-card {
  display: flex;
  flex-direction: column;
  background: var(--stitch-panel);
  border: 1px solid var(--stitch-line);
  min-height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.stitch-course-card:hover {
  border-color: var(--stitch-gold-soft);
  box-shadow: 0 28px 70px rgba(26, 28, 28, 0.1);
  transform: translateY(-6px);
}

.stitch-course-img {
  display: block;
  overflow: hidden;
  background: #e2e2e2;
}

.stitch-course-img img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.stitch-course-card:hover .stitch-course-img img {
  transform: scale(1.06);
}

.stitch-course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.stitch-course-body h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 0.8rem;
}

.stitch-course-body p {
  color: var(--stitch-muted);
  line-height: 1.65;
}

.stitch-course-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.stitch-course-foot a,
.stitch-showcase-head a {
  text-decoration: none;
}

.stitch-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--stitch-line);
  border-bottom: 1px solid var(--stitch-line);
}

.stitch-feature {
  text-align: center;
}

.stitch-feature i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.25rem;
  color: var(--stitch-gold);
  font-size: 2.4rem;
}

.stitch-feature p {
  color: var(--stitch-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

.stitch-showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.stitch-gallery {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 1.5rem;
  min-height: min(900px, 70vw);
}

.stitch-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #e2e2e2;
}

.stitch-gallery-large {
  grid-row: span 2;
}

.stitch-gallery img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.stitch-gallery figure:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.stitch-gallery figcaption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  color: #ffffff;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
}

.stitch-quote {
  padding: clamp(4rem, 8vw, 7rem) 20px;
  background: #e2e2e2;
  text-align: center;
}

.stitch-quote i {
  color: var(--stitch-gold-soft);
  font-size: clamp(3rem, 6vw, 5rem);
}

.stitch-quote p {
  max-width: 880px;
  margin: 1.5rem auto 2rem;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.22;
  font-style: italic;
}

.stitch-quote strong,
.stitch-quote span {
  display: block;
}

.stitch-quote span {
  margin-top: 0.5rem;
  color: var(--stitch-gold);
}

.stitch-cta {
  position: relative;
  min-height: clamp(560px, 75vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 8rem) 20px;
  color: #ffffff;
  text-align: center;
  isolation: isolate;
}

.stitch-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.66);
}

.stitch-cta > div {
  width: min(940px, 100%);
}

@media (max-width: 1199.98px) {
  .stitch-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .navbar-saas .navbar-nav {
    align-items: stretch !important;
    justify-content: flex-start;
    padding-top: 0.75rem;
  }

  .navbar-saas .nav-link,
  .navbar-saas .btn {
    width: 100%;
    text-align: left;
  }

  .stitch-about:not([data-stitch-ui]),
  .stitch-features,
  .stitch-gallery {
    grid-template-columns: 1fr;
  }

  .stitch-gallery {
    grid-template-rows: none;
    min-height: 0;
  }

  .stitch-gallery figure,
  .stitch-gallery-large {
    min-height: 320px;
    grid-row: auto;
  }
}

@media (max-width: 575.98px) {
  .stitch-home {
    margin-top: -1rem;
  }

  .stitch-hero {
    min-height: 660px;
  }

  .stitch-actions,
  .stitch-course-foot,
  .stitch-showcase-head {
    align-items: stretch;
    flex-direction: column;
  }

  .stitch-btn {
    width: 100%;
  }

  .stitch-section {
    width: min(100% - 32px, 1440px);
    padding: 4rem 0;
  }

  .stitch-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .stitch-course-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 45%, #fefce8 100%);
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  box-shadow: var(--saas-shadow);
}

.hero-section .lead {
  color: var(--saas-muted) !important;
}

.hero-canvas-wrap {
  min-height: 280px;
  border-radius: var(--saas-radius);
  border: 1px solid var(--saas-border);
  background: linear-gradient(160deg, #eff6ff 0%, #fff 50%, #fef9c3 100%);
}

#heroCanvas {
  width: 100%;
  height: 280px;
  display: block;
}

.video-slider-section {
  position: relative;
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.96) 0%, rgba(8, 8, 8, 0.9) 100%);
  border: 1px solid rgba(255, 214, 117, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.33);
  overflow: hidden;
}

.video-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
}

.video-slider-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255, 214, 117, 0.14), transparent 18%),
              radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.08), transparent 16%);
  pointer-events: none;
  z-index: 0;
}

.video-slider {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  z-index: 1;
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.video-slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.video-slide-copy {
  z-index: 1;
}

.video-slide-label {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 214, 117, 0.18);
  color: #f9e7b1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.video-slide-copy h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.video-slide-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.video-slide video {
  width: 100%;
  min-height: 330px;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.video-slide-control {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 117, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.video-slide-control.active,
.video-slide-control:hover {
  background: rgba(255, 214, 117, 0.22);
  border-color: rgba(255, 214, 117, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .video-slide {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .video-slide {
    padding: 1rem;
  }
}

/* Admin layout */
.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--saas-surface);
  border-right: 1px solid var(--saas-border);
  box-shadow: var(--saas-shadow);
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.admin-sidebar .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--saas-text);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--saas-border);
  margin-bottom: 1rem;
}

.admin-sidebar a.nav-item-admin {
  color: var(--saas-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.admin-sidebar a.nav-item-admin:hover {
  color: var(--accent-blue);
  background: rgba(var(--accent-rgb), 0.18);
}

.admin-sidebar a.nav-item-admin.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--warm-accent));
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.26);
}

.admin-main {
  flex: 1;
  padding: 1.75rem 2rem;
  max-width: 100%;
}

.page-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.18);
  margin-bottom: 0.5rem;
}

.glass-card {
  background: var(--saas-surface);
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  box-shadow: var(--saas-shadow);
}

/* Video learner */
.video-wrap {
  max-width: 100%;
  margin: auto;
  border-radius: var(--saas-radius);
  overflow: hidden;
  border: 1px solid var(--saas-border);
  box-shadow: var(--saas-shadow-lg);
}

.watermark {
  position: absolute;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.45);
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
  font-size: 0.75rem;
}

.video-blur #secureVideo {
  filter: blur(12px);
}

/* YouTube-style playlist */
.playlist-yt {
  background: var(--saas-surface);
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  max-height: 420px;
  overflow-y: auto;
}

.playlist-yt-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--saas-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}

.playlist-yt-item:last-child {
  border-bottom: 0;
}

.playlist-yt-item:hover {
  background: #f1f5f9;
}

.playlist-yt-item.active {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), transparent);
  border-left: 3px solid var(--accent-blue);
}

.playlist-yt-num {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--saas-muted);
}

.playlist-yt-meta {
  flex: 1;
  min-width: 0;
}

.playlist-yt-title {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-yt-dur {
  font-size: 0.75rem;
  color: var(--saas-muted);
}

/* Legacy playlist-item */
.playlist-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--saas-text);
  text-decoration: none;
  background: var(--saas-surface);
  border: 1px solid var(--saas-border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.playlist-item:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--saas-shadow);
}

.playlist-item.active {
  border-color: var(--accent-blue);
  background: rgba(var(--accent-rgb), 0.16);
}

/* Forms */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 0.2rem var(--saas-focus);
}

.form-control,
.form-select {
  border-color: var(--saas-border);
}

/* Buttons micro-interaction */
.btn {
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-saas-primary {
  background: linear-gradient(135deg, var(--primary), var(--warm-accent));
  border: 0;
  color: #fff;
}

.btn-saas-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* Heart wishlist */
.wishlist-heart {
  border: 1px solid var(--saas-border);
  background: var(--saas-surface);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--saas-muted);
  transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.wishlist-heart:hover {
  color: var(--accent-red);
  border-color: rgba(220, 38, 38, 0.35);
}

.wishlist-heart.is-active {
  color: #fff;
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Modified: high-end student footer with lightweight WebGL backdrop */
.student-luxe-footer {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 210px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--secondary) 55%, #263203 100%);
  isolation: isolate;
}

.student-luxe-footer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  z-index: -1;
}

.student-luxe-footer-inner {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.28));
}

.student-luxe-footer p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 34rem;
}

.footer-brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 0.75rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.footer-link-grid a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  transition: background 0.2s, transform 0.15s;
}

.footer-link-grid a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.index-luxe-footer {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(3rem, 4vw, 4.5rem);
  background: radial-gradient(circle at top left, rgba(255, 241, 205, 0.88), transparent 26%),
              linear-gradient(135deg, #ffffff 0%, #f8f2e7 42%, #161616 100%);
  color: #121212;
  border: 1px solid rgba(201, 163, 78, 0.16);
  box-shadow: 0 36px 90px rgba(17, 17, 17, 0.14);
}

.index-luxe-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 12%, rgba(201, 163, 78, 0.18), transparent 22%),
              radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.22), transparent 18%);
  pointer-events: none;
}

.index-luxe-footer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.88;
}

.index-luxe-footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 226, 171, 0.14), rgba(10, 10, 10, 0.28));
  pointer-events: none;
  z-index: 0;
}

.index-luxe-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 1.8rem;
  align-items: center;
}

.index-luxe-footer-copy {
  max-width: 42rem;
}

.footer-label {
  display: inline-flex;
  align-items: center;
  color: #9b7b2d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.index-luxe-footer h2 {
  font-size: clamp(2.1rem, 3vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #111111;
}

.index-luxe-footer p {
  max-width: 38rem;
  color: rgba(17, 17, 17, 0.78);
  line-height: 1.75;
}

.footer-actions .btn-gold {
  background: linear-gradient(135deg, var(--primary), var(--warm-accent));
  color: #111111;
  border: 1px solid rgba(201, 163, 78, 0.38);
}

.footer-actions .btn-outline-light {
  color: #f8f3e8;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.index-luxe-footer-stats {
  display: grid;
  gap: 1rem;
}

.footer-stat {
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.footer-stat strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #1f1f1f;
  margin-bottom: 0.45rem;
}

.footer-stat span {
  display: block;
  color: #5f5f5f;
}

@media (max-width: 900px) {
  .luxe-footer-links {
    grid-template-columns: 1fr;
  }

  .student-luxe-footer-inner {
    grid-template-columns: 1fr;
  }

  .index-luxe-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Testimonial Section */
.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(201, 163, 78, 0.08), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(216, 221, 227, 0.06), transparent 25%);
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--luxe-black);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-swiper {
  overflow: visible;
  padding: 2rem 0;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  border: 1px solid rgba(201, 163, 78, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  border-color: rgba(201, 163, 78, 0.4);
}

.testimonial-google-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--luxe-gold);
  box-shadow: 0 4px 12px rgba(201, 163, 78, 0.3);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--luxe-black);
  margin: 0;
}

.testimonial-description {
  color: var(--luxe-grey);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

.testimonial-designation {
  color: var(--luxe-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-swiper .swiper-pagination {
  bottom: -3rem !important;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--luxe-silver);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--luxe-gold);
  opacity: 1;
  transform: scale(1.2);
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: var(--luxe-gold);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background: var(--luxe-gold);
  color: white;
  transform: scale(1.1);
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
    min-height: 240px;
  }
  
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .testimonials-swiper .swiper-button-next::after,
  .testimonials-swiper .swiper-button-prev::after {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .index-luxe-footer {
    padding: 2rem 1.25rem;
  }
  .index-luxe-footer h2 {
    font-size: 2rem;
  }
}

/* Timeline schedule */
.schedule-timeline {
  position: relative;
  padding-left: 1.5rem;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(var(--accent-blue), var(--accent-green));
  border-radius: 2px;
}

.schedule-timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
  padding-left: 1rem;
}

.schedule-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saas-surface);
  border: 2px solid var(--accent-blue);
}

/* PhonePe-style pay animation */
.pay-demo-card {
  background: var(--saas-surface);
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  overflow: hidden;
}

.pay-wave {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--warm-accent), var(--secondary), var(--accent));
  background-size: 200% 100%;
  animation: payWave 2s ease infinite;
}

@keyframes payWave {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.pay-spinner-ring {
  width: 56px;
  height: 56px;
  border: 4px solid var(--saas-border);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* DataTables light theme tweaks */
table.dataTable tbody tr {
  background-color: var(--saas-surface);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border-radius: 8px;
  border: 1px solid var(--saas-border);
}

/* Select2 */
.select2-container--default .select2-selection--single {
  min-height: calc(3.5rem + 2px);
  border: 1px solid var(--saas-border) !important;
  border-radius: var(--saas-radius) !important;
  padding-top: 1.25rem;
}

/* Subtle card lift on click target */
.interactive-card {
  cursor: pointer;
}

.interactive-card:active {
  transform: scale(0.995);
}

/* Print invoice / PDF friendly */
@media print {
  .navbar-saas,
  .admin-sidebar,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

@media (max-width: 767.98px) {
  .luxe-hero {
    min-height: auto;
    padding: 2rem 1.15rem;
  }

  .luxe-page h1 {
    font-size: 2.65rem;
  }

  .luxe-grid-bg,
  .luxe-grid-half::before {
    inset: 0;
  }

  .luxe-feature,
  .luxe-footer-grid {
    grid-template-columns: 1fr;
  }

  .luxe-footer-links {
    grid-template-columns: 1fr;
  }

  .student-luxe-footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
  }

  .add-webinar-preview {
    position: static;
  }
}

/* Student profile nav dropdown */
.profile-nav-dropdown .profile-nav-toggle {
  border-radius: 999px;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem !important;
  max-width: min(220px, 55vw);
  transition: background 0.2s ease, color 0.2s ease;
}

.profile-nav-dropdown .profile-nav-toggle:hover,
.profile-nav-dropdown .profile-nav-toggle.show {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent-blue) !important;
}

.profile-nav-avatar {
  font-size: 1.65rem;
  line-height: 1;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.profile-nav-name {
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 140px;
}

.profile-nav-menu .dropdown-item {
  padding: 0.55rem 1rem;
  font-weight: 500;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.profile-nav-menu .dropdown-item:hover {
  background: rgba(var(--accent-rgb), 0.18);
  padding-left: 1.15rem;
}

.profile-nav-menu .dropdown-item.active {
  background: rgba(var(--accent-rgb), 0.22);
  color: var(--accent-blue);
}

@media (max-width: 991.98px) {
  .profile-nav-dropdown {
    width: 100%;
  }

  .profile-nav-dropdown .dropdown-menu {
    width: 100%;
  }

  .profile-nav-name {
    max-width: none;
  }
}

/* Buy page */
.buy-hero-img {
  max-height: 220px;
}

.buy-checkout-card {
  top: 90px;
}

.buy-install-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 991.98px) {
  .buy-checkout-card {
    position: static !important;
  }
}

/* SOS EDU astrology / occult science theme layer */
:root {
  --saas-bg: var(--soft-bg);
  --saas-surface: #ffffff;
  --saas-border: var(--soft-border);
  --saas-text: #263203;
  --saas-muted: #6c6845;
  --saas-shadow: var(--soft-shadow);
  --saas-shadow-lg: var(--soft-shadow-lg);
  --accent-blue: var(--primary);
  --accent-yellow: var(--accent);
  --accent-green: var(--secondary);
  --saas-focus: rgba(var(--accent-rgb), 0.34);
}

body.app-body,
body {
  background:
    radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.12), transparent 30rem),
    radial-gradient(circle at 85% 8%, rgba(var(--secondary-rgb), 0.16), transparent 25rem),
    linear-gradient(180deg, var(--soft-bg) 0%, #fff4db 46%, var(--soft-bg-alt) 100%);
}

h1,
h2,
h3,
.navbar-saas .navbar-brand,
.stitch-footer-brand {
  letter-spacing: 0;
}

.navbar-saas {
  background: rgba(255, 249, 237, 0.92) !important;
  border-bottom: 1px solid var(--soft-border);
  box-shadow: 0 12px 38px rgba(var(--dark-green-rgb), 0.1);
  backdrop-filter: blur(18px);
}

.navbar-saas .navbar-brand {
  color: var(--dark-green) !important;
}

.brand-orb {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 35% 30%, rgba(var(--accent-rgb), 0.55) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--primary), var(--warm-accent));
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.11), 0 12px 30px rgba(var(--primary-rgb), 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--dark-green);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-saas .nav-link:hover,
.navbar-saas .nav-link.active {
  color: var(--primary) !important;
  background: rgba(var(--accent-rgb), 0.18);
}

.btn-saas-primary,
.btn-primary,
.stitch-btn-primary,
.stitch-sidebar-btn-primary,
.stitch-details-btn,
.luxe-submit {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--warm-accent)) !important;
  box-shadow: 0 14px 34px rgba(var(--primary-rgb), 0.22);
}

.btn-outline-primary {
  color: var(--dark-green);
  border-color: rgba(var(--primary-rgb), 0.42);
}

.btn-outline-primary:hover {
  background: rgba(var(--accent-rgb), 0.22);
  color: var(--dark-green);
  border-color: rgba(var(--primary-rgb), 0.58);
}

.saas-card,
.webinar-card,
.glass-card,
.portfolio-card,
.stitch-footer,
.student-app-footer {
  border-color: var(--soft-border);
  box-shadow: var(--soft-shadow);
}

.stitch-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--primary-rgb), 0.12), transparent 24rem),
    radial-gradient(circle at 90% 15%, rgba(var(--secondary-rgb), 0.16), transparent 22rem),
    var(--soft-bg);
  color: var(--saas-text);
  border-top: 1px solid var(--soft-border);
}

.stitch-footer a,
.stitch-footer p,
.stitch-footer-copy {
  color: #77695c;
}

.whatsapp-float {
  background: linear-gradient(135deg, var(--secondary), var(--dark-green));
  box-shadow: 0 16px 36px rgba(var(--secondary-rgb), 0.24);
}

.stitch-auth-page {
  background:
    linear-gradient(120deg, rgba(var(--dark-green-rgb), 0.78), rgba(var(--primary-rgb), 0.25)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1800&q=80") center / cover !important;
}

.stitch-auth-card {
  border-radius: 16px;
  border: 1px solid var(--soft-border);
}

/* Student app footer (lightweight) */
.student-app-footer {
  width: 100%;
  background: linear-gradient(165deg, var(--dark-green) 0%, var(--secondary) 54%, #263203 100%);
  color: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
}

.student-app-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem);
}

.student-app-footer-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.student-app-footer-brand p {
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.95rem;
  max-width: 28rem;
  line-height: 1.55;
}

.student-app-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.student-app-footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.student-app-footer-nav a:hover {
  opacity: 0.9;
  transform: translateX(4px);
}

.student-app-footer-nav a i {
  margin-right: 0.35rem;
  opacity: 0.85;
}

.student-app-footer-cta p {
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
}

.student-app-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.65);
}

.student-app-footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.student-app-footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .student-app-footer-inner {
    grid-template-columns: 1fr;
  }

  .student-app-footer-cta .btn {
    width: 100%;
  }
}
