:root {
    /* Colors from iOS app */
    --primary-green: rgb(34, 139, 34);    /* forestgreen */
    --light-green: rgb(144, 238, 144);    /* lightgreen */
    --text-dark: #333333;
    --text-light: #666666;
    
    /* Gradient background */
    --gradient-start: rgba(34, 139, 34, 0.1);
    --gradient-end: rgba(144, 238, 144, 0.1);
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Container widths */
    --container-max: 1200px;
    --container-narrow: 800px;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'System', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    min-height: 100vh;
    color: var(--text-dark);
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  /* Header */
  header {
    padding: var(--spacing-md) 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-bottom: 2px solid var(--primary-green);
  }
  
  header .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
  }
  
  .header-logo {
    height: 60px;  /* Increased size */
    width: auto;
    margin-right: var(--spacing-sm);
    border-radius: 12px;  /* Rounded corners */
  }
  
  header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: bold;
    color: var(--primary-green);
    margin: 0;
  }
  
  header h1 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  
  header h1 a:hover {
    opacity: 0.9;
  }
  
  .tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--text-light);
    margin: 0;
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--primary-green);
  }
  
  /* Add responsive adjustment for mobile */
  @media (max-width: 640px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .tagline {
        padding-left: 0;
        border-left: none;
    }
  }
  
  /* Hero Section */
  .hero {
    padding: var(--spacing-lg) 0;
    background: var(--primary-green);
    color: white;
  }
  
  .hero .container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    text-align: left;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .hero-main {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.7;
    max-width: 600px;
    opacity: 0.95;
    font-weight: 400;
  }
  
  .hero-solution {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.7;
    max-width: 600px;
    opacity: 0.95;
    font-weight: 500;
  }
  
  /* Add emphasis to key phrases */
  .hero strong {
    font-weight: 600;
    color: var(--light-green);
    letter-spacing: 0.01em;
  }
  
  .cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--light-green);
    color: var(--primary-green);
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
  }
  
  .cta-button img {
    height: 24px;
    width: auto;
    border-radius: 6px;
  }
  
  .cta-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Features Grid */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
  }
  
  .feature {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }
  
  .feature:hover {
    transform: translateY(-5px);
  }
  
  .feature h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
  }
  
  /* How It Works */
  .how-it-works {
    padding: var(--spacing-xl) 0;
  }
  
  .steps {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .step-item {
    background: white;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* CTA Section */
  .cta {
    text-align: center;
    padding: var(--spacing-xl) 0;
  }
  
  .app-store-buttons {
    margin-top: var(--spacing-lg);
  }
  
  .app-store-link img {
    height: 40px;
    max-width: 100%;
  }
  
  /* Footer */
  footer {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: auto;
  }
  
  footer nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
  
  footer a {
    color: var(--primary-green);
    text-decoration: none;
    margin: 0 1rem;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    :root {
      /* Adjust spacing for mobile */
      --spacing-xl: 2rem;
      --spacing-lg: 1.5rem;
    }
    
    .container {
      width: 95%;
      padding: 0 var(--spacing-sm);
    }
    
    .feature {
      padding: var(--spacing-md);
    }
    
    footer nav {
      flex-direction: column;
      gap: var(--spacing-sm);
    }
    
    .separator {
      display: none;
    }
  }
  
  /* Tablet adjustments */
  @media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Ensure text remains readable */
  @media (max-width: 320px) {
    h1 {
      font-size: 1.75rem;
    }
    
    .tagline {
      font-size: 1rem;
    }
  }
  
  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    :root {
      --text-dark: #ffffff;
      --text-light: #cccccc;
    }
    
    .feature,
    .steps li,
    footer {
      background: rgba(255, 255, 255, 0.1);
    }
  } 
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .hero .container {
        padding: 0 var(--spacing-md);
    }
  } 
  
  /* Features section */
  .features {
    padding: var(--spacing-xl) 0;
    background: white;  /* Clean white background */
  }
  
  /* How it works section */
  .how-it-works {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  }
  
  /* Section headings */
  .features h2,
  .how-it-works h2 {
    font-size: clamp(2.5rem, 5vw, 3rem);  /* Increased size */
    font-weight: 800;  /* Bolder weight */
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
    text-align: left;  /* Left aligned */
    letter-spacing: -0.02em;  /* Slight letter spacing adjustment */
    line-height: 1.1;
  }
  
  /* Adjust feature cards for white background */
  .feature {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    border: 1px solid rgba(34, 139, 34, 0.1);  /* Subtle border */
  }
  
  /* Adjust steps for gradient background */
  .steps li {
    background: white;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Container adjustments to ensure consistent left alignment */
  .features .container,
  .how-it-works .container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  /* Maintain grid layout for features */
  .feature-grid {
    margin-top: var(--spacing-lg);  /* Space after heading */
  }
  
  /* Maintain list layout for steps */
  .steps {
    margin-top: var(--spacing-lg);  /* Space after heading */
  }
  
  .step-image img {
    width: 200px;  /* Base display width */
    height: auto;  /* Maintain aspect ratio */
    aspect-ratio: 1290 / 2796;  /* Match your screenshot dimensions */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .step-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step-image {
        margin-top: var(--spacing-md);
    }
    
    .step-image img {
        width: 160px;  /* Smaller on mobile */
        height: auto;
    }
  }
  
  .step-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    flex-direction: row;
  }
  
  .step-text {
    flex: 1;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 400px;
  }
  
  .step-text h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-green);
  }
  
  .step-text p {
    margin: 0;
  }
  
  .step-image {
    flex-shrink: 0;
    order: 2;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .step-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step-text {
        order: 1;
        min-height: auto;
        margin-bottom: var(--spacing-md);
    }
    
    .step-image {
        order: 2;
        margin-top: var(--spacing-md);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .header-logo {
        height: 48px;  /* Still larger than text on mobile */
    }
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .modal h3 {
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
  }
  
  .modal-close {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  
  .modal-close:hover {
    opacity: 0.9;
  }