/* toneflow.css - Premium cinematic landing page styles */

/* ==== Design Tokens ==== */
:root {
  /* Color palette */
  --c-bg: #010103;               /* Pure cinematic AMOLED background */
  --c-card: rgba(10, 10, 15, 0.75); /* Darker glassmorphic card background */
  --c-glass: rgba(255, 255, 255, 0.04); /* Subtle glass effect */
  --c-text: #f5f5f7;            /* Slightly brighter off-white text for stronger contrast */
  --c-muted: #8e8e93;           /* Premium Apple-like muted text */
  --c-primary: #00e5ff;         /* Neon cyan */
  --c-primary-dark: #00b3cc;    /* Darker cyan */
  --c-accent: #da6eff;          /* Violet accent */
  --c-accent-dark: #b358cc;     /* Darker violet */
  --c-rose: #ff6b9a;            /* Soft rose for icons */
  --c-amber: #ffb347;           /* Amber for features */
  --c-green: #6fff6a;           /* Green accent */
  --c-blue: #4a90e2;            /* Blue accent */

  /* Typography */
  --font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fz-base: clamp(14px, 1.2vw, 18px);
  --fz-title: clamp(36px, 8vw, 72px);
  --fz-section-title: clamp(26px, 5vw, 44px);
  --fz-label: 0.85rem;

  /* Layout */
  --radius: 20px;
  --spacing: 1rem;
}

/* ==== Global Reset ==== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: var(--font-family);
  font-size: var(--fz-base);
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
body { overflow-y: scroll; }

/* ==== Utility Classes ==== */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: none; }

/* ==== Navigation ==== */
.tf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.tf-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-weight: 600;
}
.tf-nav__links a {
  margin: 0 12px;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.tf-nav__links a:hover { color: var(--c-primary); }
.tf-nav__cta {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #0b1220;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}
.tf-nav__cta:hover { transform: scale(1.05); }
.tf-nav__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.tf-nav__back:hover { color: var(--c-primary); background: rgba(255,255,255,0.06); }
.tf-nav--scrolled {
  background: rgba(5, 5, 16, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tf-nav__logo img { border-radius: 8px; }
@media (max-width: 768px) {
  .tf-nav__links { display: none; }
  .tf-nav__cta { font-size: 0.85rem; padding: 6px 12px; }
}

/* ==== Hero Section ==== */
#hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.tf-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Glowing ambient blobs */
.tf-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.tf-hero__glow--1 { 
  width: 450px; 
  height: 450px; 
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 70%); 
  left: -120px; 
  top: -80px; 
  animation: drift-1 18s infinite ease-in-out;
}
.tf-hero__glow--2 { 
  width: 400px; 
  height: 400px; 
  background: radial-gradient(circle, rgba(218,110,255,0.14) 0%, transparent 70%); 
  right: -100px; 
  top: 150px; 
  animation: drift-2 22s infinite ease-in-out;
}
.tf-hero__glow--3 { 
  width: 350px; 
  height: 350px; 
  background: radial-gradient(circle, rgba(255,107,154,0.1) 0%, transparent 70%); 
  left: 30%; 
  bottom: -130px; 
  animation: drift-1 25s infinite ease-in-out;
}
@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(40px, -30px) scale(1.15); opacity: 0.5; }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1.1); opacity: 0.7; }
  50% { transform: translate(-30px, 40px) scale(0.9); opacity: 0.4; }
}

/* Particle canvas (will be drawn via JS) */
.tf-hero__particles { position: absolute; inset: 0; pointer-events: none; }

/* Hero content */
.tf-hero__content {
  position: relative;
  max-width: 760px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
  .tf-hero__title {
    font-family: var(--font-family);
    font-size: var(--fz-title);
    font-weight: 900;
    line-height: 1.05;
    color: var(--c-text);
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 12px rgba(0,229,255,0.25), 0 0 24px rgba(0,229,255,0.12);
    animation: titleFade 1s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
  }
  @keyframes titleFade { to { opacity:1; transform:none; } }
.tf-hero__title-line { display: block; }
.tf-hero__title-line--glow { color: var(--c-primary); text-shadow: 0 0 12px var(--c-primary); }
  .tf-hero__subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.8rem;
    color: var(--c-muted);
    line-height: 1.4;
    letter-spacing: 0.005em;
    opacity: 0;
    animation: subtitleFade 1.2s ease-out forwards 0.3s;
    transform: translateY(10px);
  }
  @keyframes subtitleFade { to { opacity:1; transform:none; } }

