/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007AFF; /* A vibrant, modern blue */
    --primary-hover: #0056b3;
    --light-bg: #FFFFFF;     /* Main light background */
    --surface-bg: #F7F7F9;   /* Slightly off-white for sections */
    --dark-text: #222222;     /* For headings */
    --medium-text: #555555;   /* For body copy */
    --border-color: #EAEAEA;
    --font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { background-color: var(--light-bg); color: var(--medium-text); font-family: var(--font-family); margin: 0; line-height: 1.7; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: var(--dark-text); }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); max-width: 850px; margin: 1rem auto; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 2rem; text-align: center; }
p { font-size: 1.1rem; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
.subtitle { font-size: 1.25rem; color: var(--medium-text); max-width: 700px; margin: 1rem auto 2.5rem; }

/* --- Layout & Sections --- */
section { padding: clamp(4rem, 8vw, 6rem) 2rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.alternate-bg { background-color: var(--surface-bg); }

/* --- Header & Navigation --- */
header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark-text); text-decoration: none; }
nav ul { list-style: none; display: flex; gap: 2.5rem; margin: 0; padding: 0; }
nav ul li a { color: var(--medium-text); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
nav ul li a:hover { color: var(--primary-color); }
.nav-cta { background-color: var(--primary-color); color: #fff; padding: 0.6rem 1.2rem; border-radius: 8px; transition: background-color 0.3s ease; }
.nav-cta:hover { background-color: var(--primary-hover); color: #fff !important; text-decoration: none; }

/* --- Buttons --- */
.cta-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.cta-primary, .cta-secondary { padding: 1rem 2.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; border: 2px solid transparent; }
.cta-primary { background-color: var(--primary-color); color: #fff; }
.cta-primary:hover { background-color: var(--primary-hover); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 122, 255, 0.25); text-decoration: none; }
.cta-secondary { background-color: transparent; color: var(--dark-text); border-color: var(--border-color); }
.cta-secondary:hover { background-color: var(--border-color); color: var(--primary-color); transform: translateY(-4px); text-decoration: none; }

/* --- Hero Section --- */
.hero { text-align: center; padding: 6rem 2rem 5rem; }
.hero-image { max-width: 100%; width: 900px; margin-top: 5rem; border-radius: 12px; box-shadow: 0 30px 60px -15px rgba(100, 100, 100, 0.2); }

/* --- Feature Grids & Cards --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-item { background-color: var(--light-bg); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; }
.feature-item h3 { font-size: 1.5rem; color: var(--dark-text); }

/* --- Problem/Solution Sections --- */
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.problem-solution h2 { text-align: left; color: var(--primary-color); }
.problem-solution img { border-radius: 12px; width: 100%; box-shadow: 0 20px 40px rgba(100, 100, 100, 0.1); }

/* --- Pricing Page --- */
.pricing-table { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 4rem; }
.plan { background-color: var(--light-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 2.5rem; width: 100%; max-width: 380px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(100, 100, 100, 0.15); }
.plan.highlighted { border-color: var(--primary-color); }
.plan h3 { font-size: 1.8rem; margin-top: 0; }
.price-tag { font-size: 2.8rem; font-weight: 700; color: var(--primary-color); }
.plan-description { min-height: 50px; }
.plan .cta-button { text-decoration: none; display: block; padding: 1rem; border-radius: 8px; text-align: center; font-weight: 600; margin-top: auto; /* Pushes button to the bottom */ }
.feature-list { list-style: '✓'; padding-left: 1.5rem; margin: 2rem 0; }
.feature-list li { margin-bottom: 1rem; color: var(--dark-text); }

/* --- Gallery Section --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.gallery-item { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--light-bg); box-shadow: 0 10px 20px rgba(100, 100, 100, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(100, 100, 100, 0.15); }
.gallery-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.gallery-item h3, .gallery-item p { padding: 0 1.5rem; }
.gallery-item h3 { margin-top: 1.5rem; color: var(--dark-text); }

/* --- FAQ Accordion --- */
.faq-grid { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-question { background-color: transparent; border: none; width: 100%; text-align: left; padding: 1.5rem 0; font-family: var(--font-family); font-size: 1.3rem; font-weight: 600; color: var(--dark-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-size: 1.8rem; font-weight: 400; transition: transform 0.3s ease; margin-left: 1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding-bottom: 1.5rem; margin: 0; }
.faq-question.active .faq-icon { transform: rotate(45deg); }


/* --- Footer --- */
footer { min-height: 60px; border-top: 1px solid var(--border-color); margin-top: 4rem; }

/* --- Responsive Design --- */
@media (max-width: 820px) { /* Changed from 768 to give more room */
    .pricing-table { flex-direction: column; align-items: center; }
}
@media (max-width: 768px) {
    nav ul { display: none; }
    .problem-solution { grid-template-columns: 1fr; }
    .problem-solution img { grid-row: 1; }
    .problem-solution h2 { margin-top: 2rem; }
}