:root {
  --navy: #14567F;
  --navy-deep: #0D3B5C;
  --navy-light: #1B6CA0;
  --gold: #C9A24B;
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --text: #10293B;
  --muted: #5A7186;
  --border: rgba(20, 86, 127, 0.14);
  --shadow: 0 10px 40px rgba(13, 59, 92, 0.10);
  --shadow-lg: 0 24px 70px rgba(13, 59, 92, 0.20);
  --radius: 20px;
}
[data-theme="dark"] {
  --bg: #081420;
  --surface: #0F1F2E;
  --text: #E8F0F7;
  --muted: #8FA6B8;
  --border: rgba(140, 180, 210, 0.14);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .3s, color .3s;
  overflow-x: hidden;
}
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: 'Montserrat', sans-serif; }

/* ===== Premium kinematik intro ===== */
.intro {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; overflow: hidden;
  background: transparent; pointer-events: all;
}
.intro-panel {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background: radial-gradient(ellipse at 50% 110%, #0E2A42 0%, #05090E 70%);
  transition: transform 1.1s cubic-bezier(.75,0,.2,1);
  z-index: 1;
}
.intro-panel.left { left: 0; }
.intro-panel.right { right: 0; }
.intro.done .intro-panel.left { transform: translateX(-101%); }
.intro.done .intro-panel.right { transform: translateX(101%); }
.intro.done .intro-stars, .intro.done .intro-center { opacity: 0; }
.intro.done { pointer-events: none; }

.intro-stars {
  position: absolute; inset: 0; z-index: 2; transition: opacity .5s;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, #fff, transparent),
    radial-gradient(1px 1px at 35% 65%, #cfe6ff, transparent),
    radial-gradient(2px 2px at 55% 15%, #fff, transparent),
    radial-gradient(1px 1px at 72% 45%, #9cc7e4, transparent),
    radial-gradient(1.5px 1.5px at 88% 68%, #fff, transparent),
    radial-gradient(1px 1px at 25% 85%, #cfe6ff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.intro-center {
  position: relative; z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: 14px; transition: opacity .5s;
}
.intro-logo {
  width: 280px; height: auto; border-radius: 26px; background: #fff; padding: 20px 26px;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.5) rotateY(120deg);
  animation: introLogo 1.2s cubic-bezier(.2,1,.3,1) .25s forwards,
             logoPulse 2.6s ease-in-out 1.5s infinite;
}
.intro-logo img { width: 100%; height: auto; object-fit: contain; display: block; }
@keyframes introLogo {
  55% { box-shadow: 0 0 110px rgba(27,108,160,.65), 0 0 40px rgba(201,162,75,.35); }
  100% { opacity: 1; transform: scale(1) rotateY(0); box-shadow: 0 0 60px rgba(27,108,160,.4); }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(27,108,160,.4); }
  50% { box-shadow: 0 0 95px rgba(27,108,160,.6), 0 0 34px rgba(201,162,75,.3); }
}
.intro-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 6px;
  font-size: clamp(24px, 4.6vw, 42px); color: #EAF4FC;
  min-height: 1.2em; text-align: center;
}
.intro-title .ch {
  display: inline-block; opacity: 0;
  transform: translateY(30px) rotateX(80deg); filter: blur(6px);
  animation: chIn .6s cubic-bezier(.2,1,.3,1) forwards;
}
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
.intro-sub {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: #5A7186;
  opacity: 0; animation: introFade .8s ease 1.6s forwards;
}
@keyframes introFade { to { opacity: 1; } }
.intro-line {
  width: 0; height: 1.5px; margin-top: 6px;
  background: linear-gradient(90deg, transparent, #1B6CA0, #C9A24B, #1B6CA0, transparent);
  animation: introLine 1.3s ease 1.5s forwards;
}
@keyframes introLine { to { width: min(380px, 64vw); } }
.intro-counter {
  font-size: 12px; letter-spacing: 3px; color: #C9A24B; font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0; animation: introFade .5s ease .9s forwards;
}

/* Səhifə girişi */
body.entering .topbar, body.entering .hero { animation: pageIn 1s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } }

/* ===== 3D arxa fon blobları ===== */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; top: -180px; right: -120px; background: radial-gradient(circle, var(--navy-light), transparent 70%); }
.blob-2 { width: 420px; height: 420px; bottom: -140px; left: -120px; background: radial-gradient(circle, var(--gold), transparent 70%); animation-delay: -8s; opacity: .22; }
.blob-3 { width: 340px; height: 340px; top: 40%; left: 55%; background: radial-gradient(circle, var(--navy), transparent 70%); animation-delay: -15s; opacity: .18; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo { height: 62px; width: auto; border-radius: 12px; background: #fff; padding: 6px 10px; box-shadow: 0 4px 14px rgba(13,59,92,.18); }
.brand-title { display: block; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.brand-sub { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--navy-light), var(--gold)); transition: width .25s;
}
.nav a:hover { color: var(--navy-light); }
.nav a:hover::after { width: 100%; }
.top-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: transform .2s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(12deg); }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit; text-decoration: none;
  font-weight: 700; font-size: 13.5px; border-radius: 12px; padding: 11px 18px;
  transition: transform .22s, box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(135deg, var(--navy-light), var(--navy-deep)); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--navy-light); color: var(--navy-light); }
[data-theme="dark"] .btn-outline { color: #9CC7E4; border-color: #35648a; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

.user-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 600;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
  color: #fff; font-size: 13px; font-weight: 700;
}
.chip-x { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.auth-area { position: relative; }
.user-chip { cursor: pointer; }
.user-chip .chev { color: var(--muted); font-size: 11px; }
.profile-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  width: 240px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pmIn .25s cubic-bezier(.2,1.2,.4,1);
}
@keyframes pmIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.pm-head { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pm-head span { display: block; }
#pmName { font-weight: 700; font-size: 14px; }
#pmEmail { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }
.pm-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--text); text-decoration: none; border: none; background: none;
  cursor: pointer; font-family: inherit; text-align: left; transition: background .2s;
}
.pm-item:hover { background: color-mix(in srgb, var(--navy) 8%, transparent); }
.pm-logout { color: #d84a4a; }

/* ===== Hero slider ===== */
.hero { padding: 38px 0 10px; perspective: 1400px; }
.slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 21 / 7.5; min-height: 300px;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .25s ease-out;
}
/* ===== "Beyond the Clouds" kosmik səhnə ===== */
.hero-scene { background: radial-gradient(ellipse at 50% 120%, #12314A 0%, #081522 45%, #04080D 100%); }
.stars, .stars-2 {
  position: absolute; inset: -50% 0 0 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 28% 64%, #cfe6ff, transparent),
    radial-gradient(2px 2px at 41% 18%, #fff, transparent),
    radial-gradient(1px 1px at 55% 48%, #9cc7e4, transparent),
    radial-gradient(1.5px 1.5px at 67% 12%, #fff, transparent),
    radial-gradient(1px 1px at 74% 58%, #cfe6ff, transparent),
    radial-gradient(2px 2px at 86% 30%, #fff, transparent),
    radial-gradient(1px 1px at 93% 70%, #9cc7e4, transparent),
    radial-gradient(1.5px 1.5px at 20% 84%, #cfe6ff, transparent),
    radial-gradient(1px 1px at 60% 88%, #fff, transparent);
  background-size: 100% 100%;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.stars-2 { transform: scale(1.4) rotate(12deg); animation-delay: -2.5s; opacity: .6; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.cloud {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(230,240,250,.5) 0%, rgba(190,215,235,.22) 45%, transparent 70%);
  filter: blur(18px);
  will-change: transform;
}
.cloud-1 { width: 380px; height: 150px; top: 16%; left: 4%; animation: cloudDrift 16s ease-in-out infinite alternate; }
.cloud-2 { width: 460px; height: 180px; top: 34%; right: -4%; animation: cloudDrift 20s ease-in-out infinite alternate-reverse; }
.cloud-3 { width: 300px; height: 120px; bottom: 12%; left: 30%; animation: cloudDrift 13s ease-in-out infinite alternate; opacity: .8; }
@keyframes cloudDrift {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(70px) translateY(-16px); }
}

.grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -6%; height: 46%;
  z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(60,140,200,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,140,200,.28) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.85), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0,0,0,.85), transparent 85%);
  animation: floorMove 3.2s linear infinite;
}
@keyframes floorMove { from { background-position: 0 0; } to { background-position: 0 46px; } }

.slides { display: flex; height: 100%; position: relative; z-index: 3; transition: transform .7s cubic-bezier(.6,0,.2,1); }
.slide {
  min-width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.slide[style*="background-image"]::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(5,14,23,.78);
}
.slide-content {
  position: relative; z-index: 2; padding: 44px 52px; color: #fff;
  max-width: 720px; text-align: center;
}
.slide-content .tag {
  display: inline-block; font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; backdrop-filter: blur(6px);
}
.slide-content h1 { font-size: clamp(24px, 3.6vw, 44px); line-height: 1.12; margin-bottom: 12px; text-shadow: 0 4px 22px rgba(0,0,0,.35); }
.slide-content p { font-size: 15.5px; opacity: .9; line-height: 1.6; max-width: 540px; margin: 0 auto; }
.slide-content .slide-link {
  display: inline-block; margin-top: 16px; color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,30,48,.35); color: #fff; font-size: 26px; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.slider-arrow:hover { background: rgba(10,30,48,.7); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots { position: absolute; bottom: 18px; right: 28px; z-index: 3; display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .25s;
}
.slider-dots button.active { background: var(--gold); width: 28px; border-radius: 999px; }

/* ===== Sections ===== */
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.platforms { padding: 84px 0 30px; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 36px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; }

/* ===== Disney üslubu kart karuseli ===== */
.pcarousel { }
.pviewport { overflow: hidden; padding: 55px 6px 30px; }
.ptrack {
  display: flex; gap: 26px;
  transition: transform .65s cubic-bezier(.35,0,.15,1);
  will-change: transform;
}
.pcard {
  flex: 0 0 300px; min-height: 330px;
  border-radius: 22px; padding: 76px 28px 28px;
  position: relative; text-decoration: none;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s cubic-bezier(.2,1,.3,1), box-shadow .45s, border-color .3s;
  box-shadow: 0 8px 28px rgba(13,59,92,.10);
  overflow: visible;
}
.pcard::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px;
  background: linear-gradient(90deg, var(--navy-light), var(--gold));
  border-radius: 0 0 4px 4px; opacity: 0; transition: opacity .3s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(13,59,92,.22); border-color: var(--navy-light); }
.pcard:hover::before { opacity: 1; }
.pcard .picon {
  position: absolute; top: -34px; left: 28px;
  width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-light), var(--navy-deep));
  color: #fff; box-shadow: 0 12px 26px rgba(13,59,92,.3);
  border: 2.5px solid var(--surface);
  transition: transform .4s cubic-bezier(.2,1,.3,1);
}
.pcard:hover .picon { transform: translateY(-5px) scale(1.05); }
.pcard .picon svg { width: 30px; height: 30px; }
.pcard .picon img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.pcard h3 { font-size: 18px; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--text); }
.pcard p { font-size: 13.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.pcard .go { font-weight: 700; font-size: 13.5px; color: var(--navy-light); }
.pcard .go::after { content: " →"; transition: margin .2s; }
.pcard:hover .go::after { margin-left: 7px; }
.pcard.soon { pointer-events: none; }
.pcard.soon .picon { background: linear-gradient(145deg, #8FA6B8, #5A7186); filter: grayscale(.2); }
.soon-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); border: 1.5px solid var(--gold);
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}
.pnav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.pnav-btn {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font-family: inherit; font-weight: 700; font-size: 13.5px;
  border-radius: 999px; padding: 11px 22px; cursor: pointer;
  transition: all .25s;
}
.pnav-btn:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; transform: translateY(-2px); }
.pnav-btn:disabled { opacity: .35; pointer-events: none; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); perspective: 1200px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .3s, transform .3s ease-out;
  box-shadow: 0 4px 20px rgba(13,59,92,.06);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy-light), var(--gold));
  opacity: 0; transition: opacity .25s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: color-mix(in srgb, var(--navy) 10%, transparent);
  transform: translateZ(30px); box-shadow: inset 0 0 0 1px var(--border);
}
.card h3 { font-size: 17.5px; font-weight: 800; transform: translateZ(22px); }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; transform: translateZ(14px); }
.card .go { font-size: 13px; font-weight: 700; color: var(--navy-light); transform: translateZ(18px); }
.card .go::after { content: " →"; transition: margin .2s; }
.card:hover .go::after { margin-left: 6px; }

