/* AvSight Intelligence Product Tour Prototype - CSS */

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

:root {
  --blue: #2f5fa3;
  --cyan: #46bce8;
  --dark: #090c08;
  --light-bg: #f0fafc;
  --muted: #808291;
  --white: #ffffff;
  --orange-hover: #a45100;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  font-size: 17px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--cyan); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  display: block;
}

.nav-menu a:hover { color: var(--orange-hover); }
.nav-menu a.active { color: var(--blue); border-bottom: 2px solid var(--cyan); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 0;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.nav-menu > li:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  text-transform: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 24px;
  letter-spacing: 0;
}

.nav-dropdown a:hover { background: var(--light-bg); }
.nav-dropdown a.dropdown-active { color: var(--blue); font-weight: 600; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  text-transform: none !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--cyan) !important; color: var(--white) !important; }

/* Hero Section */
.hero {
  padding: 140px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--dark);
}

.hero .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--cyan);
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: 22px;
  color: #444;
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.5;
}

.hero .description {
  font-size: 17px;
  color: #555;
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--cyan); }

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-left: 16px;
  transition: all 0.2s;
}

.btn-secondary:hover { background: var(--blue); color: var(--white); }

/* Sections */
.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background: var(--light-bg);
}

.section-alt .section {
  padding: 80px 40px;
}

.section-full {
  padding: 80px 40px;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section h2 + .accent-bar {
  margin-bottom: 24px;
}

.section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 40px;
  margin-bottom: 12px;
}

.section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.section p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #333;
}

.section ul, .section ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--cyan);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--light-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #444;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

th {
  background: var(--blue);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 15px;
}

tr:hover { background: var(--light-bg); }

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(47, 95, 163, 0.12);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.feature-card p {
  font-size: 15px;
  color: #555;
}

/* Role Cards (AI for Every Team) */
.role-card {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.role-card h3 {
  margin-top: 0;
  color: var(--blue);
}

.role-card .your-day {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 16px;
}

.role-card .shift {
  background: var(--light-bg);
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 16px;
  font-weight: 600;
}

/* Step Flow */
.step-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-content h4 { margin-top: 4px; }

/* Comparison Table */
.comparison-table td:first-child {
  background: #fef3f0;
  color: #a44;
  font-weight: 500;
}

.comparison-table td:last-child {
  background: #f0fef3;
  color: #2a7;
  font-weight: 500;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tag-live { background: #e6f9e6; color: #1a7a1a; }
.tag-soon { background: #fff3e0; color: #b36b00; }
.tag-april { background: #fff3e0; color: #b36b00; }
.tag-coming { background: #e8e8f8; color: #555; }

/* Sub-navigation for product tour pages */
.page-subnav {
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  padding: 0 40px;
  margin-top: 72px;
  position: sticky;
  top: 72px;
  z-index: 999;
}

.subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.subnav-inner a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.subnav-inner a:hover { color: var(--blue); }
.subnav-inner a.active { color: var(--blue); border-bottom-color: var(--cyan); }

/* CTA Section */
.cta-section {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 80px 40px;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 32px; }

.cta-section .btn-primary {
  background: var(--cyan);
}

.cta-section .btn-primary:hover { background: var(--white); color: var(--blue); }

.cta-section .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-secondary:hover { background: var(--white); color: var(--blue); }

/* Footer */
footer {
  background: #1a1a2e;
  color: var(--muted);
  padding: 60px 40px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Stat Callout Banner */
.stat-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3d6e 100%);
  color: var(--white);
  padding: 48px 40px;
  text-align: center;
}

.stat-banner-inner {
  max-width: 900px;
  margin: 0 auto;
}

.stat-banner .stat-number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--cyan);
}

.stat-banner .stat-label {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.stat-banner .stat-detail {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.stat-banner .stat-placeholder {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  margin-left: 8px;
  vertical-align: middle;
}

/* Prototype badge */
.proto-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6b35;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .subnav-inner { gap: 0; }
  .subnav-inner a { padding: 14px 12px; font-size: 13px; }
}
