/* ========================================
   FitCoach AI - Landing Page Styles
   Modern Dark Theme with Neon Accents
======================================== */

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;

  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;

  --accent-primary: #00d4aa;
  --accent-secondary: #00ff88;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--bg-card);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
}

.logo-icon {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.btn-nav {
  padding: 12px 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.lang-flag {
  font-size: 18px;
}

.lang-text {
  font-weight: 600;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 255, 136, 0.08), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-trial {
  font-size: 28px;
  font-weight: 400;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  background: var(--bg-card);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.phone-screen {
  background: var(--bg-secondary);
  border-radius: 30px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-weight: 600;
  font-size: 15px;
}

.chat-status {
  font-size: 12px;
  color: var(--accent-primary);
}

.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 350px;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  animation: messageIn 0.5s ease forwards;
  opacity: 0;
}

.message:nth-child(1) {
  animation-delay: 0.2s;
}

.message:nth-child(2) {
  animation-delay: 0.6s;
}

.message:nth-child(3) {
  animation-delay: 1s;
}

.message:nth-child(4) {
  animation-delay: 1.4s;
}

.message:nth-child(5) {
  animation-delay: 1.8s;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.bot {
  background: var(--bg-card);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.message.user {
  background: var(--accent-primary);
  color: var(--bg-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.message.typing {
  display: flex;
  gap: 4px;
  padding: 16px 20px;
}

.message.typing span {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.message.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.message.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* How it Works Section */
.how-it-works {
  padding: var(--section-padding);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 24px;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.step-connector {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  margin-bottom: 80px;
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
}

.author-result {
  font-size: 14px;
  color: var(--accent-primary);
}

/* Pricing Section */
.pricing {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
}

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

.pricing-card.popular {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 30%);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.premium {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, var(--bg-card) 30%);
}

.popular-badge,
.premium-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-badge {
  background: var(--accent-gradient);
  color: var(--bg-primary);
}

.premium-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: var(--bg-primary);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.pricing-price .currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}

.pricing-price .amount {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-price .cents {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 12px;
  margin-left: 4px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.included .feature-icon {
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent-primary);
}

.pricing-features li.not-included .feature-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.pricing-features li.included span:last-child {
  color: var(--text-primary);
}

.pricing-features li.not-included span:last-child {
  color: var(--text-muted);
}

.btn-pricing {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
}

.pricing-card.popular .btn-pricing {
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3);
}

.pricing-card.premium .btn-pricing {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* Stripe Buy Button */
stripe-buy-button {
  display: block;
  margin-top: 16px;
  width: 100%;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.1;
  filter: blur(80px);
}

.decoration-circle:first-child {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.decoration-circle:last-child {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

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

  .hero h1 {
    font-size: 44px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

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

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

  .hero-visual {
    margin-top: 40px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: scale(1);
    order: -1;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .steps {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
    margin: 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  .lang-switch {
    padding: 6px 10px;
  }

  .lang-text {
    display: none;
  }

  .btn-nav {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-card h2 {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 16px auto 0;
  }
}/* Extensions Section */
.extensions {
    padding-bottom: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.extensions-header {
    text-align: center;
    margin-bottom: 40px;
}

.extensions-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.extensions-header p {
    color: var(--text-secondary);
}

.extensions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.extension-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1 1 200px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.extension-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.extension-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.extension-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extension-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.extension-price .period {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.extension-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.extension-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}/* Extension description hover effect */
.extension-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 0;
}

.extension-card:hover .extension-desc {
    max-height: 50px;
    opacity: 1;
    margin-top: 10px;
}