/* ===== Bento grid (premium dark) ===== */
.bento-section {
  padding: 90px 0;
  background: radial-gradient(ellipse at 30% -10%, #12314A 0%, #081522 45%, #04080D 100%);
  position: relative;
}
.bento-section .eyebrow { color: var(--gold); }
.bento-title { color: #EAF4FC; }
.bento-sub { color: #7E96AA !important; }
.bento-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
}
.bento-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(20,40,60,.75), rgba(8,18,28,.9));
  border: 1px solid rgba(140,180,210,.14);
  border-radius: 20px; padding: 28px;
  backdrop-filter: blur(8px);
  transition: transform .35s ease, border-color .35s;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.45); }
.bento-card.big { grid-column: span 2; grid-row: span 2; padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.bento-card.wide { grid-column: span 2; }
.bento-card h3 {
  color: #EAF4FC; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 18px; margin-bottom: 10px; position: relative; z-index: 2;
}
.bento-card.big h3 { font-size: 26px; }
.bento-card p { color: #7E96AA; font-size: 13.5px; line-height: 1.65; position: relative; z-index: 2; max-width: 480px; }
.bento-badge {
  display: inline-block; width: fit-content; margin-bottom: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,162,75,.4);
  padding: 5px 12px; border-radius: 999px; position: relative; z-index: 2;
  background: rgba(201,162,75,.07);
}
.bento-glow {
  position: absolute; width: 240px; height: 240px; right: -70px; bottom: -70px;
  background: radial-gradient(circle, rgba(201,162,75,.28), transparent 65%);
  border-radius: 50%; filter: blur(10px);
  opacity: .6; transition: opacity .4s, transform .4s;
  animation: bentoGlow 5s ease-in-out infinite alternate;
}
.bento-card:hover .bento-glow { opacity: 1; transform: scale(1.25); }
@keyframes bentoGlow { from { opacity: .35; } to { opacity: .75; } }
.bento-lines {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background-image:
    linear-gradient(rgba(60,140,200,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,140,200,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  mask-image: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}
/* Scroll ilə pilləli alt-alta açılma */
.bento-grid .bento-card.reveal { opacity: 0; transform: translateY(56px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,1,.3,1); }
.bento-grid .bento-card.reveal.visible { opacity: 1; transform: translateY(0); }
.bento-grid .bento-card:nth-child(1) { transition-delay: 0s; }
.bento-grid .bento-card:nth-child(2) { transition-delay: .15s; }
.bento-grid .bento-card:nth-child(3) { transition-delay: .3s; }
.bento-grid .bento-card:nth-child(4) { transition-delay: .45s; }
.bento-grid .bento-card:nth-child(5) { transition-delay: .6s; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.big, .bento-card.wide { grid-column: span 1; grid-row: span 1; }
  .bento-card.big { padding: 28px; }
  .bento-card.big h3 { font-size: 21px; }
  .bento-grid .bento-card { transition-delay: 0s !important; }
}

/* ===== About + 3D logo ===== */
.about { padding: 70px 0; }
.about-inner {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 52px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.about-inner::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, color-mix(in srgb, var(--navy-light) 18%, transparent), transparent 70%);
  border-radius: 50%;
}
.about-inner > div:first-child { flex: 1; min-width: 280px; }
.about h2 { font-size: 30px; margin-bottom: 14px; }
.about p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.stats { display: flex; gap: 34px; margin-top: 26px; }
.stat b { display: block; font-size: 26px; color: var(--navy-light); font-family: 'Montserrat', sans-serif; }
.stat span { font-size: 12.5px; color: var(--muted); letter-spacing: .6px; }

.logo-3d-wrap { perspective: 900px; }
.logo-3d {
  width: 270px; height: 270px; background: #fff; border-radius: 32px; padding: 28px;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  animation: float3d 7s ease-in-out infinite;
}
.logo-3d img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateY(-12deg) rotateX(6deg); }
  50%      { transform: translateY(-18px) rotateY(12deg) rotateX(-6deg); }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 30px; background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { font-family: 'Montserrat', sans-serif; font-size: 18px; color: var(--navy-light); }
.footer p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--navy-light); }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,20,33,.62);
  display: grid; place-items: center; backdrop-filter: blur(5px);
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal {
  background: var(--surface); color: var(--text); border-radius: 22px;
  padding: 36px; width: min(430px, 92vw); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: popIn .3s cubic-bezier(.2,1.4,.4,1);
}
@keyframes popIn { from { transform: scale(.9) translateY(14px); opacity: 0; } }
.modal h3 { font-family: 'Montserrat', sans-serif; font-size: 23px; margin-bottom: 6px; }
.modal .hint { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 14px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy-light); border-color: transparent; }
.field .err { color: #d84a4a; font-size: 12px; display: none; margin-top: 4px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; margin-bottom: 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text);
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: all .2s;
}
.google-btn:hover { border-color: var(--navy-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.divider {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  color: var(--muted); font-size: 12px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

@media (max-width: 860px) {
  .pcard { flex-basis: 260px; min-height: 320px; }
}

/* ===== GiGi — HR Asistent ===== */
.gigi-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 104px; height: 104px; cursor: pointer;
  animation: gigiFloat 4s ease-in-out infinite;
  transition: transform .3s, opacity .3s;
  filter: drop-shadow(0 14px 26px rgba(13,59,92,.35));
}
.gigi-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%; background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(201,162,75,.55), 0 12px 30px rgba(13,59,92,.3);
  transform: scale(1);
}
.gigi-fab .gigi-img { object-position: 50% 22%; }
.gigi-chat-avatar .gigi-img {
  border-width: 2px;
  box-shadow: 0 0 0 1.5px rgba(201,162,75,.6);
  object-position: 50% 20%;
}
.gigi-fab:hover { transform: scale(1.08); }
.gigi-fab.hide { opacity: 0; pointer-events: none; }
.gigi-fab.hop { animation: gigiHop 1.2s cubic-bezier(.3,1.6,.4,1); }
@keyframes gigiFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes gigiHop {
  0%,100% { transform: none; }
  30% { transform: translateY(-26px) rotate(-6deg); }
  55% { transform: translateY(0) rotate(4deg); }
  75% { transform: translateY(-10px); }
}
.gigi-svg { width: 100%; height: 100%; }
.gigi-arm { transform-origin: 100px 84px; animation: gigiWave 2.6s ease-in-out infinite; }
@keyframes gigiWave {
  0%, 55%, 100% { transform: rotate(0); }
  65% { transform: rotate(-38deg); }
  75% { transform: rotate(-12deg); }
  85% { transform: rotate(-38deg); }
}
.gigi-eye { animation: gigiBlink 4.4s infinite; transform-origin: center; }
@keyframes gigiBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
.gigi-head { transform-origin: 60px 44px; animation: gigiNod 6s ease-in-out infinite; }
@keyframes gigiNod { 0%,100% { transform: rotate(0); } 30% { transform: rotate(2.4deg); } 60% { transform: rotate(-2.4deg); } }

.gigi-bubble {
  position: absolute; right: 100%; top: 6px; margin-right: 10px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px 14px 4px 14px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px) scale(.9); pointer-events: none;
  transition: all .4s cubic-bezier(.2,1.4,.4,1);
}
.gigi-fab.greet .gigi-bubble { opacity: 1; transform: none; }

