/* Theme refresh — modernized spacing/type/motion layer on top of venor.css.
   Loaded after venor.css/bootstrap so these rules win by source order.
   Brand colors are kept as-is (accent #6164FF, ink #16151A/#222227). */

:root {
  --bg: #16151a;
  --surface: #1b1a20;
  --surface-2: #222227;
  --border: #26252c;
  --accent: #6164ff;
  --accent-light: #898bff;
  --accent-deep: #6022ea;
  --text: #ffffff;
  --text-muted: #bdbdbd;
  --text-dim: #696970;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-glow: 0 12px 28px -14px rgba(97, 100, 255, .4);
  --shadow-soft: 0 16px 36px -18px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --glass-fill: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  --glass-border: rgba(97, 100, 255, .2);
  --glass-blur: blur(14px);
}

/* ==========================================================
   BACKGROUND FIELD — parallax orbs + grain (elements injected
   once in layouts/front.blade.php right after <body>)
   ========================================================== */
.bg-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-field .orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .5; will-change: transform; mix-blend-mode: screen; }
.bg-field .orb-a { width: 46vw; height: 46vw; top: -12vw; right: -10vw; background: radial-gradient(circle at 35% 35%, rgba(97,100,255,.65), rgba(97,100,255,.35) 45%, transparent 72%); }
.bg-field .orb-b { width: 36vw; height: 36vw; top: 60vh; left: -12vw; background: radial-gradient(circle at 40% 40%, rgba(97,100,255,.45), rgba(97,100,255,.2) 50%, transparent 72%); }
.bg-field .orb-c { width: 40vw; height: 40vw; top: 140vh; right: -14vw; background: radial-gradient(circle at 45% 30%, rgba(97,100,255,.55), rgba(96,34,234,.25) 55%, transparent 72%); }
.bg-field .orb-d { width: 34vw; height: 34vw; top: 230vh; left: -8vw; background: radial-gradient(circle at 40% 40%, rgba(53,214,138,.22), rgba(53,214,138,.08) 55%, transparent 72%); }
.bg-grain {
  position: fixed; inset: -100px; z-index: 1; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.header, .breadcrumb-area, main, footer.footer-section, .typed-section { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .bg-field .orb { display: none; }
}

/* ==========================================================
   CUSTOM CURSOR + MAGNETIC BUTTONS (elements injected in
   layouts/front.blade.php; behavior driven by motion.js)
   ========================================================== */
#cursorDot, #cursorRing {
  position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9000;
  transform: translate(-50%, -50%);
}
#cursorDot { width: 6px; height: 6px; background: var(--accent-light); }
#cursorRing {
  width: 32px; height: 32px; border: 1px solid rgba(97,100,255,.55);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
#cursorRing.active { width: 58px; height: 58px; background: rgba(97,100,255,.14); border-color: var(--accent-light); }
@media (hover: none), (pointer: coarse) {
  #cursorDot, #cursorRing { display: none !important; }
}

/* Lenis smooth-scroll was tried and pulled back out — it desynced the
   document's scrollable height from the real content (huge dead space at
   the bottom, sluggish feel). Native scrolling only; revisit with a real
   browser to test against before trying a JS smooth-scroll again. */
html { scroll-behavior: auto; }

