/* ========================================
   Big Rapids Tech Solutions / OMTV Website
   ======================================== */

:root {
  --navy: #021c49;
  --blue: #0094d5;
  --blue-dark: #0c3275;
  --blue-light: #e8f4fd;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f1f3;
  --gray-200: #d9dce1;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --font-heading: 'Bree Serif', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-width: 1140px;
  --section-padding: 5rem 1.5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
address { font-style: normal; }

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
  padding: 10rem 1.5rem 6rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
}

.hero-content { max-width: 720px; margin: 0 auto; }

.hero-logo {
  height: 100px;
  width: auto;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); background: #007ab8; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* ---- Services ---- */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- About ---- */
.about {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  max-width: 320px;
}

/* ---- FAQ ---- */
.faq {
  padding: var(--section-padding);
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.75rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-grid {
  max-width: 500px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item-text strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-item-text span {
  color: var(--gray-600);
  font-size: 0.95rem;
}


/* ---- Footer ---- */
.footer {
  padding: 3rem 1.5rem;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.8;
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer a { color: var(--blue); }
.footer a:hover { color: var(--white); }

/* ---- Policy Page ---- */
.policy-page {
  padding: 8rem 1.5rem 4rem;
  background: var(--white);
}

.policy-page .container {
  max-width: 780px;
}

.policy-page h1 {
  font-size: 2.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.policy-updated {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy-page h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-page h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.policy-page p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.policy-page ul {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.policy-page li {
  margin-bottom: 0.25rem;
}

.policy-page address p {
  margin-top: 0.5rem;
}

/* ---- Fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- One More AI Employee product pages ---- */
.page-afd .hero.afd-hero {
  padding: 7rem 1.5rem 4rem;
}

.afd-tiers-preview {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.afd-tiers-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.afd-tier-preview {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.afd-tier-preview--highlight {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0, 148, 213, 0.12);
}

.afd-tier-preview h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.afd-tier-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.afd-tier-price span {
  font-size: 1rem;
  color: var(--gray-600);
  font-family: var(--font-body);
}

.afd-tier-preview p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.afd-tiers {
  padding: 2rem 1.5rem 4rem;
  background: var(--white);
}

.afd-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1060px;
  margin: 0 auto;
}

.afd-tier-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-200);
  position: relative;
  display: flex;
  flex-direction: column;
}

.afd-tier-card--highlight {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 148, 213, 0.15);
}

.afd-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.afd-tier-card h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.afd-tier-tagline {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 2.6rem;
}

.afd-tier-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.afd-tier-features li {
  padding: 0.45rem 0;
  color: var(--gray-800);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
}

.afd-tier-features li:last-child {
  border-bottom: none;
}

.afd-tier-missing {
  color: var(--gray-600);
  opacity: 0.7;
}

.afd-tier-cta {
  width: 100%;
  text-align: center;
}

.afd-reasons {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.afd-reasons li {
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--white);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.afd-cta {
  background: var(--gray-50);
}

.afd-demo-form-placeholder {
  padding: 2.5rem;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: 12px;
  text-align: center;
  color: var(--gray-600);
}

.afd-demo-form-placeholder p {
  margin-bottom: 0.75rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 1rem;
  }
  .nav-toggle { display: block; }

  .hero { padding: 8rem 1.5rem 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .hero-logo { height: 60px; }

  .btn-outline { margin-left: 0; margin-top: 0.75rem; }

  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { order: -1; }

  :root { --section-padding: 3.5rem 1.5rem; }
}
