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

/* Specific Nav Actions (Login Button) */
/* .nav-links moved to inline class */

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-login:hover {
  background-color: #f3f4f6;
}

.btn-login:active {
  transform: scale(0.95);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-content > * + * {
  margin-top: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a249;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge svg {
  height: 12px;
  width: 12px;
  fill: currentColor;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #0f172a;
  text-transform: uppercase;
}

.hero-title .highlight {
  color: #16a249;
}

.hero-description {
  font-size: 20px;
  color: #64748b;
  font-weight: 500;
  max-width: 512px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.btn-large {
  width: 100%;
  padding: 20px 40px;
  border-radius: 16px;
  background-color: #16a249;
  color: white;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  box-shadow: 0 25px 50px -12px rgba(22, 162, 73, 0.3);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-large:hover {
  background-color: #128a3d;
}

.btn-large:active {
  transform: scale(0.95);
}

.btn-large svg {
  height: 16px;
  width: 16px;
  transition: transform 0.3s;
}

.btn-large:hover svg {
  transform: translateX(4px);
}

.user-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatars {
  display: flex;
  margin-left: -12px;
}

.avatars img {
  height: 40px;
  width: 40px;
  border-radius: 9999px;
  border: 2px solid white;
  margin-left: -12px;
  object-fit: cover;
}

.stats-text {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

/* Hero Image */
.hero-visual {
  position: relative;
}

.mockup-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #f3f4f6;
  background: white;
  aspect-ratio: 4/3;
}

.mockup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}

.mockup-card:hover img {
  transform: scale(1.05);
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    transparent,
    transparent
  );
}

.mockup-info {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.balance-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px;
  border-radius: 24px;
  max-width: 200px;
}

.balance-label {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 24px;
  font-weight: 900;
  color: white;
}

.refresh-btn {
  background-color: #16a249;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(22, 162, 73, 0.4);
}

.refresh-btn svg {
  height: 32px;
  width: 32px;
  color: white;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.bg-blur-1 {
  position: absolute;
  top: -40px;
  right: -40px;
  height: 160px;
  width: 160px;
  background-color: #dcfce7;
  border-radius: 9999px;
  filter: blur(80px);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

.bg-blur-2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  height: 240px;
  width: 240px;
  background-color: #f0fdf4;
  border-radius: 9999px;
  filter: blur(80px);
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

/* Features Section */
.features {
  padding: 128px 0;
  background-color: rgba(249, 250, 251, 0.5);
}

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

.section-header {
  text-align: center;
  margin-bottom: 96px;
}

.section-subtitle {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #16a249;
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #0f172a;
  text-transform: uppercase;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background-color: white;
  border-radius: 40px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  height: 64px;
  width: 64px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon.blue {
  background-color: #f0fdf4;
  color: #16a249;
}

.feature-icon.cyan {
  background-color: #ecfeff;
  color: #06b6d4;
}

.feature-icon.emerald {
  background-color: #ecfdf5;
  color: #16a34a;
}

.feature-icon svg {
  height: 32px;
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.feature-icon svg.filled {
  fill: currentColor;
}

.feature-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.feature-description {
  color: #64748b;
  font-weight: 500;
  line-height: 1.6;
}

/* Split Section */
.split-section {
  padding: 128px 0;
  overflow: hidden;
}

.split-section.white {
  background-color: white;
}

.split-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.split-spacer {
  margin-bottom: 128px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  aspect-ratio: 1;
  border: 1px solid #f3f4f6;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.split-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #0f172a;
}

.split-title .highlight {
  color: #16a249;
}

.split-description {
  font-size: 20px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
}

.feature-list svg {
  height: 20px;
  width: 20px;
  color: #16a34a;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* Mobile App Section */
.mobile-section {
  padding: 128px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.mobile-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

.mobile-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  order: 2;
}

.mobile-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background-color: #0f172a;
  border-radius: 48px;
  border: 8px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 24px;
  background-color: #1e293b;
  border-radius: 0 0 16px 16px;
  z-index: 20;
}

.mobile-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}

.mobile-mockup:hover img {
  transform: scale(1.05);
}

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 162, 73, 0.2), transparent);
  pointer-events: none;
}

.mobile-blur-1 {
  position: absolute;
  top: -40px;
  left: -40px;
  height: 160px;
  width: 160px;
  background-color: #f0fdf4;
  border-radius: 9999px;
  filter: blur(80px);
  z-index: -1;
}

.mobile-blur-2 {
  position: absolute;
  bottom: -40px;
  right: -40px;
  height: 240px;
  width: 240px;
  background-color: #dcfce7;
  border-radius: 9999px;
  filter: blur(80px);
  z-index: -1;
}

.mobile-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  order: 1;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background-color: #0f172a;
  color: white;
  width: 100%;
  opacity: 0.5;
  cursor: not-allowed;
  transition: all 0.3s;
}

.app-badge svg {
  height: 32px;
  width: 32px;
  fill: currentColor;
}

.app-badge-text p:first-child {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.6;
}

.app-badge-text p:last-child {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

/* CTA Section */
.cta {
  padding: 128px 0;
  background: linear-gradient(135deg, #16a249 0%, #128a3d 100%);
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #16a249, #128a3d);
  opacity: 0.95;
}

.cta-blur-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  height: 320px;
  width: 320px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  filter: blur(80px);
}

.cta-blur-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  height: 320px;
  width: 320px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 9999px;
  filter: blur(80px);
}

.cta-container {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cta-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: white;
  text-transform: uppercase;
}

.cta-description {
  font-size: 20px;
  color: #d1fae5;
  font-weight: 500;
  line-height: 1.6;
}

.btn-white {
  display: inline-block;
  padding: 24px 64px;
  border-radius: 40px;
  background-color: white;
  color: #16a249;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-white:hover {
  background-color: #f9fafb;
}

.btn-white:active {
  transform: scale(0.95);
}

/* Footer */
footer {
  padding-bottom: 30px; /* Specific padding adjustment */
}

/* Footer Container kept generic in global, index uses .footer-grid */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* .footer-brand and .footer-logo-* moved to global.css */

.footer-description {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  max-width: 320px;
}

.footer-section-title {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #16a249;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 10px;
  font-weight: 900;
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

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

  .hero-title {
    font-size: 96px;
  }

  .hero-cta {
    flex-direction: row;
    align-items: center;
  }

  .btn-large {
    width: auto;
  }

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

  .split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 64px;
  }

  .split-title {
    font-size: 48px;
  }

  .mobile-container {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-mockup-wrapper {
    order: 1;
  }

  .mobile-content {
    order: 2;
  }

  .app-badges {
    flex-direction: row;
  }

  .app-badge {
    width: auto;
  }

  .cta-title {
    font-size: 72px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .split-grid.reverse .split-content {
    order: 1;
  }

  .split-grid.reverse .split-image {
    order: 2;
  }
}
