/* Font Face Declarations */
@font-face {
  font-family: 'Circular Std';
  src: url('./src/assets/fonts/CircularStd-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Circular Std';
  src: url('./src/assets/fonts/CircularStd-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Circular Std';
  src: url('./src/assets/fonts/CircularStd-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CircularStd';
  src: url('./src/assets/fonts/CircularStd-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --color-primary: #008080;
  --color-gray: #565E5B;
  --color-dark-gray: #3B4742;
  --color-shaded-grey: #F6F6F6;
  --color-grey: #E2E8F0;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --shadow-1: 9px 11px 7.3px 0px rgba(0, 0, 0, 0.25);
  --container-max-width: 96rem;
  --container-padding: 1rem;
}

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

body {
  font-family: 'Circular Std', sans-serif;
  line-height: 1.6;
  color: var(--color-dark-gray);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Utility Classes */
.text-primary {
  color: var(--color-primary);
}

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

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1rem 0;
}

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

.logo {
  flex: 1;
}

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

.close-menu-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-white);
  font-size: 1.125rem;
  padding: 0.75rem 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

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

.nav-link.active {
  font-weight: bold;
}

.nav-link.active::after {
  background-color: var(--color-black);
}

.mobile-download {
  display: none;
}

.desktop-download {
  flex: 1;
  text-align: right;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-black);
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.download-link:hover {
  color: var(--color-white);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

/* Hero Section */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 0;
  position: relative;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  border-bottom-right-radius: 234px;
  height: calc(100% - 126px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  padding-bottom: 8rem;
}

.hero-title {
  color: var(--color-white);
  font-size: 3.75rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -1.2px;
  margin-bottom: 2rem;
}

.dynamic-text {
  color: var(--color-black);
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.app-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.app-rating {
  display: inline-block;
}

.hero-images {
  margin-top: 1.5rem;
}

.hero-image-group {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.hero-image-left {
  flex: 0 0 341px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  box-shadow: var(--shadow-1);
  border-radius: 20px;
}

.hero-image-right {
  flex: 0 0 277px;
}

/* Section Styles */
.section-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-dark-gray);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* Divide Expense Section */
.divide-expense-section {
  padding: 5rem 0;
}

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

/* Streamline Section */
.streamline-section {
  padding: 5rem 0;
  background-color: var(--color-shaded-grey);
}

.streamline-image {
  margin-top: 3rem;
  text-align: center;
}

.payment-img {
  margin: 0 auto;
  max-width: 800px;
}

/* Stay Informed Section */
.stay-informed-section {
  padding: 5rem 0;
}

.informed-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.informed-img {
  max-width: 400px;
  box-shadow: var(--shadow-1);
  border-radius: 20px;
}

/* Effortlessly Section */
.effortlessly-section {
  padding: 5rem 0;
  background-color: var(--color-shaded-grey);
}

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

/* Download Section */
.download-section {
  padding: 5rem 0;
  position: relative;
}

.download-content {
  text-align: center;
  position: relative;
}

.download-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background-color: var(--color-primary);
  border-radius: 20px;
  opacity: 0.1;
  z-index: -1;
}

.download-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-dark-gray);
  margin-bottom: 2rem;
}

.download-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.loading-img {
  margin: 0 auto;
  max-width: 300px;
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 6rem 0 3rem;
}

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

.footer-description {
  max-width: 304px;
  font-size: 0.875rem;
  margin-top: 1rem;
}

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

.footer-title {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.25rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list li,
.footer-list a {
  font-size: 0.875rem;
  color: var(--color-white);
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-apps {
  gap: 1rem;
}

.footer-apps img {
  height: 2rem;
  width: auto;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-grey);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-images {
    order: 2;
  }
  
  .app-links {
    justify-content: center;
  }
  
  .hero-image-left {
    flex: 0 0 300px;
  }
  
  .hero-image-right {
    flex: 0 0 200px;
  }
  
  .divide-expense-grid,
  .effortlessly-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--color-primary);
    width: 16rem;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 50;
    border-radius: 30px 0 0 30px;
    padding: 5rem 1rem;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .close-menu-btn {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .desktop-download {
    display: none;
  }
  
  .mobile-download {
    display: block;
    margin-top: 2rem;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .hero-section::after {
    border-bottom-right-radius: 64px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-image-group {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .informed-images {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .download-bg {
    width: 300px;
    height: 200px;
  }
}

/* Animation placeholders for GSAP-like effects */
.hero-title,
.hero-content,
.hero-images,
.hero-image-group img {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Keyframes */
@keyframes floatY {
  0% { 
    transform: translateY(0);
    width: 0;
  }
  50% { 
    transform: translateY(80px);
    width: 235px;
  }
  100% { 
    transform: translateY(0);
    width: 0;
  }
}

@keyframes expandWidth {
  0%, 100% { 
    width: 0px;
  }
  50% { 
    width: 101px;
  }
}
img{
  display: inline-block;
}

.divide-expense-image{
  text-align: center;
}
.divide-expense-image
.bg-overlay{
  display: block;
  border-radius: 425px;
background: #008080;
filter: blur(106.9000015258789px);
width: 235px;
height: 425px;
position: absolute;

}

.bg-primary{

background: #008080;
}

.divide-expense-image{
  max-width: 327px;
  position: relative;
  margin:  0 auto;
}


.divide-expense-image img{
  position: relative;
}

.section-description{
  max-width: 339px;
}