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

body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF;
  color: #1F3B4C;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* ===== TRUST-DRIVEN COLOR SYSTEM ===== */
:root {
  --primary: #1A7F6B;
  --secondary: #0F4C5F;
  --accent: #22C55E;
  --heading: #0B2B40;
  --body-text: #1F3B4C;
  --subtext: #4A627A;
  --light-bg: #F7FBFD;
  --white: #FFFFFF;
  --border-soft: #EAF0F5;
  --gradient-btn: linear-gradient(135deg, #0F4C5F 0%, #1A7F6B 100%);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 30px -12px rgba(15, 76, 95, 0.12);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 50px 0;
}

#contact-page {
  padding-bottom: 0;
}

.bg-white {
  background-color: var(--white);
}
.bg-light {
  background-color: var(--light-bg);
}
.hero-section {
  background: linear-gradient(145deg, #F9FDFF 0%, #F2F9FC 100%);
  padding-top: 50px;
  padding-bottom: 50px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.logo-text span {
  color: var(--primary);
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}
.footer-logo-text span {
  color: var(--accent);
}

h1, h2, h3, .heading-font {
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
}
h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.section-subhead {
  font-size: 1.125rem;
  color: var(--subtext);
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(15, 76, 95, 0.35);
  filter: brightness(0.97);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(26, 127, 107, 0.06);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
}

nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-soft);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--body-text);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-links a:hover {
  color: var(--primary);
}
.mobile-menu {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--heading);
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-left {
  flex: 1;
  min-width: 280px;
}
.hero-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.rotating-text {
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  min-width: 210px;
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--subtext);
  margin: 1.5rem 0 2rem;
}

.services-grid, .industries-grid, .audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 28px;
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.card p {
  color: var(--subtext);
  font-size: 0.95rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.badge {
  background: #E6F4F1;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
}

.unified-stats {
  background: var(--white);
  border-radius: 48px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  padding: 40px 40px;
  margin-top: 35px;
}
.inline-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  background: var(--light-bg);
  border-radius: 36px;
  padding: 24px 28px;
}
.inline-stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}
.inline-stat-item i {
  font-size: 2rem;
  color: var(--primary);
}
.inline-stat-content strong {
  font-size: 1.3rem;
  display: block;
  color: var(--heading);
}

.pricing-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-card {
  background: var(--white);
  border-radius: 32px;
  padding: 36px 28px;
  flex: 1;
  min-width: 250px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: all 0.2s;
}
.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  margin: 18px 0 10px;
}

.contact-form-section {
  background: var(--white);
  padding-bottom: 0;
}
.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 0;
}
.contact-info {
  flex: 1;
  min-width: 260px;
  background: var(--light-bg);
  border-radius: 48px;
  padding: 36px;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-container {
  flex: 1.5;
  min-width: 280px;
  background: var(--light-bg);
  padding: 36px;
  border-radius: 48px;
  border: 1px solid var(--border-soft);
}
.contact-info h3, .contact-form-container h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--heading);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--heading);
  font-size: 0.9rem;
}
.form-group label .optional {
  font-weight: 400;
  color: var(--subtext);
  font-size: 0.8rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s;
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 127, 107, 0.1);
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-item i {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.success-message {
  background: #E6F4E6;
  color: #1A7F6B;
  padding: 10px;
  border-radius: 24px;
  text-align: center;
  margin-top: 14px;
  display: none;
  font-size: 0.9rem;
}
.success-message.show {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-container {
  background: white;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 32px;
  padding: 32px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-modal);
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--subtext);
  transition: color 0.2s;
  z-index: 10;
}
.modal-close:hover {
  color: var(--primary);
}
.modal-container h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  padding-right: 30px;
}
.modal-container p {
  color: var(--subtext);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

footer {
  background: var(--heading);
  color: #CDDFE9;
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #CDDFE9;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-links a {
  background: rgba(255,255,255,0.08);
  width: 36px;
  height: 36px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: white;
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.8rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard Styles */
.premium-dashboard {
  --brand-primary: #1A7F6B;
  --brand-secondary: #0F4C5F;
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  animation: floatDashboard 4s ease-in-out infinite;
}
.dashboard-glass {
  background: var(--white);
  border-radius: 32px;
  padding: 1.5rem;
  border: 1px solid rgba(26, 127, 107, 0.15);
  transition: all 0.3s ease;
}
.dashboard-glass::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(26,127,107,0.2), rgba(26,127,107,0.5), rgba(26,127,107,0.8), rgba(26,127,107,0.5), rgba(26,127,107,0.2));
  border-radius: 34px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(6px);
}
.dashboard-glass:hover::before {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}
.dashboard-glass:hover {
  background: var(--brand-secondary);
}
.dashboard-glass:hover .dashboard-title span,
.dashboard-glass:hover .campaign-number,
.dashboard-glass:hover .campaign-label,
.dashboard-glass:hover .funnel-label,
.dashboard-glass:hover .funnel-value,
.dashboard-glass:hover .conversion-header span,
.dashboard-glass:hover .compliance-badge {
  color: white !important;
}
.dashboard-glass:hover .compliance-badge {
  background: rgba(255,255,255,0.2);
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; filter: blur(8px); }
  50% { opacity: 1; filter: blur(12px); }
}
@keyframes floatDashboard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26,127,107,0.12);
}
.dashboard-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-title i {
  color: var(--primary);
  background: rgba(26,127,107,0.1);
  padding: 6px;
  border-radius: 10px;
}
.dashboard-title span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}
.live-badge {
  background: rgba(26,127,107,0.12);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}
.campaign-highlight {
  background: linear-gradient(135deg, #1A7F6B10, #0F4C5F10);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.campaign-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.funnel-item {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(26,127,107,0.08);
}
.funnel-label {
  font-weight: 600;
  color: var(--text-dark);
}
.funnel-value {
  font-weight: 800;
  color: var(--secondary);
}
.conversion-bar {
  margin: 1rem 0;
}
.bar-track {
  height: 8px;
  background: rgba(26,127,107,0.1);
  border-radius: 20px;
  overflow: hidden;
}
.bar-fill-conversion {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #22C55E);
  border-radius: 20px;
  width: 35%;
}
.compliance-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26,127,107,0.1);
}
.compliance-badge {
  background: #E6F4F1;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.05);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .container { padding: 0 20px; }
  .hero-section { padding: 40px 0; }
  .contact-info, .contact-form-container { flex: auto; }
}