/* DietX - AI Powered Healthy Living Styles */

:root {
  --dietx-cyan: #22d3ee;
  --dietx-purple: #a855f7;
  --dietx-bg-dark: #000000;
  --dietx-card-bg: rgba(23, 23, 23, 0.6);
  --dietx-border: rgba(38, 38, 38, 1);
  --dietx-text: #ffffff;
  --dietx-text-muted: #a1a1aa;
  --dietx-text-dim: #71717a;
}

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

html {
  scroll-behavior: smooth;
}

.dietx-body {
  font-family: 'Manrope', sans-serif;
  background: var(--dietx-bg-dark);
  color: var(--dietx-text);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated Background */
.dietx-bg-grid {
  position: fixed;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
}

.dietx-bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.dietx-bg-blob-1 {
  top: 0;
  left: 25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  animation: blob-move-1 20s ease-in-out infinite;
}

.dietx-bg-blob-2 {
  top: 33%;
  right: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  animation: blob-move-2 15s ease-in-out infinite;
}

@keyframes blob-move-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, 50px); }
}

@keyframes blob-move-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, 80px); }
}

/* Gradient Text */
.dietx-gradient-text {
  background: linear-gradient(90deg, var(--dietx-cyan), var(--dietx-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.dietx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dietx-nav .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.dietx-nav-brand {
  text-decoration: none;
}

.dietx-logo-gradient {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--dietx-cyan), var(--dietx-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dietx-nav-logo {
  height: 2.5rem;
  width: auto;
  display: block;
}

.dietx-footer-logo {
  height: 2rem;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.dietx-title-logo {
  height: 2.5rem;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.dietx-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dietx-nav-link {
  color: var(--dietx-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dietx-nav-link:hover {
  color: var(--dietx-cyan);
}

.dietx-nav-back {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
}

.dietx-nav-back:hover {
  border-color: var(--dietx-cyan);
}

/* Hero Section */
.dietx-hero {
  position: relative;
  z-index: 10;
  padding: 8rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.dietx-hero-content {
  text-align: left;
}

.dietx-tagline {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.dietx-tagline span {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: linear-gradient(90deg, var(--dietx-cyan), var(--dietx-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dietx-hero-title {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.dietx-hero-desc {
  font-size: 1.125rem;
  color: var(--dietx-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.dietx-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Primary Button */
.dietx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dietx-cyan), var(--dietx-purple));
  box-shadow: 0 10px 40px rgba(34, 211, 238, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}

.dietx-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(34, 211, 238, 0.4);
  color: white;
}

.dietx-btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Store Buttons */
.dietx-store-buttons {
  display: flex;
  gap: 1rem;
}

.dietx-store-btn {
  transition: transform 0.3s ease;
}

.dietx-store-btn:hover {
  transform: scale(1.05);
}

.dietx-store-btn img {
  height: 48px;
  width: auto;
}

/* Hero Visual */
.dietx-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dietx-phone-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dietx-phone-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(13, 31, 45, 0.95) 0%, rgba(10, 26, 40, 0.8) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.dietx-mockup-carousel {
  position: relative;
  width: 320px;
  height: 650px;
}

.dietx-phone-mockup {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 320px;
  height: auto;
  border-radius: 32px;
  box-shadow: 
    0 0 60px rgba(0, 240, 255, 0.2),
    0 0 100px rgba(99, 102, 241, 0.15),
    0 25px 80px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.dietx-phone-mockup.active {
  opacity: 1;
  pointer-events: auto;
}

.dietx-mockup-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.dietx-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dietx-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dietx-dot.active {
  background: linear-gradient(135deg, var(--dietx-cyan), var(--dietx-purple));
  transform: scale(1.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Features Section */
.dietx-features {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

.dietx-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dietx-section-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.dietx-section-subtitle {
  font-size: 1rem;
  color: var(--dietx-text-dim);
}

/* Feature Cards */
.dietx-feature-card {
  background: var(--dietx-card-bg);
  border: 1px solid var(--dietx-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.dietx-feature-card:hover {
  transform: translateY(-8px);
  background: rgba(38, 38, 38, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.dietx-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.dietx-icon-cyan {
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #22d3ee;
}

.dietx-icon-orange {
  background: rgba(251, 146, 60, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: #fb923c;
}

.dietx-icon-purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

.dietx-icon-emerald {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
}

.dietx-icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #6366f1;
}

.dietx-icon-pink {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ec4899;
}

.dietx-feature-title {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.dietx-feature-desc {
  font-size: 0.875rem;
  color: var(--dietx-text-dim);
  margin: 0;
}

/* CTA Section */
.dietx-cta {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

.dietx-cta-card {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.5rem;
  padding: 4rem 3rem;
  text-align: center;
}

.dietx-cta-title {
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.dietx-cta-subtitle {
  font-size: 1rem;
  color: var(--dietx-text-dim);
  margin-bottom: 2rem;
}

.dietx-cta-buttons {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.dietx-cta-stores {
  justify-content: center;
}

/* Footer */
.dietx-footer {
  position: relative;
  z-index: 10;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dietx-footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dietx-footer-tagline {
  font-size: 0.875rem;
  color: var(--dietx-text-muted);
  margin-bottom: 0.75rem;
}

.dietx-footer-desc {
  font-size: 0.875rem;
  color: var(--dietx-text-dim);
  max-width: 300px;
}

.dietx-footer-heading {
  font-size: 0.875rem;
  color: var(--dietx-text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.dietx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dietx-footer-links li {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

.dietx-footer-links a {
  font-size: 0.875rem;
  color: var(--dietx-text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.dietx-social-links {
  display: flex;
  gap: 0.75rem;
}

.dietx-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 23, 23, 0.6);
  border: 1px solid var(--dietx-border);
  color: var(--dietx-text-muted);
  transition: all 0.3s ease;
}

.dietx-social-btn:hover {
  transform: scale(1.1);
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--dietx-cyan);
}

.dietx-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.dietx-footer-bottom p {
  font-size: 0.875rem;
  color: var(--dietx-text-dim);
  margin: 0;
}

.dietx-footer-bottom a {
  color: var(--dietx-cyan);
  text-decoration: none;
}

.dietx-footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .dietx-hero {
    padding-top: 7rem;
  }
  
  .dietx-hero-title {
    font-size: 3rem;
  }
  
  .dietx-hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .dietx-hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .dietx-hero-buttons {
    align-items: center;
  }
  
  .dietx-mockup-carousel {
    width: 280px;
    height: 570px;
  }

  .dietx-phone-mockup {
    max-width: 280px;
  }
  
  .dietx-section-title {
    font-size: 2rem;
  }
  
  .dietx-cta-title {
    font-size: 1.75rem;
  }
  
  .dietx-cta-card {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .dietx-nav-links {
    gap: 1rem;
  }
  
  .dietx-nav-link {
    font-size: 0.8rem;
  }
  
  .dietx-hero-title {
    font-size: 2.5rem;
  }
  
  .dietx-mockup-carousel {
    width: 240px;
    height: 490px;
  }

  .dietx-phone-mockup {
    max-width: 240px;
  }

  .dietx-store-btn img {
    height: 40px;
  }
  
  .dietx-bg-blob-1,
  .dietx-bg-blob-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 576px) {
  .dietx-nav {
    padding: 0.75rem 1rem;
  }
  
  .dietx-nav-links {
    gap: 0.5rem;
  }
  
  .dietx-nav-link:not(.dietx-nav-back) {
    display: none;
  }
  
  .dietx-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
  
  .dietx-hero-title {
    font-size: 2rem;
  }
  
  .dietx-hero-desc {
    font-size: 1rem;
  }
  
  .dietx-btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .dietx-store-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .dietx-features,
  .dietx-cta {
    padding: 4rem 0;
  }
  
  .dietx-section-title {
    font-size: 1.5rem;
  }
  
  .dietx-cta-title {
    font-size: 1.5rem;
  }
}
