/* ═══════════════════════════════════════════════════════════════
   GUERILLA EVENTS — MAIN STYLESHEET
   Brand: غوريلا للفعاليات
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════ VARIABLES ═══════════════════════ */
:root {
  --navy: #1F2A5C;
  --peach: #F5C99B;
  --purple: #5E56AD;
  --cream: #FAF6F0;
  --ink: #0F1535;
  --white: #FFFFFF;
  --muted: rgba(31, 42, 92, 0.6);
  --muted-light: rgba(31, 42, 92, 0.4);
  --success: #00C853;
  
  --font: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  
  --shadow-sm: 0 2px 8px rgba(31, 42, 92, 0.08);
  --shadow-md: 0 10px 30px rgba(31, 42, 92, 0.12);
  --shadow-lg: 0 25px 50px rgba(31, 42, 92, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
}

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

/* ═══════════════════════ KEYFRAMES ═══════════════════════ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes line-grow {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes typing-dots {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 201, 155, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(245, 201, 155, 0); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════ CONTAINER ═══════════════════════ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ═══════════════════════ HERO SECTION ═══════════════════════ */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 80px 1fr 80px;
  min-height: 100vh;
}

/* TOP BAR */
.top-bar {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  border-bottom: 1px solid rgba(31, 42, 92, 0.1);
  background: var(--cream);
  position: relative;
  z-index: 10;
}

.top-brand {
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(31, 42, 92, 0.1);
  height: 100%;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--peach);
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
}

.brand-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
}

.nav-link {
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--peach);
}

.top-meta {
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--muted);
  border-right: 1px solid rgba(31, 42, 92, 0.1);
  height: 100%;
}

.meta-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: all 0.3s;
}

/* MAIN AREA */
.main-area {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
}

/* LEFT SIDEBAR */
.left-side {
  background: var(--navy);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Sidebar background media (image/video/gif) */
.sidebar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sidebar-bg img,
.sidebar-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(31, 42, 92, 0.55);
  pointer-events: none;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* All children above bg */
.left-side > *:not(.sidebar-bg):not(.sidebar-overlay),
.right-side > *:not(.sidebar-bg):not(.sidebar-overlay) {
  position: relative;
  z-index: 2;
}

.left-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(245, 201, 155, 0.5);
}

.left-vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(245, 201, 155, 0.4);
  margin: auto;
}

.left-decor {
  position: relative;
  width: 100%;
  height: 90px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

/* === OPTION 1: SQUARES (default) === */
.left-decor[data-style="squares"] .decor-content {
  position: relative;
  width: 70px;
  height: 70px;
}

.left-decor[data-style="squares"] .decor-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: var(--peach);
  border-radius: var(--radius-sm);
}

.left-decor[data-style="squares"] .decor-content::after {
  content: '';
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 35px;
  height: 35px;
  background: var(--purple);
  border-radius: 6px;
  opacity: 0.8;
  z-index: 1;
}

/* === OPTION 2: CIRCLE in SQUARE === */
.left-decor[data-style="circle"] .decor-content {
  width: 75px;
  height: 75px;
  background: var(--peach);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-decor[data-style="circle"] .decor-content::after {
  content: '';
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 50%;
}

/* === OPTION 3: LINES === */
.left-decor[data-style="lines"] .decor-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  width: 100%;
}

.left-decor[data-style="lines"] .decor-content::before,
.left-decor[data-style="lines"] .decor-content::after,
.left-decor[data-style="lines"] .decor-content .l3 {
  content: '';
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--peach);
}

.left-decor[data-style="lines"] .decor-content::before {
  width: 60px;
}

.left-decor[data-style="lines"] .decor-content::after {
  width: 80px;
  background: var(--purple);
}

.left-decor[data-style="lines"] .decor-content .l3 {
  width: 40px;
}

/* === OPTION 4: DOTS GRID === */
.left-decor[data-style="dots"] .decor-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 70px;
}

.left-decor[data-style="dots"] .decor-content .d {
  width: 14px;
  height: 14px;
  background: var(--peach);
  border-radius: 50%;
}

.left-decor[data-style="dots"] .decor-content .d.accent {
  background: var(--purple);
}

/* === OPTION 5: PLUS === */
.left-decor[data-style="plus"] .decor-content {
  width: 70px;
  height: 70px;
  position: relative;
}

.left-decor[data-style="plus"] .decor-content::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 14px;
  background: var(--peach);
  border-radius: 4px;
  top: 28px;
  left: 0;
}

