/* ========================================
   EarnTrack Website - Premium Styles
   Apple-grade animations & design
   ======================================== */

:root {
  --primary: #16A085;
  --primary-dark: #128a72;
  --primary-light: rgba(22, 160, 133, 0.12);
  --primary-glow: rgba(22, 160, 133, 0.25);
  --accent: #1dd1a8;
  --bg: #000000;
  --bg-elevated: #0A0A0A;
  --bg-card: #1c1c1e;
  --bg-card-hover: #252528;
  --text: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
  --nav-height: 64px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease-out-expo); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* ========================================
   Global Animation Classes
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========================================
   Animated Background
   ======================================== */

.bg-gradient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
}

.bg-gradient-mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse 600px 600px at 30% 20%, rgba(22, 160, 133, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(22, 160, 133, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(2deg); }
  66% { transform: translate(-20px, 20px) rotate(-1deg); }
  100% { transform: translate(10px, -10px) rotate(1deg); }
}

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(22, 160, 133, 0.15);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ========================================
   Navigation - Glass Morphism
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-5deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-out-expo);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 13px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out-expo) !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
}

.nav-cta::after {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 160, 133, 0.1);
  border: 1px solid rgba(22, 160, 133, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 160, 133, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(22, 160, 133, 0); }
}

.hero h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTitleReveal 1.2s var(--ease-out-expo) forwards;
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.5);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.5;
  animation: heroSubtitleReveal 1.2s var(--ease-out-expo) 0.3s forwards;
  opacity: 0;
}

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

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroButtonsReveal 1.2s var(--ease-out-expo) 0.5s forwards;
  opacity: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(22, 160, 133, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(22, 160, 133, 0.45);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-phone {
  margin-top: 80px;
  position: relative;
  animation: heroPhoneReveal 1.4s var(--ease-out-expo) 0.7s forwards;
  opacity: 0;
}

@keyframes heroPhoneReveal {
  from { opacity: 0; transform: translateY(60px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1e;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 120px rgba(22, 160, 133, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-phone-mockup:hover {
  transform: translateY(-10px) rotateX(2deg);
}

.hero-phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #1a1a1e;
  border-radius: 20px;
  z-index: 10;
}

.hero-phone-mockup-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111 0%, #000 100%);
  border-radius: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin-bottom: 28px;
}

.mockup-bar {
  width: 24px;
  border-radius: 6px 6px 0 0;
  background: var(--primary);
  opacity: 0.6;
  animation: barGrow 1.5s var(--ease-out-expo) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.mockup-bar:nth-child(1) { height: 45px; animation-delay: 1s; }
.mockup-bar:nth-child(2) { height: 70px; animation-delay: 1.1s; }
.mockup-bar:nth-child(3) { height: 55px; animation-delay: 1.2s; }
.mockup-bar:nth-child(4) { height: 90px; animation-delay: 1.3s; }
.mockup-bar:nth-child(5) { height: 110px; background: var(--primary); opacity: 1; animation-delay: 1.4s; }
.mockup-bar:nth-child(6) { height: 75px; animation-delay: 1.5s; }
.mockup-bar:nth-child(7) { height: 60px; animation-delay: 1.6s; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

.mockup-label {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mockup-score {
  margin-top: 20px;
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scoreGlow 2s ease-in-out infinite alternate;
}

@keyframes scoreGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.3); }
}

/* ========================================
   Section Base
   ======================================== */

.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.pricing-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 4px;
}

.pricing-toggle-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.pricing-toggle-btn.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.pricing-toggle-btn:hover:not(.active) {
  color: rgba(255,255,255,0.7);
}

.toggle-save {
  color: var(--accent);
  font-size: 11px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========================================
   Features - Glass Cards
   ======================================== */

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

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 160, 133, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(22, 160, 133, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22, 160, 133, 0.2);
  background: rgba(255,255,255,0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: inline-block;
  transition: transform 0.5s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  transition: color 0.3s;
}

.feature-card:hover h3 {
  color: var(--accent);
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ========================================
   Profitscore Section
   ======================================== */

.profitscore {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.profitscore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.profitscore-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all 0.4s var(--ease-out-expo);
}

.score-row:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(8px);
  border-color: rgba(22, 160, 133, 0.2);
}

.score-badge {
  font-size: 16px;
  font-weight: 800;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.score-row:hover .score-badge {
  transform: scale(1.1);
}

.score-badge.aplus { background: rgba(22, 160, 133, 0.15); color: var(--accent); }
.score-badge.b { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.score-badge.c { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.score-badge.f { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.score-info { flex: 1; }
.score-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.score-info p { font-size: 12px; color: rgba(255,255,255,0.35); }

.score-bar {
  width: 100px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out-expo);
}

.score-row.active .score-bar-fill {
  transform: scaleX(1);
}

.score-bar-fill.aplus { width: 95%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.score-bar-fill.b { width: 75%; background: #3b82f6; }
.score-bar-fill.c { width: 55%; background: #f59e0b; }
.score-bar-fill.f { width: 25%; background: #ef4444; }

.profitscore-content .section-subtitle { margin-bottom: 28px; }

.profitscore-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profitscore-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.profitscore-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 160, 133, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   App Screenshots
   ======================================== */

.screenshots-section { padding-top: 60px; }

.screenshots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 0 0 260px;
  transition: transform 0.6s var(--ease-out-expo);
}

.phone-mockup:hover { transform: translateY(-16px) scale(1.02); }

.phone-mockup.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
}

.phone-mockup.fade-in.visible {
  opacity: 1;
}

.phone-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}

.phone-mockup:hover .phone-label { color: var(--accent); }

.phone-frame {
  width: 260px;
  height: 520px;
  background: #1a1a1e;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: box-shadow 0.5s var(--ease-out-expo), border-color 0.5s;
}

.phone-mockup:hover .phone-frame {
  border-color: rgba(22, 160, 133, 0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(22, 160, 133, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #1a1a1e;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%; height: 100%;
  background: #0A0A0A;
  border-radius: 38px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 14px 52px;
  scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar { display: none; }

/* App UI Elements inside phones */
.app-statusbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding: 0 4px; }
.app-time { font-size: 12px; font-weight: 700; color: #fff; }
.app-status-icons { display: flex; gap: 3px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.app-header { margin-bottom: 16px; }
.app-header-title { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.app-header-subtitle { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 3px; }

.app-kpi-row { display: flex; gap: 8px; margin-bottom: 12px; }
.app-kpi-card { flex: 1; background: rgba(255,255,255,0.05); border-radius: 14px; padding: 12px 10px; position: relative; }
.app-kpi-value { font-size: 18px; font-weight: 800; color: #fff; }
.app-kpi-label { font-size: 9px; color: rgba(255,255,255,0.35); font-weight: 500; margin-top: 2px; }
.app-kpi-change { position: absolute; top: 8px; right: 8px; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.kpi-green .app-kpi-value { color: var(--accent); }
.kpi-green .app-kpi-change { color: var(--accent); background: rgba(22, 160, 133, 0.15); }
.kpi-blue .app-kpi-value { color: #3b82f6; }
.kpi-blue .app-kpi-change { color: #3b82f6; background: rgba(59, 130, 246, 0.15); }
.kpi-purple .app-kpi-value { color: #8b5cf6; }

.app-profit-card { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 14px; margin-bottom: 14px; }
.app-profit-label { font-size: 10px; color: rgba(255,255,255,0.35); font-weight: 600; }
.app-profit-value { font-size: 26px; font-weight: 800; color: var(--accent); margin: 4px 0 10px; }
.app-profit-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.app-profit-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; transition: width 1.5s var(--ease-out-expo); }

.app-section-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.app-score-card, .app-employee-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border-radius: 12px;
  padding: 10px; margin-bottom: 7px;
}

.app-assignment-card {
  background: rgba(255,255,255,0.04); border-radius: 12px;
  padding: 10px; margin-bottom: 7px;
}

.app-assignment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.app-assignment-title { font-size: 13px; font-weight: 700; color: #fff; }
.app-assignment-badge { font-size: 8px; font-weight: 700; color: var(--accent); background: rgba(22, 160, 133, 0.12); padding: 3px 8px; border-radius: 6px; }
.app-assignment-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.app-assignment-row:last-of-type { margin-bottom: 8px; }
.app-assignment-company { color: rgba(255,255,255,0.4); }
.app-company-icon { font-size: 10px; }
.app-assignment-detail { display: flex; align-items: center; gap: 3px; font-size: 9px; color: rgba(255,255,255,0.35); }
.detail-icon { font-size: 9px; }
.app-assignment-footer { display: flex; align-items: center; justify-content: space-between; }

.app-assignment-team { display: flex; align-items: center; }
.team-avatar { width: 24px; height: 24px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #0A0A0A; margin-left: -5px; }
.team-avatar:first-child { margin-left: 0; }

.app-assignment-revenue { font-size: 12px; font-weight: 700; color: var(--accent); }

.app-employee-avatar { width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.app-employee-info { flex: 1; }
.app-employee-name { font-size: 13px; font-weight: 700; color: #fff; }
.app-employee-detail { font-size: 10px; color: rgba(255,255,255,0.3); }
.app-employee-score { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }

.app-profile-card { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.app-profile-avatar { width: 38px; height: 38px; border-radius: 14px; background: #3b82f6; color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-profile-info { flex: 1; }
.app-profile-name { font-size: 14px; font-weight: 700; color: #fff; }
.app-profile-email { font-size: 10px; color: rgba(255,255,255,0.3); }

.app-pro-banner { display: flex; align-items: center; gap: 10px; background: var(--primary); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.pro-banner-icon { font-size: 22px; }
.pro-banner-text { flex: 1; }
.pro-banner-title { font-size: 12px; font-weight: 700; color: #fff; }
.pro-banner-sub { font-size: 9px; color: rgba(255,255,255,0.8); }

.app-settings-group { margin-bottom: 12px; }
.app-settings-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 1px; padding: 0 12px; margin-bottom: 5px; }
.app-settings-item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); padding: 9px 12px; }
.settings-icon { font-size: 13px; }
.settings-text { flex: 1; font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; }
.settings-toggle { width: 28px; height: 16px; border-radius: 8px; background: #3a3a3e; }
.settings-on { background: var(--primary); }
.settings-arrow { font-size: 16px; color: rgba(255,255,255,0.15); font-weight: 300; }

.app-tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: rgba(17,17,17,0.95); border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-around; padding: 0 6px; backdrop-filter: blur(10px); }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0.35; transition: opacity 0.3s; }
.tab-active, .tab-active-tab { opacity: 1; }
.tab-icon { font-size: 16px; }
.tab-label { font-size: 7px; color: #fff; font-weight: 500; }

/* ========================================
   Pricing
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
}

.pricing-card.featured {
  border-color: rgba(22, 160, 133, 0.3);
  background: linear-gradient(180deg, rgba(22, 160, 133, 0.06) 0%, rgba(255,255,255,0.03) 100%);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(22, 160, 133, 0.12);
  border-color: rgba(22, 160, 133, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -14px; right: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: pricingBadgeGlow 2s ease-in-out infinite alternate;
}

@keyframes pricingBadgeGlow {
  from { box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3); }
  to { box-shadow: 0 4px 25px rgba(22, 160, 133, 0.5); }
}

.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 4px; }
.pricing-price span { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.35); }
.pricing-desc { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 28px; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.5); }
.pricing-features li .check { color: var(--accent); font-weight: 700; font-size: 16px; }
.pricing-features li .cross { color: rgba(255,255,255,0.15); }
.pricing-features li.disabled { color: rgba(255,255,255,0.2); }

.pricing-card .btn { margin-bottom: 12px; }
.pricing-monthly-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.pricing-monthly-link:hover {
  color: var(--accent);
}

/* ========================================
   Comparison Table
   ======================================== */

.comparison { padding: 60px 24px 100px; max-width: var(--max-width); margin: 0 auto; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.comparison-table th, .comparison-table td { padding: 16px 24px; text-align: center; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table thead th { font-size: 14px; font-weight: 700; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.comparison-table thead th:nth-child(3) { color: var(--accent); background: rgba(22, 160, 133, 0.04); }
.comparison-table tbody td { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr { transition: background 0.3s; }
.comparison-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.comparison-table tbody td:nth-child(3) { background: rgba(22, 160, 133, 0.03); }
.comparison-table .check-icon { color: var(--accent); font-weight: 700; font-size: 18px; }
.comparison-table .cross-icon { color: rgba(255,255,255,0.15); }

/* ========================================
   FAQ
   ======================================== */

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo);
}

.faq-item:hover { border-color: rgba(255,255,255,0.1); }
.faq-item.faq-open { border-color: rgba(22, 160, 133, 0.3); background: rgba(255,255,255,0.05); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-size: 14px; font-weight: 600;
  background: none; border: none; color: #fff;
  width: 100%; text-align: left;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-size: 22px; font-weight: 300;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s;
  color: rgba(255,255,255,0.3); flex-shrink: 0; margin-left: 16px;
}

.faq-item.faq-open .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section { padding: 80px 24px 100px; text-align: center; }

.cta-card {
  max-width: 750px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(22, 160, 133, 0.08) 0%, rgba(22, 160, 133, 0.02) 100%);
  border: 1px solid rgba(22, 160, 133, 0.15);
  border-radius: var(--radius-xl);
  padding: 80px 50px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(22, 160, 133, 0.06) 0%, transparent 60%);
  animation: ctaGlow 4s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  from { transform: scale(0.8); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 1; }
}

.cta-card h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 15px; color: rgba(255,255,255,0.45);
  margin-bottom: 32px; max-width: 500px;
  margin-left: auto; margin-right: auto;
  position: relative;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}

.footer-logo { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ========================================
   Legal Pages
   ======================================== */

.legal-page { padding: calc(var(--nav-height) + 80px) 24px 120px; max-width: 800px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: -2px; margin-bottom: 10px; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.legal-page .legal-updated { font-size: 14px; color: rgba(255,255,255,0.25); margin-bottom: 56px; }
.legal-page h2 { font-size: 24px; font-weight: 700; margin-top: 56px; margin-bottom: 18px; letter-spacing: -0.5px; }
.legal-page p, .legal-page li { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page ul li, .legal-page ol li { margin-bottom: 8px; }
.legal-page .legal-contact { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.legal-page .legal-contact p { margin-bottom: 6px; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { gap: 28px 20px; }
  .profitscore-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 700px) {
  .nav-links { position: fixed; top: calc(var(--nav-height) + 12px); left: 16px; right: 16px; background: #1c1c1e; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.5); flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 0; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.96); transition: opacity 0.25s ease, transform 0.25s ease; z-index: 999; pointer-events: none; }
  .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-links a { font-size: 18px; font-weight: 600; padding: 14px 24px; width: 100%; text-align: center; color: rgba(255,255,255,0.8) !important; border-radius: 12px; transition: background 0.2s, color 0.2s; }
  .nav-links a:active { background: rgba(22, 160, 133, 0.15); color: var(--accent) !important; }
  .nav-links .nav-cta { margin-top: 8px; width: calc(100% - 32px); }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .hero-phone-mockup { width: 240px; height: 480px; }
  .section { padding: 80px 20px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 14px 16px; }
  .screenshots-grid { flex-direction: column; max-width: 280px; margin: 0 auto; gap: 36px; align-items: center; }
  .section-title { letter-spacing: -1px; }
  .cta-card { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1.5px; }
  .pricing-price { font-size: 40px; }
}
