/* MandarinRise Website Styles - Recreated with new gradient theme */

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

:root {
  /* Colors inspired by MandarinRise gradients */
  --accent-color: #00c6ae; /* teal */
  --accent-secondary: #6c63ff; /* soft purple */
  --background-color: #f3f5ff; /* very light blue/purple */
  --card-background: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00c6ae 0%, #6c63ff 50%, #ff9a9e 100%);
  --gradient-header: linear-gradient(135deg, #31c9ff 0%, #4f46e5 50%, #a855f7 100%);
  --gradient-background: linear-gradient(135deg, #e0f4ff 0%, #f3e8ff 50%, #fff5f7 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(76, 81, 191, 0.35);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--background-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
}

.logo-text {
  color: var(--text-primary);
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.btn-nav {
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: var(--spacing-2xl);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-header);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(0, 198, 174, 0.2), transparent 60%),
              radial-gradient(circle at 0% 80%, rgba(108, 99, 255, 0.2), transparent 60%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
}

.gradient-text {
  background: linear-gradient(135deg, #f9fafb, #dbeafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(249, 250, 251, 0.9);
  max-width: 520px;
  margin-bottom: var(--spacing-xl);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22f2aa 0%, #5b8dff 40%, #ff9a9e 100%);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  border-radius: 999px;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.18);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.35);
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.6);
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(249, 250, 251, 0.8);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.phone-mockup {
  perspective: 1000px;
}

.phone-screen {
  background: #ffffff;
  border-radius: 36px;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.35s ease;
}

.phone-mockup:hover .phone-screen {
  transform: rotateY(0deg) rotateX(0deg);
}

.app-preview {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.screenshot-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: block;
}

.hero-screenshot.active {
  opacity: 1;
  position: relative;
}

/* Sections */
section {
  padding: var(--spacing-2xl) 0;
}

.features {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: linear-gradient(135deg, rgba(224, 244, 255, 0.4) 0%, rgba(243, 232, 255, 0.4) 50%, rgba(255, 245, 247, 0.4) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
}

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

/* Supplements */
.tracks {
  background: var(--gradient-background);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.track-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.track-featured {
  border: 2px solid rgba(108, 99, 255, 0.6);
}

.track-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
}

.track-icon {
  font-size: 2.4rem;
  margin-bottom: var(--spacing-md);
}

.track-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
}

.track-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.track-features {
  list-style: none;
}

.track-features li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.track-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Activities */
.activities {
  background: #f9fafb;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--spacing-md);
}

.activity-item {
  background: var(--card-background);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.activity-number {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.activity-name {
  font-weight: 500;
}

/* How it works */
.how-it-works {
  background: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-xl);
}

.step {
  text-align: center;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-xs);
}

.step-description {
  color: var(--text-secondary);
}

/* Download */
.download {
  background: var(--gradient-header);
  color: #ffffff;
  text-align: center;
}

.download-title {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

.download-description {
  margin-bottom: var(--spacing-xl);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
}

.download-label {
  font-size: 0.75rem;
}

.download-platform {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #020617;
  color: rgba(248, 250, 252, 0.9);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-text {
  color: #f9fafb;
}

.footer-tagline {
  margin-top: var(--spacing-sm);
  color: rgba(148, 163, 184, 0.9);
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-sm);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.4rem;
}

.footer-column a {
  text-decoration: none;
  color: rgba(148, 163, 184, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-domain {
  color: #f97316;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: var(--spacing-lg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--spacing-xl) 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-screenshot {
    width: 220px;
  }
}

html {
  scroll-behavior: smooth;
}