body {
  background: var(--bg);
  /* Bootstrap sets body{color:#212529} (near-black) and nothing here ever
     overrode it — any element without its own explicit color fell back to
     that default, invisible against this dark theme. */
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

/* ---------- Per-word reveal + scroll-scrub + pinned gallery (paired with motion.js) ---------- */
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.word-inner { display: inline-block; transform: translateY(112%); transition: transform .8s var(--ease); }
[data-split].in .word-inner { transform: translateY(0); }

[data-scrub] { opacity: 0; will-change: transform, opacity; }

[data-wipe] { transition: clip-path .9s var(--ease); clip-path: inset(0 0 100% 0); }
[data-wipe].revealed { clip-path: inset(0 0 0% 0); }

[data-pin-gallery] { position: relative; height: 230vh; }
[data-pin-gallery] [data-pin-inner] { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
[data-pin-gallery] [data-pin-track] { display: flex; will-change: transform; }
[data-pin-gallery] [data-pin-progress] { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

@media (prefers-reduced-motion: reduce) {
  [data-scrub] { opacity: 1 !important; transform: none !important; }
  [data-wipe] { clip-path: none !important; }
  .word-inner { transform: none !important; transition: none !important; }
}

/* ---------- Scroll reveal (paired with reveal.js) ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal-init.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: rgba(22, 21, 26, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
body.sticky .header,
.header {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body.sticky .header {
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
}

.header__logo {
  gap: 10px;
}
.header__logo img {
  transition: opacity .3s var(--ease);
}
/* A brand wordmark shouldn't reverse just because the page direction is
   RTL — "AviSaaS" was rendering as "SaaSAvi" (flex row direction follows
   the page's writing direction by default). Pin it as its own LTR island. */
.logo-text {
  direction: ltr;
}
/* The mobile menu button is hard-positioned right:15px in venor.css with
   no RTL counterpart, so under RTL the logo (which moves to that same
   side) collides with/hides behind it. Mirror the button instead. */
.rtl .header__btn__venor {
  right: auto;
  left: 15px;
}
.rtl .header__btn__venor span {
  right: auto;
  left: 0;
}
.header__logo:hover img {
  opacity: .85;
}

.header__nav-link {
  position: relative;
  letter-spacing: .01em;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width .35s var(--ease);
}
.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}
.header__nav-link--active::after { background: var(--accent); }

.header__action-btn--start-project {
  border-radius: var(--radius-pill) !important;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.header__action-btn--start-project:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.header__nav-menu {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-soft);
}

/* Bug fix: .header__lang-dropdown (venor.css:717) is `position:absolute` with no
   left/right anchor, so it has no defined horizontal position relative to
   .header__lang and renders in the wrong place. Anchor it under the button. */
.header__lang-dropdown {
  right: 0;
  left: auto;
  top: calc(100% + 12px) !important;
  min-width: 140px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-soft);
}
.rtl .header__lang-dropdown {
  right: auto;
  left: 0;
}

/* ==========================================================
   BUTTONS (btn-style1/2, btn-slider/2) — unified pill system
   ========================================================== */
.btn.btn-style1,
.btn.btn-style2,
a.btn.btn-slider,
a.btn.btn-slider2 {
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              box-shadow .35s var(--ease), transform .35s var(--ease) !important;
}
.header__action-btn--start-project {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
}
.btn.btn-style1::before,
a.btn.btn-slider::before,
.header__action-btn--start-project::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease);
}
.btn.btn-style1:hover::before,
a.btn.btn-slider:hover::before,
.header__action-btn--start-project:hover::before {
  transform: translateX(130%);
}
.btn.btn-style1,
a.btn.btn-slider {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
}
.btn.btn-style1:hover,
a.btn.btn-slider:hover {
  box-shadow: var(--shadow-glow) !important;
  transform: translateY(-2px);
}
.btn.btn-style2:hover,
a.btn.btn-slider2:hover {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .45) !important;
  transform: translateY(-2px);
}
.btn.btn-style1:active,
.btn.btn-style2:active,
a.btn.btn-slider:active,
a.btn.btn-slider2:active {
  transform: translateY(0);
}

/* ==========================================================
   HERO / SLIDER
   ========================================================== */
.slider-venor-section {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  /* the template's light-grey skyline PNG (background-position:bottom) clashes
     with the dark glass/WebGL hero — drop it, the new visual replaces it */
  background-image: none !important;
  /* the mouse-reactive WebGL scene (.hero-gl-wrap) sizes itself to this
     section via inset:0 — without an explicit height it only grows as tall
     as the text content, leaving the effect cut short instead of filling
     the screen. Make the section full-screen and center its content in it. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slider-venor-section .hero-marquee { margin-top: auto; }
@media (max-width: 767px) {
  /* full-screen hero on a short phone viewport just pushes real content
     below the fold with nothing to look at — cap it there instead */
  .slider-venor-section { min-height: auto; padding: 100px 0 60px; }
  .slider-content { text-align: left; }
}
.hero-container {
  position: relative;
  z-index: 2;
  /* Bootstrap's default .container maxes out around 1140px and centers
     with equal margins — on a wide monitor that leaves a large empty
     strip on both sides. Let the hero use most of the viewport instead,
     so the headline column has real room before wrapping. */
  max-width: min(1680px, 94vw);
}
/* the ticket card should start level with the headline, not sit centered
   against the whole (taller) text column beneath it */
