/* =======================================================
   OZAMONO PORTFOLIO — style.css
   ======================================================= */

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

:root {
  --bg: #070708;
  --bg2: #0d0d0f;
  --bg3: #121215;
  --card: #141418;
  --card-hover: #191921;
  --border: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(229, 193, 88, 0.25);
  --accent: #e5c158; /* Base Gold */
  --accent-light: #fbf5b7; /* Bright Reflective Gold */
  --accent-glow: rgba(229, 193, 88, 0.3);
  --gold-grad: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-shine: linear-gradient(90deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fcf6ba 75%, #bf953f 100%);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --text: rgba(255, 255, 255, 0.85);
  --radius: 18px;
  --radius-sm: 10px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 7, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: var(--gold-shine);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent); /* Fallback color for compatibility */
  display: inline-block;
  animation: shine-reflect 6s linear infinite;
}

@keyframes shine-reflect {
  to { background-position: 200% center; }
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--accent-light);
}

.nav-cta {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 11px 24px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--white);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  padding: 20px 24px 30px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu .mobile-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 14px 0 !important;
  border-radius: 100px;
  text-align: center;
  border-bottom: none !important;
  margin-top: 10px;
  font-weight: 700;
}

/* ========== HERO SECTION ========== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
  animation: float-glow 10s ease-in-out infinite;
}

@keyframes float-glow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 40px) scale(1.08);
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent); /* Gold */
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 6px var(--accent);
  }
  50% {
    box-shadow: 0 0 16px var(--accent), 0 0 24px var(--accent-glow);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) { animation-delay: 0.34s; }

.hero-title .accent {
  background: var(--gold-shine);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent); /* Fallback color for compatibility */
  display: inline-block;
  animation: slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, shine-reflect 5s linear infinite;
  animation-delay: 0.22s; /* Matches child 2 delay */
}

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

.hero-sub {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.spec-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.spec-gold {
  color: var(--accent);
  font-weight: 800;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

/* Hero Right Side Logo & About Card */
.hero-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 440px;
}

.hero-emblem {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  animation: pulse-emblem 4s ease-in-out infinite alternate;
  filter: blur(10px);
}

.emblem-glass {
  position: relative;
  width: 220px;
  height: 220px;
  background: rgba(20, 20, 24, 0.4);
  border: 1px solid rgba(229, 193, 88, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 20px rgba(229, 193, 88, 0.1);
  animation: float-emblem 6s ease-in-out infinite;
}

.emblem-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(229,193,88,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.emblem-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-emblem:hover .emblem-logo {
  transform: scale(1.1);
}

.emblem-spark {
  position: absolute;
  bottom: 20px;
  width: 2px;
  height: 20px;
  background: linear-gradient(to top, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0;
  z-index: 1;
}

.spark-1 { left: 15%; animation: rise-spark 3s infinite 0.5s; }
.spark-2 { left: 45%; animation: rise-spark 4s infinite 1.2s; }
.spark-3 { left: 85%; animation: rise-spark 3.5s infinite 2.1s; }
.spark-4 { left: 30%; animation: rise-spark 3.2s infinite 0.8s; }
.spark-5 { left: 70%; animation: rise-spark 2.8s infinite 1.5s; }
.spark-6 { left: 25%; animation: rise-spark 4.2s infinite 2.4s; }
.spark-7 { left: 60%; animation: rise-spark 3.6s infinite 0.2s; }
.spark-8 { left: 40%; animation: rise-spark 3.1s infinite 2.8s; }
.spark-9 { left: 80%; animation: rise-spark 3.8s infinite 1.7s; }

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

@keyframes pulse-emblem {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes rise-spark {
  0% { transform: translateY(0) scaleY(1); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-150px) scaleY(0.5); opacity: 0; }
}

.hero-about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  transition: all var(--transition);
  text-align: left;
}

.hero-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-grad);
}

.hero-about-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px rgba(229, 193, 88, 0.05);
  transform: translateY(-2px);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.about-icon {
  font-size: 1.2rem;
}

.about-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.hero-about-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
  max-width: 1200px;
  margin: 80px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 32px 24px;
  gap: 16px;
  flex-wrap: wrap;
  width: calc(100% - 48px);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 54px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ========== SECTIONS ========== */
.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--bg2);
}

.section-header {
  margin-bottom: 64px;
  max-width: 750px;
}

.section-header.center-align {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========== PORTRAIT VIDEO GRID ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-grid-expandable {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.video-grid-expandable.expanded {
  margin-top: 32px;
  /* max-height will be set dynamically via JS */
}

.video-card {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  width: 100%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  /* 9:16 aspect ratio */
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Card Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  opacity: 1;
  transition: opacity var(--transition);
  z-index: 2;
}

.video-card:hover .video-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.9) 100%);
}

.video-control-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
}

.video-control-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Center Play Button Overlay */
.play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.play-pause-btn:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
}

