/* ==========================================================================
   PokerWise - Ultra-Clean, High-Trust, Minimalist Luxury Design System
   Inspired by Apple Pro, Linear, and Offsuit
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Ultra-Clean Deep Obsidian Canvas */
  --bg-deep: #050608;
  --bg-surface: #0c0d12;
  --bg-card: #101218;
  --bg-card-hover: #141720;
  
  /* Text System: Pristine Titanium & Calibrated Neutrals */
  --text-white: #ffffff;
  --text-primary: #f0f2f5;
  --text-secondary: #8e95a5;
  --text-muted: #525968;
  
  /* Delicate Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(255, 255, 255, 0.08);

  /* Accents */
  --accent-emerald: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.1);
  --accent-gold: #e2c08d;
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-pill: 9999px;
  --radius-card: 28px;
  --radius-inner: 20px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Base Container */
.container {
  width: min(90%, 1080px);
  margin: 0 auto;
  position: relative;
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

/* Navigation */
.header {
  padding: 2.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-white);
  color: #050608;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.16);
  opacity: 1;
}

/* Hero Section */
.hero {
  padding: 6.5rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.08;
  max-width: 860px;
  margin: 0 auto 1.5rem;
  font-weight: 500;
}

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-mockup-wrapper {
  margin-top: 4.5rem;
  position: relative;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--border-focus);
  display: block;
}

/* Value Props Flow (Minimalist Vertical Layout) */
.values-section {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--border-subtle);
}

.value-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.value-item:last-child {
  border-bottom: none;
}

.value-item.reverse {
  direction: rtl;
}

.value-item.reverse .value-text {
  direction: ltr;
}

.value-item.reverse .value-img-wrap {
  direction: ltr;
}

.value-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.value-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.value-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.value-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.value-points svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--accent-emerald);
}

.value-img-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.value-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Trust Pillar (Zero Gambling, Offline Safety) */
.trust-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 3.5rem 3rem;
  margin: 2rem 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.trust-col h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-white);
}

.trust-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4.5rem;
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.faq-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.faq-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Outro CTA */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: 28px;
  padding: 2.8rem;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-white);
}

.qr-box {
  width: 190px;
  height: 190px;
  margin: 1.5rem auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 860px) {
  .value-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
  .value-item.reverse {
    direction: ltr;
  }
  .value-img-wrap img {
    height: 280px;
  }
  .trust-banner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2rem 1.5rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}
