/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;600;700&display=swap');

:root {
  --primary-blue: #1a237e;
  --primary-purple: #c2185b;
  --light-blue: #7986cb;
  --light-purple: #e91e63;
  --background: #f5f5f5;
  --dark-bg: #1a1a2e;
  --accent-green: #4caf50;
  --accent-orange: #ff9800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

.main-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  background: rgba(26, 35, 126, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white !important;
  font-weight: 700;
  font-size: 1.2rem;
}

.chain-icon-nav {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

.navbar-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: rgba(121, 134, 203, 0.8);
  color: white;
  border: none;
}

.login-btn {
  background-color: #2196f3;
}

.register-btn {
  background-color: #03a9f4;
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

/* Hero Section */
.hero-section {
  padding-top: 100px;
}

.hero-text {
  padding: 2rem;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 0.9;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.brand-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.chain-icon {
  width: 60px;
  height: auto;
}

.tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Search Bar */
.search-container {
  display: flex;
  max-width: 350px;
  border-radius: 25px;
  overflow: hidden;
  background-color: var(--primary-blue);
  margin-top: 2rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  outline: none;
  background-color: var(--primary-blue);
  color: white;
}

.search-btn {
  background-color: var(--primary-blue);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

/* 3D Computer Container */
#computer-container {
  width: 100%;
  height: 400px;
  position: relative;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--light-blue);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "⛓️";
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/* How It Works Section */
.how-it-works-section {
  background: var(--dark-bg);
  color: white;
  padding: 80px 0;
}

.how-it-works-section .section-title {
  color: white;
}

.how-it-works-section .section-subtitle {
  color: #ccc;
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-content h4 {
  margin-bottom: 1rem;
  color: var(--light-blue);
}

.account-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blockchain-features,
.transparency-note,
.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.payment-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tracking-options {
  margin-top: 1rem;
}

.tracking-options .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Blockchain Benefits */
.blockchain-benefits {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.blockchain-benefits h3 {
  color: var(--light-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.benefit-item {
  text-align: center;
  padding: 1rem;
}

.benefit-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-item h5 {
  margin-bottom: 0.5rem;
  color: white;
}

/* Transparency Dashboard */
.transparency-dashboard {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.transparency-dashboard h3 {
  color: var(--light-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

/* Footer */
.footer-section {
  background: var(--primary-blue);
  color: white;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  filter: invert(1);
  margin-bottom: 1rem;
}

.footer-brand h4 {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--light-blue);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-blue);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .brand-name {
    font-size: 3.5rem;
  }
  
  .tagline {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  #computer-container {
    height: 300px;
    margin-top: 2rem;
  }
  
  .step-card {
    margin-bottom: 2rem;
  }
  
  .hero-section {
    padding-top: 120px;
  }
}

@media (max-width: 576px) {
  .brand-name {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.5rem;
  }
  
  .hero-text {
    padding: 1rem;
  }
  
  .feature-card,
  .step-card {
    padding: 1.5rem;
  }
}