/* ===================================================
   Paymoco Website — Main Stylesheet
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:      #ff7a13;
  --color-primary-dark: #e76800;
  --color-primary-light:#ffa15b;
  --color-accent:       #123a7a;
  --color-bg:           #ffffff;
  --color-bg-alt:       #fff8f2;
  --color-bg-dark:      #0f2f66;
  --color-text:         #142f5f;
  --color-text-muted:   #5e6c83;
  --color-border:       #e5e7eb;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(18,58,122,.12);
  --shadow-lg:  0 12px 40px rgba(18,58,122,.18);
  --transition: 0.25s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(255,122,19,.12);
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.highlight {
  color: var(--color-primary);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn--full { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.navbar__logo-img {
  display: block;
  height: 36px;
  width: auto;
}
.logo-pay  { color: var(--color-primary); }
.logo-moco { color: var(--color-text); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.navbar__links a:hover { color: var(--color-primary); }
.navbar__links .btn { padding: 9px 22px; font-size: .9rem; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d234f 0%, #123a7a 52%, #ff7a13 120%);
  padding-top: var(--nav-height);
}

.hero__bg-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,122,19,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(18,58,122,.28) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,122,19,.2);
  border: 1px solid rgba(255,161,91,.55);
  color: #ffe0c7;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,.7);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
}
.partner-link {
  color: #ffd4ad;
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--transition);
}
.partner-link:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats {
  background: var(--color-bg-dark);
  padding: 64px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.stat-card__label {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* ---------- Services ---------- */
.services { background: var(--color-bg-alt); }

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(91,33,247,.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content .section-title { text-align: left; }
.about__content .section-tag   { text-align: left; }

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about__content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.about__list svg {
  width: 18px; height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about__card {
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.about__card--main {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ffae73 100%);
  color: #fff;
  width: 100%;
  max-width: 320px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about__card-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.about__card-logo .logo-pay  { color: #fff; }
.about__card-logo .logo-moco { color: rgba(255,255,255,.75); }
.about__card--main p { color: rgba(255,255,255,.8); font-size: .9375rem; }

.about__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 12px;
}

.about__card--sub {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--color-text-muted);
}
.about__card--sub strong { color: var(--color-primary); font-weight: 700; }

/* ---------- How It Works ---------- */
.how-it-works { background: var(--color-bg-alt); }

.steps__grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-card__connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  flex-shrink: 0;
}

.step-card__number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,122,19,.16);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---------- Payment Methods ---------- */
.methods__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.method-pill {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
  cursor: default;
}
.method-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(255,122,19,.18);
}

/* ---------- Contact ---------- */
.contact { background: var(--color-bg-alt); }

.contact__form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b7c3; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,122,19,.22);
}
.form-group input.error { border-color: #ef4444; }

.contact__form .form-group { margin-bottom: 20px; }
.contact__form .btn--full { margin-top: 8px; }

.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: .875rem;
  min-height: 20px;
  transition: color var(--transition);
}
.form-note.success { color: var(--color-accent); }
.form-note.error   { color: #ef4444; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand .navbar__logo { display: inline-block; margin-bottom: 14px; }
.footer__brand .navbar__logo-img { height: 32px; }
.footer__brand .logo-pay  { color: var(--color-primary-light); }
.footer__brand .logo-moco { color: #fff; }
.footer__brand p { font-size: .9rem; line-height: 1.6; }
.footer__brand a { color: var(--color-primary-light); text-decoration: underline; }

.footer__col h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 2px; }
.footer__col a {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .navbar__logo-img { height: 30px; }

  /* Navbar mobile */
  .navbar__links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .navbar__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    text-align: center;
  }
  .navbar__links a:last-child { border-bottom: none; margin-top: 12px; }
  .navbar__burger { display: flex; }

  /* Hero */
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  /* Stats */
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps__grid { flex-direction: column; }
  .step-card__connector { width: 2px; height: 40px; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 32px 24px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .navbar__logo-img { height: 26px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.2rem; }
  .section-title { font-size: 1.75rem; }
}
