/* css/landing.css */

body {
  background: #fdfaf0 !important;
  color: #333 !important;
}

/* Hide background animation on the light theme landing page */
.bg-animation {
  display: none !important;
}

/* Light theme header overrides */
header {
  background: #fdfaf0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

header.is-scrolled {
  background: rgba(253, 250, 240, 0.95) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  border-bottom: 1px solid #eaeaea !important;
}

.logo-text {
  color: #111 !important;
}

.logo-subtext {
  color: #ff6600 !important; 
}

.logo-mark {
  background: #ff6600 !important;
  color: white !important;
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3) !important;
}

.nav-links a {
  color: #555 !important;
  font-weight: 600 !important;
}

.nav-links a:hover, .nav-links a.active {
  color: #ff6600 !important;
}

.nav-links a::after {
  background: #ff6600 !important;
}

.cta-button {
  background: transparent !important;
  color: #ff6600 !important;
  border: 2px solid #ff6600 !important;
  box-shadow: none !important;
}

.cta-button:hover,
.cta-button:focus {
  background: #ff6600 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4) !important;
}

/* Video embed wrapper */
.video-embed-wrapper {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ff6600;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.2);
  background: #000;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Landing layout */
.landing-container {
  display: flex;
  gap: 4rem;
  padding: 2rem 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .landing-container {
    flex-direction: column;
  }
}

.landing-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
}

.landing-right {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.disclaimer-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #ffb3b3;
  color: #cc0000;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: max-content;
  background: rgba(255,0,0,0.05);
}

.hero-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6600;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hero-branding svg {
  fill: #ff6600;
  width: 24px;
  height: 24px;
}

.landing-title {
  color: #4a2b6e; /* A dark purple/blue from the screenshot */
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.landing-subtitle {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-pill {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 0.8rem 0.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  text-align: center;
}

.stat-pill .number {
  color: #ff6600;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.stat-pill .label {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.service-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0066cc;
  background: #f0f7ff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #d1e6ff;
}

.service-pill svg {
  width: 14px;
  height: 14px;
  fill: #ff6600;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid #ff6600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
}

.cta-btn.primary {
  background: #ff6600;
  color: white !important;
}
.cta-btn.primary:hover {
  background: #e65c00;
}

.cta-btn.secondary {
  background: transparent;
  color: #ff6600 !important;
}
.cta-btn.secondary:hover {
  background: #fff5eb;
}

.video-block {
  background: #111;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  color: #ccc;
  margin-top: auto;
  border: 1px solid #333;
}

.video-block p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #e0e0e0;
  text-align: center;
}

.video-btn {
  background: #cc0000;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.video-btn:hover {
  background: #ff0000;
}

/* Right column styles */
.dark-card {
  background: #16181b;
  border-radius: 10px;
  border: 1px solid #2a2d33;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.purple-bar {
  background: linear-gradient(90deg, #4b0082, #800080);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(75, 0, 130, 0.3);
}

.assistant-card {
  border-top: 4px solid #ff6600;
}
.assistant-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}
.assistant-header img {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
}
.assistant-body p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.assistant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.assistant-options span {
  padding: 0.4rem 0.8rem;
  border: 1px solid #ff6600;
  color: #ff6600;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
}

.trading-engine {
  position: relative;
  min-height: 280px;
}
.engine-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.engine-header h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}
.engine-status {
  color: #a0a0a0;
  font-size: 0.8rem;
}

.graph-container {
  margin-top: 1.5rem;
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.graph-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wave-path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: moveWave 10s linear infinite;
}

@keyframes moveWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dots for trading engine */
.engine-dots {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #888;
}
.engine-dots span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.dot.orange { background: #ff9900; }
.dot.purple { background: #b042ff; }
.dot.green { background: #00cc66; }
.dot.blue { background: #0099ff; }

/* The bottom notification bar inside engine */
.engine-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
}
.engine-active {
  color: #00cc66;
  font-weight: 600;
}

/* Bento Grid Styles */
.bento-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.bento-header h2 {
  color: #4a2b6e;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.bento-header p {
  color: #555;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}

.bento-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.bento-item.large {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.bento-item.large .bento-img-wrapper {
  flex: 1.5;
}

.bento-item.large .bento-content {
  flex: 1;
}

.bento-img-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-img-wrapper.tall {
  height: 220px;
}

.bento-img-wrapper.wide {
  height: 100%;
  min-height: 250px;
}

.bento-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.bento-content h3 {
  color: #ff6600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.bento-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item.large {
    grid-column: span 2;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item.large {
    grid-column: span 1;
  }
}
