/* Crypto Wallet Features Section */
.crypto-wallet-section {
  background: #000000;
  color: #F5F6F7;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle gradient overlay for depth */
.crypto-wallet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(74, 144, 226, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.crypto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Stats Header */
.crypto-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 120px;
  text-align: center;
}

.stat-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  margin: 0;
  background: linear-gradient(135deg, #F5F6F7 0%, #DADDE1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: #DADDE1;
  margin: 8px 0 0 0;
  font-weight: 300;
}

/* Main Features Grid */
.crypto-features-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  align-items: start;
}

.crypto-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.crypto-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(74, 144, 226, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.1);
}

/* Left & Right Features */
.crypto-left,
.crypto-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #4A90E2;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 16px 0;
  color: #F5F6F7;
  line-height: 1.3;
}

.feature-description {
  font-size: 1rem;
  color: #DADDE1;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: #4A90E2;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.feature-link:hover {
  transform: translateX(5px);
}

/* Center Feature */
.crypto-center {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(11, 14, 19, 0.8) 100%);
  padding: 60px 40px;
}

.phone-mockup {
  display: none;
}

.phone-screen {
  display: none;
}

.phone-header {
  display: none;
}

.phone-time {
  display: none;
}

.phone-status svg {
  display: none;
}

.phone-content {
  display: none;
}

.phone-title {
  display: none;
}

.portfolio-balance {
  display: none;
}

.balance-amount {
  display: none;
}

.balance-change {
  display: none;
}

.quick-actions {
  display: none;
}

.action-btn {
  display: none;
}

.action-btn:hover {
  display: none;
}

.crypto-list {
  display: none;
}

.crypto-item {
  display: none;
}

.crypto-info {
  display: none;
}

.crypto-symbol {
  display: none;
}

.crypto-name {
  display: none;
}

.crypto-value {
  display: none;
}

.crypto-amount {
  display: none;
}

.crypto-change {
  display: none;
}

.crypto-change.positive {
  display: none;
}

.crypto-change.negative {
  display: none;
}

.center-text {
  margin-top: 0;
  text-align: center;
  padding: 0 20px;
}

.center-title {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 16px 0;
  color: #F5F6F7;
  line-height: 1.3;
}

.center-description {
  font-size: 1rem;
  color: #DADDE1;
  line-height: 1.6;
  margin: 0;
}

/* Bottom Features Grid */
.crypto-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.crypto-bottom {
  min-height: 280px;
}

/* CTA Section */
.crypto-cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  margin: 0 0 24px 0;
  background: linear-gradient(135deg, #F5F6F7 0%, #4A90E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.125rem;
  color: #DADDE1;
  line-height: 1.7;
  margin: 0 0 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  background: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
  color: #F5F6F7;
  border: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .crypto-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .crypto-center {
    min-height: 700px;
  }

  .center-text {
    margin-top: 320px;
  }
}

@media (max-width: 768px) {
  .crypto-wallet-section {
    padding: 80px 20px;
  }

  .crypto-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .crypto-feature-card {
    padding: 30px;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .crypto-bottom-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: 240px;
  }

  .center-text {
    margin-top: 280px;
  }

  .center-title {
    font-size: 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-button {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .crypto-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .crypto-feature-card {
    padding: 24px;
  }
}

/* ========================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 375px) {
  .crypto-section {
    padding: 60px 12px;
  }

  .crypto-heading {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .crypto-subheading {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .crypto-stats {
    gap: 18px;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .crypto-feature-card {
    padding: 20px;
  }

  .crypto-cta {
    padding: 12px 32px;
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  .crypto-section {
    padding: 52px 10px;
  }

  .crypto-heading {
    font-size: 1.8rem;
  }

  .crypto-subheading {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .crypto-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .crypto-feature-card {
    padding: 18px;
  }

  .crypto-cta {
    padding: 11px 28px;
    font-size: 0.9rem;
  }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
  .crypto-cta {
    min-height: 44px;
    min-width: 44px;
  }

  .crypto-cta:active {
    transform: scale(0.98);
  }

  .crypto-feature-card:active {
    transform: scale(0.99);
  }
}