.hero-container .row.align-items-center { align-items: flex-start; }
.hero-gl-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; top: 0; left: 0; width: 100%; height: 100%; }
#heroGL { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(97, 100, 255, .16), transparent 60%);
}

/* Carousel now lives only inside .col-md-5 (the ticket/3D visual beside it is
   persistent, not part of the slide), which broke the plugin's absolutely-
   positioned nav arrows — they floated relative to the whole hero section.
   Pull them out of absolute positioning and dock them under the slide text. */
.col-md-5 .slider-venor { position: relative; overflow: visible; }
.slider-venor-section .col-md-5 .slider-content { overflow: visible; }
.slider-inner-venor { overflow: visible; }
.slider-venor-section .col-md-5 .owl-nav {
  position: static !important;
  top: auto !important;
  margin-top: 12px !important;
  width: auto !important;
  display: flex;
  gap: 10px;
  order: 2;
}
.slider-venor-section .col-md-5 .owl-nav .owl-prev,
.slider-venor-section .col-md-5 .owl-nav .owl-next {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
}
@media (prefers-reduced-motion: reduce) { #heroGL, .hero-spotlight { display: none; } }

.slider-content h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  max-width: 560px;
  margin: 0;
}
.slider-body p {
  font-size: 17px;
  line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 4px; }

/* the typed/rotating line — a sub-line inside the h1 itself, not a
   separate heading, matching the mockup's structure */
.slider-content h1 .accent-line {
  color: var(--accent);
  display: block;
  min-height: 1.1em;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 10px;
}
.typed-caret {
  display: inline-block; width: 2px; height: .95em; background: var(--accent-light);
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed-caret { display: none; } }