.left-decor[data-style="plus"] .decor-content::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 70px;
  background: var(--purple);
  border-radius: 4px;
  top: 0;
  left: 28px;
}

/* === OPTION 6: ARROW === */
.left-decor[data-style="arrow"] .decor-content {
  font-size: 70px;
  color: var(--peach);
  font-weight: 300;
  line-height: 1;
}

/* === OPTION 7: G LETTER === */
.left-decor[data-style="letter"] .decor-content {
  width: 75px;
  height: 75px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 38px;
  font-weight: 800;
}

/* === OPTION 8: STAR === */
.left-decor[data-style="star"] .decor-content {
  color: var(--peach);
  font-size: 70px;
  line-height: 1;
}

/* === OPTION 9: NONE === */
.left-decor[data-style="none"] .decor-content {
  display: none;
}

/* === OPTION 10: CUSTOM (emoji/text/image) === */
.left-decor[data-style="custom"] .decor-content {
  width: 75px;
  height: 75px;
  background: var(--peach);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  overflow: hidden;
}

.left-decor[data-style="custom"] .decor-content img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.left-num {
  font-size: 44px;
  color: var(--peach);
  font-weight: 600;
  line-height: 1;
}

.left-num-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.6);
  margin-top: 8px;
}

/* CENTER */
.center {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.center::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 42, 92, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 92, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 36px;
}

.eyebrow-line {
  width: 60px;
  height: 1px;
  background: var(--purple);
  animation: line-grow 1s ease-out;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
}

.eyebrow-line-sm {
  width: 30px;
  height: 1px;
  background: var(--purple);
}

.hero-title {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 32px;
  animation: fade-up 0.8s ease-out;
}

.hero-title br {
  display: block;
  content: "";
  margin-top: 8px;
}

.title-underline,
.word-highlight {
  position: relative;
  display: inline-block;
}

.title-em {
  position: relative;
  display: inline-block;
  font-weight: 500;
  color: #5E56AD;
  margin-left: 8px;
  margin-right: 8px;
  padding: 0 6px;
  z-index: 1;
}

.title-em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  height: 38%;
  background: #F2CAA1;
  border-radius: 4px;
  z-index: -1;
  opacity: 0.85;
}

/* For dark backgrounds — peach color, no highlight */
.title-accent {
  font-weight: 500;
  color: #F2CAA1;
  margin-left: 4px;
  margin-right: 4px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(31, 42, 92, 0.7);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 500px;
  animation: fade-up 0.8s ease-out 0.2s both;
}

.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 0.8s ease-out 0.4s both;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--cream);
  padding: 8px 8px 8px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  line-height: 1;
}

.cta-primary > span:first-child {
  padding-block: 4px;
}

.cta-primary:hover {
  background: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cta-circle {
  width: 40px;
  height: 40px;
  background: var(--peach);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 16px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.cta-primary:hover .cta-circle {
  transform: rotate(-45deg);
}

.cta-secondary {
  background: transparent;
  color: rgba(31, 42, 92, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(31, 42, 92, 0.3);
  transition: all 0.2s;
  padding: 8px 4px;
  line-height: 1;
}

.cta-row {
  align-items: center;
}

.cta-secondary:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

/* RIGHT SIDEBAR */
.right-side {
  background: var(--navy);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.right-badge {
  width: 80px;
  height: 80px;
  position: relative;
}

.right-badge-svg {
  width: 100%;
  height: 100%;
  animation: slow-rotate 20s linear infinite;
}

.right-badge-svg text {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
  fill: var(--peach);
}

.right-badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.right-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.right-stat {
  text-align: right;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(245, 201, 155, 0.15);
}

.right-stat:last-child {
  border-bottom: none;
}

.right-stat-num {
  font-size: 44px;
  color: var(--peach);
  font-weight: 600;
  line-height: 1;
}

.right-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.6);
  margin-top: 8px;
}

.right-bottom {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(245, 201, 155, 0.5);
  text-align: right;
}

/* MARQUEE */
.hero-marquee {
  grid-column: 1 / -1;
  grid-row: 3;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 4px solid var(--peach);
}

.marquee-track {
  display: flex;
  gap: 50px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--peach);
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.marquee-star {
  font-size: 9px;
  opacity: 0.6;
}

/* ═══════════════════════ SECTIONS BASE ═══════════════════════ */
.section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(31, 42, 92, 0.08);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 20px;
}

.section-eyebrow.center-flex {
  justify-content: center;
  display: inline-flex;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-title br {
  display: block;
  content: "";
  margin-top: 6px;
}

.section-desc {
  font-size: 16px;
  color: rgba(31, 42, 92, 0.7);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 50px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 60px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: opacity 0.2s;
  line-height: 1;
}

.section-link:hover {
  opacity: 0.7;
}

.link-circle {
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: var(--peach);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.section-link:hover .link-circle {
  transform: rotate(-45deg);
}

/* ═══════════════════════ ABOUT ═══════════════════════ */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 10px;
  background: white;
  border: 1px solid rgba(31, 42, 92, 0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s;
  line-height: 1;
}

.about-link:hover {
  background: var(--navy);
  color: var(--cream);
}

.about-link:hover .link-circle {
  background: var(--peach);
  color: var(--navy);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.about-stat-card:hover {
  transform: translateY(-4px);
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--peach);
}

.about-stat-num {
  font-size: 72px;
  font-weight: 700;
  color: var(--peach);
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.7);
}

/* ═══════════════════════ SERVICES ═══════════════════════ */
.services-section {
  background: var(--navy);
  color: var(--cream);
}

.services-section .section-title {
  color: var(--cream);
}

.services-section .section-eyebrow {
  color: var(--peach);
}

.services-section .eyebrow-line-sm {
  background: var(--peach);
}

.services-section .section-desc {
  color: rgba(250, 246, 240, 0.7);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  background: rgba(245, 201, 155, 0.08);
  border-color: var(--peach);
  transform: translateY(-4px);
}

.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.5);
  margin-bottom: 20px;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.6);
  line-height: 1.7;
}

