/*
Theme Name: PayBridge Cloud
Theme URI: https://paybridge-cloud.local
Author: ChatGPT & User
Author URI: https://openai.com
Description: A clean landing page + store theme for an online platform payment management company.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paybridge-cloud
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #0f172a;
  background-color: #f1f5f9;
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #e5e7eb;
}

.site-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.site-subtitle-small {
  font-size: 0.7rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.9rem;
  color: #d1d5db;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.header-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  border: none;
  color: #f9fafb;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-cta span {
  font-size: 1rem;
}

.mobile-nav-toggle {
  display: none;
}

.hero {
  background: radial-gradient(circle at top left, #4f46e5 0, #0f172a 38%, #020617 80%);
  color: #e5e7eb;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59,130,246,0.15), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero-kicker span.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero-title span.gradient {
  background: linear-gradient(135deg, #a5b4fc, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: #cbd5f5;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-primary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  border: none;
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.75);
}

.btn-secondary {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.65);
  color: #e5e7eb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.hero-meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

.hero-meta strong {
  color: #e5e7eb;
}

.hero-side {
  background: radial-gradient(circle at top, rgba(96,165,250,0.5), rgba(30,64,175,0.7));
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: 0 20px 50px rgba(15,23,42,0.9);
}

.hero-dashboard {
  background: rgba(15,23,42,0.95);
  border-radius: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(30,64,175,0.8);
}

.hero-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-dashboard-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-dashboard-label {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-chip {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(59,130,246,0.7);
  color: #bfdbfe;
}

.hero-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(30,64,175,0.9);
}

.metric-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.metric-trend.up {
  font-size: 0.7rem;
  color: #22c55e;
}

.metric-trend.down {
  font-size: 0.7rem;
  color: #f97316;
}

.hero-platforms {
  margin-top: 0.75rem;
}

.hero-platforms-title {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.hero-platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-platform-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #d1d5db;
}

.hero-platform-item img {
  width: 16px;
  height: 16px;
}

.hero-security {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-security-text {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-security-text strong {
  color: #e5e7eb;
}

.hero-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-pill {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.6);
  color: #cbd5f5;
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6366f1;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-text {
  font-size: 0.9rem;
  color: #6b7280;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.1rem;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #1f2937;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(96,165,250,0.18), transparent 55%);
  opacity: 0.85;
}

.feature-inner {
  position: relative;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.feature-tag {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #a5b4fc;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.why-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.why-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.why-points img {
  width: 16px;
  margin-top: 0.1rem;
}

.why-card {
  background: #020617;
  border-radius: 1.1rem;
  padding: 1.5rem;
  color: #e5e7eb;
  border: 1px solid #1f2937;
  box-shadow: 0 18px 40px rgba(15,23,42,0.65);
}

.why-stat {
  font-size: 2rem;
  font-weight: 700;
}

.why-label {
  font-size: 0.85rem;
  color: #9ca3af;
}

.why-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-header {
  margin-bottom: 1rem;
}

.pricing-name {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.pricing-chip {
  font-size: 0.75rem;
  color: #6366f1;
}

.pricing-price {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pricing-cycle {
  font-size: 0.8rem;
  color: #6b7280;
}

.pricing-body {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

.pricing-features {
  list-style: none;
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.pricing-features img {
  width: 14px;
  margin-top: 0.1rem;
}

.pricing-cta {
  text-align: center;
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.faq-answer {
  font-size: 0.88rem;
  color: #4b5563;
}

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* WooCommerce basics */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(15,23,42,0.04);
  border: 1px solid #e5e7eb;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  border: none;
  padding: 0.6rem 1.1rem;
  color: #f9fafb;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-steps,
  .features-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid rgba(148,163,184,0.7);
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
    color: #e5e7eb;
    font-size: 0.8rem;
    align-items: center;
    gap: 0.25rem;
  }

  .mobile-nav-open .main-nav {
    display: flex;
    position: absolute;
    right: 1.25rem;
    top: 3.1rem;
    flex-direction: column;
    background: #020617;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #1f2937;
  }
}
