/* --- Basic Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust for fixed header height */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add padding to main element to offset fixed header */
main {
    padding-top: var(--header-height);
}

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

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem; /* ~text-4xl */
    font-weight: 700;
}

h2 {
    font-size: 2rem; /* ~text-3xl */
    font-weight: 700;
}

h3 {
    font-size: 1.25rem; /* ~text-xl */
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* --- Variables --- */
:root {
    --color-primary: #14b8a6; /* teal-500 */
    --color-primary-light: #99f6e4; /* teal-200 */
    --color-primary-dark: #0f766e; /* teal-700 */
    --color-secondary: #3b82f6; /* blue-500 */
    --color-text: #1f2937; /* gray-800 */
    --color-text-light: #6b7280; /* gray-500 */
    --color-background: #ffffff;
    --color-background-light: #f9fafb; /* gray-50 */
    --color-background-dark: #111827; /* gray-900 */
    --color-border: #e5e7eb; /* gray-200 */
    --header-height: 80px;
    
    /* New gradient colors */
    --gradient-teal-50: #f0fdfa;
    --gradient-teal-100: #ccfbf1;
    --gradient-teal-200: #99f6e4;
    --gradient-teal-300: #5eead4;
    --gradient-teal-400: #2dd4bf;
    --gradient-teal-500: #14b8a6;
    --gradient-teal-600: #0d9488;
    --gradient-teal-700: #0f766e;
    --gradient-teal-800: #115e59;
    --gradient-teal-900: #134e4a;
    
    --gradient-yellow-50: #fefce8;
    --gradient-yellow-100: #fef9c3;
    --gradient-yellow-200: #fef08a;
    --gradient-yellow-300: #fde047;
    --gradient-yellow-400: #facc15;
    --gradient-yellow-500: #eab308;
    --gradient-yellow-600: #ca8a04;
    --gradient-yellow-700: #a16207;
    --gradient-yellow-800: #854d0e;
    --gradient-yellow-900: #713f12;
}

/* --- Layout & Container --- */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section {
    padding-top: 4rem; /* ~py-16 */
    padding-bottom: 4rem;
}

.section-light {
    background-color: var(--color-background-light);
}

.section-dark {
    background-color: var(--color-background-dark);
    color: var(--color-background);
}
.section-dark h2, .section-dark p {
     color: var(--color-background);
}
.section-dark .button-primary {
    background-color: var(--color-background);
    color: var(--color-primary);
}
.section-dark .button-primary:hover {
    background-color: var(--color-border);
}
.section-dark input[type="email"] {
    background-color: rgba(255,255,255, 0.1);
    border-color: rgba(255,255,255, 0.2);
    color: white;
}
.section-dark input[type="email"]::placeholder {
    color: var(--color-text-light);
}

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

.section-header {
    max-width: 640px; /* ~max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem; /* ~mb-12 */
}

/* --- Grid Layouts --- */
.features-grid,
.stats-grid,
.how-it-works-grid,
.pricing-grid,
.footer-grid {
    display: grid;
    gap: 2rem; /* ~gap-8 */
}

@media (min-width: 768px) { /* md breakpoint */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
         grid-template-columns: repeat(4, 1fr);
    }
     .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
     .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-background);
    padding-top: 1.25rem; /* ~py-5 */
    padding-bottom: 1.25rem;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: var(--color-background);
    padding-top: 0.75rem; /* ~py-3 */
    padding-bottom: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem; /* ~text-2xl */
    font-weight: 700;
    color: var(--color-primary);
}
.logo:hover {
    color: var(--color-primary); /* Prevent color change on hover */
}

.logo-icon {
    margin-right: 0.5rem;
    color: var(--color-primary);
}

