/* Note: Aeonik is a premium font. You will need to purchase the font files and host them on your server. */
/* To use it, place your font files (e.g., .woff2) in a 'fonts' folder in your project directory. */
@font-face {
    font-family: 'Aeonik';
    src: url('fonts/Aeonik-Regular.woff2') format('woff2'),
            url('fonts/Aeonik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aeonik';
    src: url('fonts/Aeonik-Bold.tff') format('tff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #0D47A1; /* Deep Blue - for accents, strong elements */
    --secondary-color: #121212; /* Dark Gray/Black - for main dark backgrounds, headings */
    --accent-color: #00E5FF; /* Bright Cyan - for highlight elements, CTAs */
    --background-light: #F0F2F5; /* Light Gray - for main light backgrounds */
    --text-color-dark: #212121; /* Dark text on light backgrounds */
    --text-color-light: #F0F2F5; /* Light text on dark backgrounds */
    --text-color-light-secondary: #ddd; /* Secondary light text, slightly subdued */
    --text-color-dark-secondary: #555; /* Secondary dark text, slightly subdued */
    --form-bg-dark: #1F1F1F; /* Dark background for the API form itself, similar to MealMe.ai */
    --input-bg-dark: #2F2F2F; /* Input background for dark forms */
    --input-text-dark: #000000; /* Input text color for dark forms */
    --label-text-dark: #C0C0C0; /* Label text for dark forms */
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3 {
    font-family: 'Aeonik', sans-serif;
    color: var(--secondary-color); /* Default for light backgrounds */
    line-height: 1.2;
    font-weight: 700;
}

h1 { 
    font-size: 3.5em; /* Increased for impact */
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
h2 { font-size: 2.5em; }
p { font-family: 'Inter', sans-serif; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem; /* Generous vertical padding */
}

/* Header */
.header {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3); /* Stronger shadow for depth */
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Logo specific adjustments */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-container img {
    height: 70px; /* Adjust size as needed */
    width: auto;
}

/* Navigation */
.nav a {
    color: var(--text-color-light);
    text-decoration: none;
    margin-left: 2.5rem; /* Increased spacing */
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav a:hover {
    color: var(--accent-color);
}
.nav-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.nav-button:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 10rem 2rem;
    min-height: 85vh; /* Taller hero */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* Modern Background Gradient Effect */
    background-image: radial-gradient(at 20% 80%, rgba(13, 71, 161, 0.3) 0%, transparent 50%),
                      radial-gradient(at 80% 20%, rgba(0, 229, 255, 0.2) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: moveGradient 15s ease infinite alternate; /* Subtle, continuous movement */
}

@keyframes moveGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero .tagline {
    font-family: 'Aeonik', sans-serif;
    font-size: 1.5em;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}
.hero h1 {
    color: var(--text-color-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 4.2em; /* Dominant headline */
}
.hero-subtext {
    font-size: 1.6em;
    max-width: 850px;
    margin: 1.5rem auto 3rem;
    font-weight: 500;
    color: var(--text-color-light-secondary);
    line-height: 1.5;
}
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,229,255,0.3); /* Depth for CTA */
}
.btn:hover {
    background-color: #00C6DD; /* Slightly darker accent on hover */
    transform: translateY(-7px); /* Stronger lift on hover */
    box-shadow: 0 10px 25px rgba(0,229,255,0.4);
}

/* General Section Styles */
.section {
    padding: 6rem 0; /* Consistent, generous padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section-light { 
    background-color: var(--background-light); 
    color: var(--text-color-dark);
}
/* Updated section-dark for Hero, Intelligence, Request API Key sections */
.section-dark { 
    background-color: var(--secondary-color); 
    color: var(--text-color-light); 
    background-image: radial-gradient(at 20% 80%, rgba(13, 71, 161, 0.3) 0%, transparent 50%),
                      radial-gradient(at 80% 20%, rgba(0, 229, 255, 0.2) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: moveGradient 15s ease infinite alternate;
}
.section-dark h2, .section-dark h3 { 
    color: var(--background-light); /* Headings stand out on dark background */
}

.leading-paragraph {
    font-size: 1.25em; /* Larger introductory paragraphs */
    max-width: 900px;
    margin: 1.5rem auto 3rem;
    line-height: 1.8;
    color: var(--text-color-dark-secondary);
}
.light-text.leading-paragraph {
    color: var(--text-color-light-secondary);
}
.bottom-statement {
    font-size: 1.15em;
    font-weight: 500;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
}
.light-text.bottom-statement {
    color: var(--accent-color);
}

/* Problem Section - The New Reality */
.problem-statement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    text-align: left;
}
.problem-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12); /* Subtle depth */
    border-top: 5px solid var(--primary-color); /* Strong brand accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.problem-item:hover {
    transform: translateY(-12px); /* Interactive lift */
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}
/* Styling for icons within problem/benefit/different cards */
.problem-icon, .benefit-icon, .different-icon, .impact-list li .ph { /* Targeting Phosphor Icons */
    width: 60px; /* Container size */
    height: 60px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    display: flex; /* Use flex to center Phosphor icon */
    align-items: center;
    justify-content: center;
    font-size: 2.2em; /* Size of the Phosphor icon itself */
    color: var(--text-color-light); /* Icon color */
}
.problem-icon {
    background-color: var(--primary-color);
}
.problem-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.8rem;
}
.problem-item p {
    color: var(--text-color-dark-secondary);
}

/* Solution Section - The Intelligence You Need */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}
.benefit-card {
    background-color: var(--background-light); /* Light cards on dark background */
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 5px solid var(--accent-color); /* Accent brand color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}
.benefit-icon {
    background-color: var(--accent-color);
}
.benefit-card h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.8rem;
}
.benefit-card p {
    color: var(--text-color-dark-secondary);
}

/* Why Us Section - Build vs Buy */
.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    text-align: left;
}
.different-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-right: 5px solid var(--primary-color); /* Brand accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.different-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}
.different-icon {
    background-color: var(--primary-color);
}
.different-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.8rem;
}
.different-card p {
    color: var(--text-color-dark-secondary);
}

/* Proof Section - Your Platform, More Profitable. */
.cta-section { /* Reusing cta-section for this block's styling */
    padding: 8rem 0; /* More vertical space for impact */
    background-color: var(--primary-color); /* Strong brand color background */
    background-image: linear-gradient(135deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.1) 75%, rgba(0,0,0,0.1) 100%);
    background-size: 60px 60px; /* Subtle pattern */
}
.cta-section h2 {
    font-size: 3em;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}
