:root {
    /* Color Palette */
    --primary-color: #ffb300; /* Corn Yellow/Orange - Vibrant */
    --primary-light: #ffecb3; /* Light Corn - Backgrounds */
    --primary-dark: #c67100; /* Darker Orange - Hover states */
    
    --secondary-color: #4fc3f7; /* Water Blue - Playful */
    --secondary-light: #e1f5fe; /* Light Blue - Backgrounds */
    --secondary-dark: #0288d1; /* Deep Blue - Text/Accents */

    --accent-color: #8bc34a; /* Leaf Green - Nature/Safe */
    
    --text-color: #3e2723; /* Dark Brown - Softer than black */
    --text-light: #6d4c41;
    --white: #ffffff;
    
    --border-radius: 16px;
    --box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Fredoka One', 'Segoe UI', sans-serif;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--secondary-dark); }
h3 { font-size: 1.5rem; }

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

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

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

.section {
    padding: 4rem 0;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
    transform: translateY(0);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0,0,0,0.1);
}

.button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.button.primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.button.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    color: var(--text-color);
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    padding: 0 0 3rem 0; /* No top padding on mobile for full bleed */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem; /* Add padding for content */
}

.hero-content {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

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

.hero .cta-buttons .button {
    width: 100%;
}

.hero-image-mobile {
    display: block;
    width: 100%;
    /* Full bleed mobile */
    aspect-ratio: 4/5; 
}

.hero-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Remove radius for bleed */
    box-shadow: none;
}

.hero-image-desktop {
    display: none;
}

@media (min-width: 768px) {
    .hero .cta-buttons {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }
    .hero .cta-buttons .button {
        width: auto;
    }
    
    .hero-image-mobile {
        border-radius: 0;
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 4.5rem 0; /* Restore padding for desktop */
        text-align: left;
    }
    
    .hero-container {
        padding-top: 0; /* Reset container padding */
        flex-direction: row;
        gap: 4rem;
    }

    .hero-content {
        text-align: left;
        order: 1;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        margin: 0 0 2.5rem;
        max-width: 100%;
    }

    .hero .cta-buttons {
        justify-content: flex-start;
    }

    .hero-image-mobile {
        display: none;
    }

    .hero-image-desktop {
        display: block;
        flex: 1;
        order: 2;
    }
    
    .hero-image-desktop img {
        /* Not full bleed, kept in container */
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
}

/* Divider Band */
.divider-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: clamp(140px, 14vw, 220px);
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .divider-band {
    height: clamp(110px, 18vw, 180px);
  }
}

.divider-band img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* soft fade to blend edges */
.divider-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 20%, transparent 80%, black 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 20%, transparent 80%, black 100%);
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0.6) 0%,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,0) 80%,
      var(--primary-light) 100%
    );
}

/* What Is Section (Split) */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.text-content, .image-content {
    flex: 1;
}

.what-is {
    background-color: var(--primary-light);
    text-align: center;
}

.rounded-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (min-width: 1024px) {
    .split-layout {
        flex-direction: row-reverse; /* Image Left, Text Right (Source: Text, Image) */
        gap: 4rem;
        align-items: center;
    }
    .text-content {
        text-align: left;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--secondary-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--secondary-dark);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.icon-placeholder {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* How It Works Section */
.how-it-works-teaser {
    background-color: var(--white);
    text-align: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    align-items: center;
}

.step-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding-bottom: 1.5rem;
}

.step-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.step-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.step-card h3 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.step-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.center-cta {
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    
    .step-card {
        flex: 1;
        max-width: 350px;
        padding-bottom: 2rem;
    }
}

/* Final CTA Section */
.final-cta {
    background-size: cover;
    background-position: center;
    padding: 0;
    position: relative;
}

.final-cta .overlay {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7));
    padding: 6rem 0;
    backdrop-filter: blur(2px);
    width: 100%;
    height: 100%;
}

.final-cta .container {
    text-align: center;
}

.final-cta h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

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

@media (min-width: 768px) {
    .final-cta .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

footer nav {
    justify-content: center;
    margin-top: 1.5rem;
}

footer nav a {
    color: var(--primary-light);
}

/* Toast Notification */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    animation: slideIn 0.5s ease forwards, fadeOut 0.5s ease forwards 2.5s;
    pointer-events: none;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* General Mobile Nav Adjustment */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
