/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1E88E5;
  --primary-light: #42A5F5;
  --primary-dark: #1565C0;
  --bg-dark: #0a0a0a;
  --bg-section: #111111;
  --bg-card: #1a1a1a;
  --text-white: #ffffff;
  --text-gray: #8b8b8b;
  --text-muted: #5c5c5c;
  --border-subtle: rgba(255, 255, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: color 0.2s;
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%),
    url('../assets/images/hero-bg.png') center/cover no-repeat;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.3), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(30, 136, 229, 0.15);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: 1px solid rgba(30, 136, 229, 0.3);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Product Section ===== */
.product {
  padding: 100px 24px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.3), transparent);
  pointer-events: none;
}

.product-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-info h2 {
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 20px;
}

.product-info h2 .highlight {
  color: var(--primary);
}

.product-info p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-google-play {
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-google-play img {
  height: 52px;
  width: auto;
}

.btn-google-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.3);
}

.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, var(--bg-card), #222);
  border-radius: 36px;
  border: 3px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 33px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.phone-screen.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary);
}

/* ===== Coins Section ===== */
.coins {
  padding: 100px 24px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.coins::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.3), transparent);
  pointer-events: none;
}

.coins-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-gray);
  margin-bottom: 48px;
}

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

.coin-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.coin-card:hover {
  border-color: rgba(30, 136, 229, 0.5);
  transform: translateY(-2px);
}

.coin-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.coin-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.coin-amount {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.coin-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 12px;
}

.coin-price {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
}

.coins-secure {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-light);
  font-weight: 600;
  font-style: italic;
}

.pci-badge {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-contact h4 {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 8px;
}

.footer-contact a {
  display: block;
  color: var(--primary-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-links a {
  padding: 8px 20px;
  border: 1.5px solid #333;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-white);
  transition: border-color 0.2s, background 0.2s;
}

.footer-links a:hover {
  border-color: var(--primary);
  background: rgba(30, 136, 229, 0.1);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-address {
  color: var(--text-gray);
  font-size: 0.85rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== About Page ===== */
.about-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: #000;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(30, 136, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 24px;
  background: var(--bg-section);
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-section {
  margin-bottom: 64px;
}

.about-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.about-section p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.about-card .card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(30, 136, 229, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .product-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .coins-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .coins-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .product-info h2 {
    font-size: 1.8rem;
  }
}