.gigi-chat {
  position: fixed; right: 26px; bottom: 26px; z-index: 95;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 60px));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chatIn .35s cubic-bezier(.2,1.2,.4,1);
}
@keyframes chatIn { from { transform: translateY(30px) scale(.92); opacity: 0; } }
.gigi-chat-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep)); color: #fff;
}
.gigi-chat-avatar { width: 46px; height: 46px; flex-shrink: 0; }
.gigi-chat-head strong { display: block; font-size: 14.5px; }
.gigi-status { font-size: 11px; color: #8FE3A8; }
.gigi-close {
  margin-left: auto; border: none; background: rgba(255,255,255,.15); color: #fff;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px;
}
.gigi-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.gigi-msg {
  max-width: 82%; padding: 10px 14px; border-radius: 16px;
  font-size: 13.5px; line-height: 1.5;
  animation: msgIn .3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.gigi-msg.bot { background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.gigi-msg.user { background: linear-gradient(135deg, var(--navy-light), var(--navy-deep)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.gigi-msg.typing { color: var(--muted); font-style: italic; }
.gigi-quick { display: flex; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; }
.gigi-quick button {
  border: 1px solid var(--border); background: var(--bg); color: var(--navy-light);
  border-radius: 999px; padding: 6px 12px; font-size: 11.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.gigi-quick button:hover { background: var(--navy-light); color: #fff; border-color: var(--navy-light); }
.gigi-input {
  display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border);
}
.gigi-input input {
  flex: 1; border: 1px solid var(--border); background: var(--bg); color: var(--text);
  border-radius: 12px; padding: 11px 14px; font-family: inherit; font-size: 13.5px;
}
.gigi-input input:focus { outline: 2px solid var(--navy-light); border-color: transparent; }
.gigi-input button {
  width: 44px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep)); color: #fff; font-size: 16px;
  transition: transform .2s;
}
.gigi-input button:hover { transform: scale(1.08); }
/* ===== Mobil optimallaşdırma ===== */
@media (max-width: 860px) {
  .nav { display: none; }
  .btn-outline { display: none; }
  .container { padding: 0 16px; }

  /* Topbar */
  .topbar-inner { height: 56px; gap: 8px; }
  .brand-logo { height: 38px; padding: 3px 6px; border-radius: 9px; }
  .brand-title { font-size: 13px; }
  .brand-sub { display: none; }
  .btn { padding: 8px 11px; font-size: 12px; border-radius: 10px; }
  .login-txt { display: none; } /* mobil: yalnız ikon */
  #loginBtn { padding: 9px 11px; }
  .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
  .profile-menu { width: 210px; }

  /* Intro */
  .intro-logo { width: min(180px, 52vw); padding: 10px 14px; border-radius: 18px; }
  .intro-title { letter-spacing: 2px; font-size: clamp(17px, 5.5vw, 24px); }
  .intro-sub { font-size: 9px; letter-spacing: 3px; }
  .intro-counter { font-size: 10.5px; }

  /* Hero */
  .hero { padding: 14px 0 4px; }
  .slider { aspect-ratio: 4/5; min-height: 340px; border-radius: 16px; }
  .slide-content { padding: 18px 14px; }
  .slide-content .tag { font-size: 9.5px; padding: 4px 10px; letter-spacing: 1.6px; }
  .slide-content h1 { font-size: 20px; }
  .slide-content p { font-size: 12.5px; line-height: 1.5; }
  .slide-content .slide-link { font-size: 12.5px; margin-top: 10px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 20px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .slider-dots { right: 16px; bottom: 12px; }
  .cloud { filter: blur(14px); }

  /* Bölmə başlıqları */
  .eyebrow { font-size: 10px; letter-spacing: 1.8px; }
  .section-head h2 { font-size: 21px; }
  .section-head p { font-size: 13px; }
  .section-head { margin-bottom: 20px; }

  /* Platformalar */
  .platforms { padding: 44px 0 16px; }
  .pviewport { padding: 42px 4px 18px; }
  .pcard { flex: 0 0 calc(100vw - 90px); max-width: 270px; min-height: 260px; padding: 56px 18px 20px; border-radius: 18px; }
  .pcard .picon { width: 50px; height: 50px; top: -24px; left: 18px; border-radius: 14px; }
  .pcard .picon svg { width: 22px; height: 22px; }
  .pcard h3 { font-size: 15.5px; }
  .pcard p { font-size: 12.5px; }
  .pcard .go { font-size: 12.5px; }
  .soon-badge { font-size: 9px; padding: 4px 9px; top: 14px; right: 14px; }
  .pnav-btn { padding: 9px 16px; font-size: 12px; }

  /* Bento */
  .bento-section { padding: 44px 0; }
  .bento-title { font-size: 21px; }
  .bento-sub { font-size: 13px !important; }
  .bento-card { padding: 20px; border-radius: 16px; }
  .bento-card h3 { font-size: 15.5px; margin-bottom: 7px; }
  .bento-card.big h3 { font-size: 17.5px; }
  .bento-card p { font-size: 12.5px; }
  .bento-badge { font-size: 9px; padding: 4px 10px; margin-bottom: 10px; }
  .bento-grid { gap: 12px; grid-auto-rows: auto; }

  /* About */
  .about { padding: 32px 0; }
  .about-inner { padding: 22px 16px; gap: 18px; }
  .about h2 { font-size: 20px; }
  .about p { font-size: 13px; }
  .stats { gap: 18px; flex-wrap: wrap; margin-top: 18px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 11px; }
  .logo-3d { width: 150px; height: 150px; padding: 14px; border-radius: 22px; }
  .logo-3d-wrap { width: 100%; display: flex; justify-content: center; }

  /* Footer */
  .footer { padding: 22px 0; }
  .footer-brand { font-size: 15px; }
  .footer p, .footer-links a { font-size: 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* GiGi */
  .gigi-fab { width: 64px; height: 64px; right: 14px; bottom: 14px; }
  .gigi-chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: min(540px, calc(100vh - 90px)); }
  .gigi-bubble { font-size: 12px; padding: 8px 11px; }

  /* Modal */
  .modal { padding: 26px 20px; }
}
