/* Etlas Fitness - Landing Page Styles */

:root {
  --primary: #0d9668;
  --primary-light: #10b981;
  --primary-dark: #047857;
  --primary-bg: #ecfdf5;
  --background: #ffffff;
  --background-dark: #0a1f1a;
  --foreground: #0f172a;
  --foreground-muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --gradient-start: #0d9668;
  --gradient-end: #059669;
  --whatsapp: #25D366;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--foreground-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: var(--background);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  z-index: 99;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  padding: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: #d1fae5;
}

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

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #ffffff 50%, #f0fdf4 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(13, 150, 104, 0.08) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--foreground-muted);
}

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

.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--background-dark);
  border-radius: 2.5rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-xl);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a2e2a 0%, #0f1f1b 100%);
  border-radius: 2rem;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  max-width: 85%;
  animation: fadeInUp 0.5s ease-out;
}

.chat-bubble.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.chat-bubble.bot {
  background: #1e3a34;
  color: #d1fae5;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  margin-right: 0.5rem;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

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

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

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

/* Sections */
.section {
  padding: 6rem 0;
}

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

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--foreground-muted);
}

/* Interfaces Section */
.interfaces {
  background: #f8fafc;
}

.interfaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.interface-card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.interface-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.interface-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-bg) 100%);
}

.featured-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.interface-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-bg);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.interface-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.interface-card.whatsapp .interface-icon {
  background: #dcfce7;
}

.interface-card.whatsapp .interface-icon svg {
  color: var(--whatsapp);
}

.interface-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.interface-card p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

.interface-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.interface-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* NLP Section */
.nlp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nlp-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nlp-text > p {
  color: var(--foreground-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.nlp-examples {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nlp-example {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.nlp-input, .nlp-output {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nlp-input {
  margin-bottom: 1rem;
}

.nlp-example .label {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nlp-example code {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.9rem;
  color: var(--foreground);
  background: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.nlp-example .parsed {
  color: var(--primary);
  font-weight: 600;
}

/* Autocorrect Demo */
.autocorrect-demo {
  background: var(--background-dark);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.demo-header {
  background: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.demo-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 1rem;
}

.strikethrough {
  color: #ef4444;
  text-decoration: line-through;
  opacity: 0.7;
}

.arrow {
  color: var(--foreground-muted);
}

.corrected {
  color: var(--primary-light);
  font-weight: 600;
}

.demo-caption {
  padding: 1rem 2rem 2rem;
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--foreground-muted);
  font-size: 0.9rem;
}

/* Security Section */
.security {
  background: linear-gradient(135deg, var(--background-dark) 0%, #0f2922 100%);
  color: white;
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-visual {
  display: flex;
  justify-content: center;
}

.shield {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(13, 150, 104, 0.4);
  animation: pulse 3s ease-in-out infinite;
}

.shield svg {
  width: 100px;
  height: 100px;
  color: white;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(13, 150, 104, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 80px rgba(13, 150, 104, 0.5); }
}

.security-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.security-text > p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.security-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.security-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.security-features svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--background-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-column a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.375rem 0;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
}

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

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

  .nlp-visual {
    order: -1;
  }

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

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

  .security-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .security-features {
    align-items: center;
  }

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

  .footer-brand {
    margin-bottom: 2rem;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-logo {
    justify-content: center;
  }
}

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

  .nav-toggle {
    display: flex;
  }

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

  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .nlp-text h2,
  .security-text h2,
  .cta-content h2 {
    font-size: 1.75rem;
  }

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

  .shield {
    width: 150px;
    height: 150px;
  }

  .shield svg {
    width: 70px;
    height: 70px;
  }
}


/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background-dark);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  flex: 1;
  min-width: 200px;
}

.cookie-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: var(--primary);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
