/*
Theme Name: Digital Eatery Website
Theme URI: https://digital-eatery.local/
Author: Digital Eatery
Author URI: https://digital-eatery.local/
Description: Main marketing website theme for Digital Eatery Restaurant Management, including Elementor-friendly templates and product marketing pages for the core platform and paid add-ons.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: de-website
Tags: restaurant, marketing, elementor, landing-page, saas, business
*/

:root {
  --de-bg: #0f172a;
  --de-bg-alt: #111827;
  --de-deep: #07111f;
  --de-card: #ffffff;
  --de-soft: #f8fafc;
  --de-soft-2: #eef2f7;
  --de-border: #e5e7eb;
  --de-text: #111827;
  --de-muted: #64748b;
  --de-light: #cbd5e1;
  --de-accent: #f59e0b;
  --de-accent-2: #f97316;
  --de-success: #22c55e;
  --de-radius: 24px;
  --de-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--de-text);
  background: #fff;
}

body { overflow-x: hidden; }

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

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

.de-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.de-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.de-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.de-logo {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.de-logo span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.de-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.de-menu a {
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 700;
}

.de-menu a:hover { color: #fff; }

.de-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.de-mobile-toggle {
  display: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.de-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--de-accent);
  color: #111827 !important;
  font-weight: 900;
  border: 0;
  box-shadow: 0 14px 34px rgba(245, 158, 11, .26);
}

.de-button:hover { background: var(--de-accent-2); color: #111827 !important; }

.de-button-secondary {
  background: rgba(255,255,255,.10);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}

.de-button-dark {
  background: var(--de-bg);
  color: #fff !important;
  box-shadow: none;
}

.de-hero {
  background:
    radial-gradient(circle at 8% 2%, rgba(245,158,11,.22), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(34,197,94,.16), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 52%, #07111f 100%);
  color: #fff;
  padding: 104px 0 86px;
  overflow: hidden;
}

.de-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 52px;
  align-items: center;
}

.de-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fed7aa;
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .28);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 22px;
}

.de-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .94;
  letter-spacing: -0.07em;
}

.de-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.68;
  max-width: 720px;
}

.de-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.de-trust {
  color: #94a3b8;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
}

.de-visual {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--de-shadow);
}

.de-dashboard {
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  overflow: hidden;
}

