/* FinPurse Website Styles */

:root {
  --primary: #00A86B;
  --primary-dark: #008F5B;
  --primary-light: #E8F5E9;
  --secondary: #667eea;
  --secondary-dark: #5a6fd6;
  --accent: #FFD93D;
  --danger: #FF6B6B;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gradient: linear-gradient(135deg, #00A86B 0%, #667eea 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

/* Gradient Text */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

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

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

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

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 10px 0;
}

.btn-mobile {
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 30px;
  text-align: center;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -200px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -200px;
  left: -200px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 540px;
}

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

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 168, 107, 0.3);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-icon {
  font-size: 20px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

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

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 300px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.app-preview {
  background: var(--white);
  border-radius: 32px;
  padding: 24px;
  min-height: 500px;
}

.preview-header {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.preview-balance {
  background: var(--gradient);
  color: var(--white);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.balance-label {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  display: block;
  font-size: 32px;
  font-weight: 700;
}

.preview-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.mini-stat {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.mini-stat.income {
  background: var(--primary-light);
  color: var(--primary);
}

.mini-stat.expense {
  background: #FFEBEE;
  color: var(--danger);
}

.mini-stat span:first-child {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.mini-stat span:last-child {
  font-weight: 700;
}

.preview-wellness {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-100);
  padding: 16px;
  border-radius: 12px;
}

.wellness-grade {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.wellness-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Providers Section */
.providers {
  padding: 60px 0;
  background: var(--gray-50);
}

.providers-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.providers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.provider-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.provider-icon {
  font-size: 24px;
}

.provider-name {
  font-weight: 500;
  color: var(--text);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card.featured {
  background: var(--gradient);
  color: var(--white);
  border: none;
}

.feature-card.featured h3,
.feature-card.featured p {
  color: var(--white);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.feature-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Maslow Section */
.maslow {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.pyramid-container {
  display: flex;
  justify-content: center;
}

.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pyramid-level {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  transition: transform 0.3s;
}

.pyramid-level:hover {
  transform: scale(1.05);
}

.level-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.level-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.level-name {
  font-size: 14px;
  font-weight: 700;
}

.level-desc {
  font-size: 11px;
  opacity: 0.9;
}

.level-5 { width: 180px; background: #3498DB; }
.level-4 { width: 240px; background: #27AE60; }
.level-3 { width: 300px; background: #F1C40F; }
.level-2 { width: 360px; background: #E67E22; }
.level-1 { width: 420px; background: #E74C3C; }

.maslow-explanation h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--dark);
}

.explanation-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.step-content p {
  color: var(--text-light);
  font-size: 14px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info {
  flex: 1;
}

.author-name {
  display: block;
  font-weight: 600;
  color: var(--dark);
}

.author-location {
  font-size: 13px;
  color: var(--text-muted);
}

.rating {
  font-size: 14px;
}

/* Download Section */
.download {
  padding: 100px 0;
  background: var(--gradient-dark);
  color: var(--white);
}

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

.download-text h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.download-text p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  color: var(--dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  min-width: 200px;
  transition: all 0.3s;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.download-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-btn .btn-icon {
  font-size: 28px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-small {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-large {
  font-size: 18px;
  font-weight: 700;
}

.btn-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.download-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.info-icon {
  color: var(--primary);
  font-weight: 600;
}

.qr-container {
  text-align: center;
}

.qr-code {
  width: 180px;
  height: 180px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.qr-placeholder {
  text-align: center;
  font-size: 32px;
}

.qr-placeholder span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.qr-container p {
  font-size: 14px;
  opacity: 0.8;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  opacity: 0.7;
  margin: 16px 0 24px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-link:hover {
  background: var(--primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--primary);
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  
  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .maslow-content {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .download-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .download-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .download-info {
    justify-content: center;
  }
  
  .download-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pyramid-level {
    padding: 14px;
  }
  
  .level-5 { width: 140px; }
  .level-4 { width: 180px; }
  .level-3 { width: 220px; }
  .level-2 { width: 260px; }
  .level-1 { width: 300px; }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
