/*
Theme Name: Paytripe
Theme URI: https://paytripe.com
Author: Paytripe
Author URI: https://paytripe.com
Description: Paytripe one-page business theme. Payment solutions powered by Stripe infrastructure. Activate the theme and the site is ready — no page setup required.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paytripe
Tags: one-column, custom-logo, custom-menu, business
*/

/* =========================================================
   Paytripe — Stripe-inspired design system
   ========================================================= */
:root {
  --pt-purple: #5b1fe8;
  --pt-purple-bright: #7a3bff;
  --pt-purple-soft: #efeaff;
  --pt-navy: #0a2540;
  --pt-slate: #425466;
  --pt-light: #f6f9fc;
  --pt-white: #ffffff;
  --pt-green: #00d924;
  --pt-radius: 16px;
  --pt-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
  --pt-shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.14);
  --pt-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--pt-font);
  color: var(--pt-slate);
  background: var(--pt-white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--pt-purple); text-decoration: none; }
a:hover { color: var(--pt-purple-bright); }

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

h1, h2, h3, h4 { color: var(--pt-navy); line-height: 1.2; font-weight: 800; }

.pt-eyebrow {
  display: inline-block;
  color: var(--pt-purple);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pt-section { padding: 96px 0; }
.pt-section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.pt-section-lead { font-size: 19px; max-width: 640px; margin-bottom: 48px; }

/* ---------- Header ---------- */
.pt-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}
.pt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.pt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-brand svg { height: 34px; width: auto; display: block; }
.pt-brand-name {
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  color: var(--pt-purple);
  letter-spacing: -0.02em;
}
.pt-nav { display: flex; align-items: center; gap: 32px; }
.pt-nav a {
  color: var(--pt-navy);
  font-weight: 600;
  font-size: 15.5px;
  transition: color 0.15s ease;
}
.pt-nav a:hover { color: var(--pt-purple); }
.pt-nav .pt-btn { color: #fff; }

/* ---------- Buttons ---------- */
.pt-btn {
  display: inline-block;
  background: var(--pt-purple);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(91, 31, 232, 0.35);
}
.pt-btn:hover {
  background: var(--pt-purple-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(91, 31, 232, 0.45);
}
.pt-btn-ghost {
  background: transparent;
  color: var(--pt-purple);
  box-shadow: inset 0 0 0 2px var(--pt-purple);
}
.pt-btn-ghost:hover { background: var(--pt-purple-soft); color: var(--pt-purple); box-shadow: inset 0 0 0 2px var(--pt-purple); transform: none; }
.pt-btn-white {
  background: #fff;
  color: var(--pt-purple);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
}
.pt-btn-white:hover { background: #f3f0ff; color: var(--pt-purple); }

/* ---------- Hero ---------- */
.pt-hero {
  position: relative;
  padding: 190px 0 150px;
  overflow: hidden;
  color: #fff;
}
.pt-hero-bg {
  position: absolute;
  inset: -20% -10% 8% -10%;
  background: linear-gradient(120deg, #3b0aa8 0%, #5b1fe8 45%, #8b5cf6 75%, #b794ff 100%);
  transform: skewY(-6deg);
  transform-origin: top left;
  z-index: -1;
}
.pt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(0, 217, 36, 0.12), transparent 50%);
}
.pt-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 22px;
}
.pt-hero p.pt-hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}
.pt-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.pt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 26px;
}
.pt-hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pt-green);
  box-shadow: 0 0 8px var(--pt-green);
}

/* ---------- Services ---------- */
.pt-services { background: var(--pt-white); }
.pt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pt-card {
  background: #fff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--pt-radius);
  padding: 34px 30px;
  box-shadow: var(--pt-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-card:hover { transform: translateY(-5px); box-shadow: var(--pt-shadow-lg); }
.pt-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pt-purple-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.pt-card-icon svg { width: 26px; height: 26px; stroke: var(--pt-purple); }
.pt-card h3 { font-size: 20px; margin-bottom: 10px; }
.pt-card p { font-size: 15.5px; }

/* ---------- How it works ---------- */
.pt-how { background: var(--pt-light); }
.pt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.pt-step {
  background: #fff;
  border-radius: var(--pt-radius);
  padding: 34px 30px;
  box-shadow: var(--pt-shadow);
  position: relative;
}
.pt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pt-purple);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}
.pt-step h3 { font-size: 19px; margin-bottom: 10px; }
.pt-step p { font-size: 15.5px; }

/* ---------- Security ---------- */
.pt-security {
  background: var(--pt-navy);
  color: #adbdcc;
}
.pt-security .pt-section-title { color: #fff; }
.pt-security .pt-eyebrow { color: var(--pt-purple-bright); }
.pt-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.pt-security-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pt-radius);
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.03);
}
.pt-security-item h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.pt-security-item p { font-size: 15px; }
.pt-security-item svg { width: 28px; height: 28px; stroke: var(--pt-purple-bright); margin-bottom: 16px; }

/* ---------- About ---------- */
.pt-about { background: var(--pt-white); }
.pt-about-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.pt-about-facts {
  background: var(--pt-light);
  border-radius: var(--pt-radius);
  padding: 34px 32px;
}
.pt-about-facts dt {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pt-purple);
  margin-top: 18px;
}
.pt-about-facts dt:first-child { margin-top: 0; }
.pt-about-facts dd { color: var(--pt-navy); font-weight: 600; }

/* ---------- Contact ---------- */
.pt-contact { background: var(--pt-light); text-align: center; }
.pt-contact .pt-section-lead { margin-left: auto; margin-right: auto; }
.pt-contact-email {
  display: inline-block;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  color: var(--pt-purple);
  margin: 8px 0 20px;
}
.pt-contact-address { font-size: 16px; color: var(--pt-slate); }

/* ---------- Footer ---------- */
.pt-footer {
  background: var(--pt-navy);
  color: #8898aa;
  padding: 56px 0 40px;
  font-size: 14.5px;
}
.pt-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}
.pt-footer .pt-brand-name { color: #fff; }
.pt-footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.pt-footer-nav a { color: #adbdcc; font-weight: 600; }
.pt-footer-nav a:hover { color: #fff; }
.pt-footer-legal p { margin-bottom: 6px; }
.pt-footer-legal strong { color: #cfd7df; }

/* ---------- WordPress niceties ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
}
.pt-page-content { padding: 140px 0 80px; }
.pt-page-content h1 { margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pt-grid, .pt-steps, .pt-security-grid { grid-template-columns: 1fr 1fr; }
  .pt-about-box { grid-template-columns: 1fr; gap: 36px; }
  .pt-nav { gap: 20px; }
  .pt-nav a:not(.pt-btn) { display: none; }
}
@media (max-width: 600px) {
  .pt-grid, .pt-steps, .pt-security-grid { grid-template-columns: 1fr; }
  .pt-section { padding: 68px 0; }
  .pt-hero { padding: 150px 0 110px; }
}
