/* ===== VALIX: QUICKBOOKS ONLINE REPLICA (PURPLE THEME) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


:root {
  --valix-purple: #7c3aed;
  --valix-purple-hover: #6d28d9;
  --valix-purple-glow: rgba(124, 58, 237, 0.3);
  --bg-white: #0a0a0f;
  --bg-light: #12121a;
  --text-dark: #ffffff;
  --text-gray: #a1a1aa;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}


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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white); color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--valix-purple);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--valix-purple-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px; /* QBO uses pill buttons heavily now */
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--valix-purple);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: var(--valix-purple-dark);
  color: var(--bg-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: #d4d7dc;
}
.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-dark);
}

.btn.large {
  padding: 16px 32px;
  font-size: 1.125rem;
}
.btn.block {
  width: 100%;
}

/* --- TOP NAVIGATION --- */
.global-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-img {
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
}
.nav-links a:hover {
  color: var(--valix-purple);
}

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

.sign-in-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
}

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0 60px;
  background: var(--bg-white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.ui-mockup-frame {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

/* --- STATS / TRUST BAR --- */
.stats-bar {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* --- PRICING SECTION --- */
.pricing {
  padding: 80px 0;
  background: var(--bg-light); /* QBO uses a light gray background for pricing */
}

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.toggle-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.125rem;
  position: relative;
}
.discount-pill {
  position: absolute;
  top: -24px;
  right: -30px;
  background: #2ca01c; /* Intuit Green for the discount flag */
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d4d7dc;
  transition: .3s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
input:checked + .slider {
  background-color: var(--valix-purple);
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: flex-end; /* Align bottoms */
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--valix-purple);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  transform: translateY(-8px);
}

.popular-banner {
  background: var(--valix-purple);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px 6px 0 0;
}

.card-top {
  padding: 32px 32px 0;
}

.card-top h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-block {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 4px;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: var(--text-gray);
  margin-left: 4px;
}

.billing-freq {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.card-action {
  padding: 0 32px 32px;
  border-bottom: 1px solid var(--border-color);
}

.card-features {
  padding: 32px;
  flex: 1;
}

.card-features p {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--valix-purple);
  margin-right: 12px;
  flex-shrink: 0;
}

/* --- INTEGRATIONS BANNER --- */
.integrations-banner {
  background: var(--bg-white);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.integrations-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.integrations-banner p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-strip img {
  height: 40px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- FEATURE SECTIONS --- */
.feature-row {
  padding: 80px 0;
  background: var(--bg-white);
}

.feature-row:nth-child(even) {
  background: var(--bg-light);
}

.feature-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row.reverse .feature-row-grid {
  direction: rtl;
}

.feature-row.reverse .feature-content {
  direction: ltr;
}

.feature-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 500;
}

.check-list li svg {
  width: 24px;
  height: 24px;
  color: var(--valix-purple);
  margin-right: 12px;
}

.feature-visual .ui-mockup-frame {
  aspect-ratio: 4/3;
  background: var(--bg-white);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-white);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.link-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.link-col a {
  display: block;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.link-col a:hover {
  color: var(--valix-purple);
}

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

.footer-legal a {
  color: var(--text-gray);
  margin-left: 16px;
}

@media (max-width: 968px) {
  .hero-grid, .feature-row-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.reverse .feature-row-grid {
    direction: ltr;
  }
  .stats-grid {
    flex-wrap: wrap;
  }
}

/* Framework Tabs */
.framework-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.fw-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
}
.fw-btn:hover {
  border-color: var(--valix-purple);
  color: var(--valix-purple);
}
.fw-btn.active {
  background: var(--valix-purple);
  color: white;
  border-color: var(--valix-purple);
}

/* Strike Price Styling */
.price-stack {
  display: flex;
  flex-direction: column;
  margin-left: 4px;
}
.strike-price {
  font-size: 1.125rem;
  color: #8c9096;
  text-decoration: line-through;
  margin-bottom: -4px;
  font-weight: 600;
}

.qbo-cross {
  color: #8c9096;
  font-weight: bold;
  margin-right: 12px;
}
.feature-list li.disabled {
  color: #8c9096;
}
.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
.employee-badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 16px;
  border: 1px solid var(--border-color);
}

.hero-kicker {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
  margin-bottom: 16px !important;
}

.hero-punchy {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 800;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.01em;
}

.hero-stats-cluster {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.h-stat {
  display: flex;
  flex-direction: column;
}

.h-stat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.h-stat-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.hero-footer-text {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: var(--text-dark) !important;
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: inline-block;
}

.btn-primary {
  background: var(--valix-purple);
  color: white;
  box-shadow: 0 4px 14px var(--valix-purple-glow);
}
.btn-primary:hover {
  background: var(--valix-purple-hover);
  box-shadow: 0 6px 20px var(--valix-purple-glow);
  transform: translateY(-1px);
}
.pricing-card {
  background: var(--bg-white);
  border-color: var(--border-color);
}
.pricing-card:hover {
  border-color: var(--valix-purple);
  box-shadow: 0 8px 30px var(--valix-purple-glow);
}
.strength-section div[style*="background: var(--bg-light)"] {
  border-color: var(--border-color) !important;
}
.strength-section div[style*="background: var(--bg-light)"]:hover {
  border-color: var(--valix-purple) !important;
  box-shadow: 0 8px 30px var(--valix-purple-glow);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.logo-strip img { filter: brightness(0) invert(1) opacity(0.7); transition: opacity 0.2s; }
.logo-strip img:hover { opacity: 1; }


/* --- HERO SECTION (APPLE POLISH) --- */
.hero {
  padding: 120px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.08) 0%, var(--bg-white) 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-gray);
  letter-spacing: 0.15em;
  margin-bottom: 20px !important;
  background: linear-gradient(90deg, #a1a1aa, #52525b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-punchy {
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 700;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.04em;
  color: #ffffff;
  /* Apple style gradient text */
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: #86868b; /* Classic Apple gray */
  margin-bottom: 40px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 95%;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

/* Premium Apple-esque Glass Mockup */
.ui-mockup-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ui-mockup-frame:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Add a subtle internal top highlight to the glass */
.ui-mockup-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  z-index: 10;
}

/* --- QBO STYLE HERO STATS BAR --- */
.hero-stats-bar {
  margin-top: 80px;
  background: rgba(255, 255, 255, 0.03); /* subtle dark glass */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 32px 40px;
  gap: 40px;
  backdrop-filter: blur(10px);
}

.hero-stat-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-val {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}

.hero-stat-desc {
  font-size: 0.875rem;
  color: #86868b;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .hero-stat-block:not(:last-child)::after {
    display: none;
  }
  .hero-stat-block:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
  }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.integration-logo {
  height: 48px;
  width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.integration-logo:hover {
  transform: scale(1.1);
}

/* Light Theme Wrapper */
.light-theme-wrapper {
  background: #ffffff;
  color: #111827;
}
.light-theme-wrapper section {
  background: transparent !important;
  border-color: #e5e7eb !important;
}
.light-theme-wrapper h2, 
.light-theme-wrapper h3, 
.light-theme-wrapper h4,
.light-theme-wrapper .feature-content h2,
.light-theme-wrapper .strength-section h2,
.light-theme-wrapper .strength-section h3 {
  color: #111827 !important;
}
.light-theme-wrapper p, 
.light-theme-wrapper .check-list li,
.light-theme-wrapper .strength-section p {
  color: #4b5563 !important;
}
/* Overriding specific inline styles */
.light-theme-wrapper [style*="color: #ffffff"],
.light-theme-wrapper [style*="color: var(--text-dark)"] {
  color: #111827 !important;
}
.light-theme-wrapper [style*="color: var(--text-gray)"],
.light-theme-wrapper [style*="color: #86868b"] {
  color: #6b7280 !important;
}
/* Cards and grids */
.light-theme-wrapper .strength-section > .container > div:last-child > div {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.light-theme-wrapper .testimonial-grid > div {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.light-theme-wrapper .testimonial-grid > div > div[style*="color: rgba(124, 58, 237, 0.15)"] {
  color: rgba(124, 58, 237, 0.1) !important;
}
