/* TicketYa Landing Page - Mobile-First Design */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #25D366;
  --green-dark: #1da851;
  --blue: #003DA5;
  --blue-dark: #002855;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --dark: #1a1a1a;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: background .2s;
}
.lang-toggle:hover { background: var(--off-white); text-decoration: none; }

.nav-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
  transition: background .2s;
}
.nav-help:hover { text-decoration: none; background: var(--green-dark); }
.nav-help svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 20px;
  min-height: 480px;
  background: linear-gradient(135deg, rgba(0,61,165,0.92), rgba(0,40,85,0.95));
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px);
  margin-bottom: 36px;
  max-width: 560px;
  opacity: 0.92;
  line-height: 1.5;
}

/* ============ CTA BUTTON ============ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  animation: pulse 2.5s infinite;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  text-decoration: none;
}
.cta-btn svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }

.cta-btn-sm {
  padding: 12px 24px;
  font-size: 16px;
  animation: none;
}
.cta-btn-sm svg { width: 20px; height: 20px; }

.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  box-shadow: none;
  animation: none;
}
.cta-btn-outline:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============ SECTION SHARED ============ */
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--blue-dark);
  text-align: center;
}

.section-sub {
  font-size: 17px;
  color: var(--gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 72px 20px;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--off-white);
  transition: transform .2s, box-shadow .2s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-icon {
  font-size: 44px;
  margin-bottom: 12px;
  line-height: 1;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}

/* ============ PRICING ============ */
.pricing {
  padding: 72px 20px;
  background: var(--off-white);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 40px auto 0;
}

.price-card {
  position: relative;
  padding: 36px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card.popular {
  border-color: var(--green);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 8px 0 2px;
  line-height: 1;
}

.price-local {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 8px;
}

.price-card > p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.price-card .cta-btn { font-size: 15px; padding: 12px 24px; }
.price-card .cta-btn svg { width: 18px; height: 18px; }

/* ============ TRUST ============ */
.trust {
  padding: 72px 20px;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.trust-item {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--off-white);
}

.trust-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
}

.trust-icon { font-size: 20px; line-height: 1; }

.trust-item p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  border: 1px solid var(--gray-light);
}

.badge-icon { font-size: 16px; }

/* ============ FAQ ============ */
.faq {
  padding: 72px 20px;
  background: var(--off-white);
}

.faq-list {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  font-family: var(--font);
  gap: 12px;
}

.faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--gray);
  transition: transform .2s;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

/* ============ BOTTOM CTA ============ */
.cta-bottom {
  padding: 72px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.cta-bottom h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 28px;
}

/* ============ FOOTER ============ */
.footer {
  padding: 32px 20px;
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  margin-top: 12px;
  font-size: 13px;
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  padding: 48px 20px 64px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.legal-section p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; padding: 60px 20px; }
}

@media (max-width: 480px) {
  .cta-btn { font-size: 16px; padding: 14px 28px; }
  .cta-btn svg { width: 20px; height: 20px; }
  .nav-help span { display: none; }
  .nav-help { padding: 8px; border-radius: 50%; width: 38px; height: 38px; }
  .badges { flex-direction: column; align-items: center; }
}
