/* ==========================================================================
   REH. WEB STUDIOS — MASTER STYLESHEET
   Dark Grey Theme (#131312 / #1c1c1c / #2b2b2b) with Orange Accents
   Fully Hostinger-ready & mobile responsive.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

/* --------------------------------------------------------------------------
   1. GLOBAL VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors from Section Code & Dark Grey Specs */
  --paper: #131312;
  --bg-dark: #1c1c1c;
  --bg-card: #232322;
  --bg-card-hover: #292928;
  --bg-navy: #474747;
  --bg-footer: #2b2b2b;
  --bg-chat-header: #1f1f1f;
  
  /* Text & Border Colors */
  --ink: #F5F5F0;
  --ink-dim: #A9AAAC;
  --muted: #9E9D96;
  --line: #38382F;
  --line-light: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.09);
  
  /* Accent Orange Colors */
  --accent: #E0701E;
  --accent-orange: #FF7A29;
  --accent-orange-dim: rgba(255, 122, 41, 0.14);
  --accent-glow: rgba(224, 112, 30, 0.4);
  
  /* Font Stacks */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   2. WHOLE-SITE CURSOR GLOW (Follows cursor everywhere on the site)
   -------------------------------------------------------------------------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 112, 30, 0.6) 0%, rgba(224, 112, 30, 0.22) 45%, rgba(224, 112, 30, 0) 75%);
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
  .cursor-glow {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   3. BACKGROUND ATOMS (Drifting & Orbiting SVGs)
   -------------------------------------------------------------------------- */
.hero-bg,
.ambient-atoms-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atom {
  position: absolute;
  opacity: 0.22;
  animation-name: atomDrift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes atomDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -14px); }
}

.atom-orbit {
  transform-origin: 50% 50%;
  animation-name: spin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.atom-orbit.reverse {
  animation-direction: reverse;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.atom-orbit-path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.atom-electron {
  fill: var(--accent);
}

.atom-nucleus {
  fill: var(--line);
}

/* --------------------------------------------------------------------------
   4. HEADER CODE (Exact Code & Styles from Provided Prompt)
   -------------------------------------------------------------------------- */
.sw-navbar-wrap,
.sw-navbar-wrap * {
  box-sizing: border-box;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.sw-navbar-wrap a,
.sw-navbar-wrap button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.sw-navbar-wrap a:focus-visible,
.sw-navbar-wrap button:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.sw-navbar-wrap {
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.sw-navbar {
  background: var(--bg-navy);
  border-bottom: 1px solid var(--border-soft);
  width: 100%;
  position: relative;
}

.sw-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ---- Logo ---- */
.sw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none !important;
  color: var(--ink);
}

.sw-logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #F4F4F2;
  border-radius: 50%;
  padding: 6px;
  overflow: hidden;
}

.sw-logo-mark svg {
  width: 100% !important;
  height: 100% !important;
}

.sw-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sw-logo-text span { color: var(--accent-orange); }

/* ---- Nav links ---- */
.sw-nav-links {
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1;
  justify-content: center;
}

.sw-nav-links li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sw-nav-links > li {
  position: relative;
}

.sw-mobile-call-item {
  display: none;
}

.sw-navbar-wrap .sw-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  position: relative;
  cursor: pointer;
  border: none !important;
  background: none !important;
  overflow: visible !important;
}

.sw-navbar-wrap .sw-nav-link::after {
  content: '' !important;
  position: absolute !important;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-orange) !important;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.sw-navbar-wrap .sw-nav-link:hover::after,
.sw-navbar-wrap .sw-has-dropdown:hover .sw-nav-link::after,
.sw-navbar-wrap .sw-nav-link.active::after {
  transform: scaleX(1) !important;
}

.sw-nav-links > li,
.sw-navbar,
.sw-nav-inner {
  overflow: visible !important;
}

.sw-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.sw-has-dropdown:hover .sw-caret {
  transform: rotate(180deg);
}

/* ---- Dropdown (desktop = hover) ---- */
.sw-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.16,1,.3,1), visibility 0.32s;
  z-index: 1000;
}

