/* ═══════════════════════════════════════════════════════════════
   RestroCore Marketing — Fully Mobile Responsive SaaS Stylesheet
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Crisp Light Theme Canvas with Brand Warmth */
  --m-bg: #ffffff;
  --m-bg-alt: #f8fafc;
  --m-surface: #ffffff;
  --m-card: #ffffff;
  --m-card-hover: #fffaf5;
  --m-border: #e2e8f0;
  --m-border-subtle: #f1f5f9;

  /* Exact Brand Colors from RestroCore Logo */
  --m-primary: #fd6101;            /* Vibrant Logo Orange */
  --m-primary-hover: #e05300;      /* Deepened Logo Orange */
  --m-primary-light: #fff7ed;      /* Delicate Warm Orange Tint */
  --m-primary-border: #fed7aa;     /* Soft Peach Border */
  
  --m-navy: #021e43;               /* Deep Logo Midnight Navy */
  --m-navy-dark: #001229;          /* Obsidian Navy */
  --m-navy-light: #f0f4f8;         /* Frosted Slate Tint */

  --m-blue: #2563eb;               /* Accent Tech Sky Blue */
  --m-blue-light: #eff6ff;
  --m-emerald: #059669;            /* Sales & Growth Green */
  --m-emerald-light: #ecfdf5;
  --m-amber: #d97706;              /* Warm Amber */
  --m-amber-light: #fffbeb;
  --m-purple: #7c3aed;
  --m-purple-light: #f5f3ff;
  --m-cyan: #0891b2;
  --m-cyan-light: #ecfeff;

  /* High-Contrast Typography rooted in Logo Midnight Navy */
  --m-text-heading: #021e43;       /* Logo Navy for Headings */
  --m-text-body: #334155;          /* Crisp Slate Body */
  --m-text-muted: #64748b;         /* Neutral Subtitles */
  --m-text-dim: #94a3b8;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(2, 30, 67, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(2, 30, 67, 0.08), 0 0 0 1px rgba(2, 30, 67, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(2, 30, 67, 0.12), 0 0 0 1px rgba(2, 30, 67, 0.05);
}

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

body.marketing-body {
  font-family: var(--font-body);
  background-color: var(--m-bg);
  color: var(--m-text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 12% 10%, rgba(253, 97, 1, 0.06), transparent 520px),
    radial-gradient(circle at 88% 18%, rgba(2, 30, 67, 0.05), transparent 580px),
    radial-gradient(circle at 50% 65%, rgba(37, 99, 235, 0.04), transparent 600px);
  -webkit-font-smoothing: antialiased;
}

/* ── Container ───────────────────────────────────────────────── */
.m-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation Bar ─────────────────────────────────────────── */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--m-border);
  box-shadow: var(--shadow-sm);
}

.m-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.m-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--m-text-heading);
  flex-shrink: 0;
}

.m-logo-img {
  height: 52px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.m-logo-img:hover {
  transform: scale(1.02);
}

.m-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.m-link {
  color: var(--m-text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.m-link:hover, .m-link.active {
  color: var(--m-primary);
}

.m-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Hamburger Toggle */
.m-mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--m-text-heading);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.m-mobile-toggle:hover {
  background: var(--m-bg-alt);
  border-color: #cbd5e1;
}

/* ── World-Class Offcanvas Mobile Menu ───────────────────────── */
.m-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.m-offcanvas-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.m-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 350px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 45px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.m-offcanvas.open {
  transform: translateX(0);
}

.m-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--m-border);
}

