/* ═══════════════════════════════════════════════════════════
   FUSIONAURA STUDIO — CINEMATIC BRAND PAGE STYLES
   Studio Reveal · Logo Animation · Particle System · Aura FX
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --fa-teal: #14B8A6;
  --fa-teal-light: #2DD4BF;
  --fa-violet: #8B5CF6;
  --fa-violet-light: #A78BFA;
  --fa-purple: #C084FC;
  --fa-dark: #050508;
  --fa-dark-mid: #0a0a10;
  --fa-glass: rgba(255, 255, 255, 0.03);
  --fa-glass-border: rgba(255, 255, 255, 0.06);
  --fa-white: #f0ecec;
  --fa-gray: #888;
  --fa-gold: #D4AF37;
  --fa-rose: #D4A0A0;

  --ff-display: 'Playfair Display', serif;
  --ff-body: 'Cormorant Garamond', serif;
  --ff-sans: 'Montserrat', sans-serif;
}

/* ─── BASE ─── */
.fa-page {
  background: var(--fa-dark);
  color: var(--fa-white);
  font-family: var(--ff-body);
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}

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

.fa-page a { color: inherit; text-decoration: none; }
.fa-page button { border: none; background: none; cursor: none; font-family: inherit; color: inherit; }

.fa-page ::selection {
  background: var(--fa-violet);
  color: #fff;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .fa-page *, .fa-page *::before, .fa-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fa-particles-canvas, .fa-energy-waves, .fa-fog, .fa-light-lines { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR (FA PAGE)
   ═══════════════════════════════════════════════════════════ */
.fa-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  mix-blend-mode: difference;
}

.fa-cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fa-cursor-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fa-cursor.hovering .fa-cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--fa-violet);
}

/* ═══════════════════════════════════════════════════════════
   FA NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */
.fa-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.5s, backdrop-filter 0.5s;
}

.fa-nav.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--fa-glass-border);
}

.fa-nav-back {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fa-gray);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.fa-nav-back:hover { color: var(--fa-white); }

.fa-nav-back svg { width: 16px; height: 16px; }

.fa-nav-title {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--fa-gray);
}

/* ═══════════════════════════════════════════════════════════
   HERO / LOGO ZONE
   ═══════════════════════════════════════════════════════════ */
.fa-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ─── CINEMATIC BACKGROUND ─── */
.fa-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fa-gradient-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 70%, rgba(20, 184, 166, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(192, 132, 252, 0.04) 0%, transparent 60%),
    var(--fa-dark);
}

/* Gold / Rose-Gold Light Lines */
.fa-light-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fa-light-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fa-gold), transparent);
  opacity: 0.08;
}

.fa-light-line:nth-child(1) { top: 20%; left: -10%; width: 120%; transform: rotate(-2deg); animation: lineFlow 12s linear infinite; }
.fa-light-line:nth-child(2) { top: 45%; left: -10%; width: 120%; transform: rotate(1deg); animation: lineFlow 15s linear infinite reverse; opacity: 0.05; }
.fa-light-line:nth-child(3) { top: 70%; left: -10%; width: 120%; transform: rotate(-1deg); animation: lineFlow 18s linear infinite; opacity: 0.06; background: linear-gradient(90deg, transparent, var(--fa-rose), transparent); }
.fa-light-line:nth-child(4) { top: 85%; left: -10%; width: 120%; transform: rotate(0.5deg); animation: lineFlow 20s linear infinite reverse; opacity: 0.04; }

@keyframes lineFlow {
  0% { transform: translateX(-20%) rotate(var(--r, -2deg)); }
  100% { transform: translateX(20%) rotate(var(--r, -2deg)); }
}

/* Digital Fog */
.fa-fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fa-fog-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.fa-fog-layer:nth-child(1) {
  width: 600px; height: 400px;
  background: rgba(139, 92, 246, 0.15);
  top: 20%; left: 10%;
  animation: fogDrift1 25s ease-in-out infinite;
}