/* hero product visual — EUR receipt/ticket panel (replaces the old stock-photo slider image) */
.hero-ticket-stage {
  position: relative;
  display: flex;
  justify-content: flex-end; /* was center — nudges it right */
  /* "up ~5cm": cm isn't a stable web unit (depends on screen DPI/zoom) —
     this is ~190px, the ~96px/inch approximation. Tune the two numbers
     below directly to taste: */
  margin-top: -140px;    /* was -48px — more negative = further up. -238px collided with the owl-nav arrows below the text column, back it off if you push further */
  margin-right: 24px;    /* more = further right, 0 = flush with column edge */
}
.hero-ticket-stage .hero-ticket-float { position: relative; z-index: 2; }
.hero-ticket-float { animation: heroTicketFloat 6s ease-in-out infinite; }
@keyframes heroTicketFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-ticket {
  /* %, not vw — scales with the column it's actually in, not the whole
     viewport (an 85vw max always clamped to its 380px ceiling regardless
     of how narrow the column really was). */
  width: min(340px, 90%);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(97, 100, 255, .25);
  border-radius: var(--radius-md);
  padding: 26px 24px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 20px 44px -22px rgba(0,0,0,.5), 0 0 26px -14px rgba(97,100,255,.25);
  font-family: var(--font-mono, ui-monospace, monospace);
  transform-style: preserve-3d;
}
.hero-ticket-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; letter-spacing: .08em; color: var(--text-dim, #75727e); text-transform: uppercase;
}
.hero-ticket-live { color: #35d68a; display: inline-flex; align-items: center; gap: 6px; }
.hero-ticket-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #35d68a;
  animation: heroPulseDot 1.8s ease-out infinite;
}
@keyframes heroPulseDot { 0% { box-shadow: 0 0 0 0 rgba(53,214,138,.55); } 70% { box-shadow: 0 0 0 8px rgba(53,214,138,0); } 100% { box-shadow: 0 0 0 0 rgba(53,214,138,0); } }
.hero-ticket-dashed { border-top: 1.5px dashed var(--border); margin: 14px 0; }
.hero-ticket-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text); padding: 5px 0; }
.hero-ticket-line span:last-child { font-variant-numeric: tabular-nums; }
.hero-ticket-line.muted { color: var(--text-dim, #75727e); font-size: 12px; }
.hero-ticket-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; padding-top: 10px; font-variant-numeric: tabular-nums; }
.hero-ticket-barcode {
  margin-top: 16px; height: 30px; opacity: .35;
  background: repeating-linear-gradient(90deg, var(--text-muted) 0 2px, transparent 2px 5px, var(--text-muted) 5px 7px, transparent 7px 12px, var(--text-muted) 12px 13px, transparent 13px 17px);
}
.hero-stat-chip {
  position: absolute; right: -4%; bottom: 4%; z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; padding: 12px 16px; border-radius: 14px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px;
  box-shadow: 0 12px 26px -14px rgba(97,100,255,.5);
  animation: heroTicketFloat 6s ease-in-out infinite .4s;
}
.hero-stat-chip b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .hero-ticket-float, .hero-stat-chip { animation: none; } }
@media (max-width: 767px) { .hero-stat-chip { right: 4%; } }

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about-section {
  padding: clamp(70px, 9vw, 150px) 0 90px;
}
h4.about-heading1-home,
.portfolio-section h4,
.section_title,
h3.blog-section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: .08em;
}
h4.about-heading1-home::before,
.portfolio-section h4::before,
.section_title::before,
h3.blog-section-subtitle::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.about-heading2-home {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.imgone.big-paral .simpleParallax,
.imgtwo.big-paral .simpleParallax {
  border-radius: var(--radius-lg);
}
.imgone.big-paral::before,
.imgtwo.big-paral::before {
  border-radius: var(--radius-lg);
  box-shadow: none;
}

/* ==========================================================
   SERVICE CARDS
   ========================================================== */
.services-section {
  padding: clamp(60px, 8vw, 110px) 0;
}
.services-section h3 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.card.featured.to-top-left {
  border-radius: var(--radius-md) !important;
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, var(--shadow-soft) !important;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease) !important;
}
.card.featured.to-top-left:hover {
  transform: translateY(-10px);
  border-color: rgba(97, 100, 255, .6) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, var(--shadow-glow) !important;
}
.card.featured.to-top-left h4.heading {
  font-weight: 700;
}

/* ==========================================================
   PORTFOLIO / PROJECT CARDS — HORIZONTAL SCROLLING
   ========================================================== */
.portfolio-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}
.portfolio-wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.portfolio-header {
  padding: 0 clamp(20px, 4vw, 56px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.portfolio-section h3 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.portfolio-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.portfolio-scroll-container::-webkit-scrollbar {
  height: 6px;
}
.portfolio-scroll-container::-webkit-scrollbar-track {
  background: rgba(97, 100, 255, .05);
}
.portfolio-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(97, 100, 255, .25);
  border-radius: 3px;
}
.portfolio-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(97, 100, 255, .45);
}
.portfolio-grid-horizontal {
  display: flex;
  gap: clamp(16px, 3vw, 26px);
  padding: 0 clamp(20px, 4vw, 56px);
  width: max-content;
  min-width: 100%;
  align-items: stretch;
}
.portfolio-card {
  flex: 0 0 clamp(320px, 45vw, 420px);
  height: auto;
}
.portfolio-link {
  display: block;
  height: 100%;
  text-decoration: none;
}
.project-image-container,
.portfolio-section .project-image,
.js-tilt-glare {
  border-radius: var(--radius-md) !important;
}
.project-image-container {
  box-shadow: var(--shadow-soft);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
  overflow: hidden;
  border-radius: var(--radius-md) !important;
}
.project-box-div:hover .project-image-container {
  box-shadow: 0 20px 50px -20px rgba(97,100,255,.6);
  transform: translateY(-4px);
}
.project-inner {
  border-radius: var(--radius-md) !important;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border) !important;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.project-inner:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 100, 255, .5) !important;
  box-shadow: var(--shadow-soft);
}

/* ==========================================================
   FUN FACTS / KEY FACTS
   ========================================================== */