/* ═══════════════════════ TEAM ═══════════════════════ */
.team-section {
  background: var(--cream);
}

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

.team-card {
  background: white;
  border: 1px solid rgba(31, 42, 92, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  height: 240px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.team-photo.has-image::before {
  display: none;
}

.team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(245, 201, 155, 0.3), transparent 60%);
  z-index: 1;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.team-photo.has-image .team-photo-num {
  z-index: 3;
  background: rgba(15, 21, 53, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.team-photo-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.7);
  z-index: 2;
}

.team-emoji {
  position: relative;
  z-index: 1;
}

.team-info {
  padding: 22px 24px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 18px;
}

.team-social {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 42, 92, 0.08);
}

.team-social a {
  width: 30px;
  height: 30px;
  background: rgba(31, 42, 92, 0.06);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--navy);
  transition: all 0.2s;
}

.team-social a:hover {
  background: var(--peach);
  color: var(--navy);
}

/* ═══════════════════════ WORKS ═══════════════════════ */
.works-section {
  background: var(--ink);
  color: var(--cream);
}

.works-section .section-title {
  color: var(--cream);
}

.works-section .section-eyebrow {
  color: var(--peach);
}

.works-section .eyebrow-line-sm {
  background: var(--peach);
}

.works-section .section-link {
  color: var(--cream);
}

.works-section .section-link .link-circle {
  background: var(--peach);
  color: var(--ink);
}

.works-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
}

.work-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s;
}

.work-card:hover {
  transform: scale(0.98);
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 21, 53, 0.9) 100%);
  z-index: 1;
}

.work-card.featured {
  grid-row: span 2;
  background: linear-gradient(135deg, var(--purple) 0%, var(--navy) 100%);
}

.work-card.peach {
  background: linear-gradient(135deg, var(--peach) 0%, #D4A574 100%);
}

.work-card.peach::before {
  background: linear-gradient(180deg, transparent 40%, rgba(31, 42, 92, 0.85) 100%);
}

.work-card.dark {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
}

.work-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 90px;
  opacity: 0.3;
  z-index: 1;
  transition: all 0.4s;
}

.work-card:hover .work-icon {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0.5;
}

.work-card.featured .work-icon {
  font-size: 160px;
}

/* Work media (image/video/gif) */
.work-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.work-card:hover .work-media {
  transform: scale(1.05);
}

.work-card.has-media::before {
  background: linear-gradient(180deg, rgba(15, 21, 53, 0.2) 0%, rgba(15, 21, 53, 0.85) 100%);
  z-index: 1;
}

.work-card.has-media .work-info {
  z-index: 2;
}

.work-info {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  z-index: 2;
  color: white;
}

.work-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.8);
  margin-bottom: 8px;
}

.work-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.work-card.featured .work-title {
  font-size: 28px;
}

