/* Otaiqa premium layer: loaded after site.css on every page. Adds polish, motion and the "What makes Otaiqa different" section. */

/* Smooth page-to-page transitions in modern browsers */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pro-fade-out .18s ease both; }
::view-transition-new(root) { animation: pro-fade-in .28s ease both; }
@keyframes pro-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes pro-fade-in { from { opacity: 0; transform: translateY(8px); } }

html { scroll-behavior: smooth; }
section[id], [id].otq-trust { scroll-margin-top: 96px; }
::selection { background: rgba(0, 201, 178, .28); color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid #00c9b2; outline-offset: 3px; border-radius: 6px; }

/* Header turns into frosted glass once you scroll */
header { transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
body.pro-scrolled header {
  background: rgba(255, 255, 255, .82) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(3, 31, 77, .45);
}

/* Hero: keep decorations behind the words and away from the headline */
.hero .wrap, .hero .hero-in, .hero h1, .hero .lede, .hero .tagline, .hero .trust { position: relative; z-index: 3; }
.hero .s3d.sphere.two { display: none; }
@media (max-width: 900px) {
  .hero .s3d.sphere, .hero .s3d.torus, .hero .s3d.pyr { display: none; }
}

/* Button groups: neat rows that wrap with even gaps */
.pro-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.pro-ctas > .cta, .pro-ctas > a { margin: 0 !important; }

/* Buttons: soft lift and a light sweep on hover */
.cta, .otq-go, .pro-btn { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.cta::after, .pro-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.cta:hover, .pro-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0, 201, 178, .7); }
.cta:hover::after, .pro-btn:hover::after { transform: translateX(120%); }

/* Cards: gentle lift and a light that follows the pointer */
.pro-spot { position: relative; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.pro-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 201, 178, .16), transparent 45%);
}
.pro-spot:hover::before { opacity: 1; }
@media (hover: hover) { .pro-spot:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(3, 31, 77, .45); } }

/* Floating buttons: no overlaps */
.otq-top { bottom: 78px !important; }
@media (max-width: 700px) { .otq-top { bottom: 84px !important; right: 14px !important; } }

/* Reveal on scroll (for new sections) */
.pro-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.pro-rv.pro-in { opacity: 1; transform: none; }

/* ===== What makes Otaiqa different ===== */
.pro-uniq { position: relative; padding: 84px 0 76px; background: radial-gradient(1200px 500px at 10% -10%, rgba(124, 92, 255, .22), transparent 60%), radial-gradient(900px 500px at 100% 0%, rgba(0, 201, 178, .20), transparent 55%), linear-gradient(160deg, #031f4d 0%, #0a2c66 55%, #241556 100%); color: #fff; overflow: hidden; }
.pro-uniq::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.pro-uniq .pro-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; }
.pro-kick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: #00e5cb; background: rgba(0, 201, 178, .12); border: 1px solid rgba(0, 201, 178, .35); padding: 6px 14px; border-radius: 999px; }
.pro-kick i { width: 8px; height: 8px; border-radius: 50%; background: #00e5cb; box-shadow: 0 0 0 0 rgba(0, 229, 203, .7); animation: pro-ping 1.8s infinite; }
@keyframes pro-ping { 70% { box-shadow: 0 0 0 10px rgba(0, 229, 203, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 203, 0); } }
.pro-uniq h2 { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -1px; margin: 18px 0 14px; max-width: 820px; color: #fff; }
.pro-grad { background: linear-gradient(90deg, #00e5cb, #7cc4ff 45%, #b89bff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: pro-shift 6s linear infinite; }
@keyframes pro-shift { to { background-position: 200% center; } }
.pro-sub { color: #c9d6ee; font-size: 18px; max-width: 700px; margin: 0 0 40px; }
.pro-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pro-tile { grid-column: span 2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 24px 22px 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.pro-tile.big { grid-column: span 3; }
.pro-tile.wide { grid-column: span 4; }
.pro-tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: linear-gradient(135deg, var(--c, #00c9b2), rgba(255, 255, 255, .08)); box-shadow: 0 10px 24px -12px var(--c, #00c9b2); margin-bottom: 16px; }
.pro-tile h3 { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 20px; line-height: 1.25; margin: 0 0 8px; color: #fff; }
.pro-tile p { color: #c2cfe6; font-size: 15px; line-height: 1.55; margin: 0; }
.pro-tile .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: #031f4d; background: #00e5cb; padding: 3px 10px; border-radius: 999px; }
.pro-tile .mini { margin-top: 16px; display: grid; gap: 8px; }
.pro-tile .mini span { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #dbe6f7; background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 8px 12px; }
.pro-tile .mini b { color: #00e5cb; }
.pro-tile .bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 6px; }
.pro-tile .bar i { display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, #00c9b2, #7c5cff); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
[dir="rtl"] .pro-tile .bar i { transform-origin: right; }
.pro-in .bar i, .pro-tile.pro-in .bar i { transform: scaleX(1); }
.pro-tile.cta-tile { background: linear-gradient(135deg, rgba(0, 201, 178, .25), rgba(124, 92, 255, .25)); border-color: rgba(0, 229, 203, .45); display: flex; flex-direction: column; justify-content: space-between; }
.pro-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: #00e5cb; color: #031f4d !important; font-weight: 800; text-decoration: none; padding: 12px 20px; border-radius: 12px; width: max-content; }
.pro-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; color: #c9d6ee; font-size: 15px; }
.pro-foot b { color: #fff; }
.pro-foot .pro-btn { margin-top: 0; }
@media (max-width: 980px) { .pro-bento { grid-template-columns: repeat(2, 1fr); } .pro-tile, .pro-tile.big, .pro-tile.wide { grid-column: span 1; } .pro-tile.wide { grid-column: span 2; } }
@media (max-width: 620px) { .pro-uniq { padding: 60px 0 56px; } .pro-bento { grid-template-columns: 1fr; } .pro-tile, .pro-tile.big, .pro-tile.wide { grid-column: span 1; } .pro-sub { font-size: 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pro-rv { opacity: 1; transform: none; transition: none; }
  .pro-grad, .pro-kick i { animation: none; }
  .pro-tile .bar i { transform: none; transition: none; }
  .cta::after, .pro-btn::after { display: none; }
  @view-transition { navigation: none; }
}
/* The showcase sits as a rounded panel inside the page column */
main .pro-uniq, .pro-uniq { border-radius: 28px; margin: 34px auto; max-width: 1160px; }
@media (max-width: 700px) { main .pro-uniq, .pro-uniq { border-radius: 0; margin: 24px -20px; } }
.pro-tile .mini span { align-items: baseline; }
.pro-uniq h2#pro-uniq-h { font-size: clamp(32px, 5vw, 56px) !important; line-height: 1.06 !important; font-weight: 800 !important; }