.fun-facts-section {
  padding: clamp(60px, 8vw, 110px) 0;
}
h3.fun-facts-heading1 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.radial {
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 20px 10px 30px;
}
.row.fun-facts-timer > .col-md-3:first-child .radial {
  border-left: 0;
  padding-left: 10px;
}
span.timer {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
span.testimonial_slider_title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
}
.testimonial-layoutArea p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
}

/* ==========================================================
   BLOG CARDS
   ========================================================== */
.blog-section {
  padding: clamp(60px, 8vw, 110px) 0 60px;
}
.blog-section .blog-section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.blog-section .blog-single-post {
  border-radius: var(--radius-md) !important;
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, var(--shadow-soft) !important;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.blog-section .blog-single-post:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow) !important;
}
.blog-section .blog_custom .post-details {
  background: transparent !important;
}
.blog-section .featured_image_blog img {
  transition: transform .6s var(--ease);
}
.blog-section .blog-single-post:hover .featured_image_blog img {
  transform: scale(1.06);
}
.blog-section h3.post-name {
  font-weight: 700;
}

/* ==========================================================
   CLIENTS / LOGO STRIP
   ========================================================== */
.clients-section {
  padding: 70px 0;
}
.clients-section img {
  opacity: .55;
}
.clients-section img:hover {
  opacity: 1;
}

/* ==========================================================
   PRICING CARDS
   ========================================================== */
.pricing-elements h2 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.venor-price-box {
  border-radius: var(--radius-md) !important;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border) !important;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.venor-price-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mx, 50%) var(--my, 50%), rgba(97,100,255,.12), transparent 80%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.venor-price-box:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 100, 255, .5) !important;
  box-shadow: 0 20px 50px -20px rgba(97,100,255,.6);
}
.venor-price-box:hover::before {
  opacity: 1;
}
.venor-price-box.premium-pricing {
  background: var(--surface-2) !important;
  border-color: rgba(97, 100, 255, .5) !important;
}
.venor-price-box h3 strong {
  font-weight: 700;
}

/* ==========================================================
   TEAM (about page)
   ========================================================== */
.members-section {
  padding: clamp(60px, 8vw, 100px) 0 65px;
}
.members-section h3.members-heading1 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.members-section .venor-team {
  border-radius: var(--radius-md);
  transition: transform .5s var(--ease);
}
.members-section .venor-team:hover {
  transform: translateY(-6px);
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contant-section-page .contact-element-wrapper {
  border-radius: var(--radius-md) !important;
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border) !important;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.contant-section-page .contact-element-wrapper:hover {
  transform: translateY(-6px);
  border-color: rgba(97, 100, 255, .5) !important;
}
.contant-section-page .icon {
  border-radius: 50%;
  background: rgba(97, 100, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   PAGE HEADER / BREADCRUMB
   ========================================================== */
.breadcrumb-area {
  padding: clamp(50px, 6vw, 80px) 0 clamp(40px, 5vw, 60px);
}
.breadcrumb-area h1.breadcrumb-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer-section .footer-left {
  border-top-right-radius: var(--radius-lg);
}
.rtl .footer-section .footer-left {
  border-top-left-radius: var(--radius-lg);
}
.footer-section .inner h4 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
}
.footer-section h4.title {
  font-weight: 700;
}
.footer-section .menu-quick-link-container ul li a,
.footer-section ul.ft-link li a {
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-section .menu-quick-link-container ul li a:hover,
.footer-section ul.ft-link li a:hover {
  padding-left: 4px;
}

/* ==========================================================
   PROJECT DETAIL — accordion (was inline in project.blade.php)
   ========================================================== */
.accordion {
  background-color: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  padding: 18px 22px;
  width: 100%;
  border: 1px solid var(--border);
  text-align: left;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  margin-bottom: 5px;
  border-radius: var(--radius-sm);
}
.accordion.text-left { text-align: left; }
.accordion.text-center { text-align: center; }
.accordion.text-right { text-align: right; }
.accordion.active,
.accordion:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}
.panel {
  padding: 0 18px;
  display: none;
  background-color: rgba(255, 255, 255, .03);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.panel p {
  color: var(--text);
  padding: 15px 0;
  line-height: 1.6;
}
.accordion-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-around;
}
.accordion-item {
  flex: 1;
  min-width: 250px;
  max-width: calc(33.333% - 10px);
}

/* ==========================================================
   LOGO WITH SPLIT COLORS
   ========================================================== */
.logo-text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  gap: 0;
}
.logo-avi {
  color: var(--text);
}
.logo-saas {
  color: var(--accent-light);
}

/* ==========================================================
   HOMEPAGE CONCEPT v4 — kicker, hero meta/ticker, and the
   below-the-fold sections restyled to match
   public/avisaas-homepage-mockup.html. Scoped to a `.home-v2`
   modifier on each section wrapper (home.blade.php only) so
   the shared .about-section/.services-section/etc. class names
   keep their existing look on about.blade.php, portfolio.blade.php
   and search.blade.php.
   ========================================================== */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(97,100,255,.18); flex: none; }