.work-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ═══════════════════════ CLIENTS ═══════════════════════ */
.clients-section {
  background: var(--cream);
  padding: 70px 40px;
  border-bottom: 1px solid rgba(31, 42, 92, 0.08);
}

.clients-strip {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.clients-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--purple);
}

.clients-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.clients-row {
  display: flex;
  gap: 24px;
  width: max-content;
  direction: ltr;
  will-change: transform;
}

.client-logo {
  flex-shrink: 0;
  height: 64px;
  width: 150px;
  background: white;
  border: 1px solid rgba(31, 42, 92, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  opacity: 0.7;
  transition: all 0.3s;
}

.client-logo:hover {
  opacity: 1;
  border-color: var(--peach);
  transform: translateY(-2px);
}

/* ═══════════════════════ AI DESIGNER ═══════════════════════ */
.ai-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--cream);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 201, 155, 0.4), transparent 60%);
  pointer-events: none;
}

.ai-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 93, 186, 0.5), transparent 60%);
  pointer-events: none;
}

.ai-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--peach);
  margin-bottom: 24px;
}

.ai-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 201, 155, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.ai-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.ai-title br {
  display: block;
  content: "";
  margin-top: 6px;
}

.ai-section .title-em {
  color: #F2CAA1;
}

.ai-section .title-em::after {
  display: none;
}

.ai-section .title-underline::after {
  background: var(--peach);
}

.ai-desc {
  font-size: 16px;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-feature-check {
  width: 30px;
  height: 30px;
  background: var(--peach);
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-feature-text {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.85);
}

.ai-feature-text strong {
  color: var(--peach);
}

.ai-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--peach);
  color: var(--navy);
  padding: 8px 8px 8px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  animation: pulse-glow 2s ease-in-out infinite;
  transition: transform 0.3s;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.ai-cta > span:first-child {
  padding-block: 4px;
}

.ai-cta:hover {
  transform: translateY(-3px);
}

.ai-cta-circle {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--peach);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.3s;
}

.ai-cta:hover .ai-cta-circle {
  transform: rotate(-45deg);
}

.ai-right {
  position: relative;
}

.chat-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.2);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  animation: float-soft 4s ease-in-out infinite;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 201, 155, 0.15);
}

.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-bot-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--peach), var(--purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}

.chat-bot-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: var(--success);
  border: 2px solid var(--navy);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.chat-bot-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2px;
}

.chat-bot-status {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}

.chat-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.7);
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  max-width: 75%;
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
  background: rgba(245, 201, 155, 0.15);
  color: var(--cream);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--peach);
  color: var(--navy);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
  font-weight: 500;
}

.msg-avatar {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--peach), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--peach);
  border-radius: 50%;
  animation: typing-dots 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-md);
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 13px;
  outline: none;
  font-family: var(--font);
}

.chat-input::placeholder {
  color: rgba(250, 246, 240, 0.4);
}

