/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Roboto', system-ui, sans-serif;
  color: #334155;
  background: #f8f8f8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #1e3a5f;
  --primary-light: #2d5a8e;
  --secondary: #4a7ab5;
  --sky-light: #7db4e0;
  --bg: #f8f8f8;
  --card: #ffffff;
  --text: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --green: #16a34a;
  --radius: 0.75rem;
  --container: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', system-ui, sans-serif; color: #1e293b; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,58,95,0.85); backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.header.scrolled {
  background: rgba(30,58,95,0.95); backdrop-filter: blur(16px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.header .logo img { height: 5rem; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.header.scrolled .nav-links a { color: rgba(255,255,255,0.85); }
.header.scrolled .nav-links a:hover, .header.scrolled .nav-links a.active { color: white; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; stroke: white; }
.header:not(.scrolled) .menu-toggle svg { stroke: white; }
.header.scrolled .menu-toggle svg { stroke: white; }
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(30,58,95,0.98); backdrop-filter: blur(16px); padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: rgba(255,255,255,0.85); font-weight: 500; }
.mobile-menu a:hover { color: white; }

.nav-cta .btn-primary {
  background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.4);
}
.nav-cta .btn-primary:hover {
  background: rgba(255,255,255,0.25);
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 0.5rem; font-weight: 600;
  font-size: 0.9375rem; border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); }
.btn-hero { background: white; color: var(--primary); }
.btn-hero:hover { background: #f0f4f8; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }
.btn svg { width: 1.25rem; height: 1.25rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; color: white;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(30,58,95,0.95), rgba(30,58,95,0.9), rgba(30,58,95,0.75));
}
.hero-content { position: relative; z-index: 2; max-width: 48rem; padding: 6rem 0 4rem; }
.hero h1 { font-size: clamp(1.875rem, 4vw, 3rem); margin-bottom: 2rem; color: white; }
.hero p { font-size: 1.125rem; line-height: 1.8; margin-bottom: 1rem; opacity: 0.85; }
.hero p:first-of-type { opacity: 1; font-size: 1.25rem; }
.hero .btn { margin-top: 2rem; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 8rem 0 4rem; background: var(--primary); color: white;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: 0; top: 0; width: 50%; height: 100%;
  background: rgba(74,122,181,0.1); transform: skewX(12deg) translateX(5rem);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); color: white; margin-bottom: 1.5rem; }
.page-hero p { font-size: 1.25rem; opacity: 0.8; max-width: 48rem; }

