/* ==========================================================================
   AVEXORA AI — LIGHT MODE ENTERPRISE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fff7ed;
  --primary-glow: rgba(249, 115, 22, 0.18);
  --primary-subtle: rgba(249, 115, 22, 0.08);

  /* Backgrounds */
  --bg-body: #fafaf9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface: #f4f4f5;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Typography */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: #f1f5f9;
  --border-default: #e2e8f0;
  --border-focus: #f97316;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.10), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 12px 28px -6px rgba(249, 115, 22, 0.35);

  /* Geometry & Transition */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 100% 0%, rgba(249, 115, 22, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(249, 115, 22, 0.03) 0px, transparent 40%),
    linear-gradient(to bottom, #ffffff 0%, var(--bg-body) 600px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Glass Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.nav-item a {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-item a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: #cbd5e1;
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-portal {
  background: var(--text-main);
  color: #ffffff;
}

.btn-portal:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 960px;
  margin: 0 auto 24px;
  color: #0f172a;
}

.gradient-text {
  background: linear-gradient(135deg, #f97316 20%, #ea580c 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  color: var(--primary);
  display: flex;
}

/* Hero Showcase Card */
.hero-preview {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-default);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-dots span:nth-child(1) { background: #f87171; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #4ade80; }

.preview-address {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-default);
  padding: 4px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-content {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
}

.stat-widget {
  background: #ffffff;
  border: 1px solid var(--border-default);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-widget:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-md);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.widget-title {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.widget-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
}

.widget-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.widget-desc {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Solutions Section */
.solutions {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249, 115, 22, 0.4);
}

.solution-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
  background: radial-gradient(circle at 100% 0%, var(--primary-light) 0%, #ffffff 60%);
}

.featured-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.solution-text {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-features {
  list-style: none;
  margin-bottom: 24px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 8px;
}

.check-bullet {
  color: var(--primary);
  font-size: 1rem;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.solution-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* AvexHRM Spotlight Section */
.hrm-spotlight {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 0%, #fff7ed 0%, var(--bg-body) 70%);
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.spotlight-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.spotlight-info p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.spotlight-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
}

.spotlight-visual {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.terminal-title {
  font-size: 0.75rem;
  font-family: monospace;
  color: #94a3b8;
}

.terminal-body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.825rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.term-green { color: #4ade80; }
.term-orange { color: #fb923c; }
.term-cyan { color: #38bdf8; }

/* Process Section */
.process {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-default);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-body);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(249, 115, 22, 0.3);
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Metrics Section */
.metrics-banner {
  padding: 70px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item h3 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-item h3 span {
  color: var(--primary);
}

.metric-item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
}

/* FAQ Accordion */
.faq {
  padding: 100px 0;
  background: var(--bg-body);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 26px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* CTA Banner */
.cta-banner {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-default);
}

.cta-box {
  background: radial-gradient(circle at 100% 0%, #fff7ed 0%, #ffffff 80%);
  border: 2px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-default);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #15803d;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
  }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.35rem; }
  .preview-content { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
