:root {
  --accent-start: #FBBF24;
  --accent-end: #D97706;
  --white: #ffffff;
  --dark: #0F0F0F;
  --muted: #A8A29E;
  --border: #374151;
  --light-bg: #1F2937;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 12px;
  --gradient: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  --bg: #0F0F0F;
  --fg: #FFFFFF;
}

/* Dark mode */
body.dark-mode {
  --bg: #0F0F0F;
  --fg: #FFFFFF;
  --border: #374151;
  --light-bg: #1F2937;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Buttons - Standardized */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.32);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--accent-start);
  background: var(--light-bg);
}

.btn-outline.btn-white {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline.btn-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: none;
}

.btn-ghost:hover {
  color: var(--accent-start);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--light-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.05);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 999;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

body.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
}

.navbar-logo {
  width: 32px;
  height: 32px;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-start);
}

.navbar-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 4rem 1.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.benefit-icon {
  font-size: 1.5rem;
}

/* Dashboard Mock */
.dashboard-mock {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.dashboard-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.wallet-card {
  width: 280px;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.card-header {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.card-amount {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.card-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.orders-card {
  width: 280px;
  top: 50px;
  right: 0;
  animation-delay: 0.2s;
}

.card-count {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.card-chart {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.chart-bar {
  width: 8px;
  background: var(--gradient);
  border-radius: 2px;
}

.transactions-card {
  width: 280px;
  bottom: 50px;
  left: 20px;
  animation-delay: 0.4s;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.transaction-item:last-child {
  border-bottom: none;
}

.tx-label {
  color: var(--dark);
  font-weight: 500;
}

.tx-amount {
  font-weight: 600;
  color: var(--accent-start);
}

.activity-card {
  width: 280px;
  bottom: 0;
  right: 20px;
  animation-delay: 0.6s;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.activity-dot {
  width: 12px;
  height: 12px;
  background: #9ca3af;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.activity-dot.active {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.activity-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

/* About Section */
.about {
  padding: 5rem 1.5rem;
  background: var(--light-bg);
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.about-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.about-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: 5rem 1.5rem;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: white;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  border-color: var(--accent-start);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.feature-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Services Section */
.services {
  padding: 5rem 1.5rem;
  background: var(--light-bg);
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.service-item {
  position: relative;
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
}

.service-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.service-item p {
  color: var(--muted);
  line-height: 1.8;
}

/* Social Proof Section */
.social-proof {
  padding: 5rem 1.5rem;
}

.proof-container {
  max-width: 1280px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-start);
}

.testimonial-text {
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.author-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA Section */
.cta {
  padding: 5rem 1.5rem;
  background: var(--gradient);
  color: white;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section */
.contact {
  padding: 5rem 1.5rem;
  background: var(--light-bg);
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  border-color: var(--accent-start);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 1.5rem 2rem;
  transition: all 0.3s ease;
}

body.dark-mode .footer {
  background: #000814;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section a {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent-end);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--gradient);
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .dashboard-mock {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .features-grid,
  .services-grid,
  .testimonials,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .navbar-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .feature-icon,
  .service-number {
    font-size: 2rem;
  }

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

  .cta-actions {
    flex-direction: column;
  }

  .navbar-wordmark {
    font-size: 1rem;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
