/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #1e3a5f;
  --blue-800: #1a4b8c;
  --blue-700: #1a56db;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --indigo-500: #6366f1;
  --orange-500: #f59e0b;
  --orange-600: #d97706;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-heading: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-500); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--slate-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--blue-700); color: var(--white); border-color: var(--blue-700);
}
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--blue-700); }
.btn-outline {
  background: transparent; color: var(--blue-700); border-color: var(--blue-700);
}
.btn-outline:hover { background: var(--blue-700); color: var(--white); }
.btn-orange {
  background: var(--orange-500); color: var(--white); border-color: var(--orange-500);
}
.btn-orange:hover { background: var(--orange-600); border-color: var(--orange-600); color: var(--white); }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--slate-900); color: var(--slate-400); font-size: 0.8rem; padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--slate-400); }
.top-bar a:hover { color: var(--white); }
.top-bar-links { display: flex; gap: 20px; list-style: none; }
.top-bar-social { display: flex; gap: 12px; }

/* ===== HEADER / NAV ===== */
.header {
  background: var(--white); border-bottom: 1px solid var(--slate-200);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; padding-bottom: 12px;
}
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--slate-700); font-weight: 500; font-size: 0.95rem;
  padding: 8px 16px; border-radius: var(--radius);
  transition: all var(--transition);
}
.nav a:hover, .nav a.active { color: var(--blue-700); background: var(--blue-50); }
.nav .btn-primary { color: var(--white); }
.nav .btn-primary:hover { color: var(--white); background: var(--blue-600); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--slate-700); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 40%, var(--blue-700) 100%);
  color: var(--white); padding: 100px 0 110px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}
.hero .container { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 6vw, 3.8rem); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== HERO VARIANTS ===== */
.hero-sm { padding: 70px 0 90px; }
.hero-sm h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }
.section-gray { background: var(--slate-50); }
.section-dark { background: var(--slate-900); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--slate-300); }
.section-blue { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue p { color: rgba(255,255,255,.8); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header p { color: var(--slate-500); font-size: 1.1rem; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--blue-700); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--sky-400); }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200, var(--slate-200)); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.card p { color: var(--slate-600); font-size: 0.95rem; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 0.9rem; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }
.card-link::after { content: '\2192'; transition: var(--transition); }

/* ===== FEATURES / SPLIT SECTIONS ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content h2 { margin-bottom: 16px; }
.split-content p { color: var(--slate-600); }
.split-visual {
  background: linear-gradient(135deg, var(--blue-50), var(--slate-100));
  border-radius: var(--radius-xl); padding: 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 350px; position: relative;
}
.split-visual-icon { font-size: 6rem; opacity: 0.15; position: absolute; }
.split-visual-content { position: relative; z-index: 1; text-align: center; }

/* ===== STATS BAR ===== */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--blue-500); margin-bottom: 4px; }
.stat-item p { color: var(--slate-500); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.section-blue .stat-item h3 { color: var(--white); }
.section-blue .stat-item p { color: rgba(255,255,255,.7); }

/* ===== CLIENT LOGOS ===== */
.client-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.6; }
.client-logos span { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--slate-400); letter-spacing: 1px; }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); border-left: 4px solid var(--blue-700);
  max-width: 700px; margin: 0 auto;
}
.testimonial blockquote { font-size: 1.15rem; font-style: italic; color: var(--slate-700); margin-bottom: 16px; line-height: 1.8; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--slate-900); display: block; }
.testimonial cite span { font-weight: 400; color: var(--slate-500); }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 30px; }
.cta-section .hero-buttons { justify-content: center; }

/* ===== TEAM GRID ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.team-card { text-align: center; padding: 30px 20px; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--sky-400));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--white); font-weight: 700;
  font-family: var(--font-heading);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--blue-700); font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.team-card p { color: var(--slate-500); font-size: 0.9rem; }

/* ===== TIMELINE ===== */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--blue-200);
}
.timeline-item { padding-left: 56px; margin-bottom: 40px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: 14px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-700); border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.timeline-item h4 { color: var(--blue-700); margin-bottom: 4px; }
.timeline-item p { color: var(--slate-600); font-size: 0.95rem; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--slate-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--slate-300);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info h3 { margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-info-item p { color: var(--slate-500); font-size: 0.9rem; margin-bottom: 0; }

/* ===== INSIGHTS / BLOG ===== */
.insight-card { overflow: hidden; }
.insight-card .card-image {
  height: 200px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -36px -30px 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.insight-card .card-image.bg-blue { background: linear-gradient(135deg, var(--blue-700), var(--sky-500)); }
.insight-card .card-image.bg-indigo { background: linear-gradient(135deg, var(--indigo-500), var(--blue-500)); }
.insight-card .card-image.bg-orange { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.insight-card .card-image.bg-slate { background: linear-gradient(135deg, var(--slate-700), var(--slate-900)); }
.insight-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: var(--blue-700); background: var(--blue-50);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.insight-date { font-size: 0.8rem; color: var(--slate-400); }

/* ===== INDUSTRY CARDS ===== */
.industry-card { text-align: center; padding: 48px 30px; }
.industry-icon { font-size: 3rem; margin-bottom: 20px; }

/* ===== PRICING TABLE ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pricing-card { text-align: center; padding: 40px 30px; position: relative; }
.pricing-card.featured { border-color: var(--blue-700); border-width: 2px; }
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue-700); color: var(--white); font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--blue-700); margin-bottom: 4px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--slate-500); }
.pricing-card ul { list-style: none; margin: 24px 0; text-align: left; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); font-size: 0.95rem; }
.pricing-card ul li::before { content: '\2713'; color: var(--blue-700); font-weight: 700; margin-right: 10px; }

/* ===== FOOTER ===== */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer-brand img { height: 45px; margin-bottom: 4px; }
.footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--slate-400); font-size: 0.9rem; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--slate-800); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--slate-500); }
.footer-bottom-links a:hover { color: var(--white); }

/* ===== ACCORDION / FAQ ===== */
.accordion { max-width: 750px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--slate-200); }
.accordion-header {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
  color: var(--slate-800); text-align: left;
}
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--blue-700); transition: var(--transition); }
.accordion-item.active .accordion-header::after { content: '\2212'; }
.accordion-body { padding: 0 0 20px; color: var(--slate-600); display: none; }
.accordion-item.active .accordion-body { display: block; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; counter-reset: step; }
.process-step { text-align: center; padding: 30px 20px; position: relative; counter-increment: step; }
.process-step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--blue-700); color: var(--white);
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--slate-500); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; border-top: 1px solid var(--slate-200); box-shadow: var(--shadow-lg); }
  .mobile-toggle { display: block; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 50px 0; }
  .top-bar { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { 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 forwards; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 16px; }