.de-dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.de-dots { display: flex; gap: 7px; }
.de-dots i { width: 10px; height: 10px; border-radius: 50%; background: #475569; }

.de-dashboard-body { display: grid; grid-template-columns: 180px 1fr; min-height: 390px; }

.de-sidebar-mock { padding: 18px; background: #080f1d; border-right: 1px solid rgba(255,255,255,.08); }
.de-sidebar-mock span { display: block; height: 13px; border-radius: 999px; background: #1f2937; margin-bottom: 15px; }
.de-sidebar-mock span:nth-child(1) { width: 90%; background: var(--de-accent); }
.de-sidebar-mock span:nth-child(2) { width: 70%; }
.de-sidebar-mock span:nth-child(3) { width: 80%; }
.de-sidebar-mock span:nth-child(4) { width: 60%; }
.de-sidebar-mock span:nth-child(5) { width: 75%; }

.de-main-mock { padding: 20px; }
.de-mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.de-mock-card { min-height: 112px; border-radius: 20px; padding: 17px; background: linear-gradient(180deg, #1f2937, #111827); border: 1px solid rgba(255,255,255,.08); }
.de-mock-card strong { display: block; color: #fff; margin-bottom: 8px; font-size: 16px; }
.de-mock-card span { color: #94a3b8; font-size: 13px; line-height: 1.4; }

.de-section { padding: 92px 0; }
.de-section-soft { background: var(--de-soft); }
.de-section-dark { background: var(--de-bg); color: #fff; }

.de-section-title { max-width: 850px; margin: 0 auto 46px; text-align: center; }
.de-section-title h2 { margin: 0 0 16px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.05em; }
.de-section-title p { margin: 0; color: var(--de-muted); font-size: 18px; line-height: 1.72; }
.de-section-dark .de-section-title p { color: #cbd5e1; }

.de-grid-2, .de-grid-3, .de-grid-4 { display: grid; gap: 22px; }
.de-grid-2 { grid-template-columns: repeat(2, 1fr); }
.de-grid-3 { grid-template-columns: repeat(3, 1fr); }
.de-grid-4 { grid-template-columns: repeat(4, 1fr); }

.de-card {
  background: #fff;
  border: 1px solid var(--de-border);
  border-radius: var(--de-radius);
  padding: 30px;
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}

.de-section-dark .de-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: #fff;
}

.de-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.025em; }
.de-card p { margin: 0; color: var(--de-muted); line-height: 1.68; }
.de-section-dark .de-card p { color: #cbd5e1; }

.de-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(245,158,11,.14);
  color: var(--de-accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.de-feature-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.de-feature-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--de-muted);
  line-height: 1.55;
}

.de-feature-list span:before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  color: var(--de-success);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
}

.de-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.de-split h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.de-split p { color: var(--de-muted); font-size: 18px; line-height: 1.72; }

.de-steps { counter-reset: de-step; }
.de-step:before {
  counter-increment: de-step;
  content: counter(de-step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--de-accent);
  color: #111827;
  font-weight: 900;
  margin-bottom: 16px;
}

.de-pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.de-pricing-card .de-button { margin-top: auto; align-self: flex-start; }

.de-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(245,158,11,.12);
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.de-cta {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #fff;
  border-radius: 36px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--de-shadow);
}

.de-cta h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.05em; line-height: 1.05; }
.de-cta p { margin: 0; color: #cbd5e1; font-size: 18px; line-height: 1.65; }

.de-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.de-page-header {
  background:
    radial-gradient(circle at top left, rgba(245,158,11,.18), transparent 34%),
    linear-gradient(135deg, #0f172a, #111827);
  color: #fff;
  padding: 82px 0;
}

.de-page-header h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.de-page-header p {
  margin: 0;
  max-width: 850px;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.7;
}

.de-content { padding: 70px 0; }

.de-footer {
  background: #07111f;
  color: #cbd5e1;
  padding: 56px 0;
}

.de-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 32px;
}

.de-footer strong { color: #fff; display: block; margin-bottom: 10px; }
.de-footer a { display: block; color: #cbd5e1; margin: 9px 0; font-weight: 600; }
.de-footer a:hover { color: #fff; }
.de-footer p { margin: 0; line-height: 1.65; }

@media (max-width: 1000px) {
  .de-hero-grid,
  .de-split,
  .de-grid-4,
  .de-grid-3,
  .de-grid-2,
  .de-cta,
  .de-footer-grid {
    grid-template-columns: 1fr;
  }

  .de-menu-wrap {
    display: none;
  }

  .de-mobile-toggle { display: inline-flex; }

  .de-menu-wrap.is-open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .de-menu { flex-direction: column; align-items: flex-start; }

  .de-header-actions .de-button { display: none; }

  .de-dashboard-body { grid-template-columns: 1fr; }
  .de-sidebar-mock { display: none; }

  .de-hero { padding: 72px 0 64px; }
  .de-cta { padding: 38px; }
}


/* v1.0.1 feature pages */
.de-video-placeholder {
  border: 2px dashed rgba(100, 116, 139, .42);
  background:
    linear-gradient(135deg, rgba(15,23,42,.06), rgba(245,158,11,.08));
  border-radius: 30px;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  margin-top: 28px;
}

.de-video-placeholder strong {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.de-video-placeholder span {
  color: var(--de-muted);
  line-height: 1.6;
}

.de-feature-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.de-feature-index-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
}

.de-feature-index-card .de-button {
  margin-top: auto;
  align-self: flex-start;
}

.de-detail-hero-actions,
.de-product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.de-capability-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.de-capability-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--de-muted);
  line-height: 1.6;
}

.de-capability-list li:before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .12);
  color: var(--de-success);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  margin-top: 1px;
}

.de-related-features {
  background: var(--de-soft);
  border-radius: 30px;
  padding: 34px;
  margin-top: 44px;
}

.de-related-features h2 {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .de-feature-index {
    grid-template-columns: 1fr;
  }
}

/* v1.0.4 safe comprehensive feature detail pages */
.de-detail-title { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.06em; margin: 0 0 18px; }
.de-detail-intro { max-width: 920px; }
.de-detail-summary-grid { margin-top: 38px; }
.de-detail-section { background:#fff; border:1px solid var(--de-border); border-radius:30px; padding:34px; margin:34px 0; box-shadow:0 12px 32px rgba(15,23,42,.06); }
.de-detail-section h2 { margin-top:0; font-size:clamp(28px,3vw,42px); letter-spacing:-0.04em; }
.de-detail-section > p { color:var(--de-muted); font-size:17px; line-height:1.7; }
.de-detail-lower-grid { margin-top:22px; }
.de-feature-index-card { min-height:330px; }
.de-feature-cta { margin-top:44px; }
.de-detail-use-cases { background:linear-gradient(135deg,#f8fafc,#ffffff); }
.de-video-placeholder { min-height:420px; }
.de-video-placeholder:before { content:"▶"; width:82px; height:82px; border-radius:50%; display:grid; place-items:center; background:var(--de-accent); color:#111827; font-weight:900; font-size:32px; margin:0 auto 18px; }

/* v1.0.5 Elementor-editable static content support */
.de-feature-index{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.de-feature-index-card{min-height:330px;display:flex;flex-direction:column}.de-feature-index-card .de-button{margin-top:auto;align-self:flex-start}.de-video-placeholder{border:2px dashed rgba(100,116,139,.42);background:linear-gradient(135deg,rgba(15,23,42,.06),rgba(245,158,11,.08));border-radius:30px;min-height:380px;display:grid;place-items:center;text-align:center;padding:34px;margin-top:28px}.de-video-placeholder strong{display:block;font-size:28px;margin-bottom:10px;letter-spacing:-.03em}.de-video-placeholder span{color:var(--de-muted);line-height:1.6}.de-mini-proof{font-size:14px;background:var(--de-soft);border:1px solid var(--de-border);border-radius:14px;padding:12px;margin-top:14px!important}.de-detail-hero-actions,.de-product-cta-row,.de-cta-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.de-detail-summary-grid{margin-top:38px}.de-detail-section{background:#fff;border:1px solid var(--de-border);border-radius:30px;padding:34px;margin:34px 0;box-shadow:0 12px 32px rgba(15,23,42,.06)}.de-detail-section h2{margin-top:0;font-size:clamp(28px,3vw,42px);letter-spacing:-.04em}.de-detail-lower-grid{margin-top:22px}.de-related-features{background:var(--de-soft);border-radius:30px;padding:34px;margin-top:44px}@media(max-width:1000px){.de-feature-index{grid-template-columns:1fr}}

/* v1.0.6 Elementor structured page support */
.de-elementor-card-row .elementor-column{padding:10px}.de-feature-index-card{min-height:330px;display:flex;flex-direction:column}.de-feature-index-card .de-button{margin-top:auto;align-self:flex-start}.de-video-placeholder{border:2px dashed rgba(100,116,139,.42);background:linear-gradient(135deg,rgba(15,23,42,.06),rgba(245,158,11,.08));border-radius:30px;min-height:380px;display:grid;place-items:center;text-align:center;padding:34px;margin-top:28px}.de-video-placeholder strong{display:block;font-size:28px;margin-bottom:10px;letter-spacing:-.03em}.de-video-placeholder span{color:var(--de-muted);line-height:1.6}.de-mini-proof{font-size:14px;background:var(--de-soft);border:1px solid var(--de-border);border-radius:14px;padding:12px;margin-top:14px!important}.de-detail-hero-actions,.de-product-cta-row,.de-cta-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.de-detail-summary-grid{margin-top:38px}.de-detail-section{background:#fff;border:1px solid var(--de-border);border-radius:30px;padding:34px;margin:34px 0;box-shadow:0 12px 32px rgba(15,23,42,.06)}.de-detail-section h2{margin-top:0;font-size:clamp(28px,3vw,42px);letter-spacing:-.04em}.de-detail-lower-grid{margin-top:22px}.de-related-features{background:var(--de-soft);border-radius:30px;padding:34px;margin-top:44px}
