/* ============================================
   CHINCHILLA WALLET - MAIN STYLESHEET
   ============================================ */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4A9EFF;
  --secondary-color: #7FD957;
  --accent-color: #FFD93D;
  --dark-blue: #1E3A5F;
  --light-bg: #F5F9FF;
  --white: #FFFFFF;
  --gray: #6B7280;
  --dark-gray: #374151;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-bg) 0%, #E0F2FE 100%);
  padding: 80px 20px;
}

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

.hero-text h1 {
  font-size: 3rem;
  color: var(--dark-blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

.tagline {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
}

.cta-button img {
  height: 80px;
  width: auto;
}

/* Download Buttons Group */
.download-buttons-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.download-btn svg {
  width: 18px;
  height: 18px;
}

.google-play-btn {
  background: var(--white);
  color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.app-store-btn {
  background: var(--white);
  color: var(--dark-blue);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.app-store-btn:hover:not(.coming-soon) {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.app-store-btn.coming-soon {
  opacity: 0.9;
  cursor: not-allowed;
}

.soon-badge {
  background: var(--dark-blue);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--white);
}

.hero-image {
  text-align: center;
}

.mascot {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
/* Features Section */
.features {
  padding: 80px 20px;
  background: var(--white);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--dark-blue);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Technology Section */
.technology {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.technology h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.technology p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.tech-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.2);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Getting Started Section */
.getting-started {
  padding: 80px 20px;
  background: var(--light-bg);
}

.getting-started h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step p {
  color: var(--dark-gray);
  font-weight: 500;
}

.cta-text {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.cta-button.secondary {
  background: var(--secondary-color);
  color: var(--dark-blue);
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}

.cta-button.secondary:hover {
  background: var(--accent-color);
  transform: scale(1.05);
}

/* Footer */
footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.last-updated {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 40px;
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-page h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-page ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.legal-page ul li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.legal-page a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.acknowledgment {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  margin-top: 40px;
}

.acknowledgment p {
  font-size: 1.1rem;
  color: var(--dark-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
  }
  
  .features h2,
  .getting-started h2 {
    font-size: 2rem;
  }
  
  .legal-page h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero {
    padding: 40px 20px;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
}
