/* ReCashbook landing — brand colors/fonts sourced from mobile/lib/core/constants/app_colors.dart */

@font-face {
  font-family: "Century";
  src: url("assets/fonts/Century-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNova";
  src: url("assets/fonts/ProximaNova-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNova";
  src: url("assets/fonts/ProximaNova-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-primary: #8C0104;
  --color-secondary: #1B2B42;
  --color-bg: #F5F5F5;
  --color-white: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-secondary: #000000;
  --color-hint: #999999;
  --color-divider: #E0E0E0;
  --font-heading: "Century", serif;
  --font-body: "ProximaNova", -apple-system, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0 0 16px;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 12px;
}

a {
  color: inherit;
}

ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.wordmark-text {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text);
}

.wordmark-re {
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary);
}

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

/* Hero */

.hero {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 96px 0;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero h1 {
  color: var(--color-white);
}

.hero-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 40px;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  cursor: default;
}

.store-badge-icon {
  width: 20px;
  height: 20px;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-white);
}

.section h2 {
  text-align: center;
  margin-bottom: 48px;
}

/* Steps */

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

.step {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin: 0;
}

/* Two column (for-buyers / for-business) */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.two-col h2 {
  text-align: left;
  margin-bottom: 24px;
}

.benefits-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--color-text-secondary);
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Contacts */

.contacts-lead {
  text-align: center;
  color: var(--color-hint);
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-white);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

.contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-icon-email {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
}

/* Footer */

.site-footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--color-white);
}

/* Responsive */

@media (max-width: 768px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  h1 {
    font-size: 30px;
  }

  .hero {
    padding: 64px 0;
  }

  .section {
    padding: 56px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 64px;
  }

  .wordmark-text {
    font-size: 18px;
  }

  .site-nav {
    display: none;
  }
}
