/* OnePlatform theme — mirrors the OneMobile palette (lib/core/theme/app_colors.dart):
   near-black ink, gold accent, warm cream surfaces. */
:root {
  --op-ink: #17120d;
  --op-ink-soft: #2a241e;
  --op-gold: #a67c3d;
  --op-gold-muted: #b89968;
  --op-bg: #ffffff;
  --op-surface: #efe9e0;
  --op-surface-alt: #ede7dd;
  --op-border: #e2dbd0;
  --op-border-strong: #d2c9bb;
  --op-text: #1a1714;
  --op-text-secondary: #6e6a64;
  --op-text-muted: #9a958c;
  --op-text-on-ink: #f7f4ef;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px; /* Margin bottom by footer height */
  background-color: var(--op-bg);
  color: var(--op-text);
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
}

/* Navbar */
.tech-navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--op-border);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.tech-navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--op-ink);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tech-navbar .navbar-brand em {
  font-style: italic;
  color: var(--op-gold);
}

.tech-navbar .navbar-brand:hover {
  color: var(--op-ink-soft);
}

.tech-navbar .navbar-nav .nav-link {
  color: var(--op-text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.tech-navbar .navbar-nav .nav-link:hover {
  color: var(--op-text) !important;
  background: var(--op-surface);
}

.tech-navbar .navbar-nav .nav-link.active {
  color: var(--op-gold) !important;
  background: var(--op-surface-alt);
}

.tech-navbar .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--op-gold);
  border-radius: 2px;
}

.tech-navbar .navbar-toggler {
  border: 1px solid var(--op-border-strong);
  border-radius: 8px;
  padding: 0.5rem;
}

.tech-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(166, 124, 61, 0.25);
}

.tech-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2823, 18, 13, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.tech-navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--op-border);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 10px 30px rgba(23, 18, 13, 0.12);
}

.tech-navbar .dropdown-item {
  color: var(--op-text-secondary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tech-navbar .dropdown-item:hover {
  background: var(--op-surface);
  color: var(--op-text);
}

.tech-navbar .dropdown-divider {
  border-color: var(--op-border);
  margin: 0.5rem 0;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--op-border);
  color: var(--op-text-muted);
}