.sw-has-dropdown:hover .sw-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sw-dropdown-inner {
  background: var(--bg-navy);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  transform: translateY(6px) scale(0.97);
  transform-origin: top left;
  transition: transform 0.32s cubic-bezier(.16,1,.3,1);
}

.sw-has-dropdown:hover .sw-dropdown-inner {
  transform: translateY(0) scale(1);
}

.sw-dropdown a {
  display: block !important;
  padding: 11px 14px !important;
  margin: 0 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 7px;
  position: relative;
  background: transparent !important;
  transition: padding-left 0.2s ease;
}

.sw-dropdown a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--accent-orange);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sw-dropdown a:hover {
  padding-left: 20px !important;
}

.sw-dropdown a:hover::before {
  transform: scaleY(1);
}

/* ---- Call Now button in header ---- */
.sw-call-now {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 20px !important;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sw-call-now:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange) !important;
  background: var(--accent-orange-dim);
}

.sw-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.sw-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-orange);
  opacity: 0;
  animation: sw-pulse 2.4s ease-out infinite;
}

.sw-call-now svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sw-call-now:hover svg {
  animation: sw-ring 0.5s ease-in-out;
}

@keyframes sw-ring {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-16deg); }
  30%  { transform: rotate(14deg); }
  45%  { transform: rotate(-11deg); }
  60%  { transform: rotate(8deg); }
  75%  { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

@keyframes sw-pulse {
  0%   { transform: scale(0.6); opacity: 0; }
  30%  { opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sw-call-now:hover svg { animation: none; }
  .sw-icon-wrap::before { animation: none; }
}

/* ---- Mobile menu toggle button ---- */
.sw-navbar-wrap .sw-menu-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: none !important;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1001;
}

.sw-navbar-wrap .sw-menu-toggle .sw-icon-burger { display: block !important; }
.sw-navbar-wrap .sw-menu-toggle .sw-icon-close { display: none !important; }
.sw-navbar-wrap .sw-menu-toggle[aria-expanded="true"] .sw-icon-burger { display: none !important; }
.sw-navbar-wrap .sw-menu-toggle[aria-expanded="true"] .sw-icon-close { display: block !important; }

/* ---- Mobile Header layout ---- */
@media (max-width: 991px) {
  .sw-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-navy);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
  }
  .sw-nav-links.sw-open {
    max-height: 85vh;
    overflow-y: auto;
  }
  .sw-nav-links > li { width: 100%; }
  .sw-nav-link { padding: 14px 32px; }
  .sw-nav-link::after { display: none; }

  .sw-dropdown {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding-top: 0;
    display: none;
  }
  .sw-dropdown-inner {
    box-shadow: none; border: none; margin: 0 20px 8px !important;
    transform: none !important;
  }
  .sw-has-dropdown.sw-mobile-open .sw-dropdown { display: block; }
  .sw-has-dropdown.sw-mobile-open .sw-caret { transform: rotate(180deg); }

  .sw-navbar-wrap .sw-menu-toggle { display: flex !important; }

  .sw-navbar-wrap .sw-call-header { display: none !important; }
  .sw-mobile-call-item {
    display: flex;
    justify-content: center;
    padding: 16px 32px 20px;
  }
  .sw-mobile-call-item .sw-call-now {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .sw-call-header .sw-call-text { display: none; }
  .sw-call-header { padding: 10px 12px !important; }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & COMMON HERO STYLES (From Section Code)
   -------------------------------------------------------------------------- */
.hero-section-root {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero.subpage-hero {
  min-height: 55vh;
  padding: 90px 24px 50px;
}

.hero-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.brand-mark {
  position: absolute;
  top: 28px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  z-index: 2;
}

.brand-mark .accent-shimmer {
  color: var(--accent);
}

.hero-heading-wrap {
  position: relative;
  display: inline-block;
  max-width: 960px;
  margin: 0 auto;
}

.hero-heading {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.subpage-hero .hero-heading {
  font-size: clamp(34px, 5.5vw, 64px);
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.floating-quality {
  position: absolute;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  z-index: 1;
}

.fq-tl { top: 6%; left: 0; transform: translate(calc(-100% - 20px), 0); text-align: right; }
.fq-tr { top: 6%; right: 0; transform: translate(calc(100% + 20px), 0); text-align: left; }
.fq-bl { bottom: 6%; left: 0; transform: translate(calc(-100% - 20px), 0); text-align: right; }
.fq-br { bottom: 6%; right: 0; transform: translate(calc(100% + 20px), 0); text-align: left; }

.fq-parallax {
  transition: transform 0.15s ease-out;
}

.fq-inner {
  display: inline-block;
  animation: bob 4s ease-in-out infinite;
  background: rgba(35, 35, 34, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.letter {
  display: inline-block;
  margin-right: 0.06em;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: default;
}

.letter:hover {
  transform: translateY(-0.18em) scale(1.08);
  color: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 56px;
  text-align: left;
}

.stat-item {
  background: rgba(35, 35, 34, 0.5);
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  min-width: 180px;
}

.stat-label {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.stat-value {
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

/* Standard Buttons from Section Code */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  background: #050505;
  color: #FFFFFF;
  border: 1px solid #050505;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible,
.btn:active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 22px 4px rgba(255, 255, 255, 0.35),
    0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .floating-quality { display: none; }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .heading-mobile-break {
    display: block;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   6. COMMON SECTION LAYOUTS & GRIDS (Dark Grey Aesthetics)
   -------------------------------------------------------------------------- */
.content-section {
  padding: 90px 24px;
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.content-section.alt-bg {
  background: var(--bg-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  background: rgba(224, 112, 30, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(224, 112, 30, 0.3);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Card Component */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(224, 112, 30, 0.12);
  border: 1px solid rgba(224, 112, 30, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. PORTFOLIO CARDS
   -------------------------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-thumb {
  position: relative;
  height: 240px;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(19, 19, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--line);
}

.portfolio-info {
  padding: 24px;
}

.portfolio-info h3 {
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--ink);
}

.portfolio-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.portfolio-metrics {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.metric-badge {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7B. STACKING SHOWCASE & REVIEW CARDS
   -------------------------------------------------------------------------- */
.cards-wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.stack-card {
  position: sticky;
  top: calc(88px + (var(--index) * 24px));
  min-height: 520px;
  margin-bottom: 22vh;
  border-radius: 32px;
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.stack-card:last-child {
  margin-bottom: 0;
}

.stack-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.stack-card-tag {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--ink);
}

.stack-card-number {
  font-size: 38px;
  font-weight: 900;
  opacity: 0.35;
  line-height: 1;
  font-family: var(--font-sans);
}

.stack-card-body {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 36px;
  align-items: center;
  flex: 1;
  padding: 10px 0;
}

.stack-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stack-card-name {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  color: inherit;
}

.stack-card-role {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.75;
}

.stack-card-store {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.stack-card-stars {
  display: flex;
  gap: 5px;
  font-size: 18px;
  color: #fbbf24;
  margin-bottom: 18px;
  letter-spacing: 3px;
  filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.4));
}

.stack-card-quote {
  font-size: clamp(15px, 1.22vw, 17px);
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  font-style: normal;
}

/* Browser Mockup Showcase with 16:9 Image */
.stack-card-media {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.stack-browser-bar {
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-url {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.stack-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050608;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.45s ease;
}

.stack-card:hover .stack-img-wrap img {
  transform: scale(1.03);
}

.stack-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  margin-top: 14px;
}

/* Individual Card Themes */
/* 1. White Card (Umer - Elure De Fumers) */
.stack-card-1 {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.38);
}

.stack-card-1 .stack-card-tag {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.stack-card-1 .stack-card-number {
  color: #0f172a;
  opacity: 0.2;
}

.stack-card-1 .stack-card-name {
  color: #0f172a;
}

.stack-card-1 .stack-card-role {
  color: #64748b;
}

.stack-card-1 .stack-card-store {
  color: #b45309; /* Warm gold tone on white */
}

.stack-card-1 .stack-card-quote {
  color: #334155;
}

.stack-card-1 .stack-card-media {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.stack-card-1 .stack-browser-bar {
  background: #e2e8f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stack-card-1 .browser-url {
  background: #ffffff;
  color: #64748b;
}

.stack-card-1 .stack-img-wrap {
  background: #f1f5f9;
}

.stack-card-1 .stack-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  color: #64748b;
}

/* 2. Black Card (Saif - Zaib Un Nissa) */
.stack-card-2 {
  background: linear-gradient(135deg, #121318 0%, #06070a 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.85);
  color: #ffffff;
}

.stack-card-2 .stack-card-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.stack-card-2 .stack-card-number {
  color: #ffffff;
  opacity: 0.35;
}

.stack-card-2 .stack-card-name {
  color: #ffffff;
}

.stack-card-2 .stack-card-role {
  color: rgba(255, 255, 255, 0.75);
}

.stack-card-2 .stack-card-store {
  color: #f472b6;
}

.stack-card-2 .stack-card-quote {
  color: #e2e8f0;
}

.stack-card-2 .stack-card-media {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.stack-card-2 .stack-browser-bar {
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-card-2 .browser-url {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

.stack-card-2 .stack-img-wrap {
  background: #050608;
}

.stack-card-2 .stack-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

/* 3. White Card (Twaseen Rehman - Reh. Web Studios) */
.stack-card-3 {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.38);
}

.stack-card-3 .stack-card-tag {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.stack-card-3 .stack-card-number {
  color: #0f172a;
  opacity: 0.2;
}

.stack-card-3 .stack-card-name {
  color: #0f172a;
}

.stack-card-3 .stack-card-role {
  color: #64748b;
}

.stack-card-3 .stack-card-store {
  color: var(--accent);
}

.stack-card-3 .stack-card-quote {
  color: #334155;
}

.stack-card-3 .stack-card-media {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.stack-card-3 .stack-browser-bar {
  background: #e2e8f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stack-card-3 .browser-url {
  background: #ffffff;
  color: #64748b;
}

.stack-card-3 .stack-img-wrap {
  background: #f1f5f9;
}

.stack-card-3 .stack-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  color: #64748b;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 960px) {
  .stack-card {
    height: auto;
    min-height: auto;
    padding: 28px 22px;
    margin-bottom: 10vh;
    border-radius: 22px;
  }
  .stack-card-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stack-card-media {
    order: -1;
    width: 100%;
  }
  .stack-card-name {
    font-size: 22px;
  }
  .stack-card-quote {
    font-size: 15px;
  }
  .stack-card-number {
    font-size: 28px;
  }
}

/* --------------------------------------------------------------------------
   8. PRICING & YEARLY PLANS
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: #282827;
  transform: scale(1.04);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}

.pricing-header p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.pricing-price span.period {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-sub {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 14px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. TEMPLATES SHOWCASE & FILTER TABS
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.template-preview {
  height: 200px;
  background: #191919;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.template-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
}

.template-content {
  padding: 20px;
}

.template-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.template-content p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 18px;
}

/* Modal Popup for Template Preview */
.template-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.template-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 800px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #242423 0%, #151514 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  color: var(--ink);
}

.cta-banner p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 30px;
}

/* --------------------------------------------------------------------------
   11. FOOTER (Exact Code & Styles from Provided Prompt)
   -------------------------------------------------------------------------- */
footer {
  background: var(--bg-footer);
  color: var(--ink);
  padding: 60px 8vw 30px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; }
  .follow-us { grid-column: 1 / -1; text-align: center; }
  .follow-us .socials { justify-content: center; }
}
@media (max-width: 550px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.col h4 {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: 0.4px;
  color: var(--ink);
  font-weight: 600;
}

.col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.col ul li {
  margin-bottom: 12px;
}

.col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  background-image: linear-gradient(var(--accent-orange), var(--accent-orange));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: color 0.2s ease, background-size 0.2s ease;
}

.col ul li a:hover {
  color: var(--accent-orange);
  background-size: 100% 1px;
}

/* --- Socials --- */
.socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: var(--ink);
  transition: fill 0.2s ease;
}

.socials a:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.socials a:hover svg {
  fill: var(--accent-orange);
}

/* --- Contacts --- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  font-size: 14px;
}

.contact-list li span.label {
  display: block;
  color: #7d7d7d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-list li a {
  color: var(--muted);
  text-decoration: none;
  background-image: linear-gradient(var(--accent-orange), var(--accent-orange));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: color 0.2s ease, background-size 0.2s ease;
}

.contact-list li a:hover {
  color: var(--accent-orange);
  background-size: 100% 1px;
}

/* --- Newsletter --- */
.newsletter p.desc {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input,
.newsletter textarea {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
}

.newsletter input::placeholder,
.newsletter textarea::placeholder {
  color: #7d7d7d;
}

.newsletter input:focus,
.newsletter textarea:focus {
  border-color: var(--accent-orange);
}

.newsletter button {
  margin-top: 4px;
  background: transparent;
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.newsletter button:hover {
  background: var(--accent-orange);
  color: var(--bg-footer);
}

.field-note {
  font-size: 11px;
  color: #7d7d7d;
  margin: -4px 0 0;
}

/* --- Slogan --- */
.slogan-wrap {
  text-align: center;
  padding: 48px 0 28px;
}

.slogan {
  display: inline-block;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.slogan span {
  display: inline-block;
  transition: transform 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.slogan span:hover,
.slogan span.jump {
  color: var(--accent-orange);
  transform: translateY(-10px);
}

/* --- Copyright --- */
.copyright {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.copyright a {
  color: var(--muted);
  text-decoration: none;
}
.copyright a:hover {
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   12. CHATBOT WIDGET (Exact Code & Styles from Provided Prompt)
   -------------------------------------------------------------------------- */
html body #reh-chat-widget,
html body #reh-chat-widget * {
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -webkit-tap-highlight-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  list-style: none !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body #reh-chat-widget {
  --rcw-orange: #FF6B35;
  --rcw-dark: #2b2b2b;
  --rcw-dark-2: #1f1f1f;
  --rcw-text: #F4F4F2;
  --rcw-text-dim: #A9AAAC;
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483000 !important;
  width: auto !important;
  height: auto !important;
}

/* Launcher button */
html body #reh-chat-widget .rcw-launcher {
  all: unset !important;
  box-sizing: border-box !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #FF6B35 !important;
  border: none !important;
  color: #1a1a1a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(255,107,53,0.4) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

html body #reh-chat-widget .rcw-launcher:hover,
html body #reh-chat-widget .rcw-launcher:focus,
html body #reh-chat-widget .rcw-launcher:active {
  background: #FF6B35 !important;
  color: #1a1a1a !important;
  transform: scale(1.06) !important;
  box-shadow: 0 10px 30px rgba(255,107,53,0.55) !important;
}

html body #reh-chat-widget .rcw-launcher svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #1a1a1a !important;
}
html body #reh-chat-widget .rcw-icon-close { display: none !important; }

html body #reh-chat-widget.rcw-open .rcw-icon-chat { display: none !important; }
html body #reh-chat-widget.rcw-open .rcw-icon-close { display: block !important; }

/* Panel */
html body #reh-chat-widget .rcw-panel {
  position: absolute !important;
  right: 0 !important;
  bottom: 76px !important;
  left: auto !important;
  top: auto !important;
  width: 360px !important;
  max-width: calc(100vw - 32px) !important;
  height: 500px !important;
  max-height: calc(100vh - 120px) !important;
  background: #2b2b2b !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateY(16px) scale(0.97) !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

html body #reh-chat-widget.rcw-open .rcw-panel {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Header */
html body #reh-chat-widget .rcw-header {
  background: #1f1f1f !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  flex-shrink: 0 !important;
}

html body #reh-chat-widget .rcw-header-info {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

html body #reh-chat-widget .rcw-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #FF6B35 !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

html body #reh-chat-widget .rcw-title {
  color: #F4F4F2 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

html body #reh-chat-widget .rcw-subtitle {
  color: #A9AAAC !important;
  font-size: 12.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 2px !important;
}

html body #reh-chat-widget .rcw-dot-online {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #3ddc71 !important;
  box-shadow: 0 0 6px #3ddc71 !important;
  display: inline-block !important;
}

html body #reh-chat-widget .rcw-close {
  all: unset !important;
  background: none !important;
  color: #A9AAAC !important;
  cursor: pointer !important;
  padding: 4px !important;
  display: flex !important;
  transition: color 0.2s ease !important;
}

html body #reh-chat-widget .rcw-close:hover {
  color: #FF6B35 !important;
}

html body #reh-chat-widget .rcw-close svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

/* Messages */
html body #reh-chat-widget .rcw-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #2b2b2b !important;
}

html body #reh-chat-widget .rcw-messages::-webkit-scrollbar { width: 6px !important; }
html body #reh-chat-widget .rcw-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15) !important;
  border-radius: 3px !important;
}

html body #reh-chat-widget .rcw-msg {
  max-width: 82% !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

html body #reh-chat-widget .rcw-msg-bot {
  align-self: flex-start !important;
  background: rgba(255,255,255,0.06) !important;
  color: #F4F4F2 !important;
  border-bottom-left-radius: 4px !important;
}

html body #reh-chat-widget .rcw-msg-user {
  align-self: flex-end !important;
  background: #FF6B35 !important;
  color: #1a1a1a !important;
  font-weight: 500 !important;
  border-bottom-right-radius: 4px !important;
}

html body #reh-chat-widget .rcw-typing {
  align-self: flex-start !important;
  display: flex !important;
  gap: 4px !important;
  padding: 12px 14px !important;
  background: rgba(255,255,255,0.06) !important;
  border-radius: 14px !important;
  border-bottom-left-radius: 4px !important;
}

html body #reh-chat-widget .rcw-typing span {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #A9AAAC !important;
  animation: rcw-bounce 1.2s infinite ease-in-out !important;
  display: inline-block !important;
}

html body #reh-chat-widget .rcw-typing span:nth-child(2) { animation-delay: 0.15s !important; }
html body #reh-chat-widget .rcw-typing span:nth-child(3) { animation-delay: 0.3s !important; }

@keyframes rcw-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Input bar */
html body #reh-chat-widget .rcw-input-bar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  background: #1f1f1f !important;
  flex-shrink: 0 !important;
}

html body #reh-chat-widget .rcw-input {
  all: unset !important;
  box-sizing: border-box !important;
  flex: 1 !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #F4F4F2 !important;
  font-size: 14px !important;
  transition: border-color 0.2s ease !important;
}

html body #reh-chat-widget .rcw-input:focus { border-color: #FF6B35 !important; }
html body #reh-chat-widget .rcw-input::placeholder { color: #A9AAAC !important; opacity: 1 !important; }

html body #reh-chat-widget .rcw-send {
  all: unset !important;
  box-sizing: border-box !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #FF6B35 !important;
  color: #1a1a1a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease !important;
}

html body #reh-chat-widget .rcw-send:hover { transform: scale(1.05) !important; background: #FF6B35 !important; }
html body #reh-chat-widget .rcw-send svg { width: 17px !important; height: 17px !important; stroke: #1a1a1a !important; }

@media (max-width: 600px) {
  html body #reh-chat-widget {
    right: 12px !important;
    bottom: 12px !important;
  }
  
  html body #reh-chat-widget .rcw-panel {
    position: fixed !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 82px !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    height: min(500px, calc(100dvh - 100px)) !important;
    max-height: calc(100dvh - 100px) !important;
  }
}