.play-pause-btn svg {
  width: 28px;
  height: 28px;
}

/* Fullscreen Button */
.fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
}

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

/* Video Info Details */
.video-info {
  margin-top: auto;
  transform: translateY(0);
  transition: transform var(--transition);
}

.video-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-light);
  border: 1px solid var(--border-gold);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

/* Video Progress Bar overlay */
.video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 4;
}

.video-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: width 0.1s linear;
}

/* Hover effects for Video Card */
.video-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.06);
}

/* Expandable Button Container */
.expand-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.btn-expand {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}

.btn-expand:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.icon-caret {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.btn-expand.expanded .icon-caret {
  transform: rotate(180deg);
}

/* Responsive Video Grid */
@media (max-width: 992px) {
  .video-grid, .video-grid-expandable {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .video-grid, .video-grid-expandable {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .video-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ========== CLIENT MARQUEE SHOWCASE ========== */
.marquee-section-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

/* Gradient Mask overlay to fade sides of client section */
.marquee-section-container::before,
.marquee-section-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}

.marquee-section-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2) 0%, transparent 100%);
}

.marquee-section-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2) 0%, transparent 100%);
}

.marquee-row {
  width: 100%;
  display: flex;
  overflow: hidden;
  user-select: none;
  cursor: grab;
  padding: 16px 0; /* Add padding so hover scaling and top borders are not clipped */
}

.marquee-row:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Brand Item Slide Card */
.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 18px 32px;
  height: 96px;
  width: 220px;       /* Fixed equal width for all items */
  flex-shrink: 0;     /* Do not allow cards to shrink or touch */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.brand-item img {
  max-height: 54px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none; /* Give color to all logos */
  opacity: 0.85;
  transition: all 0.4s ease;
}

/* Text Logo Style */
.brand-item.text-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
}

.brand-item.text-logo .logo-txt {
  transition: all 0.4s ease;
}

/* Special logo exceptions */
.brand-item.postack-logo {
  color: #00d2ff; /* Postack light blue default */
  opacity: 0.85;
}

/* Hover State for brand item card */
.brand-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(229, 193, 88, 0.15);
}

.brand-item:hover img {
  opacity: 1;
}