/* Hero actions */
.tf-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tf-hero__store-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.tf-store-badge {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.tf-store-badge svg {
  display: block;
  height: 40px;
  width: auto;
}
.tf-store-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.22);
}
.tf-store-badge--googleplay:hover {
  box-shadow: 0 12px 30px rgba(218, 110, 255, 0.22);
}
.tf-hero__preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  padding: 6px 12px;
}
.tf-hero__preview-link:hover {
  color: var(--c-primary);
  transform: translateY(-1px);
}
.tf-hero__preview-link svg {
  transition: transform 0.2s;
}
.tf-hero__preview-link:hover svg {
  transform: scale(1.1);
}

.tf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}
.tf-btn--primary { background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #0b1220; }
.tf-btn--ghost { background: transparent; border: 1px solid var(--c-muted); color: var(--c-text); }
.tf-btn:hover { transform: translateY(-2px); }
.tf-btn--large { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* Mockup Container and Phone Details */
.tf-hero__mockup-container {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  z-index: 5;
  position: relative;
}
.tf-hero__mockup {
  width: 100%;
  max-width: 290px;
  transform-style: preserve-3d;
}
.tf-phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  border-radius: 44px;
  background: #09090d;
  padding: 10px;
  box-shadow: 
    0 30px 70px rgba(0,0,0,0.8), 
    0 0 50px rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotateX(8deg) rotateY(-4deg) rotateZ(0.5deg);
  animation: floatMockup 8s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.tf-phone-mockup:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-8px);
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.9), 
    0 0 60px rgba(0, 229, 255, 0.25);
}
@keyframes floatMockup {
  0%, 100% { transform: rotateX(8deg) rotateY(-4deg) rotateZ(0.5deg) translateY(0); }
  50% { transform: rotateX(6deg) rotateY(-2deg) rotateZ(0.2deg) translateY(-10px); }
}
.tf-phone-mockup__glow {
  position: absolute;
  inset: -5px;
  border-radius: 48px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  opacity: 0.15;
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s;
}
.tf-phone-mockup:hover .tf-phone-mockup__glow {
  opacity: 0.3;
}
.tf-phone-mockup__border {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: #000;
  padding: 2px;
}
.tf-phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #000000; /* Pure AMOLED black background */
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.03);
}
.tf-phone-mockup__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  border: 1px solid rgba(255,255,255,0.05);
}
.tf-phone-mockup__status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 2px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  z-index: 10;
}
.tf-phone-mockup__status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tf-phone-mockup__app {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 14px;
  justify-content: space-between;
}
.tf-phone-mockup__app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
}
.tf-phone-mockup__app-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.tf-phone-mockup__app-badge {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--c-primary);
  background: rgba(0, 229, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  letter-spacing: 0.05em;
}
.tf-phone-mockup__vocal-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0;
}
.tf-phone-mockup__orb-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-phone-mockup__orb {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--c-accent), #10061e);
  box-shadow: 
    0 0 20px rgba(218, 110, 255, 0.4),
    inset 0 0 12px rgba(218, 110, 255, 0.5);
  animation: orbBreathe 4s ease-in-out infinite;
}
@keyframes orbBreathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 16px rgba(218, 110, 255, 0.35), inset 0 0 10px rgba(218, 110, 255, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 24px rgba(218, 110, 255, 0.6), inset 0 0 16px rgba(218, 110, 255, 0.7);
  }
}
.tf-phone-mockup__orb-core {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, transparent 75%);
  opacity: 0.75;
}
.tf-phone-mockup__note-display {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #ffffff;
}
.tf-phone-mockup__note-letter {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}
.tf-phone-mockup__note-accidental {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-left: 1px;
}
.tf-phone-mockup__note-octave {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-primary);
  margin-left: 1px;
}
.tf-phone-mockup__frequency {
  font-size: 0.65rem;
  color: var(--c-muted);
  margin-top: 1px;
  font-weight: 500;
}
.tf-phone-mockup__graph-container {
  position: relative;
  height: 150px;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.tf-phone-mockup__canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.tf-phone-mockup__lanes-labels {
  position: absolute;
  top: 0;
  left: 8px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
  pointer-events: none;
}
.tf-phone-mockup__lanes-labels span {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}
.tf-phone-mockup__app-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tf-phone-mockup__tab {
  font-size: 0.65rem;
  color: var(--c-muted);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tf-phone-mockup__tab--active {
  color: var(--c-primary);
  font-weight: 700;
}
.tf-phone-mockup__tab-dot {
  width: 3px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--c-primary);
}

/* Hero graph canvas */
.tf-hero__graph-wrapper { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tf-hero__graph { width: 100%; height: 100%; }

/* Scroll hint */
.tf-hero__scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); }
.tf-hero__scroll-line { width: 30px; height: 3px; background: var(--c-primary); border-radius: 2px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { opacity: 0.6; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-8px); } }