.cta-section .leading-paragraph {
    font-size: 1.4em;
    color: var(--text-color-light-secondary);
    margin-bottom: 3.5rem;
}
.impact-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr; /* Stack on small screens */
    gap: 2rem;
    text-align: left;
    color: var(--text-color-light);
    font-size: 1.15em;
    line-height: 1.6;
}
.impact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.impact-list li .ph { /* Specific styling for Phosphor icons in the list */
    width: 40px;
    height: 40px;
    font-size: 1.5em; /* Adjust icon size */
    padding: 0; /* Remove padding if icon naturally fits better */
    background-color: var(--accent-color);
    color: var(--secondary-color); /* Dark icon on light background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-top: 0.2em; /* Align icon better with text */
}
.impact-list li strong {
    color: var(--accent-color); /* Highlight key phrases */
}

/* Request API Section (visible at bottom) */
.request-api-section {
    padding: 6rem 0; /* Consistent with other sections */
}
.request-api-section h2 {
    color: var(--text-color-light); /* Headline color for dark background */
    margin-bottom: 3rem; /* More space below heading */
}

/* Form styling (applies to both visible and modal forms) */
.api-form-wrapper {
    max-width: 650px; /* Adjust width to match MealMe.ai visual */
    margin: 0 auto;
    background-color: var(--form-bg-dark); /* Dark background for the form itself */
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5); /* Stronger, darker shadow */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.api-form-wrapper .form-group {
    margin-bottom: 1.5rem; /* Tighter spacing for form fields */
}