.chat-send-btn {
  background: var(--peach);
  color: var(--navy);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.floating-card {
  position: absolute;
  background: var(--peach);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.float-card-1 {
  top: -12px;
  left: -20px;
  animation: float-soft 4s ease-in-out infinite;
  animation-delay: -1s;
}

.float-card-2 {
  bottom: -12px;
  right: -20px;
  animation: float-soft 5s ease-in-out infinite;
  animation-delay: -2s;
  background: var(--purple);
  color: var(--cream);
}

.sparkle-decor {
  position: absolute;
  font-size: 20px;
  color: var(--peach);
  animation: sparkle 3s ease-in-out infinite;
  z-index: 6;
}

.sparkle-1 { top: 15%; right: 8%; }
.sparkle-2 { top: 40%; left: 4%; animation-delay: 1s; }
.sparkle-3 { bottom: 15%; right: 4%; animation-delay: 2s; }

/* ═══════════════════════ CTA ═══════════════════════ */
.cta-section {
  background: var(--cream);
  text-align: center;
  padding: 120px 40px;
}

.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.25;
  margin-bottom: 28px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(31, 42, 92, 0.6);
  margin-bottom: 44px;
  max-width: 500px;
}

/* ═══════════════════════ CONTACT ═══════════════════════ */
.contact-section {
  background: var(--navy);
  color: var(--cream);
  padding: 100px 0;
}

.contact-section .section-title {
  color: var(--cream);
}

.contact-section .section-eyebrow {
  color: var(--peach);
}

.contact-section .eyebrow-line-sm {
  background: var(--peach);
}

.contact-section .title-underline::after {
  background: var(--peach);
}

.contact-section .title-em {
  color: #F2CAA1;
}

.contact-section .title-em::after {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-desc {
  font-size: 16px;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.8;
  margin-top: 28px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-item:hover {
  background: rgba(245, 201, 155, 0.1);
  border-color: var(--peach);
  transform: translateX(-4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--peach);
  color: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.contact-item-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(245, 201, 155, 0.7);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--peach);
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.15);
  border-radius: var(--radius-md);
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
  font-family: var(--font);
  transition: all 0.2s;
}

.form-input::placeholder {
  color: rgba(250, 246, 240, 0.4);
}

.form-input:focus {
  border-color: var(--peach);
  background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--peach);
  color: var(--navy);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  transition: all 0.3s;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.form-btn:hover {
  background: #E8B981;
  transform: translateY(-2px);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
  background: var(--ink);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 4px solid var(--peach);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon {
  width: 40px;
  height: 40px;
  background: var(--peach);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}

.footer-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.footer-text {
  font-size: 12px;
  color: rgba(245, 201, 155, 0.7);
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--peach);
}

/* Footer social icons in center */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(245, 201, 155, 0.08);
  border: 1px solid rgba(245, 201, 155, 0.2);
  color: var(--peach);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.social-icon:hover {
  background: var(--peach);
  color: var(--ink);
  border-color: var(--peach);
  transform: translateY(-3px);
}

/* Footer right section + hidden admin link */
.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-admin-link {
  color: rgba(245, 201, 155, 0.25);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  user-select: none;
}

.footer-admin-link:hover {
  color: var(--peach);
  background: rgba(245, 201, 155, 0.1);
  transform: scale(1.5);
}

/* Triple-click logo cursor */
#footerLogo {
  cursor: pointer;
  transition: transform 0.3s;
}

#footerLogo:active {
  transform: scale(0.9);
}

/* ═══════════════════════ AI MODAL ═══════════════════════ */
.ai-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ai-modal.active {
  display: flex;
  animation: fade-in 0.3s ease-out;
}