.logo-text {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text-alt {
    color: var(--color-text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* Scrolled Header Logo Style */
#main-header.scrolled .logo-text {
    /* Optional: Adjust gradient or style if needed when scrolled */
}
#main-header.scrolled .logo-text-alt {
    color: var(--color-text);
}

/* New Logo Image Styles */
.logo-img img {
    height: 36px; /* Reverted from 48px */
    width: auto;
    display: block;
}

/* Keep existing .logo styles for the <a> tag if any are still relevant */
.logo {
    text-decoration: none; /* Ensure no underline on image link */
}

/* Remove styling for .logo-icon and .logo-text as they are replaced */
.logo-icon,
.logo-text,
.logo-text-alt {
    display: none; /* Hide the old SVG and text spans */
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem; /* ~space-x-8 */
}

.desktop-nav a {
    color: var(--color-text);
    font-weight: 500;
}

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

.mobile-menu-button {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-button svg {
    stroke: var(--color-text);
}

.mobile-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: stretch;
    padding-top: 4rem; /* Space for close button */
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav li {
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem;
    color: var(--color-text);
    font-weight: 500;
}

.mobile-nav .button {
    margin-top: 1rem;
}

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

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem; /* ~py-3 px-6 */
    border-radius: 9999px; /* ~rounded-full */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

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

.button-primary:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.button-secondary:hover {
    background-color: var(--color-background-light);
    border-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.button-lg {
    padding: 0.875rem 2rem; /* ~py-3.5 px-8 */
    font-size: 1.125rem;
}

.full-width {
    display: block;
    width: 100%;
}

/* --- Hero Section --- */
.section-hero {
    padding-top: 4rem; /* Now that main has padding, hero only needs its own internal padding */
    padding-bottom: 4rem;
    /* Adjusted gradient to 180deg (top to bottom): light teal fading to background */
    background: linear-gradient(180deg, var(--gradient-teal-100), var(--color-background)); 
    color: var(--color-text); /* Change text back to default dark color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
}

.section-hero .container.text-center {
    max-width: 800px;
    margin: 0 auto;
}

.section-hero h1,
.section-hero p {
    color: var(--color-text); /* Change text back to default dark color */
}

.trust-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.trust-badge span {
    color: #facc15; /* yellow-400 */
    margin-right: 0.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.125rem; /* ~text-lg */
    color: var(--color-text-light);
    max-width: 640px;
    margin: 1.5rem auto;
}

.cta-buttons {
    margin-top: 2rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .button {
    margin: 0 0.5rem;
}

/* Style the container holding the video */
.hero-image-container {
    border-radius: 0.5rem; /* ~rounded-lg */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Soft shadow */
    margin-top: 3rem; /* ~mt-12 */
    max-width: 900px; /* Limit width on larger screens */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Ensure iframe respects border-radius */
}

.hero-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 900px) {
    .hero-title {
        max-width: 95vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* --- Features Section --- */
.feature-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
    text-align: center;
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Stats Section --- */
/* .stats-grid, .stat-item, .stat-number, .stat-item p { */
   /* These rules are no longer needed */
/* } */

/* --- New How It Works Styling --- */
.how-it-works-list {
    max-width: 768px; /* Adjust as needed */
    margin: 3rem auto 0 auto; /* Add space above */
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Space between items */
    margin-top: 3rem; /* Space above button */
}

.how-it-works-item {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 1.5rem; /* Space between icon and text */
}

.how-it-works-icon-container {
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 64px; /* Size of the circle */
    height: 64px;
    border-radius: 50%;
    background-color: var(--gradient-teal-100); /* Use light teal from gradient vars */
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works-icon-container svg {
    stroke: var(--color-primary); /* Use primary teal color */
    width: 28px; /* Adjust icon size */
    height: 28px;
}

.how-it-works-text h3 {
    font-size: 1.25rem; /* ~text-xl */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.how-it-works-text p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.how-it-works-cta {
    margin-top: 3rem; /* Space above button */
}

/* --- Testimonials Section --- */
.testimonial-item {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 768px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.testimonial-item blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* --- Pricing Section --- */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    gap: 0.75rem;
    font-weight: 500;
}

/* Basic Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-border);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.pricing-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 1rem; /* ~rounded-2xl */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card.highlighted {
    border-color: var(--color-primary-light);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2); /* Adjusted shadow */
}

.highlight-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-top: 1rem; /* Adjust if badge present */
}

.pricing-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Push button down */
}

.price {
    margin-bottom: 1.5rem;
}

.price .amount {
    font-size: 2.5rem; /* ~text-4xl */
    font-weight: 700;
    color: var(--color-text);
}

.price span:not(.amount) {
    color: var(--color-text-light);
}

.pricing-card ul {
    margin-bottom: 2rem;
    list-style-position: inside;
}

.pricing-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li::before {
    content: '✓'; /* Checkmark */
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-card .button {
    margin-top: auto; /* Push button to bottom */
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 768px; /* ~max-w-3xl */
    margin: 0 auto;
    background-color: var(--color-background);
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.faq-button span:first-child {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.faq-icon {
    color: var(--color-text-light);
    transition: transform 0.3s ease;
}

.faq-icon svg {
    stroke: currentColor;
}

.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
    margin-top: 0;
}

.faq-content p {
    color: var(--color-text-light);
    padding-top: 0.5rem; /* Add padding when open */
    margin-bottom: 0;
}

.faq-content.open {
    max-height: 200px; /* Adjust as needed */
    margin-top: 0.5rem;
}


/* --- Newsletter Section --- */
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    flex-direction: column;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem; /* ~rounded-lg */
    border: 1px solid var(--color-border);
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

.newsletter-form .button {
    white-space: nowrap;
    border-radius: 0.5rem; /* Match input */
}

#newsletter-success {
    margin-top: 1.5rem;
    color: var(--color-primary-light);
}

.terms-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.terms-text a {
    color: var(--color-background-light);
    text-decoration: underline;
}

/* --- Footer --- */
#main-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

#main-footer .logo {
    color: var(--color-background-light);
     margin-bottom: 1rem;
     display: inline-block; /* Ensure the div itself doesn't stretch too much if it's a block */
}

/* Remove footer specific SVG/text styles */
#main-footer .logo-icon,
#main-footer .logo-text,
#main-footer .logo-text-alt {
    display: none;
}

#main-footer .logo-img img {
    height: 30px; /* Reverted from 40px */
    width: auto;
     /* Potentially different margin if needed for footer alignment */
}

.footer-col h3 {
    color: var(--color-background);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.footer-col a {
    color: var(--color-text-light);
}

.footer-col a:hover {
    color: var(--color-background);
}

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

.social-links a {
    color: var(--color-text-light);
}

.social-links a svg {
    stroke: currentColor;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--color-text-light);
}

.footer-bottom-links a:hover {
    color: var(--color-background);
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem; /* Smaller for mobile */
    }
    .hero-title {
        font-size: 1.5rem;
        max-width: 98vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .section-hero {
        padding-top: 90px;
        padding-bottom: 2rem;
        min-height: 60vh;
    }
    .trust-badge {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding: 0.4rem 0.8rem;
    }
    .subtitle {
        font-size: 1rem;
        margin: 1rem auto;
        max-width: 95vw;
    }
    .hero-image-container img {
        max-width: 100vw;
        height: auto;
        border-radius: 0.5rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.2rem;
        margin-bottom: 2rem;
        width: 100%;
    }
    .cta-buttons .button {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 0;
    }
    .section-hero .container.text-center {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    .header-container {
        /* Ensure logo and button are spaced correctly */
    }
     .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) { /* Extra small screens */
    .cta-buttons {
       flex-direction: column;
    }
     .footer-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
        text-align: center;
    }
     .footer-col .logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* --- Icon Styling --- */
/* Style containers or direct SVGs as needed */
.feature-icon,
.social-links a,
.logo-icon,
.faq-icon {
    display: inline-flex; /* Helps align SVGs */
    align-items: center;
    justify-content: center;
}

/* Default size for most icons */
.feature-icon svg,
.social-links a svg,
.faq-icon svg {
     width: 24px; /* Standard Lucide size */
     height: 24px;
     stroke-width: 2;
}

.logo-icon svg { /* Keep logo icon potentially larger */
    width: 32px;
    height: 32px;
}

.feature-icon {
    /* Remove font-size if previously set for emojis */
    margin-bottom: 1rem;
    color: var(--color-primary);
    /* Ensure SVGs inside inherit this color */
}

.feature-icon svg {
    width: 32px; /* Make feature icons slightly larger */
    height: 32px;
    stroke: currentColor;
}


.faq-icon {
    color: var(--color-text-light);
    transition: transform 0.3s ease;
    /* Removed font-size */
}

.faq-icon svg {
    stroke: currentColor; /* Inherit color */
}

.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.social-links a {
    color: var(--color-text-light);
    /* Removed font-size */
}

.social-links a svg {
     stroke: currentColor;
}

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

/* --- New Stats Cards Styling --- */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background-color: var(--color-background);
    border-radius: 0.75rem; /* Slightly larger rounding like image */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stat-card-image {
    position: relative;
    height: 125px; /* Reduced height by 50% */
    background-size: cover;
    background-position: center;
}

.stat-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0) 70%);
}

