/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.7;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  right: -300px;
  width: 250px;
  height: calc(100vh - 70px);
  background-color: rgba(20, 20, 20, 0.98);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.mobile-menu.active {
  right: 0;
}

.mobile-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-btn {
  margin-top: 20px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary-large {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 38px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Feature Sections */
.feature-section {
  padding: 60px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card.large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px;
  align-items: center;
}

.feature-card.reverse {
  direction: rtl;
}

.feature-card.reverse > * {
  direction: ltr;
}

.feature-content {
  max-width: 500px;
}

.feature-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.feature-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.feature-image {
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.gradient-bg {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
}

.light-bg {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.device-mockup {
  display: flex;
  gap: 30px;
  align-items: center;
}

.ledger-device {
  width: 120px;
  height: 300px;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.ledger-device::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.phone-mockup {
  width: 200px;
  height: 400px;
  background: #1f2937;
  border-radius: 30px;
  padding: 15px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #111827;
  border-radius: 20px;
  padding: 20px;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
}

.verify-device {
  display: flex;
  gap: 40px;
  align-items: center;
}

.ledger-verify {
  width: 140px;
  height: 320px;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
}

.ledger-verify::before {
  content: 'Ledger';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  opacity: 0.5;
}

.verification-badge {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  color: #10b981;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.setup-steps {
  display: flex;
  gap: 20px;
  align-items: center;
}

.step {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  background: white;
  border: 3px solid #e5e7eb;
}

.step.active {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.step i {
  font-size: 20px;
  margin-bottom: 5px;
}

.step span {
  font-size: 11px;
  margin-top: 5px;
}

/* Features List */
.features-list {
  padding: 60px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-info {
  flex-grow: 1;
}

.feature-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.feature-item > .fa-arrow-right {
  color: rgba(255, 255, 255, 0.3);
  font-size: 18px;
}

/* Security Section */
.security-section {
  padding: 80px 0;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 50px;
  letter-spacing: -1px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.security-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.3s;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.security-card i {
  font-size: 32px;
  margin-bottom: 20px;
  color: #a78bfa;
}

.security-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.security-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.security-card.dark {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.security-card.dark h3 {
  font-size: 24px;
}

.security-card.dark i {
  align-self: flex-end;
  color: white;
}

/* Coins Section */
.coins-section {
  padding: 80px 0;
  text-align: center;
}

.coins-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.coin-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: transform 0.3s;
}

.coin-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.coin-icon.blue {
  background: #3b82f6;
  color: white;
}

.coin-icon.cyan {
  background: #06b6d4;
  color: white;
}

.coin-icon.yellow {
  background: #f59e0b;
  color: white;
}

.coin-icon.orange {
  background: #f97316;
  color: white;
}

.coin-icon.white {
  background: white;
  color: #3b82f6;
}

.coin-icon.gold {
  background: #fbbf24;
  color: white;
}

.coin-icon.purple {
  background: #8b5cf6;
  color: white;
}

.coin-icon.black {
  background: #1f2937;
  color: white;
}

.coin-icon.checkers {
  background: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
              linear-gradient(45deg, #000 25%, white 25%, white 75%, #000 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: #666;
}

.coins-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.search-bar {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-bar i {
  color: rgba(255, 255, 255, 0.5);
}

.search-bar input {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  width: 100%;
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 30px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-column h4 {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 42px;
  }

  .feature-card.large {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .feature-card.reverse {
    direction: ltr;
  }

  .feature-title {
    font-size: 32px;
  }

  .device-mockup {
    flex-direction: column;
    gap: 20px;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .coins-title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 140px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-large,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .feature-card.large {
    padding: 30px 20px;
  }

  .feature-title {
    font-size: 28px;
  }

  .feature-image {
    padding: 20px;
    min-height: 300px;
  }

  .phone-mockup {
    width: 150px;
    height: 300px;
  }

  .ledger-device {
    width: 90px;
    height: 220px;
  }

  .setup-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature-item {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .coins-grid {
    gap: 15px;
  }

  .coin-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}
