/* Gauvix brand redesign layer — loads after main.css, only adds/overrides
   visual treatment (shadow, motion, glass, gradients). No selector here
   changes markup-dependent layout/behavior rules from main.css. */

:root {
  --site-bg: #F5FAFB;
  --card-bg: #0A2530;
  --sidebar-bg: #E6F2F4;
  --color-primary-soft: #DCEFF3;
  --color-secondary-text: #ffffff;
  --border-primary: #C3D6DA;
  --shadow-soft: 0 10px 30px -14px rgba(10, 37, 48, 0.22);
  --shadow-lift: 0 22px 48px -16px rgba(10, 37, 48, 0.32);
  --glass-bg: rgba(255, 255, 255, 0.75);
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

a,
.i-btn {
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* ---------- Header ---------- */
.header.sticky {
  background-color: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px -18px rgba(10, 37, 48, 0.45);
  border-bottom: 1px solid rgba(10, 37, 48, 0.07);
}

.header-middle .sidebar .sidebar-menu-wrapper > nav > ul li > .menu-link {
  position: relative;
}
.header-middle .sidebar .sidebar-menu-wrapper > nav > ul li > .menu-link::after {
  content: "";
  position: absolute;
  inset-inline: 0 100%;
  inset-block-end: -6px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-gradient);
  transition: inset-inline-end 0.25s ease;
}
@media (min-width: 992px) {
  .header-middle .sidebar .sidebar-menu-wrapper > nav > ul li > .menu-link:hover::after,
  .header-middle .sidebar .sidebar-menu-wrapper > nav > ul li > .menu-link.active::after {
    inset-inline-end: 0;
  }
}

.mega-menu-wrapper {
  box-shadow: var(--shadow-lift);
  border-radius: var(--radius-20);
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.i-btn.btn--primary {
  background: var(--color-gradient);
  box-shadow: 0 14px 28px -12px rgba(10, 37, 48, 0.5);
}
.i-btn.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -14px rgba(10, 37, 48, 0.58);
}
.i-btn.btn--primary.outline {
  background: var(--color-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.i-btn.btn--primary.outline:hover {
  background: var(--color-gradient);
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  box-shadow: 0 14px 28px -12px rgba(10, 37, 48, 0.5);
}
.i-btn.pill:hover {
  transform: translateY(-3px) scale(1.02);
}
.banner-content .banner-actions .work-btn:hover {
  background: var(--text-gradient);
}

/* ---------- Section headings ---------- */
.section-title h3 {
  letter-spacing: -0.02em;
  position: relative;
}
.section-title:not(.title-secondary) h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: -18px;
  width: 56px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-gradient);
}

/* ---------- Hero banner as a single responsive image ---------- */
.banner-wrapper.banner-wrapper--image-only {
  padding: 0;
  line-height: 0;
}
.banner-hero-link {
  display: block;
  line-height: 0;
}
.banner-hero-image {
  display: block;
  width: 100%;
  height: auto;
}
.banner-wrapper.banner-wrapper--image-only .cursor-down {
  inset-block-end: 20px;
}
@media (max-width: 767.98px) {
  .banner-wrapper.banner-wrapper--image-only .cursor-down {
    inset-block-end: 12px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

.cursor-down {
  animation: cursorDownRing 2s ease-out infinite;
}
.cursor-down i {
  animation: cursorDownBounce 2s ease-in-out infinite;
}
@keyframes cursorDownBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(5px);
    opacity: 0.55;
  }
}
@keyframes cursorDownRing {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 75, 78, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(246, 75, 78, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(246, 75, 78, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-down,
  .cursor-down i {
    animation: none;
  }
}

/* ---------- Banner / hero ---------- */
.banner {
  isolation: isolate;
}
.banner::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-trinary) 0%, transparent 70%);
  opacity: 0.28;
  filter: blur(60px);
  z-index: -1;
}
.banner::after {
  content: "";
  position: absolute;
  inset: auto auto -15% -10%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, var(--color-primary) 0%, transparent 70%);
  opacity: 0.22;
  filter: blur(70px);
  z-index: -1;
}
.banner-right .banner-img-lg {
  border-radius: var(--radius-32);
  box-shadow: var(--shadow-lift);
}
.banner-right .banner-img-lg .video-wrapper {
  border-radius: var(--radius-32);
}

/* ---------- Cards ---------- */
.feature .feature-card {
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* Pricing cards: separated with real gaps at every breakpoint (base theme
   used a zero-gutter "connected table" look at xl+, sharing one outer
   border instead of individual cards) — plus a shadow-first card design
   with a small decorative accent, matching the reference course-card style
   but in-brand instead of copying its colors literally. */
.plan .plan-card-wrapper {
  border: none;
  border-radius: 0;
}
.plan-card-wrapper .row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}
.plan-card {
  z-index: 0;
  border: none !important;
  border-radius: var(--radius-20) !important;
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.plan-card:is(.recommend) {
  box-shadow: var(--shadow-lift);
  background-image: linear-gradient(180deg, var(--color-primary-soft) 0%, transparent 220px);
}
.plan-card-confetti {
  position: absolute;
  z-index: -1;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 72px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}
.plan-card-orb {
  position: absolute;
  z-index: -1;
  inset-block-start: -34px;
  inset-inline-start: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--color-trinary), transparent 72%);
  opacity: 0.4;
}
.plan-card .recommend-tag {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.plan-card .recommend-tag::before {
  content: "\2605";
  margin-inline-end: 6px;
}
.plan-card.recommend .plan-action .i-btn.btn--primary.outline {
  background: var(--color-gradient);
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px -12px rgba(10, 37, 48, 0.45);
}
.plan-card.recommend .plan-action .i-btn.btn--primary.outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -14px rgba(10, 37, 48, 0.55);
}