/* Available for admin-authored rich text (e.g. the hero heading) to highlight
   a word or phrase, matching the mockup's "smarter system." treatment —
   wrap the words in <span class="grad-text">...</span> from the rich-text
   editor's HTML/source view. */
.grad-text { color: var(--accent); }

.hero-meta {
  margin-top: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 12.5px; color: var(--text-dim);
}
.hero-meta .dot { color: #35d68a; }

.hero-marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 18px 0; margin-top: clamp(40px, 6vw, 72px);
  position: relative; z-index: 2;
}
.hero-marquee-track { display: flex; width: max-content; gap: 48px; animation: heroMarquee 34s linear infinite; }
.hero-marquee-track span { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; letter-spacing: .06em; color: var(--text-dim); white-space: nowrap; }
.hero-marquee-track span b { color: var(--accent-light); font-weight: 600; }
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
@keyframes heroMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-marquee-track { animation: none; } }

.home-v2 .section-kicker-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.home-v2 .section-kicker-head h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 0; max-width: 20ch; }

/* ---- about, restyled: text-only two column ---- */
.about-section.home-v2 .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.about-section.home-v2 h3.about-heading2-home { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 14px; }
.about-section.home-v2 .about-copy-v2 { font-size: 17.5px; color: var(--text-muted); line-height: 1.75; }
.about-section.home-v2 .about-emph-v2 { margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--accent); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }

