/* 
 * Aureyl Publisher Website - Premium Redesign Styling System
 * Rebuilt from scratch for an ultra-premium, Apple-caliber studio showcase.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  color-scheme: dark;
  
  /* Typography */
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  
  /* Core Palette (Sunset Coucher inspired) */
  --bg: #07080f;
  --bg-deep: #020305;
  --grad-top: #100b14;
  --grad-mid: #05060b;
  --grad-bot: #020305;
  
  --accent: #ff9a5e;
  --accent-rgb: 255, 154, 94;
  --accent-glow: rgba(255, 154, 94, 0.22);
  --accent-glow-strong: rgba(255, 154, 94, 0.45);
  
  --violet: #a36dff;
  --violet-glow: rgba(163, 109, 255, 0.25);
  --cyan: #4df4ff;
  --cyan-glow: rgba(77, 244, 255, 0.25);
  
  /* Text colors */
  --text: #fffaf5;
  --muted: rgba(255, 250, 245, 0.65);
  --dim: rgba(255, 250, 245, 0.38);
  
  /* Glass and Borders */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-blur: 24px;
  
  /* Canon Rainbow */
  --rainbow-1: #ff5ebc;
  --rainbow-2: #ff9a62;
  --rainbow-3: #ffe274;
  --rainbow-4: #75ffcf;
  --rainbow-5: #49e7ff;
  --rainbow-6: #aa7bff;
  
  /* Layout Sizing */
  --content-width: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--grad-mid) 45%, var(--grad-bot) 100%);
  background-attachment: scroll;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* --- DYNAMIC BACKGROUND ORBS --- */
.ambient-orbs-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.36;
  mix-blend-mode: screen;
}

.orb-one {
  top: -10%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: orbDriftOne 28s infinite alternate ease-in-out;
}

.orb-two {
  bottom: -15%;
  left: -15%;
  width: 75vw;
  height: 75vw;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  animation: orbDriftTwo 36s infinite alternate ease-in-out;
}

.orb-three {
  top: 35%;
  left: 20%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation: orbDriftThree 32s infinite alternate ease-in-out;
}

@keyframes orbDriftOne {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, 10%) scale(1.15); }
}

@keyframes orbDriftTwo {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, -6%) scale(1.1); }
}

@keyframes orbDriftThree {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12%, -8%) scale(1.2); }
}

/* --- PREMIUM INTERACTIVE GLASS SYSTEM --- */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 20px 50px -15px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.glass-interactive {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: 
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-interactive::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.03) 25%,
    transparent 50%
  );
  transition: opacity 0.4s ease;
  z-index: 1;
}

.glass-interactive:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: 
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 25px -5px rgba(255, 154, 94, 0.12),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.glass-interactive:hover::after {
  opacity: 1;
}

/* --- FLOATING PREMIUM NAVIGATION BAR --- */
.topbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  pointer-events: none;
}

.topbar {
  max-width: var(--content-width);
  margin: 0 auto;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 8px 10px;
  background: rgba(10, 11, 18, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
}

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

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.25s ease;
}

.nav-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

/* --- CANONICAL RAINBOW BADGE --- */
.rainbow-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  position: relative;
  background: rgba(10, 8, 15, 0.72);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.rainbow-eyebrow-pill::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 99px;
  padding: 1.2px;
  background: linear-gradient(90deg, 
    var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), 
    var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)
  );
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spectrumSweep 6s linear infinite;
  pointer-events: none;
}

.rainbow-eyebrow-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px var(--accent-glow-strong);
  animation: accentPulse 2s infinite alternate ease-in-out;
}

@keyframes spectrumSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes accentPulse {
  0% { transform: scale(0.95); opacity: 0.68; }
  100% { transform: scale(1.35); opacity: 1; }
}

/* --- HERO SHOWCASE --- */
.page-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: balance;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 15%, var(--muted) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 34px;
  text-wrap: balance;
  max-width: 720px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* --- THE PREMIUM AI MAGIC PILL --- */
.magic-pill-wrapper {
  margin-bottom: 38px;
  width: 100%;
  max-width: 620px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.magic-pill {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 12px 14px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 99px;
  box-shadow: 
    0 18px 45px -12px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-clip: padding-box;
}

.magic-pill::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 99px;
  padding: 1.5px;
  background: linear-gradient(135deg, 
    rgba(77,244,255,0.5), 
    rgba(255,154,94,0.3), 
    rgba(163,109,255,0.5), 
    rgba(255,94,188,0.3),
    rgba(77,244,255,0.5)
  );
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pillSweep 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.magic-pill-orb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), 
    var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)
  );
  background-size: 300% 100%;
  animation: spectrumSweep 10s linear infinite;
  padding: 1.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.magic-pill-orb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  animation: logoBreathe 4.5s ease-in-out infinite;
}

.magic-pill p {
  text-align: left;
  margin: 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

.magic-pill strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 750;
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.magic-pill span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin-top: 3px;
  font-weight: 400;
}