/* ===== CARDS ===== */
.card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 2rem; transition: all 0.3s;
}
.card:hover { border-color: rgba(74,122,181,0.4); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

/* ===== GRID ===== */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ===== ICON BOX ===== */
.icon-box {
  width: 3rem; height: 3rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box svg { width: 1.5rem; height: 1.5rem; }
.icon-box-lg { width: 4rem; height: 4rem; border-radius: 0.75rem; }
.icon-box-lg svg { width: 2rem; height: 2rem; }

/* ===== BADGES ===== */
.badge {
  display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 600;
}
.badge-secondary { background: rgba(74,122,181,0.1); color: var(--secondary); }
.badge-primary { background: rgba(30,58,95,0.1); color: var(--primary); }

/* ===== QUOTE ===== */
.quote {
  border-left: 4px solid var(--primary); padding: 2rem;
  background: rgba(30,58,95,0.03); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-size: 1.125rem; font-style: italic; font-weight: 500; color: #1e293b; }

/* ===== SOLUTION ROW ===== */
.solution-row {
  display: flex; gap: 3rem; align-items: center; margin-bottom: 6rem;
}
.solution-row:last-child { margin-bottom: 0; }
.solution-row.reverse { flex-direction: row-reverse; }
.solution-img { flex: 0 0 50%; }
.solution-img img { border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.1); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.solution-content { flex: 1; }
.solution-label { font-size: 0.8125rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.solution-content h2 { font-size: 1.875rem; margin: 0.5rem 0 1rem; }
.solution-tagline { font-size: 1.125rem; color: var(--secondary); font-weight: 500; margin-bottom: 1rem; }
.deliverables { background: #f1f5f9; border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.deliverables h4 { font-weight: 600; color: #1e293b; margin-bottom: 1rem; }
.deliverable-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.deliverable-item:last-child { margin-bottom: 0; }
.deliverable-item svg { width: 1.25rem; height: 1.25rem; color: var(--secondary); flex-shrink: 0; margin-top: 0.125rem; }

@media (max-width: 768px) {
  .solution-row, .solution-row.reverse { flex-direction: column; }
  .solution-img { flex: none; width: 100%; max-width: 32rem; margin: 0 auto; }
}

/* ===== CLIENT PROFILE ===== */
.profile-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: white; margin-bottom: 2rem; }
.profile-header {
  padding: 2rem; color: white; display: flex; align-items: center; gap: 1rem;
}
.profile-header .icon-box { background: rgba(255,255,255,0.2); }
.profile-header h2 { font-size: 1.5rem; color: white; }
.profile-header p { opacity: 0.8; }
.profile-body { padding: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.profile-col h3 { font-weight: 600; color: #1e293b; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.profile-col h3::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.profile-col:nth-child(1) h3::before { background: var(--secondary); }
.profile-col:nth-child(2) h3::before { background: var(--primary); }
.profile-col:nth-child(3) h3::before { background: var(--primary-light); }
.profile-col li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; list-style: none; }
.profile-col li svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.25rem; }
@media (max-width: 768px) { .profile-body { grid-template-columns: 1fr; } }

/* Gradients for profile headers */
.bg-grad-1 { background: linear-gradient(to right, var(--primary), var(--primary-light)); }
.bg-grad-2 { background: linear-gradient(to right, var(--secondary), var(--sky-light)); }
.bg-grad-3 { background: linear-gradient(to right, var(--primary-light), var(--primary)); }
.bg-grad-4 { background: linear-gradient(to right, var(--secondary), var(--primary)); }
.bg-grad-5 { background: linear-gradient(to right, var(--primary), var(--secondary)); }

/* ===== ARTICLE CARD ===== */
.article-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: white; transition: all 0.3s; }
.article-card:hover { border-color: rgba(74,122,181,0.4); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.article-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; }
.article-thumb svg { width: 4rem; height: 4rem; color: rgba(255,255,255,0.5); }
.article-body { padding: 1.5rem; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.75rem; }
.article-body h3 { font-size: 1.125rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.article-card:hover .article-body h3 { color: var(--primary); }
.article-body .read-link { font-size: 0.875rem; font-weight: 500; color: var(--primary); display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }

/* ===== PARTNER CARD ===== */
.partner-initials {
  width: 4rem; height: 4rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== FORM ===== */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: #1e293b; margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
input, select, textarea {
  width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--border);
  border-radius: 0.375rem; font-size: 0.9375rem; font-family: inherit;
  color: var(--text); background: white; transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(74,122,181,0.1); }
textarea { resize: vertical; }

/* ===== CTA SECTION ===== */
.cta-dark { background: var(--primary); color: white; text-align: center; }
.cta-dark h2 { color: white; }
.cta-dark p { opacity: 0.8; max-width: 40rem; margin: 0 auto 2rem; font-size: 1.125rem; }
.cta-banner { background: var(--primary); color: white; border-radius: var(--radius); padding: 3rem; text-align: center; }
.cta-banner h3 { color: white; font-size: 1.5rem; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.8; max-width: 40rem; margin: 0 auto 1.5rem; }

/* ===== FOUNDER ===== */
.founder-row { display: flex; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.founder-row.reverse { flex-direction: row-reverse; }
.founder-photo { flex: 0 0 40%; position: relative; }
.founder-photo img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.founder-photo .linkedin-btn {
  position: absolute; bottom: 1rem; right: 1rem; width: 3rem; height: 3rem;
  background: var(--primary); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: white; transition: background 0.2s;
}
.founder-photo .linkedin-btn:hover { background: var(--secondary); }
.founder-photo .linkedin-btn svg { width: 1.25rem; height: 1.25rem; }
.founder-info { flex: 1; }
.founder-info .role { color: var(--secondary); font-weight: 500; }
.founder-info h3 { font-size: 1.875rem; margin: 0.5rem 0 0.25rem; }
.founder-info .specialty { color: var(--primary); font-weight: 500; margin-bottom: 1rem; }
.founder-info p { margin-bottom: 1rem; }
@media (max-width: 768px) { .founder-row, .founder-row.reverse { flex-direction: column; } .founder-photo { flex: none; width: 100%; max-width: 24rem; margin: 0 auto; } }

/* ===== VALUE CARD ===== */
.value-card-dark {
  padding: 1.5rem; background: rgba(255,255,255,0.05); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s;
}
.value-card-dark:hover { background: rgba(255,255,255,0.1); }
.value-card-dark .icon-box { background: rgba(74,122,181,0.3); }
.value-card-dark .icon-box svg { color: var(--sky-light); }
.value-card-dark h3 { color: white; font-size: 1.125rem; margin: 1rem 0 0.5rem; }
.value-card-dark p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box { background: rgba(74,122,181,0.1); border-radius: var(--radius); padding: 2rem; }
.highlight-box p { color: #1e293b; }
.highlight-box p:first-child { font-weight: 500; font-size: 1.125rem; margin-bottom: 1rem; }
.highlight-box p:last-child { font-weight: 600; font-size: 1.25rem; }

/* ===== ENGAGEMENT BOX ===== */
.engagement-box { background: #f1f5f9; border-radius: var(--radius); padding: 1.5rem; }
.engagement-box h3 { font-size: 1rem; margin-bottom: 1rem; }
.engagement-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.engagement-item svg { width: 1rem; height: 1rem; color: var(--secondary); flex-shrink: 0; }

/* ===== CONCLUSION CARD ===== */
.conclusion-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; }
.conclusion-card p { font-size: 1.125rem; }

/* ===== ECOSYSTEM ===== */
.ecosystem-section { background: #f1f5f9; border-radius: var(--radius); padding: 3rem; display: flex; gap: 3rem; align-items: center; }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.ecosystem-tag { padding: 0.25rem 0.75rem; background: rgba(30,58,95,0.1); color: var(--primary); border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }
.ecosystem-icon { width: 8rem; height: 8rem; background: rgba(74,122,181,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ecosystem-icon svg { width: 4rem; height: 4rem; color: var(--secondary); }
@media (max-width: 768px) { .ecosystem-section { flex-direction: column; text-align: center; } .ecosystem-tags { justify-content: center; } }

/* ===== FILTER BAR ===== */
.filter-bar { padding: 1rem 0; background: white; border-bottom: 1px solid var(--border); position: sticky; top: 5rem; z-index: 40; }
.filter-bar .pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.8125rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.2s; }
.pill { background: #f1f5f9; color: var(--text-muted); }
.pill.active { background: var(--primary); color: white; }

/* ===== LEGAL ===== */
.legal-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal-section > div { margin-bottom: 2rem; }
.legal-info { background: #f1f5f9; border-radius: var(--radius); padding: 1.5rem; }
.legal-info p { margin-bottom: 0.5rem; }
.legal-info p:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 1.5rem; }
.legal-section li { margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: white; padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo img { height: 5rem; width: auto; margin-bottom: 1.5rem; }
.footer p { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.6; }
.footer h4 { font-size: 1.125rem; margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  margin-top: 4rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p, .footer-bottom a { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }
.footer-legal { display: flex; gap: 1.5rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: background 0.2s;
}
.social-link:hover { background: rgba(255,255,255,0.2); }
.social-link svg { width: 1.25rem; height: 1.25rem; }
.footer-contact { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact .icon-box { background: transparent; }
.footer-contact .icon-box svg { color: var(--secondary); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* ===== BULLET LIST ===== */
.bullet-list { list-style: none; padding: 0; }
.bullet-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.bullet-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--secondary); flex-shrink: 0; margin-top: 0.5rem; }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; padding: 0; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }

/* ===== SVG ICONS (inline) ===== */
.icon { display: inline-block; vertical-align: middle; }
.icon-check { color: var(--secondary); }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }

/* ===== ORIGIN CARDS ===== */
.origin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.origin-card { padding: 1.5rem; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.origin-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
@media (max-width: 640px) { .origin-cards { grid-template-columns: 1fr; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
