/* Flovmo Front-End Design System (Vanilla CSS - Light Theme) */

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --accent-gold: #b45309;
  --accent-gold-glow: rgba(180, 83, 9, 0.08);
  --accent-indigo: #4f46e5;
  --accent-indigo-hover: #3730a3;
  --accent-indigo-glow: rgba(79, 70, 229, 0.08);
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.08);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

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

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}

/* Glowing radials background blur */
.radial-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.blur-indigo {
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(79, 70, 229, 0) 70%);
  width: 500px;
  height: 500px;
}

.blur-emerald {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, rgba(5, 150, 105, 0) 70%);
  width: 450px;
  height: 450px;
}

/* Header & Sticky Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -5px rgba(0,0,0,0.05);
  height: 90px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 76px;
  max-height: 76px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-indigo);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-nav-toggle:hover, .mobile-nav-toggle:active {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 105px;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - 105px);
  background-color: var(--bg-surface);
  z-index: 9999;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

header.scrolled ~ .mobile-nav-drawer {
  top: 90px;
  height: calc(100vh - 90px);
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: var(--radius-md);
}

/* Responsive Header */
@media (max-width: 900px) {
  .nav-links, .nav-ctas {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-color-hover);
}

.btn-link {
  background: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 8px 16px;
}

.btn-link:hover {
  color: var(--text-primary);
}

.btn-glow-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a16207 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.2);
}

.btn-glow-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--accent-gold) 100%);
  transform: translateY(-1px);
}

/* Announcement Pill */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-indigo);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  transition: var(--transition);
}

.announcement-pill:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  display: inline-block;
  position: relative;
}

.pill-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  opacity: 0.4;
  animation: ping 1.5s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Card Styles */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.card-icon.indigo {
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--accent-indigo);
}

.card-icon.emerald {
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.15);
  color: var(--accent-emerald);
}

.card-icon.gold {
  background: rgba(180, 83, 9, 0.06);
  border: 1px solid rgba(180, 83, 9, 0.15);
  color: var(--accent-gold);
}

.card:hover .card-icon {
  transform: scale(1.05);
}

.card:hover .card-icon.indigo { background: var(--accent-indigo); color: #fff; }
.card:hover .card-icon.emerald { background: var(--accent-emerald); color: #fff; }
.card:hover .card-icon.gold { background: var(--accent-gold); color: #fff; }

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-wrapper {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-wrapper {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .pricing-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .pricing-card {
    padding: 24px 16px !important;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  width: 100%;
  min-width: 0;
}

.pricing-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.pricing-card.premium {
  border: 2px solid var(--accent-indigo);
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.08);
}

.pricing-card.premium:hover {
  box-shadow: 0 25px 30px -5px rgba(79, 70, 229, 0.12);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #6366f1 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-header h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin: 16px 0;
  display: flex;
  align-items: baseline;
}

.price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.pricing-features {
  margin-top: 32px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
}

.pricing-features li svg {
  color: var(--accent-indigo);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ROI Banner class */
.roi-banner {
  max-width: 900px;
  margin: 48px auto 0;
  background: rgba(16, 185, 129, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .roi-banner {
    padding: 16px 20px;
    gap: 12px;
    border-radius: var(--radius-md);
  }
  .roi-banner span {
    font-size: 13px !important;
  }
}

/* Footer Section */
footer {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-logo img {
  height: 76px;
  max-height: 76px;
  width: auto;
  margin-bottom: 16px;
}

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

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column ul li a {
  display: inline-block;
  padding: 6px 0;
  min-height: 40px;
  line-height: 28px;
}

.footer-column a:hover {
  color: var(--accent-indigo);
}

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

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Simulator Grid Layout */
.simulator-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Simulator Kanban Columns */
.simulator-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .simulator-columns {
    display: flex !important;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .simulator-columns > div {
    flex: 0 0 280px !important;
    scroll-snap-align: start;
    min-height: 220px !important;
  }
}

/* Simulator Horizontal Timeline */
.simulator-timeline {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

@media (max-width: 500px) {
  .simulator-timeline {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 16px;
    column-gap: 8px;
  }
}

/* Form Controls & Inputs (Contact Page & Lead Intake Forms) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: #ffffff;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Legal Documents & Content Spacing (Privacy Policy, Terms of Service) */
.legal-content {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-content p {
  margin-bottom: 22px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-content li strong {
  color: var(--text-primary);
}

.legal-content code {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--accent-indigo);
  font-family: monospace;
}

