/* ========================================
   SmartCash Marketing Site — styles.css
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --gold: #fbbf24;
  --green: #16a34a;
  --red: #ef4444;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-full { width: 100%; padding: 14px 24px; font-size: 0.95rem; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--orange);
  color: var(--white);
  border-radius: 9px;
  font-weight: 800;
  font-size: 1rem;
}

.logo-text { color: var(--gray-900); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gray-900); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  padding: 140px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Dashboard mockup */
.hero-image { max-width: 900px; margin: 0 auto; }

.browser-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.browser-dots {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gray-200);
}

.browser-content { padding: 24px; }

.dashboard-mock { display: flex; flex-direction: column; gap: 20px; }

.mock-header { display: flex; align-items: center; gap: 12px; }
.mock-title-line { width: 180px; height: 14px; background: var(--gray-200); border-radius: 4px; }
.mock-subtitle-line { width: 120px; height: 10px; background: var(--gray-100); border-radius: 4px; margin-top: 6px; }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.mock-kpi {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.mock-kpi-label { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.mock-kpi-value { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin: 4px 0 2px; }
.mock-kpi-value.green { color: var(--green); }
.mock-kpi-change { font-size: 0.75rem; font-weight: 600; }
.mock-kpi-change.up { color: var(--green); }
.mock-kpi-change.down { color: var(--red); }

.mock-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.mock-chart {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.mock-chart-title { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; }
.mock-chart-svg { width: 100%; height: 70px; }

/* --- Social Proof --- */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.proof-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proof-item strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
}

.proof-item span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* --- Problem / Solution --- */
.problem-section { padding: 80px 0; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card, .solution-card {
  padding: 36px;
  border-radius: var(--radius-lg);
}

.problem-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.solution-card {
  background: var(--orange-light);
  border: 1px solid #fed7aa;
}

.problem-icon, .solution-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.problem-icon svg { color: var(--gray-400); }
.solution-icon svg { color: var(--orange); }

.problem-card h3, .solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.problem-list, .solution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-list li, .solution-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray-600);
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}

.solution-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* --- Features --- */
.features-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-light);
  border-radius: 10px;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-section { padding: 80px 0; }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
}

.step-arrow svg {
  width: 28px;
  height: 28px;
  color: var(--gray-300);
}

/* --- Pricing --- */
.pricing-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  transition: all 0.2s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-tier {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
}

.currency { font-size: 1.6rem; vertical-align: super; }
.cents { font-size: 1.6rem; }
.period { font-size: 0.9rem; font-weight: 500; color: var(--gray-400); }

.price-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.price-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
}

/* --- FAQ --- */
.faq-section { padding: 80px 0; }

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-800);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '-';
  color: var(--orange);
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* --- CTA --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--gray-900);
  color: var(--white);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Footer --- */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--gray-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gray-400);
  max-width: 260px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    gap: 16px;
  }

  .nav-links.open { display: flex; }
  .nav .btn-sm { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero { padding: 110px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }

  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-charts { grid-template-columns: 1fr; }

  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .proof-divider { display: none; }
  .proof-items { gap: 24px; }
}

@media (max-width: 480px) {
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpi-value { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
