/* Contrast Finance - Modern Landing Page Styles */

/* Landing Page Container */
.landing-page {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.3;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast-green);
  margin-bottom: 24px;
}

.badge-icon {
  flex-shrink: 0;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

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

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

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

.btn-xl {
  padding: 20px 40px;
  font-size: 18px;
}

.btn-primary {
  background: var(--contrast-green);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--contrast-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

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

.btn-secondary:hover {
  border-color: var(--contrast-green);
  background: rgba(16, 185, 129, 0.1);
}

.hero-stats-inline {
  display: flex;
  gap: 32px;
  align-items: center;
}

.stat-inline {
  flex: 1;
}

.stat-inline .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.stat-inline .stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-primary);
}

/* Hero Visual - Crypto Cards */
.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.crypto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.crypto-card:hover {
  border-color: var(--contrast-green);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.crypto-card-secondary {
  background: rgba(30, 30, 33, 0.5);
  backdrop-filter: blur(10px);
}

.crypto-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.crypto-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.crypto-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.crypto-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.crypto-symbol {
  font-size: 14px;
  color: var(--text-muted);
}

.crypto-price-info {
  text-align: right;
}

.crypto-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.crypto-change {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.crypto-change.positive {
  color: var(--contrast-green);
}

.crypto-change.negative {
  color: var(--contrast-red);
}

.crypto-chart {
  margin-top: 16px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.product-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:hover {
  border-color: var(--contrast-green);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-features {
  margin-bottom: 24px;
}

.feature-item {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 4px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--contrast-green);
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-link:hover {
  gap: 12px;
  color: var(--contrast-green-light);
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast-green);
  margin-bottom: 24px;
}

.security-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.security-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.security-features {
  display: grid;
  gap: 24px;
}

.security-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.security-item:hover {
  border-color: var(--contrast-green);
  transform: translateX(8px);
}

.security-item-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.security-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.security-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
}

.security-card-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.security-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.security-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.security-stat {
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 16px;
}

.security-stat .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--contrast-green);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.security-stat .stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border-top: 1px solid var(--border-primary);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.cta-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-stats-inline {
    flex-wrap: wrap;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

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

  .hero-description {
    font-size: 18px;
  }

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

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 36px;
  }

  .cta-title {
    font-size: 40px;
  }

  .stat-inline .stat-value {
    font-size: 24px;
  }

  .products-section,
  .security-section,
  .cta-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-stats-inline {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-title {
    font-size: 32px;
  }

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