.brand-item.text-logo:hover {
  color: var(--white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.brand-item.postack-logo:hover {
  color: #00d2ff !important;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Highlighted Client Section Wrapper Style */
.marquee-section-container {
  background: rgba(212, 175, 55, 0.015);
  border-top: 1px solid rgba(212, 175, 55, 0.03);
  border-bottom: 1px solid rgba(212, 175, 55, 0.03);
}

/* ========== TEAM SECTION ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card-inner {
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
}

.team-avatar-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 50%;
  flex-shrink: 0;
}

.team-initial {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
}

.avatar-border-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.3);
  transition: transform 12s linear infinite;
}

.team-card:hover .avatar-border-ring {
  animation: spin-ring 12s linear infinite;
  border-color: var(--accent);
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.team-info .role {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.team-info .bio {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tool-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tool-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

.team-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .team-card-inner {
    padding: 30px;
    flex-direction: column;
    text-align: center;
  }
  .tool-tags {
    justify-content: center;
  }
}

/* ========== CONTACT SECTION ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-left p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-badges span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.gold-check {
  color: var(--accent);
  font-weight: 800;
}

/* Discord CTA Card */
.discord-card-wrapper {
  max-width: 440px;
}

.discord-cta-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #5865f2 0%, #404eed 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.discord-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.discord-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.discord-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.discord-card-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  line-height: 1.2;
}

.discord-tag {
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.discord-arrow {
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.discord-cta-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(88, 101, 242, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.discord-cta-card:hover .discord-arrow {
  transform: translateX(6px);
}

/* Contact Form Right Side */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.form-group {
  margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--bg3);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
}

.btn-submit:hover {
  background: var(--white);
  color: #000;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-form {
    padding: 32px;
  }
}

/* ========== SUCCESS MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-content {
  background: var(--card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 440px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--accent);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--accent);
  animation: fill-check .4s ease-in-out .4s forwards, scale-check .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent);
  fill: none;
  animation: stroke-check .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #000;
  animation: stroke-check .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke-check {
  100% { stroke-dashoffset: 0; }
}

@keyframes scale-check {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill-check {
  100% { box-shadow: inset 0px 0px 0px 36px var(--accent); }
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ========== FOOTER ========== */
.footer {
  padding: 80px 0 60px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-img-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.footer-copy-text {
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========== OBSERVER REVEAL EFFECT ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Shiny Gold Shine Text */
.gold-shine-text {
  background: var(--gold-shine);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent); /* Fallback color for compatibility */
  animation: shine-reflect 4s linear infinite;
  font-weight: 900;
  display: inline-block;
}

/* Fullscreen Portrait Aspect Ratios */
video:fullscreen {
  object-fit: contain !important;
  aspect-ratio: 9 / 16 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  background: #000 !important;
}

video:-webkit-full-screen {
  object-fit: contain !important;
  aspect-ratio: 9 / 16 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  background: #000 !important;
}

/* ========== RETENTION AUDITOR DASHBOARD ========== */
.auditor-dashboard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.auditor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.auditor-title-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.auditor-icon {
  font-size: 2rem;
  background: var(--card);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.auditor-title-info h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.auditor-title-info p {
  color: var(--muted);
  font-size: 0.85rem;
}

.auditor-tag {
  background: rgba(229, 193, 88, 0.15);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--border-gold);
}

.auditor-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

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

/* Status Colors */
.holding { color: #00e676; }
.holding-text { color: #00e676 !important; }
.holding-bg { background: #00e676; }
.holding-fill { fill: #00e676; }
.holding-stroke { stroke: #00e676; }
.declining { color: #ffd54f; }
.declining-bg { background: #ffd54f; }
.declining-stroke { stroke: #ffd54f; }
.cliff { color: #ff5252; }
.cliff-bg { background: #ff5252; }
.cliff-stroke { stroke: #ff5252; }

/* Left Column - Phone Frame */
.auditor-phone-frame {
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 20px;
}

.auditor-phone-status {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.auditor-video-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.5;
}

.auditor-mini-timeline {
  height: 6px;
  background: var(--card);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.mini-colors {
  display: flex;
  height: 100%;
  width: 100%;
}
.mini-colors .mc-segment {
  height: 100%;
}

.mini-progress-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 5px rgba(255,255,255,0.5);
  transition: left 0.1s linear;
}

/* Hook Breakdown */
.auditor-hook-breakdown {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}

.auditor-hook-breakdown h4 {
  font-family: var(--font-heading);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.hook-graph {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.hook-list {
  list-style: none;
}

.hook-list li {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-dot {
  width: 4px;
  height: 4px;
  background: #00e676;
  border-radius: 50%;
}

/* Right Column Cards */
.auditor-col-right > div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 20px;
}

/* Predicted Retention */
.retention-graph-card .rg-header, .timeline-bar-card .tb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.retention-graph-card h4, .timeline-bar-card h4, .perf-scores-section h4, .top-fixes-section h4 {
  font-family: var(--font-heading);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.rg-current-stat {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.rg-graph-area {
  position: relative;
  height: 200px;
  width: 100%;
  cursor: crosshair;
}

.rg-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.rg-line {
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  position: relative;
  width: 100%;
}

.rg-line span {
  position: absolute;
  left: 10px;
  top: -18px;
  font-size: 0.7rem;
  color: var(--muted);
}

.rg-x-axis {
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
}

#main-graph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rg-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--white);
  left: 0;
  pointer-events: none;
  z-index: 5;
}

.rg-thumb {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 8px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
  cursor: grab;
  pointer-events: auto;
}
.rg-thumb:active {
  cursor: grabbing;
}

/* Scrubber Input Area - disabled input to rely on custom JS dragging */
.rg-scrubber {
  display: none;
}

/* Timeline Bars */
.tb-legend {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--muted);
}

.tb-legend .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

.tb-bars {
  display: flex;
  align-items: flex-end;
  height: 40px;
  gap: 2px;
  position: relative;
}

.tb-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  position: relative;
}

.tb-bar {
  width: 100%;
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.tb-bar:hover { opacity: 1; cursor: pointer; }

.tb-warn {
  position: absolute;
  bottom: -15px;
  font-size: 8px;
}

/* Inspector */
.inspector-card {
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: #191921 !important;
}

.insp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.insp-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.insp-tag {
  font-size: 0.8rem;
  font-weight: 500;
}

.insp-pct {
  font-family: var(--font-heading);
  color: var(--muted);
}

.insp-desc {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 15px;
}

.insp-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.insp-badge {
  background: rgba(255, 77, 79, 0.1);
  color: #ff4d4f;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid rgba(255, 77, 79, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.insp-fix {
  background: rgba(229, 193, 88, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.fix-label {
  background: rgba(229, 193, 88, 0.15);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.insp-fix p {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin: 0;
}

/* Radial Scores */
.radial-scores-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 30px;
  margin-top: 15px;
}

.radial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.radial-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: conic-gradient(currentColor var(--val), rgba(255,255,255,0.1) 0deg);
}

.radial-circle::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--card);
  border-radius: 50%;
}

.r-val {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.r-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.score-details-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
  background: currentColor;
}

.sd-text strong {
  font-size: 0.85rem;
  color: var(--white);
  font-family: var(--font-heading);
}

.sd-text p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Top Fixes */
.fix-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.fix-action-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.fa-icon {
  color: var(--accent);
}

.fix-action-card p {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0;
}
.fix-action-card strong {
  color: var(--white);
}
