/* Landing Page Styles */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #0ea5e9;
  --accent: #10b981;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo svg { width: 40px; height: 40px; stroke: var(--primary); }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--gray); font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.875rem; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: transparent; color: var(--dark); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--light); }
.btn-large { padding: 14px 28px; font-size: 1rem; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }

/* Hero */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 50%, #f0fdf4 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero-content h1 span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.25rem; color: var(--gray); margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.trust-badges { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.875rem; }
.trust-badge svg { width: 20px; height: 20px; color: var(--accent); }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }

/* Platform Overview */
.platform-overview { padding: 80px 0; background: white; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.platform-card { padding: 40px 32px; border-radius: 16px; background: var(--light); border: 1px solid var(--border); text-align: center; transition: all 0.3s; }
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.platform-icon { width: 72px; height: 72px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.platform-icon svg { width: 36px; height: 36px; color: white; }
.platform-icon.accounting { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.platform-icon.payroll { background: linear-gradient(135deg, #059669, #10b981); }
.platform-icon.hr { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.platform-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.platform-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.platform-link { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.platform-link:hover { color: var(--primary-dark); }

/* Features */
.features { padding: 100px 0; }
.features-alt { padding: 100px 0; background: var(--light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; color: var(--gray); max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { padding: 32px; border-radius: 16px; background: white; border: 1px solid var(--border); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon svg { width: 24px; height: 24px; color: white; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* Pricing */
.pricing { padding: 100px 0; background: var(--light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pricing-card { background: white; border-radius: 16px; padding: 40px; border: 1px solid var(--border); position: relative; }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(79,70,229,0.15); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 3rem; font-weight: 700; margin: 20px 0; }
.pricing-card .price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-card .description { color: var(--gray); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card li { padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.pricing-card li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* Differentiators */
.differentiators { padding: 100px 0; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); color: white; }
.differentiators .section-header h2 { color: white; }
.differentiators .section-header p { color: rgba(255,255,255,0.8); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.diff-card { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 40px; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.diff-badge { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.diff-card h3 { font-size: 1.75rem; margin-bottom: 12px; }
.diff-lead { font-size: 1.125rem; color: rgba(255,255,255,0.9); margin-bottom: 24px; line-height: 1.6; }
.diff-list { list-style: none; }
.diff-list li { padding: 8px 0; padding-left: 28px; position: relative; color: rgba(255,255,255,0.85); }
.diff-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }

/* How It Works */
.how-it-works { padding: 100px 0; background: var(--light); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 24px; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step-card h3 { font-size: 1.125rem; margin-bottom: 12px; }
.step-card p { color: var(--gray); font-size: 0.95rem; }

/* Social Proof / Stats */
.social-proof { padding: 80px 0; background: white; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 800px; margin: 0 auto; }
.stat-card { text-align: center; padding: 32px; }
.stat-number { font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.stat-label { color: var(--gray); font-size: 1rem; font-weight: 500; }

/* CTA */
.cta { padding: 100px 0; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; text-align: center; }
.cta h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-primary { background: white; color: var(--primary); }
.cta .btn-primary:hover { background: var(--light); }

/* Footer */
.footer { padding: 60px 0 30px; background: var(--dark); color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 300px; }
.footer h4 { margin-bottom: 20px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.5); font-size: 0.875rem; }

/* Mobile */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; max-width: 600px; }
  .hero-actions { justify-content: center; }
  .trust-badges { justify-content: center; }
  .hero-image { order: -1; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .logo svg {
    width: 30px;
    height: 30px;
  }
  .nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 10px;
  }
  .nav a {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .mobile-menu-btn { display: none; }
  .header-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
  }
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .hero-content h1 { font-size: 2.5rem; }
  .features-grid, .pricing-grid, .platform-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-card { padding: 20px; }
  .stat-number { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