.fa-fog-layer:nth-child(2) {
  width: 500px; height: 350px;
  background: rgba(20, 184, 166, 0.1);
  top: 50%; right: 10%;
  animation: fogDrift2 30s ease-in-out infinite;
}

.fa-fog-layer:nth-child(3) {
  width: 400px; height: 300px;
  background: rgba(192, 132, 252, 0.08);
  bottom: 10%; left: 30%;
  animation: fogDrift3 20s ease-in-out infinite;
}

@keyframes fogDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes fogDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.15); }
}

@keyframes fogDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -25px); }
}

/* Spotlight Cone */
.fa-spotlight {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 120%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Particles Canvas */
.fa-particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Energy Waves */
.fa-energy-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.fa-energy-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

.fa-energy-ring:nth-child(1) { width: 300px; height: 300px; animation: energyPulse 6s ease-in-out infinite; }
.fa-energy-ring:nth-child(2) { width: 450px; height: 450px; animation: energyPulse 8s ease-in-out infinite 1s; }
.fa-energy-ring:nth-child(3) { width: 600px; height: 600px; animation: energyPulse 10s ease-in-out infinite 2s; }
.fa-energy-ring:nth-child(4) { width: 750px; height: 750px; animation: energyPulse 12s ease-in-out infinite 3s; }

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

/* ═══════════════════════════════════════════════════════════
   LOGO CENTER STAGE
   ═══════════════════════════════════════════════════════════ */
.fa-logo-zone {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Logo Container */
.fa-logo-container {
  position: relative;
  width: 340px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}

/* Aura layers behind logo */
.fa-logo-aura {
  position: absolute;
  inset: -60px;
  z-index: 0;
  pointer-events: none;
}

.fa-aura-layer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.fa-aura-layer:nth-child(1) {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  animation: auraBreath 4s ease-in-out infinite;
}

.fa-aura-layer:nth-child(2) {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
  animation: auraBreath 5s ease-in-out infinite 1s;
}

.fa-aura-layer:nth-child(3) {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.06) 0%, transparent 50%);
  animation: auraBreath 6s ease-in-out infinite 2s;
}

@keyframes auraBreath {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Light Ring */
.fa-light-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.1);
  z-index: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fa-logo-container:hover .fa-light-ring {
  inset: -50px;
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

/* The SVG Logo */
.fa-logo-svg-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fa-logo-container:hover .fa-logo-svg-wrap {
  transform: scale(1.05) translateZ(20px);
}

.fa-logo-svg-wrap svg {
  width: 100%;
  height: 100%;
}

/* Neon Outline on Hover */
.fa-neon-outline {
  position: absolute;
  inset: -4px;
  border-radius: 8px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
  background: linear-gradient(135deg, var(--fa-teal), var(--fa-violet), var(--fa-purple));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  animation: neonPulse 2s ease-in-out infinite;
}

.fa-logo-container:hover .fa-neon-outline {
  opacity: 0.6;
}

@keyframes neonPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.6; }
}

/* Click Shockwave */
.fa-shockwave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.fa-shockwave-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--fa-violet);
  opacity: 0;
  pointer-events: none;
}

/* Particle orbit container */
.fa-particle-orbit {
  position: absolute;
  inset: -80px;
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   TAGLINES
   ═══════════════════════════════════════════════════════════ */
.fa-taglines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.fa-tagline {
  font-family: var(--ff-sans);
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--fa-gray);
  opacity: 0;
  transform: translateY(20px);
}

.fa-tagline--main {
  font-family: var(--ff-display);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--fa-white);
  text-transform: none;
}

.fa-tagline--gradient {
  background: linear-gradient(135deg, var(--fa-teal), var(--fa-violet), var(--fa-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   CINEMATIC DIVIDER
   ═══════════════════════════════════════════════════════════ */
.fa-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  position: relative;
}

.fa-divider-line {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fa-violet), var(--fa-teal), var(--fa-violet), transparent);
  position: relative;
  opacity: 0.4;
}

.fa-divider-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fa-violet);
  box-shadow: 0 0 20px var(--fa-violet);
  animation: dividerDotPulse 3s ease-in-out infinite;
}

