/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-cta .btn {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: none;
}

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

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.platforms {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.platform-chip img {
  width: 20px;
  height: 20px;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Sections */
.section {
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.features-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

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

.card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Cards Scroll */
.cards-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.cards-scroll .card {
  scroll-snap-align: start;
  min-height: 200px;
}

.mini-list {
  margin-top: 16px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.mini-list li {
  margin-bottom: 8px;
}

/* Bullets */
.bullets {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 20px;
}

.bullets li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Note */
.note {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.note p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* CTA Section */
.cta {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.fine-print {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* FAQ */
.faq-items {
  max-width: 700px;
  margin: 0 auto;
}

details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

summary {
  padding: 24px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

details[open] summary {
  background: rgba(255, 255, 255, 0.05);
}

details p {
  padding: 24px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

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

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

.footer-section h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-legal a {
  font-size: 13px;
}

.brand-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.brand-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
  font-size: 14px;
  max-width: 280px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social a {
  text-decoration: none;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Mobile menu opened */
  .nav-links.show {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 0, 0, 0.95);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }
  
  /* Navbar mobile adjustments */
  .nav {
    height: 60px;
    position: relative;
  }
  
  .brand-text {
    font-size: 16px;
    white-space: nowrap;
  }
  
  .nav-cta {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    gap: 6px;
  }
  
  .nav-cta .btn {
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .nav-toggle {
    position: absolute;
    right: 16px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .platforms {
    flex-direction: column;
    align-items: center;
  }
  
  .platform-chip {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
    order: -1;
  }
  
  /* Mobile adjustments for animations */
  .features-grid .card:nth-child(2) .tennis-ball {
    bottom: 10px;
  }
  
  /* Remove overflow hidden from tennis ball card on mobile */
  .features-grid .card:nth-child(2) {
    overflow: visible;
    padding-bottom: 50px;
  }
  
  .intelligent .card:nth-child(2) .status-lights {
    bottom: 10px;
  }
  
  /* Increase height of semaphore card on mobile and remove overflow hidden */
  .intelligent .card:nth-child(2) {
    padding-bottom: 50px;
    overflow: visible;
  }
  
  /* Adjust scroll margin for smaller mobile header */
  .section {
    scroll-margin-top: 70px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .nav {
    padding: 0 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .card {
    padding: 24px;
  }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .btn,
  .platform-chip {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Focus states */
.btn:focus,
.nav-links a:focus,
summary:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Pricing Page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.currency {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.amount {
  font-size: 48px;
  font-weight: 700;
  margin: 0 4px;
}

.period {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-description {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}

.pricing-features li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }

  /* Center pricing CTAs only on mobile */
  .pricing-card {
    display: flex;
    flex-direction: column;
  }
  .pricing-card .pricing-btn {
    width: 100%;
    max-width: 280px;
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Chatbot */
.chatbot-widget {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.chatbot-header p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chatbot-message {
  max-width: 80%;
}

.chatbot-message.bot {
  align-self: flex-start;
}

.chatbot-message.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-right-radius: 4px;
}

.chatbot-message.bot p {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.chatbot-message.user p {
  margin: 0;
  color: #ffffff;
}

.chatbot-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggestion-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  transition: all 0.2s ease;
}

.suggestion-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
}

.chatbot-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chatbot-input input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.chatbot-input button {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chatbot-input button:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 48px);
    height: 70vh;
    bottom: 80px;
    right: 24px;
  }
  
  .chatbot-widget {
    bottom: 76px;
    right: 20px;
  }
}

/* Chatbot privacy notice */
.chatbot-notice {
  padding: 8px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-notice a {
  color: #ffffff;
  text-decoration: underline;
}

/* Login Page */
.login-section {
  padding: 60px 0 80px;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.login-container {
  max-width: 450px;
  margin: 0 auto;
}

.login-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 600;
}

.login-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -8px 0 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #ffffff;
  border-color: #ffffff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 12px;
  font-weight: 600;
}

.forgot-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-loading {
  position: absolute;
}

.auth-note {
  text-align: center;
  margin-top: -8px;
}

.auth-note p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  background: rgba(18, 18, 24, 1);
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  position: relative;
}

.signup-prompt {
  text-align: center;
}

.signup-prompt p {
  margin: 0 0 16px 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.benefit-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  text-align: left;
}

.benefit-list li {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: 20px;
}

.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .login-form {
    padding: 32px 24px;
  }
  
  .login-section {
    padding: 40px 0;
  }
}

/* Tennis Ball Animation */
.tennis-ball {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #E6FF33;
  border-radius: 50%;
  z-index: 100;
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: 
    inset -2px -2px 5px rgba(0,0,0,0.1),
    inset 2px 2px 5px rgba(255,255,255,0.3),
    0 1px 4px rgba(0,0,0,0.2);
}

.tennis-ball::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #ffffff;
  border-radius: 1px;
  transform: translateY(-0.75px);
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.tennis-ball::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 1.5px;
  height: 60%;
  background: #ffffff;
  border-radius: 1px;
  transform: translateX(-0.75px);
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
  clip-path: ellipse(50% 45%);
}

.tennis-ball.rolling {
  opacity: 1;
  animation: tennisRoll 6s ease-out infinite;
}

@keyframes tennisRoll {
  /* Primeiro movimento: Esquerda → Direita (sai pela direita) */
  0% {
    left: 10px;
    transform: rotate(0deg);
  }
  45% {
    left: calc(100% + 20px);
    transform: rotate(162deg);
  }
  
  /* Segundo movimento: Direita → Esquerda (entra pela direita) */
  50% {
    left: calc(100% + 20px);
    transform: rotate(180deg);
  }
  95% {
    left: -50px;
    transform: rotate(342deg);
  }
  100% {
    left: 10px;
    transform: rotate(360deg);
  }
}

/* Positioning tennis ball in center card */
.features-grid .card:nth-child(2) {
  position: relative;
  overflow: hidden;
}

.features-grid .card:nth-child(2) .tennis-ball {
  bottom: 15px;
  left: 10px;
}

/* Light Points Animation */
.light-points {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.light-points.glowing {
  opacity: 1;
}

.light-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #FFD700;
  border-radius: 50%;
  box-shadow: 
    0 0 10px #FFD700,
    0 0 20px #FFD700,
    0 0 30px rgba(255, 215, 0, 0.5);
  opacity: 0;
}

.light-point:nth-child(1) {
  top: 25%;
  left: 20%;
  animation: lightFlicker 3s ease-in-out infinite;
  animation-delay: 0s;
}

.light-point:nth-child(2) {
  top: 35%;
  right: 25%;
  animation: lightFlicker 3s ease-in-out infinite;
  animation-delay: 0.75s;
}

.light-point:nth-child(3) {
  bottom: 30%;
  left: 30%;
  animation: lightFlicker 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.light-point:nth-child(4) {
  bottom: 25%;
  right: 20%;
  animation: lightFlicker 3s ease-in-out infinite;
  animation-delay: 2.25s;
}

@keyframes lightFlicker {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Status Lights (Semaphore) Animation */
.status-lights {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.status-lights.active {
  opacity: 1;
}

.status-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.status-light.green {
  background: #28a745;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
}

.status-light.yellow {
  background: #ffc107;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.status-light.red {
  background: #dc3545;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.3);
}

.status-light.lit {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 
    0 0 12px currentColor,
    0 0 24px currentColor;
}

.status-light.green.lit {
  box-shadow: 
    0 0 12px #28a745,
    0 0 24px rgba(40, 167, 69, 0.6);
}

.status-light.yellow.lit {
  box-shadow: 
    0 0 12px #ffc107,
    0 0 24px rgba(255, 193, 7, 0.6);
}

.status-light.red.lit {
  box-shadow: 
    0 0 12px #dc3545,
    0 0 24px rgba(220, 53, 69, 0.6);
}

/* Position status lights in intelligent section center card */
.intelligent .card:nth-child(2) {
  position: relative;
}

/* Legal pages */
.legal .legal-article {
  max-width: 900px;
  margin: 0 auto;
}

.legal .legal-header {
  text-align: center;
  margin-bottom: 32px;
}

.legal .legal-header h1 {
  margin: 0 0 8px 0;
  font-size: clamp(28px, 4vw, 44px);
}

.legal .legal-meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.legal h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
}

.legal h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 16px;
}

.legal p,
.legal li {
  color: rgba(255, 255, 255, 0.75);
}

.legal ul {
  margin: 8px 0 16px 18px;
}

.legal a {
  color: #ffffff;
  text-decoration: underline;
}

/* Consent banner */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 24, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 900; /* Below chatbot (1000) */
}

.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
}

.consent-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

.consent-text a {
  color: #ffffff;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 8px;
}

.consent-btn {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .consent-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .consent-actions {
    width: 100%;
  }
  .consent-btn {
    width: 100%;
  }
}