@keyframes pillSweep {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

@keyframes logoBreathe {
  0%, 100% { transform: scale(0.96); filter: brightness(0.96); }
  50% { transform: scale(1.04); filter: brightness(1.08) drop-shadow(0 0 8px rgba(255,154,94,0.3)); }
}

/* --- HERO ACTION BUTTONS --- */
.hero-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  justify-content: center;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.primary-action,
.secondary-action {
  flex: 1;
  min-height: 48px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.primary-action {
  color: #05060b;
  position: relative;
  background: linear-gradient(135deg, var(--cyan), var(--rainbow-4), var(--rainbow-2), var(--rainbow-6), var(--cyan));
  background-size: 300% 100%;
  box-shadow: 
    0 15px 40px -10px rgba(77, 244, 255, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  animation: primarySweep 9s linear infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.primary-action span {
  position: relative;
  z-index: 2;
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 99px;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 22px 50px -10px rgba(77, 244, 255, 0.45),
    0 0 20px -2px rgba(163, 109, 255, 0.2);
}

.primary-action:hover::after {
  opacity: 1;
}

.secondary-action {
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
}

@keyframes primarySweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* --- SECTION GENERAL HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  max-width: 680px;
  text-wrap: balance;
}

/* --- VALUES BENTO GRID --- */
.values-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.principle-card {
  padding: clamp(28px, 4vw, 38px);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-icon-row {
  margin-bottom: 24px;
}

.pulse-indicator {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
}

.native-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.native-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0.4;
  animation: pulseRipple 2.2s infinite ease-out;
}

.intelligence-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.intelligence-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: pulseRipple 2.2s infinite ease-out 0.7s;
}

.cinematic-dot {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet-glow);
}

.cinematic-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--violet);
  opacity: 0.4;
  animation: pulseRipple 2.2s infinite ease-out 1.4s;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}

.principle-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- FLAGSHIP PRODUCTS & WIDESCREEN MOCKUP --- */
.apps-section {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 12vw, 140px);
}

.apps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-card-widescreen {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 480px;
  overflow: hidden;
  align-items: stretch;
}

.widescreen-info {
  padding: clamp(34px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 10;
}

.app-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.app-icon-badge {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

.status-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(255, 154, 94, 0.08);
  border: 1px solid rgba(255, 154, 94, 0.22);
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.app-card-widescreen h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.app-card-widescreen p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.58;
  margin-bottom: 32px;
  max-width: 580px;
}

.app-cta-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.arrow-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-cta-link:hover {
  color: var(--text);
}

.app-cta-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* --- THE MASTERPIECE CSS IPHONE MOCKUP --- */
.widescreen-showcase {
  position: relative;
  background: radial-gradient(circle at 65% 50%, rgba(255, 154, 94, 0.06) 0%, transparent 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
}

.iphone-mockup-container {
  position: relative;
  width: 240px;
  height: 486px;
  transform: rotate(-3deg) translateY(14px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.app-card-widescreen:hover .iphone-mockup-container {
  transform: rotate(0deg) translateY(0) scale(1.03);
}

.iphone-mockup {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: #0f1016;
  padding: 8px;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.85),
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-bezel {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 10;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.9);
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.iphone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background: #000000;
  border-radius: 99px;
  z-index: 100;
  box-shadow: inset 0 0.5px 0.5px rgba(255,255,255,0.05);
}

/* Floating labels in mockup */
.floating-label {
  position: absolute;
  z-index: 20;
  background: rgba(14, 11, 20, 0.76);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 99px;
  box-shadow: 
    0 10px 20px -5px rgba(0, 0, 0, 0.5),
    0 0 15px -2px rgba(255, 154, 94, 0.05);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.tag-playback {
  top: 30%;
  left: -54px;
  transform: rotate(3deg) translateY(0);
}

.tag-curation {
  bottom: 25%;
  right: -58px;
  transform: rotate(-3deg) translateY(0);
}

.app-card-widescreen:hover .tag-playback {
  transform: rotate(0deg) translate(-5px, -10px);
}

.app-card-widescreen:hover .tag-curation {
  transform: rotate(0deg) translate(5px, 10px);
}

/* Future Card: Secondary App slot */
.app-card-next {
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: clamp(34px, 5vw, 54px);
}

.next-card-content {
  max-width: 780px;
}

.app-card-next .status-badge {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--violet);
  background: rgba(163, 109, 255, 0.08);
  border-color: rgba(163, 109, 255, 0.22);
}

.app-card-next h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.app-card-next p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- FOOTER CONTAINER --- */
.footer-container {
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 5, 8, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 30px 24px;
  margin-top: 40px;
}

.footer-content {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 0.88rem;
  color: var(--dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--dim);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* --- INTRO ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (prefers-reduced-motion: reduce) {
  .ambient-orb,
  .magic-pill::before,
  .magic-pill-orb img,
  .primary-action,
  .rainbow-eyebrow-pill::before,
  .rainbow-eyebrow-pill-dot,
  .pulse-indicator::after {
    animation: none !important;
  }
  
  .glass-interactive,
  .iphone-mockup-container,
  .floating-label {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .app-card-widescreen {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .widescreen-showcase {
    padding: 40px 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 154, 94, 0.08) 0%, transparent 60%);
  }
  
  .iphone-mockup-container {
    transform: rotate(0deg) translateY(0);
  }
}

@media (max-width: 768px) {
  .topbar-wrapper {
    padding: 12px 14px;
  }
  
  .topbar {
    padding: 6px 14px 6px 8px;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hero-section {
    padding-top: 40px;
  }
  
  .magic-pill {
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 24px;
    padding: 14px;
  }
  
  .magic-pill p {
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .primary-action,
  .secondary-action {
    width: 100%;
  }
  
  .tag-playback {
    left: -20px;
  }
  
  .tag-curation {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }
  
  .topbar {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}
