@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: oklch(0.08 0.01 285);
  --bg-secondary: oklch(0.12 0.00258819 -0.00965926 / 0.5);
  --text-primary: oklch(0.98 0.01 45);
  --text-secondary: oklch(0.65 0.05 285);
  --accent-primary: oklch(0.65 0.19 45);
  --border-color: oklab(1 0 0 / 0.05);
  --glow-color: rgba(255, 140, 0, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary) url('https://signalsol.xyz/bg-pattern.png') center/cover fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: linear-gradient(to right, oklch(0.75 0.183 55.934), oklch(0.705 0.213 47.604), oklch(0.646 0.222 41.116));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes glow {
  0%, 100% { 
    box-shadow: rgba(255,140,0,0.3) 0px 0px 20px 0px, 
                rgba(255,140,0,0.2) 0px 0px 40px 0px, 
                rgba(255,140,0,0.1) 0px 0px 60px 0px;
  }
  50% { 
    box-shadow: rgba(255,140,0,0.5) 0px 0px 30px 0px, 
                rgba(255,140,0,0.3) 0px 0px 60px 0px, 
                rgba(255,140,0,0.2) 0px 0px 90px 0px;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-scale-in {
  animation: scale-in 0.5s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
  animation-fill-mode: both;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: oklab(0.08 0.00258819 -0.00965926 / 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: rgba(255,140,0,0.4) 0px 0px 20px 0px, 
              rgba(255,140,0,0.3) 0px 0px 40px 0px;
  filter: drop-shadow(0 0 10px rgba(255,140,0,0.5));
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, oklch(0.75 0.183 55.934), oklch(0.705 0.213 47.604), oklch(0.646 0.222 41.116));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: rgba(255,140,0,0.3) 0px 0px 20px 0px, 
              rgba(255,140,0,0.2) 0px 0px 40px 0px, 
              rgba(255,140,0,0.1) 0px 0px 60px 0px;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: rgba(255,140,0,0.5) 0px 0px 30px 0px, 
              rgba(255,140,0,0.3) 0px 0px 60px 0px, 
              rgba(255,140,0,0.2) 0px 0px 90px 0px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid oklch(1 0 0 / 0.15);
}

.btn-secondary:hover {
  transform: scale(1.05);
  border-color: var(--accent-primary);
  background: oklch(0.65 0.19 45 / 0.1);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  height: 36px;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1.5rem 1rem;
  height: 56px;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: url('https://c.animaapp.com/mi3ckd33AzynEs/assets/image-1.png') center/contain no-repeat;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1024px;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo-img {
  width: 128px;
  height: 128px;
  border-radius: 1rem;
  animation: glow 3s ease-in-out infinite, float 3s ease-in-out infinite;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 672px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 672px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Price Ticker */
.price-ticker {
  background: linear-gradient(to right, oklch(0.08 0.01 285) 0%, oklch(0.12 0.01 285) 50%, oklch(0.08 0.01 285) 100%);
  border-top: 1px solid oklab(0.65 0.13435 0.13435 / 0.3);
  border-bottom: 1px solid oklab(0.65 0.13435 0.13435 / 0.3);
  overflow: hidden;
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.ticker-symbol {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.ticker-price {
  font-weight: 600;
}

.ticker-change {
  font-size: 0.875rem;
  font-weight: 500;
}

.ticker-change.positive {
  color: oklch(0.723 0.219 149.579);
}

.ticker-change.negative {
  color: oklch(0.637 0.237 25.331);
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 672px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: scale(1.05);
  border-color: oklch(0.65 0.19 45 / 0.3);
  box-shadow: rgba(255,140,0,0.2) 0px 0px 20px 0px;
}

.feature-icon {
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon img {
  width: 48px;
  height: 48px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-secondary);
}

/* Market Analysis Section */
.market-analysis {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.market-chart-container {
  max-width: 1024px;
  margin: 0 auto;
}

.market-chart {
  position: relative;
  background: oklab(0.12 0.00258819 -0.00965926 / 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: rgba(255,140,0,0.2) 0px 0px 10px 0px;
}

.chart-bg {
  width: 100%;
  height: 384px;
  object-fit: cover;
  filter: blur(2px);
}

.chart-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: oklab(0.08 0.00258819 -0.00965926 / 0.6);
  backdrop-filter: blur(12px);
}

.chart-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 0 1rem;
}

/* How It Works Section */
.how-it-works {
  background: oklab(0.12 0.00258819 -0.00965926 / 0.3);
  padding: 5rem 0;
}

.steps-container {
  max-width: 896px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklab(0.65 0.13435 0.13435 / 0.2);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.step-content {
  flex: 1;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1152px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card-featured {
  border: 2px solid var(--accent-primary);
  box-shadow: rgba(255,140,0,0.3) 0px 0px 20px 0px, 
              rgba(255,140,0,0.2) 0px 0px 40px 0px, 
              rgba(255,140,0,0.1) 0px 0px 60px 0px;
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.pricing-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-top: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 6px oklab(0.65 0.13435 0.13435 / 0.15);
}

/* CTA Section */
.cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: url('https://c.animaapp.com/mi3ckd33AzynEs/assets/image-2.png') center/contain no-repeat;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 896px;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: oklab(0.12 0.00258819 -0.00965926 / 0.3);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-brand-name {
  font-weight: 700;
  background: linear-gradient(to right, oklch(0.75 0.183 55.934), oklch(0.705 0.213 47.604), oklch(0.646 0.222 41.116));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-logo-img {
    width: 192px;
    height: 192px;
  }

  .section-title {
    font-size: 3rem;
  }

  .chart-title {
    font-size: 2.25rem;
  }

  .cta-title {
    font-size: 3rem;
  }

  .stat-value {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .navbar-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
  }
}