/* Pricing card credits box */
.plan-credits-box {
  background: var(--color-primary-soft);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-16);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.plan-credits-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.plan-credits-box-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-credits-info-btn.plan-info-trigger {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.plan-credits-info-btn.plan-info-trigger:hover {
  transform: scale(1.15);
}
.plan-credits-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.plan-credit-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.plan-credit-item:not(:first-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 4px;
  border-inline-start: 1px dashed var(--border-primary);
}
.plan-credit-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.plan-credit-infinity {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 600;
}
.plan-credit-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Pricing card feature list */
.feature-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-rounded);
  font-size: 12px;
  margin-inline-end: 10px;
  flex-shrink: 0;
}
.pricing-list-item.is-included .feature-icon-badge {
  background: rgba(15, 157, 109, 0.12);
  color: #0f9d6d;
}
.pricing-list-item.is-excluded {
  opacity: 0.55;
}
.pricing-list-item.is-excluded .feature-icon-badge {
  background: rgba(225, 82, 81, 0.1);
  color: #e15251;
}
.feature-name-strike {
  text-decoration: line-through;
  color: var(--text-ternary);
}

.testimonial .review-card {
  padding: 45px;
  border-radius: var(--radius-24);
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.testimonial .review-card::before {
  content: "\201C";
  position: absolute;
  inset-inline-start: 30px;
  inset-block-start: -10px;
  font-size: 110px;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--color-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.35;
  z-index: -1;
}
.testimonial .review-card .reviewer .reviewer-img {
  box-shadow: 0 0 0 3px var(--color-white), 0 0 0 5px var(--color-trinary);
}

.blog-card .blog-img {
  overflow: hidden;
  border-radius: var(--radius-16);
}
.blog-card .blog-img > img {
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-img > img {
  transform: scale(1.06);
}

.faqs .faq-list .faq-list-item {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faqs .faq-list .faq-list-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 4px;
  background: var(--color-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.faqs .faq-list .faq-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.faqs .faq-list .faq-list-item:hover::before {
  opacity: 1;
}

.service-action {
  box-shadow: var(--shadow-soft);
}

/* ---------- Why-us watermark heading ----------
   Base theme sets this giant heading's color to var(--site-bg) at z-index:-1,
   intending a faint watermark; against a near-white site-bg it instead renders
   as bold overlapping text. Opacity keeps the same effect genuinely subtle. */
.why-us .why-us-wrapper .why-us-title {
  opacity: 0.05;
}

/* ---------- Auth pages: logo badge on the left panel, shadowed form card ---------- */
.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-16);
  padding: 20px 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}
.auth-logo-badge img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.auth-right .auth-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-24);
  padding: 40px;
  box-shadow: var(--shadow-lift);
}
@media (max-width: 575.98px) {
  .auth-right .auth-form-wrapper {
    padding: 24px;
  }
}

/* ---------- Footer logo, same white-badge treatment as the auth pages ---------- */
.footer-middle .logo-wrapper.footer-logo-badge {
  height: auto;
  width: auto;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-16);
  padding: 18px 26px;
  box-shadow: var(--shadow-soft);
}
.footer-middle .logo-wrapper.footer-logo-badge > img {
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ---------- Footer ---------- */
.footer .footer-content::after {
  position: absolute;
  content: "";
  width: 220px;
  height: 220px;
  border-radius: var(--radius-rounded);
  background: var(--color-gradient);
  filter: blur(95px);
  opacity: 0.5;
  inset-inline-end: -40px;
  inset-block-end: -60px;
  z-index: 0;
}
.footer .footer-content > * {
  position: relative;
  z-index: 1;
}

/* ---------- Journey / trust strip (short labels, not big numbers) ---------- */
.our-journey .journey-counter-item {
  position: relative;
  padding-inline-start: 22px;
}
.our-journey .journey-counter-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 6px;
  width: 4px;
  height: calc(100% - 12px);
  min-height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-gradient);
}
.our-journey .journey-counter-item > span {
  font-size: 26px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  background: var(--text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 575.98px) {
  .our-journey .journey-counter-item > span {
    font-size: 22px;
  }
}
.our-journey .journey-counter-item > p {
  margin-top: 4px;
  max-width: 220px;
}
.our-journey .journey-counter-divider {
  height: 44px;
}

/* ---------- Forms ---------- */
.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}