/* ---- stats band ---- */
.stats-band-v2 { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(40px, 6vw, 64px) 0; }
.stats-band-v2 .stats-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band-v2 .stat-v2 { padding: 4px 28px; border-left: 1px solid var(--border); }
.stats-band-v2 .stat-v2:first-child { border-left: 0; padding-left: 0; }
.stats-band-v2 .stat-v2 b { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats-band-v2 .stat-v2 b.good { color: #35d68a; }
.stats-band-v2 .stat-v2 .bar { margin-top: 12px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.stats-band-v2 .stat-v2 .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.stats-band-v2 .stat-v2 span.label { display: block; margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* ---- services, restyled: static grid, no carousel ---- */
.services-section.home-v2 .service-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.services-section.home-v2 .service-card-v2 { background: var(--surface); padding: clamp(28px, 4vw, 40px); }
.services-section.home-v2 .service-card-v2 h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.services-section.home-v2 .service-card-v2 p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ---- portfolio "selected works", restyled ---- */
.portfolio-section.home-v2 .work-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-section.home-v2 .work-tile-v2 { border-radius: var(--radius-md); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.portfolio-section.home-v2 .work-tile-v2 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-section.home-v2 .work-tile-v2 .work-meta-v2 { padding: 16px 18px 18px; }
.portfolio-section.home-v2 .work-tile-v2 .work-meta-v2 h5 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.portfolio-section.home-v2 .work-tile-v2 .work-meta-v2 span { font-size: 13px; color: var(--text-dim); }

/* ---- testimonials, restyled: scrolling marquee of quote cards ---- */
.testimonial-section.home-v2 { overflow: hidden; }
.testimonial-section.home-v2 .quote-track-v2 { display: flex; gap: 22px; width: max-content; animation: quoteMarquee 54s linear infinite; }
.testimonial-section.home-v2:hover .quote-track-v2 { animation-play-state: paused; }
@keyframes quoteMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonial-section.home-v2 .quote-card-v2 {
  flex: 0 0 340px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; transition: box-shadow .3s var(--ease);
}
.testimonial-section.home-v2 .quote-card-v2:hover { box-shadow: 0 24px 50px -22px rgba(97,100,255,.4); }
.testimonial-section.home-v2 .quote-card-v2 p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.testimonial-section.home-v2 .quote-card-v2 .attr-v2 { margin-top: 16px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: var(--text-dim); }
.testimonial-section.home-v2 .quote-card-v2 .attr-v2 b { color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .testimonial-section.home-v2 .quote-track-v2 { animation: none; flex-wrap: wrap; } }

/* ---- blog, restyled: list rows instead of card grid ---- */
.blog-section.home-v2 .post-list-v2 { border-top: 1px solid var(--border); }
.blog-section.home-v2 .post-row-v2 {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 2px; border-bottom: 1px solid var(--border); overflow: hidden; transition: padding-left .3s var(--ease);
}
.blog-section.home-v2 .post-row-v2:hover { padding-left: 10px; }
.blog-section.home-v2 .post-row-v2 h4 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.015em; max-width: 56ch; margin: 0; transition: color .3s var(--ease); }
.blog-section.home-v2 .post-row-v2:hover h4 { color: var(--accent-light); }
.blog-section.home-v2 .post-arrow-v2 { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.blog-section.home-v2 .post-row-v2:hover .post-arrow-v2 { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.blog-section.home-v2 .post-row-v2:hover .post-arrow-v2 svg { stroke: #fff; }
.blog-section.home-v2 .post-arrow-v2 svg { width: 15px; height: 15px; stroke: var(--text); transition: stroke .3s var(--ease); }

/* ---- CTA band ---- */
.cta-band-v2 {
  position: relative; background: linear-gradient(155deg, rgba(97,100,255,.14), rgba(255,255,255,.02) 60%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(97,100,255,.3); border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(97,100,255,.5);
  padding: clamp(40px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band-v2 h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 14ch; margin: 0; font-weight: 800; letter-spacing: -.03em; }
.cta-band-v2 h3 span { color: var(--accent-light); }

@media (max-width: 900px) {
  .about-section.home-v2 .container { grid-template-columns: 1fr; }
  .stats-band-v2 .stats-grid-v2 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats-band-v2 .stat-v2:nth-child(3) { border-left: 0; padding-left: 0; }
  .services-section.home-v2 .service-grid-v2 { grid-template-columns: 1fr; }
  .portfolio-section.home-v2 .work-grid-v2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cta-band-v2 { flex-direction: column; align-items: flex-start; }
  .portfolio-section.home-v2 .work-grid-v2 { grid-template-columns: 1fr; }
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media (max-width: 767px) {
  .hero-stat-chip { right: 4%; }
  /* the h1's font-size clamp bottoms out at 2.4rem regardless of
     viewport — fine on a tablet, overflows a phone screen. Setting
     font-size on the h1 itself gets overridden by something else in the
     cascade even with !important (not fully traced) — targeting the
     word-inner spans that the actual visible text lives in (from the
     per-word reveal JS) works reliably, so do it there instead. */
  .slider-content h1 { max-width: 100%; overflow-wrap: break-word; }
  .slider-content h1 .word-inner { font-size: clamp(1rem, 4.8vw, 1.6rem) !important; }
  .slider-content h1 .accent-line .word-inner { font-size: clamp(1.1rem, 5vw, 1.6rem) !important; }
  /* the -140px/flex-end/margin-right hero-ticket-stage adjustment is a
     desktop-only nudge — on mobile the columns stack, so it just needs
     to sit in normal flow like everything else. */
  .hero-ticket-stage { margin-top: 0 !important; justify-content: center !important; margin-right: 0 !important; }
  .portfolio-grid-horizontal {
    gap: clamp(12px, 2vw, 18px);
  }
  .portfolio-card {
    flex: 0 0 clamp(280px, 85vw, 380px);
  }
}
