/* ========================================
   Belliq — Hotel Operations Intelligence Layer
   Shared Stylesheet
   Navy + Gold Premium Theme
   ======================================== */

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

:root {
  --navy: #1A1F36;
  --navy-mid: #252B48;
  --navy-light: #2E3555;
  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --gold-glow: rgba(201, 169, 110, 0.15);
  --off-white: #F7F5F0;
  --white: #FFFFFF;
  --light-gray: #E8E6E1;
  --mid-gray: #8B8680;
  --dark-text: #1A1F36;
  --body-text: #3A3A3A;
  --success: #4CAF50;
  --warning: #FF9800;
  --danger: #E53935;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: Calibri, 'Segoe UI', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --card-radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-light);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  padding: 0 1.5rem;
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.navbar-logo span {
  color: var(--gold-light);
  font-weight: 400;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -4px;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.navbar-links a {
  color: var(--off-white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}
.navbar-links a:hover {
  color: var(--gold);
}

.navbar-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}
.navbar-cta::after {
  display: none !important;
}
.navbar-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  margin: 5px 0;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* --- Hero Section --- */
.hero {
  background: var(--navy);
  padding: 10rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero .tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 0.5px;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--off-white);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy-mid);
  color: var(--off-white);
  border: 1px solid rgba(201, 169, 110, 0.3);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}


/* --- Section Styles --- */
.section {
  padding: var(--section-padding);
}
.section-dark {
  background: var(--navy);
  color: var(--off-white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--off-white);
}
.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 640px;
  margin: 0 auto;
}
.section-dark .section-header p {
  color: var(--gold-light);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}


/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.card-dark {
  background: var(--navy-mid);
  border-color: rgba(201, 169, 110, 0.15);
}
.card-dark:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mid-gray);
}


/* --- Pipeline / Steps --- */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.pipeline-step {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--card-radius);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}
.pipeline-step .step-num {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.pipeline-step h4 {
  color: var(--off-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.pipeline-step p {
  color: var(--mid-gray);
  font-size: 0.85rem;
}

.pipeline-arrow {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
}


/* --- Metrics / Stats --- */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.metric {
  text-align: center;
  padding: 1.5rem;
}
.metric .value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.metric .label {
  font-size: 0.9rem;
  color: var(--mid-gray);
}
.section-dark .metric .label {
  color: var(--gold-light);
}


/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  border: 2px solid var(--light-gray);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.15);
}
.pricing-card.featured::before {
  content: 'Mest populaer';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}
.pricing-card .price-period {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-card li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn {
  width: 100%;
}


/* --- Security Badges --- */
.badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-mid);
  color: var(--off-white);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(201, 169, 110, 0.2);
}
.badge-icon {
  font-size: 1.1rem;
}


/* --- Feature Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.95rem;
}
.comparison-table thead {
  background: var(--navy);
  color: var(--off-white);
}
.comparison-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-heading);
}
.comparison-table th:not(:first-child) {
  text-align: center;
}
.comparison-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--light-gray);
}
.comparison-table td:not(:first-child) {
  text-align: center;
}
.comparison-table tbody tr:hover {
  background: var(--off-white);
}
.comparison-table .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.comparison-table .dash {
  color: var(--mid-gray);
}


/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item .faq-answer {
  padding-top: 1rem;
  color: var(--body-text);
  line-height: 1.8;
}


/* --- Security Feature List --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.security-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.security-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.security-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.security-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
}
.security-card code {
  background: var(--off-white);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--navy);
}


/* --- Audit Badge --- */
.audit-badge {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 500px;
}
.audit-score {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.audit-label {
  font-size: 1.2rem;
  color: var(--off-white);
  margin-top: 0.5rem;
}
.audit-sublabel {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-top: 0.25rem;
}


/* --- Demo Page --- */
.demo-banner {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--card-radius);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.demo-banner p {
  color: var(--off-white);
  font-size: 1rem;
}
.demo-frame {
  width: 100%;
  min-height: 80vh;
  border: 2px solid var(--light-gray);
  border-radius: var(--card-radius);
  background: var(--white);
}

.demo-placeholder {
  background: var(--navy-mid);
  border: 2px dashed rgba(201, 169, 110, 0.3);
  border-radius: var(--card-radius);
  padding: 4rem 2rem;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.demo-placeholder h3 {
  color: var(--off-white);
  margin-bottom: 1rem;
}
.demo-placeholder p {
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}


/* --- Integration Logos --- */
.integrations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.integration-item {
  text-align: center;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.integration-item:hover {
  opacity: 1;
}
.integration-item .logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-text);
}
.integration-item .status {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 0.25rem;
}
.integration-item .status.active {
  color: var(--success);
}


/* --- ROI Calculator --- */
.roi-box {
  background: var(--navy);
  border-radius: var(--card-radius);
  padding: 3rem;
  color: var(--off-white);
  max-width: 700px;
  margin: 2rem auto;
}
.roi-box h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}
.roi-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  font-size: 1rem;
}
.roi-row:last-child {
  border-bottom: none;
}
.roi-row .roi-label {
  color: var(--gold-light);
}
.roi-row .roi-value {
  font-weight: 700;
  color: var(--off-white);
}
.roi-row.roi-total {
  font-size: 1.2rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--gold);
  border-bottom: none;
}
.roi-row.roi-total .roi-value {
  color: var(--gold);
}


/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: var(--mid-gray);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-info {
  color: var(--mid-gray);
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 4rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero .tagline {
    font-size: 1.2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  }
  .navbar-links.open {
    display: flex;
  }
  .navbar-links li {
    padding: 0.5rem 0;
  }
  .navbar-links a {
    display: block;
    padding: 0.75rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .pipeline {
    flex-direction: column;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
  }
  .pipeline-step {
    max-width: 100%;
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric .value {
    font-size: 2rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.6rem 0.5rem;
  }

  .roi-box {
    padding: 2rem 1.5rem;
  }
  .roi-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }

  .badge-row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