/* ==== Section Layout ==== */
.tf-section {
  padding: 8rem var(--spacing) 4rem;
  position: relative;
}
.tf-section__inner { max-width: 1080px; margin: 0 auto; }
.tf-section__header { text-align: center; margin-bottom: 3rem; }
.tf-section__label { display: inline-block; font-size: var(--fz-label); color: var(--c-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.tf-section__title { font-size: var(--fz-section-title); color: var(--c-text); margin: 0.4rem 0; }
.tf-section__desc { font-size: 1rem; color: var(--c-muted); max-width: 720px; margin: 0 auto; }

/* Grid helpers */
.tf-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tf-feature-card {
  background: var(--c-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.tf-feature-card:hover { 
  transform: translateY(-5px); 
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.08); 
}
.tf-feature-card__icon {
  width: 48px; height: 48px; margin-bottom: 0.8rem; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.tf-feature-card__icon--cyan { background: rgba(0,229,255,0.15); color: var(--c-primary); }
.tf-feature-card__icon--violet { background: rgba(218,110,255,0.15); color: var(--c-accent); }
.tf-feature-card__icon--rose { background: rgba(255,107,154,0.15); color: var(--c-rose); }
.tf-feature-card__icon--amber { background: rgba(255,179,71,0.15); color: var(--c-amber); }
.tf-feature-card__icon--green { background: rgba(111,255,106,0.15); color: var(--c-green); }
.tf-feature-card__icon--blue { background: rgba(74,144,226,0.15); color: var(--c-blue); }
.tf-feature-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--c-text); }
.tf-feature-card p { margin: 0; color: var(--c-muted); font-size: 0.95rem; }

/* ==== Live Visualization ==== */
.tf-viz__canvas-wrap { position: relative; height: 360px; background: var(--c-card); border-radius: var(--radius); overflow: hidden; }
.tf-viz__glow { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 50%, rgba(0,229,255,0.1), transparent 70%); animation: glowPulse 6s infinite; }
@keyframes glowPulse { 0%,100% { opacity:0.6; } 50% { opacity:1; } }
.tf-viz__canvas { width: 100%; height: 100%; }
.tf-viz__overlay { position: absolute; inset:0; pointer-events:none; display:flex; align-items:flex-end; justify-content:center; padding:1rem; }
.tf-viz__note-labels span { margin:0 0.4rem; color: var(--c-muted); font-size:0.85rem; }

/* ==== Mockups ==== */
.tf-mockups__showcase { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .tf-mockups__showcase { flex-direction: row; justify-content: center; } }
.tf-mockup { position: relative; perspective: 1200px; transform-style: preserve-3d; }
.tf-mockup__device { width: 260px; height: 540px; border-radius: 28px; overflow: hidden; background: var(--c-card); box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: rotateY(15deg); transition: transform 0.5s; }
.tf-mockup__device:hover { transform: rotateY(0deg); }
.tf-mockup__device--large { width: 300px; height: 620px; }
.tf-mockup__screen { width: 100%; height: 100%; position: relative; }
.tf-mockup__screen--cinematic { background: linear-gradient(135deg, #00112a, #001d3d); }
.tf-mockup__screen--amoled { background: #000; }
.tf-mockup__screen-content { position: absolute; inset:0; display:flex; flex-direction:column; padding:0.8rem; }
.tf-mockup__notch { height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; margin-bottom:0.5rem; }
.tf-mockup__app-header { font-size:0.9rem; color: var(--c-text); margin-bottom:0.4rem; }
.tf-mockup__mini-graph { flex: 1; min-height: 120px; width: 100%; display: block; }
.tf-mockup__orb-mini { width:48px; height:48px; margin:0 auto; border-radius:50%; background: var(--c-primary); box-shadow: 0 0 16px var(--c-primary); }
.tf-mockup__orb-mini--cyan { background: var(--c-primary); }
.tf-mockup__orb-mini--violet { background: var(--c-accent); }
.tf-mockup__bottom-bar { display:flex; justify-content:space-around; padding-top:0.4rem; border-top:1px solid rgba(255,255,255,0.08); }
.tf-mockup__tab { font-size:0.75rem; color: var(--c-muted); cursor:pointer; }
.tf-mockup__tab--active { color: var(--c-text); font-weight:600; }

/* ==== Themes ==== */
.tf-themes__switcher { display:flex; justify-content:center; gap:1rem; margin-bottom:2rem; }
.tf-themes__tab { padding:0.5rem 1rem; border-radius:999px; background: var(--c-card); color: var(--c-muted); cursor:pointer; transition: background 0.3s, color 0.3s; }
.tf-themes__tab--active, .tf-themes__tab:hover { background: var(--c-primary); color: #0b1220; }
.tf-themes__display { position:relative; height:480px; }
.tf-themes__panel { position:absolute; inset:0; backdrop-filter: blur(8px); border-radius: var(--radius); overflow:hidden; opacity:0; transition: opacity 0.5s; }
.tf-themes__panel--active { opacity:1; }
.tf-themes__panel-glow { position:absolute; inset:-20%; background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%); animation: glowPulse 6s infinite; }
.tf-themes__panel-orb { position:absolute; top:20%; left:50%; transform:translateX(-50%); width:120px; height:120px; border-radius:50%; background: var(--c-primary); box-shadow:0 0 30px var(--c-primary); }
.tf-themes__panel-orb--amoled { background: var(--c-accent); }
.tf-themes__panel-graph { width:100%; height:100%; }
.tf-themes__panel-info { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); text-align:center; color: var(--c-text); }

/* ==== Orb Interaction ==== */
#experience .tf-orb-interactive {
  position: relative; width:200px; height:200px; margin:0 auto; cursor:pointer;
}
.tf-orb-interactive__glow {
  position:absolute; inset:0; border-radius:50%; background:radial-gradient(circle, rgba(0,229,255,0.2), transparent);
  animation: glowPulse 3s infinite;
}
.tf-orb-interactive__ring {
  position:absolute; inset:0; border-radius:50%; border:2px solid var(--c-primary); opacity:0.6; animation: rotate 10s linear infinite;
}
.tf-orb-interactive__ring--1 { animation-duration:10s; }
.tf-orb-interactive__ring--2 { animation-duration:14s; }
.tf-orb-interactive__ring--3 { animation-duration:18s; }
.tf-orb-interactive__core {
  position:absolute; inset:20%; border-radius:50%; background:radial-gradient(circle at 30% 30%, var(--c-primary), transparent);
  box-shadow: inset 0 0 20px var(--c-primary);
  display:flex; align-items:center; justify-content:center;
}
.tf-orb-interactive__inner { width:60%; height:60%; background:var(--c-bg); border-radius:50%; }
.tf-orb-interactive__ripple {
  position:absolute; inset:0; border-radius:50%; background:rgba(0,229,255,0.15); transform:scale(0); opacity:0; animation: ripple 1s forwards;
}
@keyframes ripple { to { transform:scale(1.5); opacity:0; } }
#orb-interactive:hover .tf-orb-interactive__ripple { animation: ripple 0.8s forwards; }
.tf-orb-interactive__hint { margin-top:1rem; font-size:0.85rem; color: var(--c-muted); text-align: center; }
.tf-orb-interactive__core--pulse { transform: scale(1.08); }
.tf-orb-interactive__core--hover { box-shadow: inset 0 0 28px var(--c-primary), 0 0 24px rgba(0,229,255,0.35); }

/* ==== Pro pricing ==== */
.tf-pro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.tf-pro__card {
  background: var(--c-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.tf-pro__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}
.tf-pro__card--pro {
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 0 40px rgba(0,229,255,0.08);
  position: relative;
}
.tf-pro__card--pro:hover {
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 10px 40px rgba(0,229,255,0.18);
}
.tf-pro__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0b1220;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  padding: 4px 10px;
  border-radius: 999px;
}
.tf-pro__card h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.tf-pro__price { color: var(--c-muted); margin: 0 0 1rem; font-size: 0.95rem; }
.tf-pro__card ul { margin: 0; padding-left: 1.1rem; color: var(--c-muted); }
.tf-pro__card li { margin-bottom: 0.45rem; }
.tf-pro__card .tf-btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* ==== Download CTA ==== */
.tf-download {
  position:relative; padding:6rem var(--spacing); text-align:center; overflow:hidden;
}
.tf-download__bg { position:absolute; inset:0; }
.tf-download__glow {
  position:absolute; inset:0; background:radial-gradient(circle at 50% 50%, rgba(0,229,255,0.12), transparent 70%);
  animation: glowPulse 7s infinite;
}
.tf-download__title { font-size: var(--fz-section-title); color: var(--c-text); margin-bottom:0.5rem; }
.tf-download__desc { font-size: 1rem; color: var(--c-muted); margin-bottom: var(--spacing); }
.tf-download__actions { display:flex; justify-content:center; }

/* ==== Footer ==== */
.tf-footer { background: #0a0a14; color: var(--c-muted); padding: 4rem var(--spacing); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }
.tf-footer__inner { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:1.5rem; }
.tf-footer__brand { display:flex; align-items:center; gap:0.6rem; font-weight:600; color: var(--c-text); }
.tf-footer__links a { margin:0 0.6rem; color: var(--c-muted); text-decoration:none; transition: color 0.3s; }
.tf-footer__links a:hover { color: var(--c-primary); }
.tf-footer__copy { text-align:center; opacity: 0.7; }
.tf-footer__back { color: var(--c-muted); text-decoration:none; }
.tf-footer__back:hover { color: var(--c-primary); }

/* ==== Responsive tweaks ==== */
@media (max-width: 600px) {
  .tf-hero__title { font-size: clamp(28px, 10vw, 42px); }
  .tf-hero__subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
  .tf-hero__store-badges { gap: 0.5rem; }
  .tf-store-badge svg { height: 36px; }
  .tf-hero__mockup-container { margin-top: 1.5rem; }
  .tf-hero__mockup { max-width: 240px; }
  .tf-phone-mockup { width: 240px; height: 490px; border-radius: 36px; padding: 8px; }
  .tf-phone-mockup__screen { border-radius: 28px; }
  .tf-phone-mockup__island { width: 70px; height: 18px; }
  .tf-phone-mockup__orb-container { width: 70px; height: 70px; }
  .tf-phone-mockup__orb { width: 50px; height: 50px; }
  .tf-phone-mockup__note-display { margin-top: 4px; }
  .tf-phone-mockup__note-letter { font-size: 1.5rem; }
  .tf-phone-mockup__note-accidental { font-size: 0.95rem; }
  .tf-phone-mockup__note-octave { font-size: 0.8rem; }
  .tf-phone-mockup__graph-container { height: 110px; }
  
  .tf-features__grid { grid-template-columns: 1fr; }
  .tf-mockup__device { width:200px; height:420px; }
  .tf-mockup__device--large { width:230px; height:480px; }
}
