/* Base Styles */
:root {
  --primary: #088543;
  --primary-light: rgba(8, 133, 67, 0.15);
  --secondary: #d29561;
  --secondary-light: rgba(210, 149, 97, 0.1);
  --dark: #0f0326;
  --dark-light: rgba(15, 3, 38, 0.7);
  --light: #fffffb;
  --background: #ecf0f1;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
  font-family: "Squada One", sans-serif;
}

h1 span.highlight,
h2 span.highlight,
h3 span.highlight,
p span.highlight,
blockquote span.highlight {
  font-family: "Squada One", sans-serif;
  font-size: 1.15em;
}

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
}

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

.btn-primary:hover {
  background-color: rgba(8, 133, 67, 0.9);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background-color: rgba(15, 3, 38, 0.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 2rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  font-family: "Squada One", sans-serif;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
  white-space: nowrap;
}

.desktop-cta {
  display: none;
  white-space: nowrap;
}

.nav-link {
  padding: 0.5rem;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light);
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  z-index: 1001;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  visibility: hidden; /* Add this line to ensure it's hidden */
  opacity: 0; /* Add this line for a fade effect */
}

.mobile-nav.active {
  transform: translateY(0);
  visibility: visible; /* Add this line to make it visible when active */
  opacity: 1; /* Add this line for a fade effect */
}

.mobile-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.25rem;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--dark-light);
  font-size: 1.125rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
}

.cta-card {
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--secondary);
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--dark-light);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

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

/* Footer */
.footer {
  background-color: var(--light);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: "Squada One", sans-serif;
}

.footer-column p {
  color: var(--dark-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

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

.social-links a {
  color: var(--dark-light);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--dark-light);
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.legal-heading {
  margin-top: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 3, 38, 0.1);
  color: var(--dark-light);
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
}

.footer-bottom p {
  margin-bottom: 0;
}

#current-year {
  font-weight: 500;
}

/* Waitlist Link Styling */
.waitlist-link {
  color: var(--primary);
  font-weight: 600;
}

.waitlist-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Floating Waitlist Button */
.floating-waitlist {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
}

.floating-waitlist .btn {
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(8, 133, 67, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(8, 133, 67, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(8, 133, 67, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(8, 133, 67, 0.3);
  }
}

.banks-logos {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.bank-logos-image {
  max-width: 100%;
  height: auto;
}

/* Media Queries */

/* changed from 768px */
@media (min-width: 1048px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .desktop-nav {
    display: flex;
    gap: 1.5rem;
  }

  .desktop-cta {
    display: flex;
    gap: 0.75rem;
  }

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .floating-waitlist {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-waitlist .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .banks-logos {
    flex-wrap: wrap;
  }
}