.stat-card-text-on-image {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    color: var(--color-background);
    z-index: 1; /* Ensure text is above overlay */
    width: 100%; /* Take full width for padding */
}

.stat-card-text-on-image h3 {
    font-size: 2rem; /* Larger font size for stats */
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-background); /* Explicitly white */
}

.stat-card-text-on-image p {
    font-size: 1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.stat-card-description {
    padding: 1.5rem;
}

.stat-card-description p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stat-card-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-card-link:hover {
    color: var(--color-primary-dark);
}

.stat-card-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.stat-card-link:hover span {
    transform: translateX(4px);
}


/* Responsive adjustments for stats cards */
@media (max-width: 900px) {
    .stats-cards-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
}

.benefits-grid {
    display: grid;
    gap: 2.5rem; /* Increased gap slightly */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
}

.benefit-item {
    background-color: var(--color-background); /* White background for cards */
    padding: 2rem;
    border-radius: 12px; /* Softer rounded corners */
    box-shadow: 0 8px 16px rgba(0,0,0,0.08); /* Softer, more modern shadow */
    display: flex; /* Use flexbox for icon and text alignment */
    align-items: flex-start; /* Align items to the top */
    gap: 1.5rem; /* Space between icon and text */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.benefit-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: var(--color-primary); /* Use primary color for icons */
    background-color: var(--gradient-teal-100); /* Light teal background for icon container */
    padding: 0.75rem; /* Padding around the icon */
    border-radius: 8px; /* Rounded corners for icon background */
    display: inline-flex; /* Align icon nicely */
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 28px; /* Icon size */
    height: 28px;
}

.benefit-text h3 {
    font-size: 1.125rem; /* ~text-lg */
    font-weight: 700; /* Bolder heading */
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.benefit-text p {
    font-size: 0.95rem; /* Slightly smaller paragraph text */
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 0; /* Remove default bottom margin */
}

/* --- Pain Points Section Styling --- */
.problem-agitation {
    max-width: 768px; /* Consistent with other similar text sections */
    margin: 0 auto; /* Center the block */
}

.problem-agitation h2 {
    text-align: center; /* Center the heading */
    margin-bottom: 2.5rem; /* More space below heading */
    font-size: 1.75rem; /* Slightly smaller if it feels too large */
}

.problem-agitation ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem; /* Space below the list */
}

.problem-agitation li {
    display: flex;
    align-items: flex-start; /* Align icon to the top of the text */
    gap: 1rem; /* Space between icon and text */
    margin-bottom: 1.25rem; /* Space between list items */
    font-size: 1.05rem; /* Slightly larger text for readability */
    color: var(--color-text-light); /* Softer text color for list items */
}

.problem-agitation li svg {
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 24px; /* Icon size */
    height: 24px;
    stroke-width: 2;
    color: var(--color-secondary); /* Using secondary color for these icons, e.g., blue */
    margin-top: 0.1em; /* Small adjustment for better vertical alignment with text */
}

.problem-agitation p {
    text-align: center; /* Center the concluding paragraph */
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text); /* Slightly darker for emphasis */
} 
/* --- Legal & Reviewer Pages --- */
.legal-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content h1 {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
}

.legal-content p {
    max-width: 680px;
}

.deletion-form,
.oembed-form {
    margin-top: 2rem;
    max-width: 620px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-field label {
    font-weight: 600;
    color: var(--color-text);
}

.form-field input,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
    outline: none;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.button-row {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-message {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.status-message.error {
    color: #b91c1c;
}

.oembed-result {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background-color: var(--color-background);
    overflow: hidden;
}

.oembed-result iframe {
    width: 100%;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}
