@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
  /* Clean Corporate Light Theme - Smart Promo LLC */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  /* Financial Accent - Emerald Green */
  --accent-primary: #059669;
  --accent-hover: #047857;
  --accent-light: #d1fae5;
  
  /* Charcoal / Dark Slate Text */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  /* Dark Header/Footer */
  --bg-dark: #0f172a;
  --text-on-dark: #f8fafc;
  
  /* Layout Variables */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.05);
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.text-emerald { color: var(--accent-primary); }
.text-dark { color: var(--text-main); }

.section-padding { padding: 90px 0; }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }
.bg-dark { 
  background-color: var(--bg-dark); 
  color: var(--text-on-dark); 
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p {
  color: var(--text-on-dark);
}
.bg-dark .text-muted {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background-color: var(--accent-primary);
  color: #fff;
}

/* Header & Navigation */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  position: fixed;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-color: var(--bg-tertiary);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-primary);
  border-radius: 4px;
  z-index: -1;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -50px; /* Overlap hero */
  position: relative;
  z-index: 10;
}

.feature-card {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent-primary);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Services Grid (General) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 40px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card h3::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: var(--accent-primary);
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

.stat-item p {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* CTA Block */
.cta-block {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('images/cta.png') center/cover;
}

.cta-block h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-block p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Forms & Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-list {
  background: var(--bg-tertiary);
  padding: 40px;
  border-left: 4px solid var(--accent-primary);
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.info-item p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-light);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Page Headers (Inner Pages) */
.page-header {
  padding: 160px 0 80px;
  background-color: var(--bg-tertiary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  margin-bottom: 10px;
}

.breadcrumbs {
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--text-muted);
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1.25rem;
}

.legal-content li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 1.5fr 1.5fr 2.5fr;
  gap: 30px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 36px;
  border-radius: 4px;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .split-layout, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .hero {
    padding-top: 140px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.pricing-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.pricing-price {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 5px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 15px;
  color: var(--text-muted);
  position: relative;
  padding-left: 30px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}