.m-offcanvas-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--m-bg-alt);
  border: 1px solid var(--m-border);
  color: var(--m-text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.m-offcanvas-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.m-offcanvas-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.m-offcanvas-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--m-text-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.m-offcanvas-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-offcanvas-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.m-offcanvas-item:hover,
.m-offcanvas-item.active {
  background: var(--m-primary-light);
  color: var(--m-primary);
}

.m-offcanvas-footer {
  padding: 20px;
  border-top: 1px solid var(--m-border);
  background: var(--m-bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-offcanvas-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m-text-muted);
  text-decoration: none;
  font-weight: 600;
  margin-top: 4px;
}

.m-offcanvas-phone:hover {
  color: var(--m-primary);
}

/* ── Buttons & Badges ────────────────────────────────────────── */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.m-btn-primary {
  background: linear-gradient(135deg, var(--m-primary), #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(253, 97, 1, 0.32);
}

.m-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(253, 97, 1, 0.42);
  background: linear-gradient(135deg, #ea580c, var(--m-primary));
}

.m-btn-secondary {
  background: #ffffff;
  color: var(--m-navy);
  border: 1px solid var(--m-border);
  box-shadow: var(--shadow-sm);
}

.m-btn-secondary:hover {
  background: var(--m-navy-light);
  border-color: var(--m-navy);
  color: var(--m-navy);
  transform: translateY(-1px);
}

.m-btn-lg {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--m-primary-light);
  border: 1px solid var(--m-primary-border);
  color: #c2410c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ── Hero Section ────────────────────────────────────────────── */
.m-hero {
  padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
  text-align: center;
  position: relative;
}

.m-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  color: var(--m-text-heading);
  max-width: 900px;
  margin: 0 auto 20px;
}

.m-hero-gradient-text {
  background: linear-gradient(135deg, var(--m-primary) 0%, #ea580c 40%, var(--m-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--m-text-muted);
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.m-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.m-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--m-text-muted);
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}

.m-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-hero-trust-item svg {
  color: var(--m-emerald);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ── Hero Preview Showcase Mockup (Clean Light Card) ──────────── */
.m-preview-wrapper {
  margin: 36px auto 0;
  max-width: 1040px;
  position: relative;
}

.m-preview-card {
  background: #ffffff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.m-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--m-border-subtle);
  margin-bottom: 14px;
}

.m-preview-dots {
  display: flex;
  gap: 6px;
}

.m-dot { width: 10px; height: 10px; border-radius: 50%; }
.m-dot.red   { background: #ef4444; }
.m-dot.amber { background: #f59e0b; }
.m-dot.green { background: #10b981; }

.m-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.1fr;
  gap: 16px;
}

.m-mock-box {
  background: #f8fafc;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
}

.m-mock-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--m-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Stats Counter Grid ──────────────────────────────────────── */
.m-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 0;
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
  margin: 40px 0 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
}

.m-stat-item {
  text-align: center;
  padding: 8px;
}

.m-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--m-text-heading);
  line-height: 1.2;
}

.m-stat-label {
  font-size: 13px;
  color: var(--m-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Feature Cards Grid ──────────────────────────────────────── */
.m-section {
  padding: clamp(40px, 6vw, 60px) 0;
}

.m-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.m-section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--m-text-heading);
  margin-bottom: 12px;
}

.m-section-subtitle {
  font-size: 15px;
  color: var(--m-text-muted);
}

.m-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.m-feature-card {
  background: #ffffff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px) clamp(18px, 2.5vw, 28px);
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-md);
}

.m-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--m-primary-border);
  box-shadow: 0 20px 40px -10px rgba(253, 97, 1, 0.12), 0 0 0 1px rgba(253, 97, 1, 0.1);
}

.m-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.m-feature-icon svg, .m-feature-icon i {
  width: 24px;
  height: 24px;
  font-size: 20px;
}

.m-feature-icon.orange { background: var(--m-primary-light); color: var(--m-primary); }
.m-feature-icon.navy   { background: var(--m-navy-light);    color: var(--m-navy); }
.m-feature-icon.blue   { background: var(--m-blue-light);    color: var(--m-blue); }
.m-feature-icon.emerald{ background: var(--m-emerald-light); color: var(--m-emerald); }
.m-feature-icon.purple { background: var(--m-purple-light);  color: var(--m-purple); }
.m-feature-icon.amber  { background: var(--m-amber-light);   color: var(--m-amber); }
.m-feature-icon.cyan   { background: var(--m-cyan-light);    color: var(--m-cyan); }

.m-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--m-text-heading);
  margin-bottom: 8px;
}

.m-feature-desc {
  font-size: 14px;
  color: var(--m-text-body);
  line-height: 1.6;
}

/* ── CTA Banner Section ──────────────────────────────────────── */
.m-cta-banner {
  background: linear-gradient(135deg, var(--m-navy) 0%, #062b5c 50%, var(--m-navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 24px 48px -12px rgba(2, 30, 67, 0.35);
  position: relative;
  margin: 40px 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.m-cta-banner p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.m-footer {
  background: #f8fafc;
  border-top: 1px solid var(--m-border);
  padding: clamp(40px, 5vw, 60px) 0 30px;
  margin-top: 40px;
}

.m-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.m-footer-brand p {
  color: var(--m-text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.m-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--m-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.m-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-footer-links a {
  color: var(--m-text-body);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.m-footer-links a:hover {
  color: var(--m-primary);
}

.m-footer-bottom {
  border-top: 1px solid var(--m-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--m-text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.m-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* ── RESPONSIVE MEDIA QUERIES ────────────────────────────────── */
@media (max-width: 860px) {
  .m-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .m-nav-links, .m-nav-actions {
    display: none;
  }
  .m-mobile-toggle {
    display: inline-flex;
  }
  .m-preview-grid {
    grid-template-columns: 1fr;
  }
  .m-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .m-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .m-container {
    padding: 0 16px;
  }
  .m-logo-img {
    height: 42px;
    max-height: 46px;
  }
  .m-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .m-hero-actions .m-btn {
    width: 100%;
  }
  .m-stats-grid {
    grid-template-columns: 1fr;
  }
  .m-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .m-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}