@keyframes dividerDotPulse {
  0%, 100% { box-shadow: 0 0 10px var(--fa-violet); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 30px var(--fa-violet), 0 0 60px rgba(139, 92, 246, 0.3); transform: translate(-50%, -50%) scale(1.3); }
}

/* ═══════════════════════════════════════════════════════════
   BRAND STORY SECTION
   ═══════════════════════════════════════════════════════════ */
.fa-story {
  padding: 80px 40px 120px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.fa-story-tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--fa-teal);
  margin-bottom: 24px;
}

.fa-story-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
}

.fa-story-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--fa-teal), var(--fa-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fa-story-text {
  font-family: var(--ff-body);
  font-size: 18px;
  color: var(--fa-gray);
  line-height: 2;
  margin-bottom: 24px;
}

.fa-story-text:last-of-type {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   VALUES / PILLARS
   ═══════════════════════════════════════════════════════════ */
.fa-values {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.fa-value-card {
  padding: 48px 32px;
  background: var(--fa-glass);
  border: 1px solid var(--fa-glass-border);
  border-radius: 2px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.fa-value-card:hover {
  border-color: rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.fa-value-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.fa-value-title {
  font-family: var(--ff-display);
  font-size: 20px;
  margin-bottom: 12px;
}

.fa-value-desc {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--fa-gray);
  line-height: 1.7;
}

.fa-value-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.03), transparent);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fa-value-card:hover .fa-value-shine {
  left: 150%;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.fa-cta {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fa-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.fa-cta-content {
  position: relative;
  z-index: 1;
}

.fa-cta-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 24px;
}

.fa-cta-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--fa-teal), var(--fa-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fa-cta-desc {
  font-family: var(--ff-body);
  font-size: 18px;
  color: var(--fa-gray);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Glow Ripple Button */
.fa-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 18px 44px;
  background: linear-gradient(135deg, var(--fa-violet), var(--fa-purple));
  color: #fff;
  border: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fa-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(139, 92, 246, 0.3),
    0 0 60px rgba(139, 92, 246, 0.15);
}

.fa-btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.fa-btn:hover .fa-btn-glow {
  transform: translateX(100%);
}

.fa-btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.fa-footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--fa-glass-border);
  text-align: center;
}

.fa-footer-brand {
  margin-bottom: 16px;
}

.fa-footer-name {
  font-family: var(--ff-display);
  font-size: 20px;
  background: linear-gradient(135deg, var(--fa-teal), var(--fa-violet), var(--fa-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fa-footer-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.fa-footer-line {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fa-gray);
}

.fa-footer-link {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fa-violet-light);
  position: relative;
  display: inline-block;
}

.fa-footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--fa-teal), var(--fa-violet));
  animation: footerGlowPulse 3s ease-in-out infinite;
}

@keyframes footerGlowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
}

.fa-footer-copy {
  font-family: var(--ff-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-top: 24px;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════
   FILM GRAIN
   ═══════════════════════════════════════════════════════════ */
.fa-film-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  animation: faGrain 0.5s steps(4) infinite;
}

@keyframes faGrain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, -3%); }
  50% { transform: translate(3%, 0); }
  75% { transform: translate(0, 3%); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fa-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fa-nav { padding: 0 20px; }

  .fa-logo-container {
    width: 280px;
    height: 100px;
  }

  .fa-values-grid {
    grid-template-columns: 1fr;
  }

  .fa-story { padding: 60px 20px 80px; }
  .fa-values { padding: 60px 20px; }
  .fa-cta { padding: 80px 20px; }
  .fa-footer { padding: 40px 20px 30px; }

  .fa-cursor { display: none; }
  .fa-page { cursor: auto; }
  .fa-page button, .fa-page a { cursor: pointer; }

  .fa-energy-ring:nth-child(3),
  .fa-energy-ring:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
  .fa-logo-container {
    width: 240px;
    height: 85px;
  }

  .fa-tagline {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .fa-tagline--main {
    font-size: 16px;
  }
}
