  /* ============================================================
     COSTA STUDIO — PUBLIC SITE
     ============================================================ */
  :root {
    --red: #e8162a;
    --red-dim: rgba(232, 22, 42, .28);
    --red-soft: rgba(232, 22, 42, .08);
    --red-soft2: rgba(232, 22, 42, .14);
    --bg: #ffffff;
    --bg2: #f4f4f4;
    --bg2-rgb: 244, 244, 244;
    --card: #ffffff;
    --ink: #0a0a0a;
    --ink-dim: #666666;
    --line: rgba(10, 10, 10, .11);
    --nav-bg: rgba(255, 255, 255, .82);
    --shadow: 0 10px 30px rgba(10, 10, 10, .06);
  }

  [data-theme="dark"] {
    --bg: #070707;
    --bg2: #0d0d0d;
    --bg2-rgb: 13, 13, 13;
    --card: #111113;
    --ink: #f0f0f0;
    --ink-dim: #8a8a8a;
    --line: rgba(240, 240, 240, .09);
    --nav-bg: rgba(7, 7, 7, .82);
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', 'Cairo', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background .35s ease, color .35s ease;
  }

  [lang="ar"] body {
    font-family: 'Cairo', 'DM Sans', sans-serif;
  }

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

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

  ul {
    list-style: none;
  }

  button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
  }

  /* texture layers */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(128, 128, 128, .035) 2px, rgba(128, 128, 128, .035) 4px);
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .5;
    background-image:
      linear-gradient(var(--red-soft) 1px, transparent 1px),
      linear-gradient(90deg, var(--red-soft) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
    opacity: .35;
  }

  .wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
  }

  .eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
  }

  [lang="ar"] .eyebrow {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
  }

  .eyebrow-hero {
    font-size: clamp(13px, 1.5vw, 15.5px);
    letter-spacing: .16em;
    text-align: center;
    justify-content: center;
  }

  [lang="ar"] .eyebrow-hero {
    font-family: 'Space Mono', monospace;
    letter-spacing: .16em;
  }

  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: blink 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }

  @keyframes blink {

    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }

    50% {
      opacity: .3;
      transform: scale(.8);
    }
  }

  .h-display {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.04;
    text-transform: uppercase;
  }

  [lang="ar"] .h-display {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.28;
  }

  .hl {
    color: var(--red);
  }

  .sec-tag {
    text-align: center;
    margin-bottom: 18px;
  }

  .sec-title {
    text-align: center;
    font-size: clamp(34px, 5.4vw, 58px);
    margin: 14px 0 16px;
  }

  .sec-sub {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    color: var(--ink-dim);
    font-size: 18px;
  }

  .sec-head {
    margin-bottom: 60px;
  }

  .divider {
    width: 64px;
    height: 3px;
    background: var(--red);
    margin: 0 auto;
  }

  section {
    position: relative;
    z-index: 3;
    padding: 110px 0;
  }

  .sec-alt {
    background: var(--bg2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  /* corner brackets */
  .brackets {
    position: absolute;
    inset: 18px;
    pointer-events: none;
    z-index: 1;
  }

  .brackets i {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2px solid var(--red-dim);
  }

  .brackets i:nth-child(1) {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
  }

  .brackets i:nth-child(2) {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
  }

  .brackets i:nth-child(3) {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
  }

  .brackets i:nth-child(4) {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
  }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 16px 30px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 100%);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    white-space: nowrap;
  }

  [lang="ar"] .btn {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
  }

  .btn-primary {
    background: var(--red);
    color: #fff;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(232, 22, 42, .35);
  }

  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
  }

  .btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
  }

  .btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  /* ── LOGO MARK ── */
  .logo-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .brand-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 23px;
    letter-spacing: .04em;
    color: var(--ink);
    line-height: 1;
  }

  [lang="ar"] .brand-word {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 20px;
  }

  .brand-word b {
    color: var(--red);
    font-weight: inherit;
  }

  /* ── NAV ── */
  header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding .3s ease, background .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
  }

  header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    padding: 13px 0;
  }

  header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .25s ease;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    flex-shrink: 0;
    transition: border-color .25s, color .25s, transform .25s;
  }

  .icon-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .lang-btn,
  .currency-btn {
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
  }

  .currency-btn {
    font-size: 11px;
  }

  .theme-icon-dark {
    display: none;
  }

  [data-theme="dark"] .theme-icon-light {
    display: none;
  }

  [data-theme="dark"] .theme-icon-dark {
    display: block;
  }

  .burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
  }

  .burger span,
  .burger span::before,
  .burger span::after {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform .25s ease, opacity .25s ease;
  }

  .burger span::before {
    position: absolute;
    top: -5px;
  }

  .burger span::after {
    position: absolute;
    top: 5px;
  }

  .burger.on span {
    background: transparent;
  }

  .burger.on span::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--red);
  }

  .burger.on span::after {
    top: 0;
    transform: rotate(-45deg);
    background: var(--red);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  [lang="ar"] .mobile-menu a {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    text-transform: none;
    font-size: 26px;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    padding: 190px 0 90px;
    overflow: hidden;
  }

  .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: saturate(1.08);
    opacity: .32;
    z-index: 0;
    pointer-events: none;
  }

  [data-theme="dark"] .hero-bg-video {
    opacity: .18;
    filter: saturate(1.15) brightness(.55);
  }

  .hero-bg-fade {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 65% 55% at 50% 32%, transparent 0%, var(--bg) 88%);
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(40px, 7vw, 82px);
    margin: 22px 0 26px;
  }

  .hero p {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--ink-dim);
    max-width: 640px;
    margin: 0 auto 40px;
  }

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

  .pillars {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
  }

  .pillar {
    padding: 30px 18px;
    text-align: center;
    border-inline-start: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .pillar:first-child {
    border-inline-start: none;
  }

  .pillar svg {
    width: 26px;
    height: 26px;
    color: var(--red);
    margin-bottom: 4px;
  }

  .pillar b {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  [lang="ar"] .pillar b {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 800;
    font-size: 15px;
  }

  .pillar span {
    font-size: 13px;
    color: var(--ink-dim);
  }

  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
  }

  .about-text p {
    color: var(--ink-dim);
    font-size: 18px;
    margin-top: 18px;
  }

  .about-mark {
    display: flex;
    justify-content: center;
  }

  .about-mark svg {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  /* ── SERVICES ── */
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .svc-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 34px 28px;
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }

  .svc-card:hover {
    transform: translateY(-6px);
    border-color: var(--red-dim);
    box-shadow: var(--shadow);
  }

  .svc-num {
    position: absolute;
    top: 22px;
    inset-inline-end: 26px;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--ink-dim);
    opacity: .6;
  }

  .svc-icon {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--red-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
  }

  .svc-icon svg {
    width: 24px;
    height: 24px;
  }

  .svc-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 25px;
    letter-spacing: .01em;
    margin-bottom: 10px;
  }

  [lang="ar"] .svc-card h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 21px;
  }

  .svc-card>p {
    color: var(--ink-dim);
    font-size: 15px;
    margin-bottom: 18px;
  }

  .svc-feats li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 9px;
  }

  .svc-feats li svg {
    width: 15px;
    height: 15px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
  }

  /* ── SHOWCASE (EXPLAINER VIDEO, BELOW THE TEXT) ── */
  .showcase-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
  }

  .showcase-video-block {
    position: relative;
    width: 100%;
    height: 72vh;
    max-height: 620px;
    min-height: 340px;
    margin-top: 60px;
    overflow: hidden;
  }

  .showcase-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    filter: saturate(1.05);
  }

  [data-theme="dark"] .showcase-bg-video {
    filter: saturate(1.1) brightness(.8);
  }

  .showcase-bg-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--bg2) 0%, transparent 14%, transparent 86%, var(--bg2) 100%);
  }

  .showcase-sound-btn {
    position: absolute;
    z-index: 2;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--card);
    border: 1.5px solid var(--line);
    padding: 12px 22px;
    transition: border-color .25s, color .25s, transform .25s;
  }

  [lang="ar"] .showcase-sound-btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }

  .showcase-sound-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
  }

  .showcase-sound-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .showcase-sound-btn .icon-unmute {
    display: none;
  }

  .showcase-sound-btn.is-on .icon-mute {
    display: none;
  }

  .showcase-sound-btn.is-on .icon-unmute {
    display: block;
  }

  .showcase-sound-btn.is-on {
    border-color: var(--red);
    color: var(--red);
  }

  @media (max-width: 640px) {
    .showcase-video-block {
      height: 46vh;
      min-height: 260px;
      margin-top: 40px;
    }

    .showcase-sound-btn span {
      display: none;
    }
  }

  /* ── AI SYSTEM ── */
  .ai-wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: center;
  }

  .ai-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ai-feat {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .ai-feat svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .ai-feat b {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
  }

  .ai-feat span {
    font-size: 13.5px;
    color: var(--ink-dim);
  }

  .ai-visual {
    border: 1px solid var(--red-dim);
    background: linear-gradient(160deg, var(--red-soft), transparent 60%);
    padding: 46px 32px;
    position: relative;
    text-align: center;
  }

  .ai-visual svg {
    width: 96px;
    height: 96px;
    color: var(--red);
    margin: 0 auto 20px;
  }

  .ai-visual h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
  }

  [lang="ar"] .ai-visual h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 24px;
  }

  .ai-visual p {
    color: var(--ink-dim);
    margin-top: 10px;
    font-size: 14.5px;
  }

  /* ── WHY US ── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .why-card {
    background: var(--bg);
    padding: 34px 22px;
    text-align: center;
  }

  .why-card svg {
    width: 30px;
    height: 30px;
    color: var(--red);
    margin: 0 auto 16px;
  }

  .why-card b {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
  }

  .why-card span {
    font-size: 13.5px;
    color: var(--ink-dim);
  }

  /* ── PROCESS ── */
  .process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
  }

  .step {
    position: relative;
    padding-top: 20px;
  }

  .step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: 'Space Mono', monospace;
    font-size: 44px;
    color: var(--red-soft2);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
  }

  .step h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: .01em;
  }

  [lang="ar"] .step h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 19px;
  }

  .step p {
    color: var(--ink-dim);
    font-size: 14.5px;
  }

  .step-line {
    position: absolute;
    top: 30px;
    inset-inline-start: 62px;
    width: calc(100% - 40px);
    height: 1px;
    background: var(--line);
  }

  /* ── CTA ── */
  .cta-sec {
    text-align: center;
    padding: 120px 0;
    position: relative;
  }

  .cta-sec h2 {
    font-size: clamp(32px, 6vw, 60px);
    margin: 18px 0 18px;
  }

  .cta-sec p {
    color: var(--ink-dim);
    font-size: 18px;
    margin-bottom: 40px;
  }

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

  /* ── FOOTER ── */
  footer {
    background: var(--bg2);
    border-top: 1px solid var(--line);
    padding: 70px 0 0;
    position: relative;
    z-index: 3;
  }

  .foot-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
  }

  .foot-brand p {
    color: var(--ink-dim);
    font-size: 14.5px;
    margin: 16px 0 20px;
    max-width: 300px;
  }

  .foot-social {
    display: flex;
    gap: 10px;
  }

  .foot-col h4 {
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
  }

  [lang="ar"] .foot-col h4 {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
    font-size: 14px;
  }

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

  .foot-col a {
    color: var(--ink-dim);
    font-size: 14.5px;
    transition: color .2s;
  }

  .foot-col a:hover {
    color: var(--red);
  }

  .foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .foot-bottom span {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: .04em;
  }

  [lang="ar"] .foot-bottom span {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
  }

  /* ── FLOATING WHATSAPP ── */
  .float-wa {
    position: fixed;
    bottom: 26px;
    inset-inline-end: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 997;
    box-shadow: 0 10px 26px rgba(232, 22, 42, .4);
    transition: transform .25s ease;
    animation: fabBob 3.2s ease-in-out infinite;
  }

  .float-wa:hover {
    transform: scale(1.08);
  }

  @keyframes fabBob {

    0%,
    100% {
      margin-bottom: 0;
    }

    50% {
      margin-bottom: 8px;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .float-wa,
    .costa-ai-launcher {
      animation: none;
    }
  }

  .float-wa svg {
    width: 27px;
    height: 27px;
    color: #fff;
  }

  .float-wa .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--red);
    animation: ping 2.2s ease-out infinite;
  }

  @keyframes ping {
    0% {
      transform: scale(1);
      opacity: .6;
    }

    100% {
      transform: scale(1.6);
      opacity: 0;
    }
  }

  /* ── REVEAL ON SCROLL ── */
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
  }

  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── ABOUT IMAGE ── */
  .logo-real {
    width: 100%;
    max-width: 560px;
    display: block;
    margin: 0 auto;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .logo-real-wrap {
    display: inline-block;
    line-height: 0;
  }

  /* ── STATS BAR ── */
  .stats-bar {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stat-cell {
    padding: 26px 14px;
    text-align: center;
    border-inline-start: 1px solid var(--line);
  }

  .stat-cell:first-child {
    border-inline-start: none;
  }

  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--red);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .stat-num .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
  }

  .stat-lbl {
    font-family: 'Space Mono', monospace;
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-top: 6px;
  }

  [lang="ar"] .stat-lbl {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 13px;
  }

  /* ── MARQUEE ── */
  .marquee-wrap {
    background: var(--ink);
    overflow: hidden;
    padding: 13px 0;
    border-bottom: 3px solid var(--red);
  }

  .marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: mqScroll 30s linear infinite;
  }

  [dir="rtl"] .marquee-track {
    animation-direction: reverse;
  }

  @keyframes mqScroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  .marquee-item {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bg);
    padding: 0 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 22px;
  }

  [lang="ar"] .marquee-item {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 13.5px;
  }

  .marquee-item i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
  }

  /* ── TRUST STRIP ── */
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .trust-cell {
    background: var(--bg);
    padding: 22px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .trust-cell svg {
    width: 24px;
    height: 24px;
    color: var(--red);
    flex-shrink: 0;
  }

  .trust-cell b {
    display: block;
    font-size: 13.5px;
  }

  .trust-cell span {
    font-size: 12px;
    color: var(--ink-dim);
  }

  /* ── COMPARE (BEFORE/AFTER) ── */
  .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .compare-col {
    background: var(--bg);
    padding: 40px 34px;
  }

  .compare-col.bad {
    background: var(--bg2);
  }

  .compare-col.good {
    background: var(--red-soft);
  }

  .compare-lbl {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Space Mono', monospace;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 26px;
  }

  [lang="ar"] .compare-lbl {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 14px;
  }

  .compare-col.bad .compare-lbl {
    color: var(--ink-dim);
  }

  .compare-col.good .compare-lbl {
    color: var(--red);
  }

  .compare-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
  }

  .compare-col.bad .compare-dot {
    background: var(--ink-dim);
  }

  .compare-col.good .compare-dot {
    background: var(--red);
    animation: blink 1.6s ease-in-out infinite;
  }

  .compare-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .compare-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .compare-col.bad .compare-item svg {
    color: var(--ink-dim);
  }

  .compare-col.good .compare-item svg {
    color: var(--red);
  }

  /* ── TESTIMONIALS ── */
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .testi-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 30px 26px;
  }

  .testi-stars {
    display: flex;
    gap: 3px;
    color: var(--red);
    margin-bottom: 16px;
  }

  .testi-stars svg {
    width: 15px;
    height: 15px;
  }

  .testi-quote {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 22px;
    min-height: 95px;
  }

  .testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .testi-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red-soft2);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    flex-shrink: 0;
  }

  .testi-name {
    font-size: 14.5px;
    font-weight: 700;
  }

  .testi-role {
    font-size: 12.5px;
    color: var(--ink-dim);
    margin-top: 1px;
  }

  /* ── PRICING ── */
  .price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }

  .price-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .price-card.pop {
    border-color: var(--red);
    background: var(--red-soft);
    transform: scale(1.03);
  }

  .price-badge {
    position: absolute;
    top: -13px;
    inset-inline-start: 30px;
    background: var(--red);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
  }

  [lang="ar"] .price-badge {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
  }

  .price-tier {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 14px;
  }

  [lang="ar"] .price-tier {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 14px;
  }

  .price-amt {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .price-amt span {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--ink-dim);
    text-transform: none;
  }

  .price-amt .price-amt-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    line-height: 1;
    color: var(--ink);
  }

  .price-note {
    font-size: 13px;
    color: var(--ink-dim);
    margin: 10px 0 24px;
  }

  .price-feats {
    flex: 1;
    margin-bottom: 26px;
  }

  .price-feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
  }

  .price-feats li:first-child {
    border-top: none;
  }

  .price-feats li svg {
    width: 15px;
    height: 15px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
  }

  .price-card .btn {
    justify-content: center;
    width: 100%;
  }

  /* ── RTL FIXES ── */
  [dir="rtl"] .svc-num {
    font-variant-numeric: normal;
  }

  [dir="ltr"] .btn svg,
  [dir="ltr"] .icon-btn svg {
    transform: none;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 980px) {
    .nav-links {
      display: none;
    }

    #navCta {
      display: none !important;
    }

    .burger {
      display: flex;
    }

    .about-grid,
    .ai-wrap {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .about-mark {
      order: -1;
    }

    .svc-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .process {
      grid-template-columns: repeat(2, 1fr);
    }

    .step-line {
      display: none;
    }

    .foot-top {
      grid-template-columns: 1fr 1fr;
    }

    .pillars {
      grid-template-columns: repeat(2, 1fr);
    }

    .pillar:nth-child(3) {
      border-inline-start: none;
    }

    .pillar:nth-child(3),
    .pillar:nth-child(4) {
      border-top: 1px solid var(--line);
    }

    .stats-bar {
      grid-template-columns: repeat(2, 1fr);
    }

    .stat-cell:nth-child(3) {
      border-inline-start: none;
    }

    .stat-cell:nth-child(3),
    .stat-cell:nth-child(4) {
      border-top: 1px solid var(--line);
    }

    .trust-strip {
      grid-template-columns: repeat(2, 1fr);
    }

    .compare-grid {
      grid-template-columns: 1fr;
    }

    .testi-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .price-grid {
      grid-template-columns: 1fr;
    }

    .price-card.pop {
      transform: none;
    }
  }

  @media (max-width: 640px) {
    body {
      font-size: 16px;
    }

    section {
      padding: 76px 0;
    }

    .hero {
      padding: 150px 0 60px;
    }

    .wrap {
      padding: 0 20px;
    }

    .svc-grid {
      grid-template-columns: 1fr;
    }

    .why-grid {
      grid-template-columns: 1fr;
    }

    .ai-feats {
      grid-template-columns: 1fr;
    }

    .process {
      grid-template-columns: 1fr;
    }

    .foot-top {
      grid-template-columns: 1fr;
      gap: 34px;
    }

    .hero-btns,
    .cta-btns {
      flex-direction: column;
      width: 100%;
    }

    .hero-btns .btn,
    .cta-btns .btn {
      width: 100%;
      justify-content: center;
    }

    .foot-bottom {
      flex-direction: column;
      align-items: flex-start;
    }

    .stats-bar {
      grid-template-columns: 1fr 1fr;
    }

    .trust-strip {
      grid-template-columns: 1fr;
    }

    .compare-col {
      padding: 30px 22px;
    }

    .testi-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ── NAV: AI AGENT LINK ── */
  .nav-ai-agent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red) !important;
  }

  .nav-badge-new {
    font-family: 'Space Mono', monospace;
    font-size: 9.5px;
    letter-spacing: .04em;
    background: var(--red);
    color: #fff;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1.6;
  }

  /* ── AI AGENT SECTION (unified with the site's theme) ── */
  #ai-agent {
    background: var(--bg);
    color: var(--ink);
    border-top: 1px solid var(--line);
  }

  .aa-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
  }

  .aa-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--red);
    border: 1px solid var(--red-dim);
    background: var(--red-soft);
    padding: 7px 16px;
    margin-bottom: 22px;
  }

  [lang="ar"] .aa-badge {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
  }

  .aa-kicker {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
  }

  .aa-head .sec-title {
    text-align: center;
    margin: 6px 0 0;
  }

  /* ── AI AGENT VISUAL ── */
  .aa-visual-wrap {
    max-width: 980px;
    margin: 0 auto 56px;
  }

  .aa-visual-img {
    width: 100%;
    display: block;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  @media (max-width: 640px) {
    .aa-visual-wrap {
      margin-bottom: 40px;
    }
  }

  /* ── AUDIENCE ROW ── */
  .aa-audience {
    text-align: center;
    margin-bottom: 60px;
  }

  .aa-audience-lbl {
    display: block;
    font-size: 14px;
    color: var(--ink-dim);
    margin-bottom: 18px;
  }

  .aa-audience-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .aa-aud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--card);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
  }

  [lang="ar"] .aa-aud-item {
    font-weight: 700;
  }

  .aa-aud-item svg {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
  }

  /* ── BEFORE / AFTER ── */
  .aa-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 70px;
  }

  .aa-compare-col {
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--line);
    background: var(--card);
    padding: 26px 28px;
  }

  .aa-compare-col.good {
    border-inline-start-color: var(--red);
  }

  .aa-compare-lbl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 12px;
  }

  [lang="ar"] .aa-compare-lbl {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
  }

  .aa-compare-col.good .aa-compare-lbl {
    color: var(--red);
  }

  .aa-compare-lbl svg {
    width: 15px;
    height: 15px;
  }

  .aa-compare-col p {
    color: var(--ink-dim);
    font-size: 15px;
  }

  /* ── SERVICES CIRCLE (grid) ── */
  .aa-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 70px;
  }

  .aa-svc-item {
    border: 1px solid var(--line);
    background: var(--card);
    padding: 24px 20px;
    text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }

  .aa-svc-item:hover {
    transform: translateY(-5px);
    border-color: var(--red-dim);
    box-shadow: var(--shadow);
  }

  .aa-svc-icon {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--red-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--red);
  }

  .aa-svc-icon svg {
    width: 22px;
    height: 22px;
  }

  .aa-svc-item b {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 19px;
    margin-bottom: 6px;
  }

  [lang="ar"] .aa-svc-item b {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 16px;
  }

  .aa-svc-item span {
    font-size: 12.5px;
    color: var(--ink-dim);
  }

  /* ── PRICING ── */
  .aa-price-grid {
    margin-bottom: 20px;
  }

  .aa-price-note {
    text-align: center;
    font-size: 14px;
    color: var(--ink-dim);
    max-width: 560px;
    margin: 0 auto 60px;
  }

  /* ── CTA ── */
  .aa-cta {
    text-align: center;
  }

  .aa-cta-btn {
    background: var(--ink);
    color: #fff;
  }

  .aa-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(17, 17, 17, .25);
  }

  .aa-cta p {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--ink-dim);
  }

  @media (max-width: 980px) {
    .aa-svc-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .aa-compare {
      grid-template-columns: 1fr;
    }

    .aa-svc-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .aa-price-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ── LIQUID GLASS UI LAYER ── */
  header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06), 0 8px 30px rgba(0, 0, 0, .05);
  }

  .icon-btn {
    background: rgba(var(--bg2-rgb), .5);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
  }

  .mobile-menu {
    background: rgba(var(--bg2-rgb), .78);
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
  }

  .showcase-sound-btn {
    background: rgba(var(--bg2-rgb), .55);
    backdrop-filter: blur(14px) saturate(1.5);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
  }

  .float-wa {
    position: fixed;
    overflow: hidden;
  }

  .float-wa::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(155deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
  }

  .svc-card:hover,
  .aa-svc-item:hover {
    background: rgba(var(--bg2-rgb), .6);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
  }

  .price-card.pop {
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--shadow);
  }

  .aa-badge,
  .nav-badge-new,
  .price-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* ── CUSTOM CURSOR ── */
  @media (pointer: fine) {
    html.custom-cursor,
    html.custom-cursor a,
    html.custom-cursor button,
    html.custom-cursor .btn,
    html.custom-cursor input,
    html.custom-cursor textarea,
    html.custom-cursor select,
    html.custom-cursor [role="button"] {
      cursor: none;
    }
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    will-change: transform;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    transition: transform .05s linear, opacity .25s ease;
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--red-dim);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform .55s cubic-bezier(.16, 1, .3, 1),
      width .35s cubic-bezier(.16, 1, .3, 1),
      height .35s cubic-bezier(.16, 1, .3, 1),
      background .3s ease,
      border-color .3s ease,
      opacity .25s ease;
  }

  .cursor-dot.is-visible,
  .cursor-ring.is-visible {
    opacity: 1;
  }

  .cursor-ring.is-hover {
    width: 64px;
    height: 64px;
    border-color: var(--red);
    background: var(--red-soft);
  }

  .cursor-ring.is-active {
    width: 30px;
    height: 30px;
  }

  /* ── COSTA AI ASSISTANT ── */
  .costa-ai-launcher {
    position: fixed;
    bottom: 96px;
    inset-inline-end: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(232, 22, 42, .4);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
    animation: fabBob 3.2s ease-in-out infinite .5s;
  }

  .costa-ai-launcher::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(155deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 45%);
    pointer-events: none;
  }

  .costa-ai-launcher:hover {
    transform: scale(1.08);
  }

  .costa-ai-launcher svg {
    width: 24px;
    height: 24px;
    position: relative;
  }

  .costa-ai-launcher .icon-chat {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
  }

  .costa-ai-launcher .icon-close {
    display: none;
  }

  .costa-ai-launcher.open .icon-chat {
    display: none;
  }

  .costa-ai-launcher.open .icon-close {
    display: block;
  }

  .costa-ai-panel {
    position: fixed;
    bottom: 166px;
    inset-inline-end: 26px;
    width: 368px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: calc(100vh - 210px);
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: scale(.94) translateY(14px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), opacity .3s ease, visibility .4s;
  }

  [dir="rtl"] .costa-ai-panel {
    transform-origin: bottom left;
  }

  .costa-ai-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .costa-ai-head {
    background: var(--red);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .costa-ai-head-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .costa-ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, .18);
    flex-shrink: 0;
  }

  .costa-ai-head-info b {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    letter-spacing: .02em;
  }

  [lang="ar"] .costa-ai-head-info b {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 15px;
  }

  .costa-ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    opacity: .9;
    margin-top: 2px;
  }

  .costa-ai-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3ddc84;
    display: inline-block;
    animation: blink 1.8s ease-in-out infinite;
  }

  .costa-ai-close {
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .85;
    flex-shrink: 0;
    transition: opacity .2s;
  }

  .costa-ai-close:hover {
    opacity: 1;
  }

  .costa-ai-close svg {
    width: 18px;
    height: 18px;
  }

  .costa-ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg2);
  }

  .msg {
    max-width: 84%;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.55;
    border-radius: 14px;
    animation: msgIn .35s cubic-bezier(.16, 1, .3, 1);
  }

  @keyframes msgIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .msg-bot {
    align-self: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    border-end-start-radius: 4px;
  }

  .msg-user {
    align-self: flex-end;
    background: var(--red);
    color: #fff;
    border-end-end-radius: 4px;
  }

  .msg-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 13px 16px;
  }

  .msg-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-dim);
    animation: typingBounce 1.2s infinite ease-in-out;
  }

  .msg-typing span:nth-child(2) {
    animation-delay: .15s;
  }

  .msg-typing span:nth-child(3) {
    animation-delay: .3s;
  }

  @keyframes typingBounce {

    0%,
    60%,
    100% {
      transform: translateY(0);
      opacity: .4;
    }

    30% {
      transform: translateY(-4px);
      opacity: 1;
    }
  }

  .costa-ai-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 14px;
    flex-shrink: 0;
    background: var(--bg2);
  }

  .costa-ai-chip {
    font-size: 12px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    border-radius: 20px;
    transition: border-color .2s, color .2s, transform .2s;
  }

  .costa-ai-chip:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
  }

  .costa-ai-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    flex-shrink: 0;
  }

  .costa-ai-input input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
  }

  .costa-ai-input input::placeholder {
    color: var(--ink-dim);
  }

  .costa-ai-input button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s;
  }

  .costa-ai-input button:hover {
    transform: scale(1.08);
  }

  .costa-ai-input button svg {
    width: 15px;
    height: 15px;
  }

  @media (max-width: 480px) {
    .costa-ai-panel {
      width: calc(100vw - 24px);
      height: min(72vh, 540px);
    }
  }

  /* ── PORTFOLIO PAGE ── */
  .portfolio-hero {
    text-align: center;
    padding: 190px 0 60px;
  }

  .portfolio-hero h1 {
    font-size: clamp(38px, 6vw, 66px);
    margin: 16px 0 14px;
  }

  .portfolio-hero p {
    color: var(--ink-dim);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
  }

  .portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 0 56px;
  }

  .filter-btn {
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink-dim);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
  }

  [lang="ar"] .filter-btn {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
  }

  .filter-btn:hover {
    border-color: var(--red-dim);
    color: var(--ink);
  }

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

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 40px;
  }

  .portfolio-card {
    background: var(--card);
    border: 1px solid var(--line);
    cursor: pointer;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }

  .portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--red-dim);
    box-shadow: var(--shadow);
  }

  .portfolio-card-media {
    position: relative;
    overflow: hidden;
  }

  .portfolio-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--bg2);
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
  }

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

  .portfolio-card-play {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(5, 5, 5, .6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .portfolio-card-play svg {
    width: 15px;
    height: 15px;
  }

  .portfolio-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
  }

  .portfolio-card:hover .portfolio-card-hover {
    opacity: 1;
  }

  .portfolio-card-hover svg {
    width: 30px;
    height: 30px;
    color: #fff;
    transform: scale(.7);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  }

  .portfolio-card:hover .portfolio-card-hover svg {
    transform: scale(1);
  }

  .portfolio-card-body {
    padding: 18px 20px 22px;
  }

  .portfolio-card-cat {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
    display: inline-block;
  }

  [lang="ar"] .portfolio-card-cat {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    font-weight: 700;
  }

  .portfolio-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: .01em;
  }

  [lang="ar"] .portfolio-card-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 17px;
  }

  .portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-dim);
    font-size: 16px;
  }

  /* ── LIGHTBOX ── */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 5, 5, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }

  .lightbox.open {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-inner {
    max-width: 900px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--card);
  }

  .lightbox-inner img,
  .lightbox-inner video {
    width: 100%;
    display: block;
    max-height: 60vh;
    object-fit: cover;
    background: #000;
  }

  .lightbox-body {
    padding: 26px 30px 30px;
  }

  .lightbox-close {
    position: fixed;
    top: 26px;
    inset-inline-end: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
  }

  .lightbox-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
  }

  .lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, transform .2s;
    z-index: 2001;
  }

  .lightbox-nav svg {
    width: 22px;
    height: 22px;
  }

  .lightbox-nav:hover {
    background: var(--red);
    border-color: var(--red);
  }

  .lightbox-prev {
    inset-inline-start: 22px;
  }

  .lightbox-next {
    inset-inline-end: 22px;
  }

  [dir="rtl"] .lightbox-prev svg,
  [dir="rtl"] .lightbox-next svg {
    transform: scaleX(-1);
  }

  .lightbox-media {
    position: relative;
  }

  .lightbox-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(5, 5, 5, .55);
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background .2s;
  }

  .lightbox-img-nav:hover {
    background: var(--red);
  }

  .lightbox-img-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-img-prev {
    inset-inline-start: 14px;
  }

  .lightbox-img-next {
    inset-inline-end: 14px;
  }

  [dir="rtl"] .lightbox-img-prev svg,
  [dir="rtl"] .lightbox-img-next svg {
    transform: scaleX(-1);
  }

  .lightbox-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 6px;
  }

  .lightbox-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    transition: background .2s, transform .2s;
  }

  .lightbox-dot.active {
    background: var(--red);
    transform: scale(1.3);
  }

  @media (max-width: 640px) {
    .lightbox-nav {
      width: 40px;
      height: 40px;
    }

    .lightbox-prev {
      inset-inline-start: 10px;
    }

    .lightbox-next {
      inset-inline-end: 10px;
    }
  }

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

  @media (max-width: 640px) {
    .portfolio-hero {
      padding: 150px 0 40px;
    }

    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  }