.api-form-wrapper .form-group label {
    color: var(--label-text-dark); /* Lighter labels for dark form */
    font-weight: 500;
    font-size: 1em; /* Slightly smaller label text */
    margin-bottom: 0.5rem; /* Tighter spacing */
}

.api-form-wrapper input[type="email"],
.api-form-wrapper input[type="text"],
.api-form-wrapper input[type="tel"],
.api-form-wrapper textarea {
    width: 100%;
    padding: 0.9rem 1.2rem; /* Adjusted padding for inputs */
    border-radius: 6px; /* Slightly less rounded inputs */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle light border */
    background-color: var(--background-light); /* Dark input background */
    color: var(--input-text-dark); 
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); /* Inner shadow for depth */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.api-form-wrapper input::placeholder,
.api-form-wrapper textarea::placeholder {
    color: rgba(0, 0, 0, 0.326); /* Lighter placeholder text */
}

.api-form-wrapper input:focus,
.api-form-wrapper textarea:focus {
    border-color: var(--accent-color); /* Highlight focus with accent */
    box-shadow: 0 0 0 2px rgba(0,229,255,0.3), inset 0 1px 3px rgba(0,0,0,0.3);
    outline: none;
}

.api-form-wrapper textarea {
    min-height: 100px; /* Reduced textarea height */
    resize: vertical;
}

/* Radio button styling */
.radio-group {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
}
.radio-group > label {
    display: block;
    margin-bottom: 1rem;
    color: var(--label-text-dark);
    font-weight: 500;
    font-size: 1em;
}
.radio-group div {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.radio-group input[type="radio"] {
    appearance: none;
    background-color: var(--input-bg-dark);
    margin: 0;
    font: inherit;
    color: var(--accent-color);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.radio-group input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
    background-color: var(--accent-color);
}

.radio-group input[type="radio"]:checked {
    background-color: var(--input-bg-dark);
    border-color: var(--accent-color);
}

.radio-group input[type="radio"]:checked::before {
    transform: scale(1);
}

.radio-group label {
    margin-left: 0.75em;
    color: var(--input-text-dark);
    font-weight: 400;
    cursor: pointer;
}


/* ReCAPTCHA placeholder styling (now for the actual reCAPTCHA) */
.g-recaptcha {
    transform: scale(0.9); /* Adjust scale for better fit if needed */
    -webkit-transform: scale(0.9);
    transform-origin: 0 0; /* Ensures it scales from top-left */
    -webkit-transform-origin: 0 0;
    margin-top: 1.5rem; /* Adjust spacing */
    margin-bottom: 2rem; /* Adjust spacing */
}
/* Ensure reCAPTCHA background matches form aesthetic if possible or close to it */
.g-recaptcha iframe {
    background-color: var(--input-bg-dark) !important; /* Attempt to override iframe bg */
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Attempt to override iframe border */
}


.api-form-wrapper .form-btn {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-family: 'Aeonik', sans-serif;
    text-transform: uppercase;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,229,255,0.3);
}
.api-form-wrapper .form-btn:hover {
    background-color: #00C6DD;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,229,255,0.4);
}


/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--background-light);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer p {
    margin: 0.5rem 0;
    color: var(--text-color-light-secondary);
}
.footer .text-sm {
    font-size: 0.9em;
}

/* Hamburger Menu (for mobile) */
.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color-light);
    margin: 6px 0;
    transition: all 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Modal specific styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1002; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 700px; /* Matches the form's max-width */
    background-color: transparent; /* Form wrapper handles background */
    border-radius: 12px; /* Consistent with form style */
    -webkit-animation: slideIn 0.5s forwards;
    animation: slideIn 0.5s forwards;
    z-index: 1003;
}

@-webkit-keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.close-button {
    color: var(--text-color-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1004; /* Ensure close button is above form */
}

.close-button:hover,
.close-button:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}


