/* HeySalad TX Tiny Xiao Landing Page */
/* HeySalad Branding: Figtree font, #ed4c4c primary color */

:root {
  --cherry-red: #ed4c4c;
  --cherry-dark: #d43d3d;
  --ink: #000000;
  --ink-muted: #666666;
  --white: #FFFFFF;
  --light-peach: #FFF3F0;
  --dark-peach: #FFE5DD;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--gray-100);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.logo-img {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--cherry-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cherry-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--light-peach);
  color: var(--cherry-red);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-product {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.hero-product sup {
  font-size: 20px;
  color: var(--cherry-red);
  vertical-align: super;
}

.hero-tagline {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 8px;
}

.hero-description {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Terminal Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.terminal-mockup {
  width: 280px;
  background: var(--gray-900);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.terminal-screen {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-icon {
  width: 100%;
  height: 100%;
  color: var(--ink);
}

.terminal-body {
  padding: 16px;
  display: flex;
  justify-content: center;
}

.terminal-indicator {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

/* Payment Methods Section */
.payment-methods {
  background: var(--gray-50);
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.payment-methods-label {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.payment-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

.payment-icon {
  width: 32px;
  height: 32px;
  color: var(--ink);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 64px;
}

/* Features */
.features {
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--cherry-red);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

/* Markets Section */
.markets {
  background: var(--white);
}

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

.market-card {
  background: var(--gray-50);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.market-card:hover {
  border-color: var(--cherry-red);
  box-shadow: var(--shadow);
}

.market-flag {
  margin-bottom: 16px;
}

.flag-icon {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.market-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.market-card p {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.market-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.market-methods span {
  background: var(--white);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  border: 1px solid var(--gray-200);
}

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

/* Book a Demo */
.book-demo {
  background: var(--cherry-red);
  padding: 80px 0;
}

.demo-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.demo-text .section-title {
  color: var(--white);
  margin-bottom: 12px;
}

.demo-text .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.demo-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
}

.demo-form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.demo-form .btn {
  background: var(--white);
  color: var(--cherry-red);
  padding: 16px 32px;
  font-weight: 700;
}

.demo-form .btn:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.demo-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--cherry-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 24px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--ink-muted);
}

.step-arrow {
  color: var(--gray-200);
  margin-top: 16px;
}

.step-arrow svg {
  width: 32px;
  height: 32px;
}

/* Specs */
.specs {
  background: var(--gray-900);
  color: var(--white);
}

.specs .section-title,
.specs .section-subtitle {
  color: var(--white);
}

.specs .section-subtitle {
  opacity: 0.7;
}

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

.spec-group {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: var(--radius);
}

.spec-group h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--cherry-red);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-table td:first-child {
  color: rgba(255, 255, 255, 0.6);
  width: 40%;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* Pricing */
.pricing {
  background: var(--light-peach);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--cherry-red);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cherry-red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price .currency {
  font-size: 24px;
  font-weight: 600;
}

.price .amount {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.price .period {
  font-size: 14px;
  color: var(--ink-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

.x-icon {
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.not-included {
  color: var(--ink-muted);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* Transaction Fees */
.transaction-fees {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.transaction-fees h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.fee-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.fee-region {
  display: block;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.fee-rate {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--cherry-red);
}

.fee-note {
  color: var(--ink-muted);
  font-size: 14px;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--cherry-red);
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
}

.contact-item a:hover {
  color: var(--cherry-red);
}

.contact-form {
  background: var(--gray-50);
  padding: 32px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cherry-red);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  width: 100%;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-description {
    margin: 0 auto 32px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 64px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .fees-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto 16px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  
  .hero-product {
    font-size: 40px;
  }
  
  .hero-tagline {
    font-size: 18px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .markets-grid {
    grid-template-columns: 1fr;
  }
  
  .payment-logos {
    gap: 24px;
  }
  
  .demo-form-row {
    flex-direction: column;
  }
  
  .demo-form .btn {
    width: 100%;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 16px 0;
  }
  
  .step-arrow svg {
    width: 32px;
    height: 32px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
