/* ==========================================
   PayATH Landing — Core Styles
   Modern dark hero, bold type, ATH orange
   accent, clean whites, polished UI/UX
   ========================================== */
:root {
  --orange: #E8430A;
  --orange-light: #FF6B35;
  --orange-glow: rgba(232, 67, 10, 0.15);
  --green: #2E7D32;
  --green-light: #43B369;
  --dark: #0A0A0A;
  --dark2: #111111;
  --dark3: #1A1A1A;
  --text: #1A1A2E;
  --text-light: #5A5A6E;
  --bg: #F8F9FB;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }

/* NAV */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
#nav.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; padding-top: 4px; }
.nav-logo .nav-logo-img { height: 36px; width: auto; max-width: none; object-fit: contain; object-position: left center; }
#nav.scrolled .nav-logo .nav-logo-img { filter: brightness(0); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
#nav.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--white); }
#nav.scrolled .nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-pill { display: flex; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; overflow: hidden; cursor: pointer; padding: 0; }
#nav.scrolled .lang-pill { background: var(--bg); border-color: #ddd; }
.lang-opt { padding: 6px 14px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); transition: all .2s; font-family: inherit; }
.lang-opt.active { background: var(--orange); color: var(--white); border-radius: 20px; }
#nav.scrolled .lang-opt { color: var(--text-light); }
#nav.scrolled .lang-opt.active { color: var(--white); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--white); position: absolute; left: 0; transition: .3s; }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
#nav.scrolled .nav-burger span { background: var(--text); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: var(--orange); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, opacity .15s; white-space: nowrap; }
.btn:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,67,10,0.3); }
.btn--sm { padding: 8px 20px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius); }
.btn--outline { background: transparent; border: 2px solid rgba(255,255,255,.3); color: var(--white); }
.btn--outline:hover { border-color: var(--white); box-shadow: none; }
.btn--outline-dark { background: transparent; border: 2px solid #ddd; color: var(--text); }
.btn--outline-dark:hover { border-color: var(--text); box-shadow: none; }
.btn--full { width: 100%; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--dark); overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(232,67,10,.1) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(255,107,53,.06) 0%, transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { color: var(--white); }
.hero-badge { display: inline-block; background: var(--orange-glow); color: var(--orange-light); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: .5px; border: 1px solid rgba(232,67,10,0.2); }
.hero-title { font-size: clamp(36px, 4.5vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.55); line-height: 1.65; max-width: 480px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-check { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 500; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.phone-mock { width: 280px; background: var(--dark2); border-radius: 36px; padding: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); }
.phone-screen { background: var(--white); border-radius: 24px; padding: 36px 24px; text-align: center; }
.phone-header { margin-bottom: 24px; }
.phone-amount { font-size: 52px; font-weight: 900; color: var(--text); margin-bottom: 8px; letter-spacing: -.02em; }
.phone-label { font-size: 16px; color: var(--green); font-weight: 600; margin-bottom: 16px; }
.phone-check { width: 60px; height: 60px; background: var(--green); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.phone-ref { font-size: 12px; color: var(--text-light); font-weight: 500; letter-spacing: .5px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: .8; } }

/* TRUST */
.trust { padding: 48px 0; background: var(--bg); text-align: center; }
.trust-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--text-light); margin-bottom: 20px; font-weight: 600; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-logo-item { display: flex; align-items: center; justify-content: center; height: 36px; }
.trust-shopify { height: 28px; width: auto; opacity: 0.7; }
.trust-ath-img { height: 28px; width: auto; object-fit: contain; opacity: 0.7; }
.trust-divider { font-size: 18px; color: #bbb; font-weight: 300; line-height: 1; }
.trust-evertec { font-size: 14px; font-weight: 700; color: var(--text-light); letter-spacing: 0.5px; opacity: 0.6; }

/* SECTION SHARED */
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; text-align: center; letter-spacing: -.02em; margin-bottom: 12px; color: var(--text); }
.section-sub { text-align: center; color: var(--text-light); font-size: 16px; max-width: 560px; margin: 0 auto 48px; line-height: 1.65; }

/* FEATURES */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.f-card { background: var(--bg); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s, box-shadow .3s; border: 1px solid #eee; display: flex; flex-direction: column; min-height: 220px; }
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(232,67,10,0.15); }
.f-icon { color: var(--orange); margin-bottom: 16px; width: 48px; height: 48px; min-width: 48px; background: var(--orange-glow); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.f-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.f-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; flex: 1; margin: 0; }

/* HOW IT WORKS */
.how { padding: 100px 0; background: var(--bg); }
.how-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.how-tab { padding: 10px 24px; font-size: 14px; font-weight: 600; border: 2px solid #ddd; background: var(--white); color: var(--text-light); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; font-family: inherit; }
.how-tab:hover { border-color: var(--orange); color: var(--orange); }
.how-tab--active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.flow-steps { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 16px; max-width: 1000px; margin: 0 auto; }
.flow-step { flex: 1; min-width: 200px; max-width: 240px; background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid #eee; text-align: center; transition: box-shadow .2s; }
.flow-step:hover { box-shadow: var(--shadow-sm); }
.flow-num { width: 48px; height: 48px; background: var(--orange); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.flow-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.flow-step p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.flow-arrow { width: 24px; height: 24px; flex-shrink: 0; margin-top: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center; }
@media (max-width: 900px) {
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 320px; }
  .flow-arrow { transform: rotate(90deg); margin: 8px 0; }
}

/* PRICING */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.p-card { background: var(--white); border: 1.5px solid #eee; border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; transition: transform .3s, box-shadow .3s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-card--pop { border-color: var(--orange); box-shadow: 0 8px 32px rgba(232,67,10,.12); transform: scale(1.03); }
.p-card--pop:hover { transform: scale(1.03) translateY(-4px); }
.p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); padding: 4px 16px; border-radius: 12px; font-size: 11px; font-weight: 700; white-space: nowrap; letter-spacing: .3px; }
.p-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.p-price { font-size: 36px; font-weight: 900; margin-bottom: 20px; letter-spacing: -.02em; }
.p-price span { font-size: 14px; font-weight: 500; color: var(--text-light); }
.p-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.p-card li { padding: 7px 0; font-size: 13px; color: var(--text-light); border-bottom: 1px solid #f4f4f4; line-height: 1.5; }
.p-card li::before { content: '\2713'; color: var(--orange); font-weight: 700; margin-right: 8px; }

/* STATS */
.stats { padding: 80px 0; background: linear-gradient(135deg, var(--dark) 0%, #1a0800 100%); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: clamp(36px, 4.5vw, 56px); font-weight: 900; color: var(--orange-light); }
.stat-suffix { font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; color: var(--orange-light); }
.stat p { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 8px; }

/* FAQ */
.faq { padding: 100px 0; background: var(--bg); }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: #ddd; }
.faq-item[open] { border-color: rgba(232,67,10,0.25); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.faq-item summary { padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--text-light); flex-shrink: 0; line-height: 1; transition: color .2s; }
.faq-item[open] summary::after { content: '\2212'; color: var(--orange); font-weight: 500; }
.faq-item summary:hover { color: var(--orange); }
.faq-item p { padding: 0 24px 20px 24px; font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* CTA SECTION */
.cta-section { padding: 120px 0; background: var(--dark); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(232,67,10,.08) 0%, transparent 70%); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 900; color: var(--white); margin-bottom: 16px; letter-spacing: -.02em; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,.45); margin-bottom: 36px; }

/* FOOTER */
.footer { padding: 56px 0 40px; background: var(--dark2); color: rgba(255,255,255,.5); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand .footer-logo-img { height: 44px; width: auto; max-width: none; object-fit: contain; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.45); font-weight: 500; line-height: 1.5; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-legal-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-legal-links a { color: rgba(255,255,255,.4); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s; }
.footer-legal-links a:hover { color: var(--white); }
.footer-divider-dot { color: rgba(255,255,255,.2); font-size: 13px; }
.footer-bottom { text-align: center; margin-top: 8px; }
.footer-copy { font-size: 13px; margin-bottom: 6px; color: rgba(255,255,255,.4); font-weight: 500; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,.3); font-weight: 400; }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-visual { min-height: 320px; }
  .phone-mock { width: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 24px; }
  .step-line { width: 2px; height: 32px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .p-card--pop { transform: none; }
  .p-card--pop:hover { transform: translateY(-4px); }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-logos { flex-wrap: wrap; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