.ai-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 21, 53, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ai-modal-content {
  position: relative;
  background: linear-gradient(135deg, var(--ink), var(--navy));
  border: 1px solid rgba(245, 201, 155, 0.2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slide-up 0.4s ease-out;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.ai-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(245, 201, 155, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 201, 155, 0.05);
}

.chat-bot-avatar-lg {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--peach), var(--purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.chat-bot-name-lg {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2px;
}

.ai-modal-close {
  background: rgba(245, 201, 155, 0.1);
  color: var(--peach);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ai-modal-close:hover {
  background: rgba(245, 201, 155, 0.2);
}

.ai-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages-live {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-messages-live::-webkit-scrollbar {
  width: 6px;
}

.chat-messages-live::-webkit-scrollbar-thumb {
  background: rgba(245, 201, 155, 0.3);
  border-radius: 3px;
}

.chat-input-live {
  padding: 16px 24px;
  display: flex;
  gap: 10px;
  background: rgba(245, 201, 155, 0.03);
  border-top: 1px solid rgba(245, 201, 155, 0.1);
}

.chat-input-live input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 201, 155, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--cream);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
}

.chat-input-live input:focus {
  border-color: var(--peach);
}

.chat-send-live {
  background: var(--peach);
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
}

.chat-send-live:hover {
  background: #E8B981;
  transform: scale(1.05);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  
  .hero-grid {
    grid-template-rows: 70px 1fr 70px;
  }
  
  .main-area {
    grid-template-columns: 160px 1fr 160px;
  }
  
  .top-bar {
    grid-template-columns: 160px 1fr 160px;
  }
  
  .left-side, .right-side {
    padding: 28px 20px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .works-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  
  .work-card.featured {
    grid-row: span 1;
    grid-column: 1 / -1;
  }
  
  .ai-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  /* Hide sidebars on mobile */
  .left-side, .right-side {
    display: none;
  }
  
  .main-area {
    grid-template-columns: 1fr;
  }
  
  .top-bar {
    grid-template-columns: auto 1fr auto;
  }
  
  .top-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .top-meta {
    display: none;
  }
  
  .center {
    padding: 40px 24px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid,
  .team-grid,
  .works-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .clients-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .ai-section,
  .contact-section,
  .cta-section {
    padding: 60px 20px;
  }
  
  .floating-card {
    display: none;
  }
  
  .sparkle-decor {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 44px;
    line-height: 1.3;
  }
  
  .section-title {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .cta-title {
    font-size: 36px;
    line-height: 1.3;
  }
  
  .ai-title {
    font-size: 28px;
    line-height: 1.35;
  }
  
  .cta-row {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-primary {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════ 3D EFFECTS ═══════════════════════ */

/* --- 1. 3D Hover tilt on cards --- */
.team-card,
.work-card,
.service-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.team-card:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-6deg) translateY(-8px);
  box-shadow: -15px 20px 40px rgba(31, 42, 92, 0.2);
}

.service-card:hover {
  transform: perspective(1000px) rotateX(3deg) rotateY(4deg) translateY(-6px);
}

/* --- 2. Floating 3D object in hero --- */
.hero-float-object {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--peach) 0%, var(--purple) 100%);
  box-shadow: 0 25px 50px rgba(94, 86, 173, 0.4);
  animation: heroFloat3D 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-float-object.obj-1 {
  top: 12%;
  left: 8%;
}

.hero-float-object.obj-2 {
  bottom: 14%;
  right: 6%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  animation-delay: -3s;
  background: linear-gradient(135deg, var(--purple) 0%, var(--peach) 100%);
}

@keyframes heroFloat3D {
  0%, 100% {
    transform: translateY(0) rotateX(15deg) rotateY(-15deg);
  }
  50% {
    transform: translateY(-20px) rotateX(-12deg) rotateY(18deg);
  }
}

/* --- 3. Parallax layers --- */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- 5. 3D Text effect --- */
.text-3d-effect {
  text-shadow:
    1px 1px 0 rgba(94, 86, 173, 0.8),
    2px 2px 0 rgba(94, 86, 173, 0.6),
    3px 3px 0 rgba(94, 86, 173, 0.4),
    4px 4px 8px rgba(15, 21, 53, 0.3);
}

/* --- 6. Rotating 3D Cube --- */
.cube-3d-wrap {
  perspective: 800px;
  width: 100px;
  height: 100px;
}

.cube-3d {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate3DCube 12s linear infinite;
}

.cube-3d-face {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--peach);
  background: rgba(245, 201, 155, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.cube-3d-face.front  { transform: translateZ(50px); }
.cube-3d-face.back   { transform: translateZ(-50px) rotateY(180deg); }
.cube-3d-face.right  { transform: rotateY(90deg) translateZ(50px); }
.cube-3d-face.left   { transform: rotateY(-90deg) translateZ(50px); }
.cube-3d-face.top    { transform: rotateX(90deg) translateZ(50px); }
.cube-3d-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes rotate3DCube {
  from { transform: rotateX(-20deg) rotateY(0deg); }
  to   { transform: rotateX(-20deg) rotateY(360deg); }
}

/* --- 7. Floating particles --- */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--peach);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-30px) scale(1.2);
  }
}

/* --- 8. Morphing blob --- */
.blob-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(245, 201, 155, 0.3), rgba(94, 86, 173, 0.3));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 10s ease-in-out infinite;
  pointer-events: none;
  filter: blur(2px);
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(120deg) scale(1.1);
  }
  66% {
    border-radius: 40% 30% 60% 50% / 70% 40% 60% 30%;
    transform: rotate(240deg) scale(0.95);
  }
}

/* --- 4 & 9. 3D Services Section --- */
.services3d-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services3d-section .section-title {
  color: var(--cream);
}

.services3d-section .section-eyebrow {
  color: var(--peach);
}

.services3d-section .eyebrow-line-sm {
  background: var(--peach);
}

.services3d-section .section-desc {
  color: rgba(250, 246, 240, 0.7);
}

.services3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.service3d-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 201, 155, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s;
  transform-style: preserve-3d;
}

.service3d-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-10px);
  border-color: var(--peach);
}

.service3d-media {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  position: relative;
  overflow: hidden;
}

.service3d-media img,
.service3d-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service3d-media .service3d-icon {
  animation: heroFloat3D 5s ease-in-out infinite;
}

.service3d-info {
  padding: 24px;
}

.service3d-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--peach);
  margin-bottom: 10px;
}

.service3d-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.service3d-desc {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.65);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .services3d-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services3d-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-float-object,
  .blob-shape {
    display: none;
  }
  
  /* Disable heavy 3D tilts on mobile */
  .team-card:hover,
  .work-card:hover,
  .service-card:hover,
  .service3d-card:hover {
    transform: translateY(-6px);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-float-object,
  .blob-shape,
  .cube-3d,
  .particle-dot,
  .service3d-media .service3d-icon {
    animation: none;
  }
}