/* Styling for the form *inside* the modal, to maintain the dark aesthetic */
.request-api-section-modal {
    padding: 0; /* Remove padding from this wrapper, modal-content has implied padding via margin:auto */
    background: none; /* No background for this section, the wrapper has it */
}

.request-api-section-modal h2 {
    color: var(--text-color-light); /* Headline color for dark background */
    margin-bottom: 1.5rem; /* Reduced margin for modal context */
    font-size: 2em; /* Slightly smaller for modal */
}

/* The .api-form-wrapper styling already applies to both forms now.
   No need to duplicate. */


/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; }
    .hero-subtext { font-size: 1.3em; }
    .btn { padding: 1rem 2.5rem; }
    .leading-paragraph { font-size: 1.1em; }
    .bottom-statement { font-size: 1.0em; }
    .container { padding: 3rem 1.5rem; }
    .section { padding: 4rem 0; }

    .problem-statement-grid,
    .benefits-grid,
    .different-grid,
    .impact-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .problem-item, .benefit-card, .different-card {
        padding: 2rem;
    }
    .hero { min-height: 70vh; padding: 8rem 1.5rem; }
    .cta-section { padding: 6rem 0; } /* Adjust padding for proof section */

    .modal-content {
        width: 95%; /* Make modal slightly wider on smaller screens */
        padding: 1.5rem;
    }
    .request-api-section-modal h2 {
        font-size: 1.8em;
    }
    .api-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; letter-spacing: 1px; }
    h2 { font-size: 1.8em; }
    .hero-subtext { font-size: 1.1em; }
    .leading-paragraph { font-size: 1em; }
    .bottom-statement { font-size: 0.9em; }
    .btn { padding: 0.8rem 2rem; font-size: 0.9em; }

    /* Header Mobile Specifics */
    .header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 1.5rem;
    }
    .logo-container {
        flex-grow: 1;
        justify-content: flex-start;
    }
    .logo-container img {
        height: 60px;
    }
    .tagline { font-size: 1.2em; letter-spacing: 1px; }
    
    .hamburger {
        display: block;
    }
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--secondary-color);
        padding: 1.5rem 0;
        transform: translateY(-120%);
        transition: transform 0.5s ease-in-out;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    .nav.open {
        transform: translateY(0);
    }
    .nav a {
        margin: 0.75rem 0;
        font-size: 1.1em;
        padding: 0.5rem 0;
        width: 80%;
        text-align: center;
    }
    .nav-button {
        margin: 1rem auto;
        width: 80%;
        padding: 0.8rem 1.5rem;
    }

    /* General mobile layout adjustments */
    .hero { padding: 6rem 1rem; min-height: 60vh; }
    .section { padding: 3rem 0; }
    .api-form-wrapper { padding: 1.5rem; } /* Adjust padding for API form on mobile */
    .api-form-wrapper .form-group label { font-size: 0.9em; }
    .api-form-wrapper input, .api-form-wrapper textarea { padding: 0.7rem 0.9rem; }
    .api-form-wrapper .form-btn { padding: 1rem; font-size: 1em; }
    .impact-list li { font-size: 1em; }

    .request-api-section-modal h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    .hero-subtext { font-size: 1em; margin: 1rem auto 2rem; }
    .btn { padding: 0.7rem 1.8rem; font-size: 0.85em; }

    .problem-item, .benefit-card, .different-card {
        padding: 1.5rem;
    }
    .problem-icon, .benefit-icon, .different-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    .problem-item h3, .benefit-card h3, .different-card h3 {
        font-size: 1.3em;
    }
    .impact-list li { font-size: 0.95em; }

    .close-button {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}

/* Text alignment for smaller screens where content might be too wide left-aligned */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
    .problem-item, .benefit-card, .different-card, .impact-list li, .api-form-wrapper .radio-group {
        align-items: center; /* Center content within cards/radio on mobile */
        text-align: center;
    }
    .api-form-wrapper .radio-group label {
        margin-left: 0.5em; /* Adjust spacing for mobile radio labels */
    }
    .impact-list li img { margin-bottom: 0.5rem; } /* Adjust icon alignment on mobile */
}
