:root {
 --primary-color: #3b82f6; 
 --primary-dark: #2563eb;
 --secondary-color: #f9fafb;
 --neutral-gray: #6b7280;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --footer-bg: #111827;

 --radius-sm: 8px;
 --radius-md: 12px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 -webkit-font-smoothing: antialiased;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
}

h1, h2, h3, h4 {
 font-weight: 700;
 line-height: 1.25;
 color: var(--text-dark);
 margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style-position: inside; padding-left: 0.5rem; }
ul li, ol li { margin-bottom: 0.75rem; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.header.scrolled {
 box-shadow: var(--shadow-md);
 background: rgba(255, 255, 255, 0.98);
}
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.nav-menu { display: flex; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-link { font-weight: 500; color: var(--text-light); position: relative; padding: 8px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; }
.nav-cta { display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-weight: 600; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: var(--transition); text-align: center; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: white; transform: translateY(-2px); }
.btn-large { padding: 16px 32px; font-size: 1.125rem; }

/* Sections */
main { padding-top: 80px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.centered { text-align: center; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-label { display: inline-block; background-color: rgba(59, 130, 246, 0.1); color: var(--primary-color); padding: 6px 16px; border-radius: 99px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.section-title { color: var(--text-dark); }
.section-subtitle { max-width: 600px; margin: 0 auto; }

/* Hero Section */
.hero-section { background-color: var(--bg-light); padding: 80px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy p { font-size: 1.125rem; color: var(--text-light); max-width: 550px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 16px; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }

/* Trusted By */
.trusted-by-section { padding: 40px 0; background-color: #fff; }
.trusted-by-title { text-transform: uppercase; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 24px; }
.logo-carousel { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.partner-logo { height: 32px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; overflow: hidden; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; color: var(--text-dark); }
.card-text { color: var(--text-light); flex-grow: 1; margin-bottom: 24px; }
.card-button { align-self: flex-start; }

/* Media Object */
.media-object { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .media-object { grid-template-columns: 1fr 1fr; } }
.media-object.reverse .media-visual { order: 2; }
@media (min-width: 992px) { .media-object.reverse .media-copy { order: 1; } }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.media-copy ul { margin-top: 1.5rem; padding-left: 1.25rem; }
.media-copy ul li strong { color: var(--text-dark); }
.cta-buttons { margin-top: 2rem; }

/* Timeline */
.timeline { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; }
@media(min-width: 768px) { .timeline { grid-template-columns: repeat(2, 1fr); }}
@media(min-width: 992px) { .timeline { grid-template-columns: repeat(4, 1fr); }}
.timeline-step { padding: 24px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.timeline-step h3 { font-size: 1.25rem; color: var(--primary-color); }
.timeline-step p { color: var(--text-light); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 900px; }
@media(min-width: 768px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
.testimonial-card { background: var(--bg-light); padding: 32px; border-radius: var(--radius-lg); text-align: left; }
.testimonial-text { font-style: italic; font-size: 1.125rem; color: var(--text-dark); margin-bottom: 24px; position: relative; padding-left: 32px; }
.testimonial-text::before { content: '“'; position: absolute; left: 0; top: -10px; font-size: 3rem; color: var(--primary-color); line-height: 1; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--text-dark); margin: 0; }
.author-role { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* CTA Section */
.cta-section .section-title { color: var(--text-dark); }
.cta-section .btn-large { margin-top: 24px; }

/* Page Header */
.page-header-section { padding: 80px 0; background-color: var(--bg-light); text-align: center; }
.page-header-section h1 { margin-top: 1rem; }
.page-header-section p { max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.125rem; color: var(--text-light); }

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 32px; width: 100%; max-width: 1000px; }
@media (min-width: 992px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { background: white; border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow-md); transition: var(--transition); position: relative; border: 2px solid transparent; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary-color); transform: scale(1.05); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: white; padding: 6px 16px; border-radius: 99px; font-size: 0.875rem; font-weight: 600; }
.pricing-card h3 { font-size: 1.5rem; }
.pricing-description { color: var(--text-muted); min-height: 48px; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin: 16px 0 0; }
.price-period { color: var(--text-muted); margin-bottom: 24px; }
.pricing-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.pricing-card li { padding-left: 28px; position: relative; }
.pricing-card li::before { content: ''; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; }
.pricing-card .btn { width: 100%; margin-top: 24px; }

/* About Page */
.team-section { background-color: var(--bg-light); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; width: 100%; max-width: 1000px; }
.team-member { background: white; padding: 24px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid white; box-shadow: var(--shadow-md); }
.team-role { font-weight: 500; color: var(--primary-color); margin-bottom: 8px; }
.team-bio { font-size: 0.875rem; color: var(--text-light); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.value-card { text-align: center; }
.value-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(59, 130, 246, 0.1); color: var(--primary-color); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-icon svg { width: 24px; height: 24px; }
.value-card p { font-size: 0.95rem; }

/* Resources Page */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; background: none; border: none; padding: 20px 0; font-size: 1.125rem; font-weight: 600; color: var(--text-dark); cursor: pointer; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer p { padding: 0 0 20px; }
.faq-item.active .faq-answer { max-height: 200px; }

/* Contact Page */
.contact-page-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; }
.form-title, .info-title { font-size: 1.75rem; margin-bottom: 24px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: var(--font-main); font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem; }
.form-submit-btn { width: 100%; padding: 16px; font-size: 1.125rem; }
.contact-info-wrapper { }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { flex-shrink: 0; width: 40px; height: 40px; background-color: rgba(59, 130, 246, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }
.contact-info-item h4 { margin-top: 0; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--text-light); }
.map-container { width: 100%; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Thank You Page */
.thank-you-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.thank-you-content { max-width: 600px; text-align: center; }
.thank-you-icon { color: var(--primary-color); margin-bottom: 1.5rem; }

/* Legal Pages */
.legal-page { padding: 60px 0; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page p { color: var(--text-light); }
.legal-page section { margin-bottom: 40px; }
.legal-page h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.legal-page ul { margin-left: 20px; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-page table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.legal-page th, .legal-page td { border: 1px solid var(--border-color); padding: 12px; text-align: left; }
.legal-page th { background: var(--bg-light); font-weight: 600; }

/* Footer */
.footer { background-color: var(--footer-bg); color: #9ca3af; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { color: white; display: block; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.footer-description { font-size: 0.9rem; line-height: 1.6; }
.footer-heading { color: white; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.5px; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: #9ca3af; font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-hours { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; }
.footer-hours strong { color: white; } 
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; }
.footer-copyright { font-size: 0.875rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #9ca3af; }
.footer-social a:hover { color: white; }

/* Form Validation Styles */
.input-error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; animation: fadeIn 0.3s ease; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled], input[type="submit"][disabled] { opacity: 0.7; cursor: not-allowed; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--footer-bg); color: var(--bg-light); padding: 1.5rem; display: none; align-items: center; justify-content: space-between; gap: 1rem; z-index: 2000; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--primary-color); font-weight: 500; }
.cookie-banner div { display: flex; gap: 1rem; }
.cookie-btn-accept { background-color: var(--primary-color); border: none; color: white; padding: 0.5rem 1rem; border-radius: var(--radius-sm); cursor: pointer; }
.cookie-btn-decline { background: transparent; border: 1px solid var(--neutral-gray); color: var(--bg-light); padding: 0.5rem 1rem; border-radius: var(--radius-sm); cursor: pointer; }

/* Responsive */
@media (max-width: 992px) {
 .nav-cta { display: none; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 .section { padding: 60px 0; }
 
 .nav-menu { position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px); background: white; flex-direction: column; padding: 40px; transition: var(--transition); box-shadow: var(--shadow-lg); }
 .nav-menu.active { left: 0; }
 .nav-links { flex-direction: column; align-items: flex-start; gap: 24px; }
 .nav-link { font-size: 1.25rem; }
 .nav-toggle { display: block; cursor: pointer; }
 .nav-toggle span { display: block; width: 25px; height: 3px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }
 .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
 
 .hero-inner { text-align: center; }
 .hero-actions { justify-content: center; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
 .footer-bottom { flex-direction: column; gap: 16px; }
 .contact-form .form-row { grid-template-columns: 1fr; }

 .cookie-banner { flex-direction: column; text-align: center; }
}