/* ---- MASTER STYLESHEET V3 ---- */
:root {
    --navy: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --gold: #f59e0b;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.font-display { font-family: 'Playfair Display', serif; }
.text-hero { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.text-subtitle { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; font-weight: 400; }
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--slate-100); z-index: 1000; transition: all 0.3s ease; }
.header.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.logo { font-size: 1.75rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-link { text-decoration: none; color: var(--slate-600); font-weight: 600; font-size: 1rem; transition: color 0.3s ease; }
.nav-link:hover, .nav-link.active { color: var(--sky-500); }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 0.5rem; font-weight: 600; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; letter-spacing: -0.01em; }
.btn-primary { background-color: var(--sky-500); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background-color: var(--sky-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background-color: var(--white); color: var(--slate-800); border: 2px solid var(--slate-100); }
.btn-secondary:hover { background-color: var(--slate-50); border-color: var(--slate-400); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--slate-50); }
.hero { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); padding: 10rem 0 8rem; margin-top: 5rem; position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title { color: var(--navy); margin-bottom: 1.5rem; }
.hero-subtitle { color: var(--slate-600); max-width: 750px; margin: 0 auto 2.5rem; }
.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.social-proof { padding: 2.5rem 0; background-color: var(--white); border-bottom: 1px solid var(--slate-100); }
.proof-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.proof-text { font-weight: 600; color: var(--slate-600); font-size: 1.1rem; }
.logos { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.logos img { height: 28px; filter: grayscale(100%) opacity(70%); transition: all 0.2s ease-in-out; }
.logos img:hover { filter: grayscale(0%) opacity(100%); }
.stats-bar { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.5rem; font-weight: 700; color: var(--sky-500); display: block; }
.stat-label { font-size: 0.875rem; color: var(--slate-600); font-weight: 500; }
.section { padding: 6rem 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--navy); text-align: center; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--slate-600); text-align: center; max-width: 700px; margin: 0 auto 4rem; line-height: 1.7; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.help-card { background-color: var(--slate-50); border-radius: 1rem; padding: 2.5rem; border: 1px solid var(--slate-100); transition: all 0.3s ease; position: relative; overflow: hidden; }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-large); }
.help-card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.help-card-title { font-size: 1.375rem; font-weight: 700; color: var(--slate-800); margin-bottom: 1rem; }
.help-card-text { color: var(--slate-600); line-height: 1.6; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.step-number { font-size: 1.5rem; font-weight: 800; color: var(--sky-500); width: 3rem; height: 3rem; border-radius: 50%; background: rgba(14, 165, 233, 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-text { color: var(--slate-600); line-height: 1.6; }
.case-study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.case-study-card { background-color: var(--white); border-radius: 1rem; box-shadow: var(--shadow-md); overflow: hidden; text-decoration: none; color: inherit; transition: all 0.3s ease; }
.case-study-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-large); }
.case-study-image { height: 200px; background-color: var(--slate-100); color: var(--sky-500); display: flex; align-items: center; justify-content: center; }
.case-study-image svg { width: 64px; height: 64px; }
.case-study-content { padding: 2rem; }
.case-study-category { font-size: 0.875rem; font-weight: 700; color: var(--sky-500); margin-bottom: 0.5rem; }
.case-study-title { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.case-study-result { font-weight: 600; color: var(--slate-600); }
.results { background: var(--navy); color: var(--white); }
.results .section-title, .results .section-subtitle { color: var(--white); }
.results .section-subtitle { color: rgba(255, 255, 255, 0.9); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-top: 3rem; }
.result-card { text-align: center; }
.result-metric { font-size: 3.5rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 1rem; }
.result-label { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.result-description { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.testimonials { background-color: var(--slate-50); }
.testimonial-card { background-color: var(--white); border-radius: 1rem; padding: 3rem; box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto; }
.testimonial-text { font-size: 1.25rem; font-style: italic; line-height: 1.6; margin-bottom: 2rem; color: var(--slate-800); }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.testimonial-role { color: var(--slate-600); margin-top: 0.25rem; }
.final-cta { background: var(--gradient); color: var(--white); text-align: center; }
.final-cta .section-title, .final-cta .section-subtitle { color: var(--white); }
.contact-form-section { background: var(--slate-50); }
.contact-form-container { max-width: 600px; margin: 0 auto; background: var(--white); padding: 3rem; border-radius: 1rem; box-shadow: var(--shadow-large); }
.form-grid { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--slate-800); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem; border: 2px solid var(--slate-100); border-radius: 0.5rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: 'Inter', sans-serif; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--sky-500); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-footer { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--slate-100); text-align: center; }
.form-footer p { color: var(--slate-600); margin-bottom: 1rem; }
.footer { background-color: var(--navy); color: var(--slate-400); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h4 { color: var(--white); font-weight: 600; margin-bottom: 1rem; }
.footer-link { text-decoration: none; color: var(--slate-400); font-weight: 500; display: block; margin-bottom: 0.5rem; transition: color 0.3s ease; }
.footer-link:hover { color: var(--white); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; font-size: 0.9rem; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 3rem; }
.mt-3 { margin-top: 3rem; }
.bg-slate-50 { background-color: var(--slate-50); }
.animate-fade-in { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: translateY(0); } }
/* Styles for Blog Page */
.hero-blog { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); padding: 8rem 0 4rem; margin-top: 5rem; text-align: center; }
.filter-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-tab { padding: 0.625rem 1.5rem; background: var(--white); border: 2px solid var(--slate-100); border-radius: 2rem; color: var(--slate-600); font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; }
.filter-tab:hover { border-color: var(--sky-500); color: var(--sky-500); }
.filter-tab.active { background: var(--sky-500); color: var(--white); border-color: var(--sky-500); }
.featured-post { background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 4rem; display: grid; grid-template-columns: 1fr 1fr; transition: all 0.3s ease; text-decoration: none; color: inherit; }
.featured-post:hover { transform: translateY(-2px); box-shadow: var(--shadow-large); }
.featured-image { background: var(--gradient); display: flex; align-items: center; justify-content: center; padding: 3rem; font-size: 4rem; color: var(--white); }
.featured-content { padding: 3rem; }
.post-category { color: var(--sky-500); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.featured-title { font-size: 2rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; line-height: 1.3; }
.featured-excerpt { color: var(--slate-600); margin-bottom: 1.5rem; line-height: 1.6; }
.post-meta { display: flex; gap: 1.5rem; color: var(--slate-600); font-size: 0.9rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.blog-card { background: var(--white); border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-md); transition: all 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-image { height: 200px; background-color: var(--slate-100); display: flex; align-items: center; justify-content: center; color: var(--sky-500); font-size: 3rem; }
.blog-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-title { font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card-excerpt { color: var(--slate-600); font-size: 0.95rem; margin-bottom: 1rem; flex-grow: 1; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--slate-600); }
.read-time { background: var(--slate-50); padding: 0.25rem 0.75rem; border-radius: 1rem; }
.newsletter-section { background: var(--gradient); color: var(--white); border-radius: 1rem; padding: 3rem; text-align: center; margin: 4rem 0; }
.newsletter-title { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.newsletter-subtitle { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.9; }
.newsletter-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 0.875rem 1.5rem; border: none; border-radius: 0.5rem; font-size: 1rem; }
.newsletter-button { background: var(--white); color: var(--navy); padding: 0.875rem 2rem; border: none; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.newsletter-button:hover { transform: translateY(-1px); box-shadow: var(--shadow-medium); }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 6rem 0 4rem; }
    .section { padding: 4rem 0; }
    .proof-content, .hero-content { flex-direction: column; align-items: center; }
    .logos { justify-content: center; }
    .form-row, .results-grid, .blog-grid, .featured-post { grid-template-columns: 1fr; }
    .hero-cta, .newsletter-form { flex-direction: column; align-items: stretch; }
}