:root {
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --text-primary: #ededed;
  --text-secondary: #a1a1aa;
  
  --accent-primary: #6366f1;   /* Indigo */
  --accent-secondary: #ec4899; /* Pink */
  --accent-glow: rgba(99, 102, 241, 0.4);
  
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Blobs for vibrant aesthetics */
.blob {
  position: absolute;
  filter: blur(120px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
}

.shape-1 {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  animation-delay: 0s;
}

.shape-2 {
  bottom: 20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  animation-delay: -4s;
}

.shape-3 {
  top: 40%;
  left: 30%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  animation-delay: -8s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1.0); }
  50% { transform: translateY(-40px) scale(1.05); }
  100% { transform: translateY(0) scale(1.0); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #f472b6 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* UI Elements */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #818cf8 100%);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.logo i {
  color: var(--accent-primary);
  font-size: 1.8rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: white;
}

/* Sections */
section {
  padding: 5rem 5%;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 5%;
  padding: 4rem;
  gap: 4rem;
  border-radius: 32px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Phone Mockup CSS Art */
.phone-mockup {
  width: 320px;
  height: 650px;
  background: #12121c;
  border-radius: 48px;
  padding: 12px;
  border: 4px solid #2a2a35;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.05);
  position: relative;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #2a2a35;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 20;
}

.screen {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, #1f1f2e 0%, #0d0d16 100%);
  border-radius: 36px;
  overflow: hidden;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.app-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ec4899, #8b5cf6);
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 20px;
}

.summary-card h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}

.progress-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 8px solid rgba(99, 102, 241, 0.2);
  border-top-color: var(--accent-primary);
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left-color: var(--accent-secondary);
}

.progress-circle .val { font-size: 1.8rem; font-weight: 800; }
.progress-circle .lbl { font-size: 0.75rem; color: var(--text-secondary); }

.macro-lines .line {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}

.macro-lines .fill { height: 100%; border-radius: 4px; }
.line.protein .fill { background: #34d399; }
.line.carbs .fill { background: #60a5fa; }
.line.fats .fill { background: #fbbf24; }

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.icon-neon {
  font-size: 2rem;
  color: #f472b6;
  text-shadow: 0 0 15px rgba(244, 114, 182, 0.6);
}

.stat-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.stat-card p { font-size: 0.8rem; color: var(--text-secondary); }

/* Features */
.features-section {
  text-align: center;
  padding-top: 2rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-box {
  padding: 2.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.2);
}

.neon-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.neon-icon.orange { color: #fb923c; text-shadow: 0 0 20px rgba(251, 146, 60, 0.4); }
.neon-icon.blue { color: #38bdf8; text-shadow: 0 0 20px rgba(56, 189, 248, 0.4); }
.neon-icon.purple { color: #c084fc; text-shadow: 0 0 20px rgba(192, 132, 252, 0.4); }
.neon-icon.pink { color: #f472b6; text-shadow: 0 0 20px rgba(244, 114, 182, 0.4); }
.neon-icon.green { color: #4ade80; text-shadow: 0 0 20px rgba(74, 222, 128, 0.4); }
.neon-icon.yellow { color: #facc15; text-shadow: 0 0 20px rgba(250, 204, 21, 0.4); }
.neon-icon.red { color: #f87171; text-shadow: 0 0 20px rgba(248, 113, 113, 0.4); }
.neon-icon.teal { color: #2dd4bf; text-shadow: 0 0 20px rgba(45, 212, 191, 0.4); }
.neon-icon.indigo { color: #818cf8; text-shadow: 0 0 20px rgba(129, 140, 248, 0.4); }

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-secondary);
}

/* Download */
.download-section {
  text-align: center;
  margin: 6rem auto;
  padding: 4rem 2rem;
  max-width: 800px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
  border-radius: 32px;
}

.download-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: white;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.store-btn i {
  font-size: 2.2rem;
  margin-right: 12px;
}

.store-btn .text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-btn .text strong {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.store-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.copyright {
  color: #52525b;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtext {
    margin: 0 auto 2rem;
  }
  
  .cta-group {
    justify-content: center;
  }
}
