/* ===========================================
   247 Ontstopper - Static CSS
   Pure CSS - No build required
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CSS Variables / Design Tokens */
:root {
  /* Colors */
  --background: #ffffff;
  --foreground: #1a2332;
  --card: #ffffff;
  --card-foreground: #1a2332;
  --primary: #0d1829;
  --primary-foreground: #ffffff;
  --secondary: #f0f4f8;
  --secondary-foreground: #1a2332;
  --muted: #e8edf2;
  --muted-foreground: #6b7684;
  --accent: #52c2d3;
  --accent-foreground: #ffffff;
  --highlight: #3db5c7;
  --highlight-foreground: #ffffff;
  --destructive: #ef4444;
  --border: #e5e9ed;
  --radius: 0.75rem;
  
  /* Gradients & Shadows */
  --cta-gradient: linear-gradient(135deg, #52c2d3 0%, #3db5c7 100%);
  --cta-shadow: 0 4px 14px 0 rgba(82, 194, 211, 0.35);
  --cta-hover-shadow: 0 6px 20px 0 rgba(82, 194, 211, 0.45);
  --hero-urgent: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Utility Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-white-90 { color: rgba(255, 255, 255, 0.9); }
.text-muted { color: var(--muted-foreground); }
.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }
.text-muted-light { color: rgba(107, 118, 132, 0.3); }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }

/* Responsive Helpers */
.hide-mobile { display: none; }
.show-mobile { display: inline; }
.hide-mobile-md { display: none; }
.show-mobile-md { display: flex; }
.hide-lg { display: inline; }

@media (min-width: 640px) {
  .hide-mobile { display: inline; }
  .show-mobile { display: none; }
}

@media (min-width: 768px) {
  .hide-mobile-md { display: flex; }
  .show-mobile-md { display: none; }
}

@media (min-width: 1024px) {
  .hide-lg { display: none; }
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-small {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke: var(--accent);
}

.icon-xl {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.icon-accent {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: var(--accent);
}

.icon-menu, .icon-close {
  width: 1.5rem;
  height: 1.5rem;
}

/* Pulse Dots */
.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.pulse-dot-accent {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--accent);
  border-radius: 50%;
}

.pulse-dot-highlight {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--highlight);
  border-radius: 50%;
}

.pulse-dot-primary {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--primary);
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===========================================
   TOP BAR
   =========================================== */
.top-bar {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .top-bar {
    font-size: 0.875rem;
  }
  .top-bar-content {
    gap: 1rem;
  }
  .top-bar-item {
    gap: 0.5rem;
  }
}

/* ===========================================
   HEADER
   =========================================== */
.header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.logo-accent {
  color: var(--accent);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: rgba(26, 35, 50, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.header-cta:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  margin-right: -0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.nav-mobile {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.nav-link-mobile {
  display: block;
  padding: 0.75rem 0;
  color: rgba(26, 35, 50, 0.8);
  font-weight: 500;
}

.nav-link-mobile:hover {
  color: var(--foreground);
}

.nav-mobile-cta {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .header-content {
    height: 4rem;
  }
  .logo {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }
  .header-cta {
    display: flex;
    padding: 0.625rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .logo {
    font-size: 1.875rem;
  }
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.75rem;
  background: var(--cta-gradient);
  color: var(--accent-foreground);
  box-shadow: var(--cta-shadow);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  box-shadow: var(--cta-hover-shadow);
  transform: translateY(-1px);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  transition: opacity 0.2s;
}

.btn-cta-dark:hover {
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  background-color: var(--card);
  color: var(--foreground);
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(13, 24, 41, 0.3);
}

@media (min-width: 640px) {
  .btn-cta {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
  }
  .btn-cta-large {
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
  }
  .btn-secondary {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
  }
}

/* ===========================================
   BADGES
   =========================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-secondary {
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.badge-white {
  background-color: var(--background);
  border: 1px solid var(--border);
}

.badge-accent-light {
  background-color: rgba(82, 194, 211, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-primary-light {
  background-color: rgba(13, 24, 41, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .badge-pill {
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */
.heading-hero {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
}

.heading-section {
  font-size: 1.5rem;
  font-weight: 700;
}

.text-body-lg {
  font-size: 1rem;
}

@media (min-width: 640px) {
  .heading-hero {
    font-size: 2.25rem;
  }
  .heading-section {
    font-size: 1.875rem;
  }
  .text-body-lg {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .heading-hero {
    font-size: 3rem;
  }
  .heading-section {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .heading-hero {
    font-size: 3.5rem;
  }
}

/* ===========================================
   SECTIONS
   =========================================== */
.section-padding {
  padding: 2.5rem 1.25rem;
}

.section-header {
  margin-bottom: 0.75rem;
}

.section-title-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-subtitle {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding: 3rem 1.25rem;
  }
  .section-header {
    margin-bottom: 1rem;
  }
  .section-subtitle {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding: 4rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 5rem 1.25rem;
  }
  .section-title-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
}

.hero-content {
  order: 2;
}

.hero-desc {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-usps {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-usp {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-image-wrap {
  position: relative;
  order: 1;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-badge {
  position: absolute;
  bottom: -0.75rem;
  left: -0.75rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.hero-badge-number {
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .hero-grid {
    padding: 3rem 0;
  }
  .hero-ctas {
    flex-direction: row;
    gap: 1rem;
  }
  .hero-usps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero-trust {
    gap: 1rem;
    padding-top: 2rem;
  }
  .hero-image {
    border-radius: 1rem;
  }
  .hero-badge {
    bottom: -1rem;
    left: -1rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }
  .hero-badge-number {
    font-size: 1.5rem;
  }
  .hero-badge-text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    padding: 5rem 0;
  }
  .hero-desc {
    margin-bottom: 2rem;
  }
  .hero-ctas {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-image-wrap {
    order: 2;
  }
}

/* ===========================================
   FEATURES GRID
   =========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-card {
  background-color: var(--card);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(82, 194, 211, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .features-grid {
    gap: 1.5rem;
  }
  .feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  .feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }
  .feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   SERVICES GRID
   =========================================== */
.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(82, 194, 211, 0.3);
}

.service-image-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-image-placeholder {
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content {
  padding: 1rem;
}

.service-tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem;
}

.service-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--highlight);
}

.service-link:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .service-card {
    border-radius: 1rem;
  }
  .service-content {
    padding: 1.5rem;
  }
  .service-tag {
    font-size: 0.75rem;
  }
  .service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .service-desc {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  .service-link {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================================
   STEPS GRID
   =========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step {
  position: relative;
}

.step-number {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .steps-grid {
    gap: 1.5rem;
  }
  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .step-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  color: var(--accent-foreground);
}

.cta-desc {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
  .cta-desc {
    margin-bottom: 2rem;
  }
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.footer-brand {
  grid-column: span 2;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer {
    padding: 3rem 0;
  }
  .footer-logo {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .footer-heading {
    margin-bottom: 1rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* ===========================================
   STICKY MOBILE CTA
   =========================================== */
.sticky-call-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}

.sticky-cta {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-call-btn {
    display: none;
  }
}

/* Add padding to main content for sticky button */
main {
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  main {
    padding-bottom: 0;
  }
}