@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
  --color-bg: #f8fafc;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  
  --color-primary: #1e3a8a;
  --color-primary-dark: #0369a1;
  --color-secondary: #f93100;
  
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;

  --color-surface: #ffffff;

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff7e5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-16 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
  .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}
.w-full { width: 100%; }

/* Grid Layout */
.grid { display: grid; gap: 2rem; }
.grid-cols-1 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-2-split { grid-template-columns: 1fr 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: var(--color-primary-dark); }
.btn-accent { background-color: var(--color-accent); color: white; box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4); }
.btn-accent:hover { background-color: var(--color-accent-hover); }
.btn-outline { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background-color: var(--color-primary); color: white; }

/* Cards */
.card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background-color: var(--color-surface);
  transition: all var(--transition-normal);
}

.card-elevated {
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-default {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Form Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-input {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background-color: var(--color-surface);
}

/* Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.navContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logoIcon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logoText {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.navLinks {
  display: none; /* Hidden on mobile by default */
}

.navLinks.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  background: white;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-top: 1px solid rgba(0,0,0,0.05);
  gap: 1rem;
}

.navLink {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
}

.navLink:hover {
  color: var(--color-primary);
}

.mobileActions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.actions {
  display: none;
}

.mobileMenuBtn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .navLinks {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    gap: 2rem;
  }
  .mobileActions {
    display: none;
  }
  .mobileMenuBtn { display: none; }
  .actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.phoneLink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-weight: 600;
  transition: color var(--transition-fast);
}
.phoneLink:hover { color: var(--color-primary); }

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 6rem 0;
  }
}

.heroBgImage {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.heroOverlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
  z-index: -1;
}

.heroContainer { position: relative; z-index: 10; }
.heroContent { max-width: 750px; color: white; }

.heroBadge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.heroTitle {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: white;
}
.heroTitle span { color: var(--color-primary); }

.heroDesc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Brand Ribbon */
.brandRibbon {
  background-color: var(--color-surface);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 2rem 0;
  text-align: center;
}
.ribbonTitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.brandLogos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.brandName {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #cbd5e1;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}
.brandName:hover { color: var(--color-text-muted); filter: grayscale(0%); }

/* Feature Icons */
.featureIcon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
}

/* Split Section */
.splitSection { padding: 6rem 0; background-color: white; }
.splitImageContainer {
  position: relative;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 1024px) {
  .splitImageContainer { height: 500px; }
}
.splitImage {
  width: 100%; height: 100%; object-fit: cover;
}
.imageFloatingCard {
  position: absolute;
  bottom: -10px; right: -10px;
  background: var(--color-surface);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  transform: translate(-10px, -10px);
}
@media (min-width: 768px) {
  .imageFloatingCard {
    bottom: -20px; right: -20px;
    padding: 1.5rem;
    transform: translate(-40px, -40px);
  }
}
.floatNum {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.floatText { font-weight: 600; color: var(--color-text); line-height: 1.2; }

.splitContent {
  padding-top: 2rem;
}
@media (min-width: 1024px) {
  .splitContent { padding-top: 0; padding-left: 2rem; }
}
.splitTitle { font-size: 2.5rem; margin-bottom: 1.5rem; }
.splitDesc { color: var(--color-text-muted); font-size: 1.125rem; margin-bottom: 2rem; }
.checklist { list-style: none; margin-bottom: 2.5rem; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Testimonials */
.testimonialsSection { padding: 6rem 0; background-color: var(--color-surface); }
.reviewCard { border-top: 4px solid var(--color-primary); }

/* Emergency CTA */
.emergencySection {
  position: relative;
  padding: 8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.emergencyBgImage {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.emergencyOverlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: -1;
  backdrop-filter: blur(4px);
}
.emergencyContainer { position: relative; z-index: 10; }
.emergencyContent {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.pulseDot {
  width: 16px; height: 16px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.emergencyTitle { font-size: clamp(2.5rem, 5vw, 3.5rem); color: white; margin-bottom: 1.5rem; }
.emergencyDesc { color: #cbd5e1; font-size: 1.25rem; margin-bottom: 3rem; }

/* Footer */
.footer {
  background-color: var(--color-text);
  color: white;
  padding-top: 5rem;
}
.footerGrid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .footerGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footerGrid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.brandDesc { color: #cbd5e1; line-height: 1.7; margin-top: 1rem; }
.colTitle { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.linksList { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.linksList a { color: #cbd5e1; transition: color var(--transition-fast); }
.linksList a:hover { color: var(--color-primary); }
.contactItem { display: flex; align-items: flex-start; gap: 1rem; color: #cbd5e1; margin-bottom: 1rem;}
.contactItem svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.bottomBar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0; text-align: center; color: #94a3b8; font-size: 0.875rem;
}

/* Animations */
.animate-fade-in-up, .animate-fade-in-left, .animate-fade-in-right {
  opacity: 0;
}
.animate-fade-in-up.is-visible {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-in-left.is-visible {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-in-right.is-visible {
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
