/* ==========================================================================
   SHAREit Official Product Landing Page Clone - Master Stylesheet
   Modern, Pixel-Perfect Vanilla CSS with Rich Micro-Interactions
   ========================================================================== */

:root {
  --color-primary: #247fff;
  --color-primary-dark: #0d53f7;
  --color-primary-light: #409eff;
  --color-cyan: #00c7a4;
  --color-dark: #191919;
  --color-dark-surface: #0a1128;
  --color-text-main: #191919;
  --color-text-muted: #606266;
  --color-text-light: #909399;
  --color-white: #ffffff;
  --color-border: #ebeef5;
  --color-bg-light: #ffffff;
  
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(36, 127, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Base Utility Classes */
.common-container {
  width: 100%;
  position: relative;
}

.product-shareit-page {
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.top-nav.scrolled {
  background: rgba(13, 83, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.nav-action-btn:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   HERO SECTION (FIRST PAGE ONLY - FULL SCREEN)
   ========================================================================== */
.first-page-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #FF6B00 0%, #FF5100 55%, #D93800 100%);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.first-page-wrap .back-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.first-page-wrap .back-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.first-page-wrap .main {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.first-page-wrap .main .header {
  margin: 0 auto;
  padding-top: 2.5rem;
  width: 75vw;
  max-width: 1200px;
}

.first-page-wrap .main .header .logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.first-page-wrap .main .header .logo-wrap:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.first-page-wrap .main .header .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: block;
  object-fit: cover;
}

.first-page-wrap .main .header .logo-text {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1;
}

.first-page-wrap .main .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto auto;
  width: 75vw;
  max-width: 1200px;
  position: relative;
  padding: 1.5rem 0;
}

.first-page-footer {
  text-align: center;
  padding: 1.25rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  position: relative;
  z-index: 10;
}

.first-page-wrap .main .content .left-area {
  padding-top: 1vw;
  z-index: 100;
  flex: 1;
  max-width: 580px;
}

.download-apk-wrap {
  width: 100%;
}

.download-apk-wrap .product-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.download-apk-wrap .subtitle {
  color: var(--color-white);
  font-size: clamp(25px, 2.6vw, 42px);
  line-height: 1.3;
  margin-top: 0;
  font-weight: 300;
  letter-spacing: -0.5px;
}

.download-apk-wrap .subtitle span {
  font-weight: 800;
  color: #ffffff;
}

.store-download-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000000;
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: all var(--transition-fast);
  cursor: pointer;
  user-select: none;
  min-width: 152px;
  height: 48px;
  box-sizing: border-box;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #111111;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}

.store-badge-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
}

/* Privacy Policy Text Button */
.privacy-policy-wrap {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.privacy-policy-wrap .links-divider {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  user-select: none;
}

.privacy-policy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.3rem 0;
  letter-spacing: 0.15px;
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.privacy-policy-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.95);
  transition: width var(--transition-fast);
}

.privacy-policy-btn:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.privacy-policy-btn:hover::after {
  width: 100%;
}

.download-apk-wrap .download-area {
  margin-top: 2.25rem;
}

.download-apk-wrap .apk-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

/* Download Buttons - Compact & Harmonious Proportions */
.download-btn {
  position: relative;
  width: 152px;
  flex: 0 0 152px;
}

.device-area {
  position: relative;
  width: 152px;
  flex: 0 0 152px;
}

.download-btn .content {
  align-items: center;
  background: #000000;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 48px;
  width: 100%;
  padding: 0 0.85rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.download-btn .content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.download-btn .content:active {
  transform: translateY(0);
}

.download-btn .content img,
.download-btn .content .btn-icon {
  height: 20px;
  width: 20px;
  margin-right: 0.45rem;
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
}

.download-btn .content .icon {
  height: 11px;
  width: 11px;
  margin-left: 0.4rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

/* Light Theme Buttons (In Hero) */
.download-btn .content.light {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.download-btn .content.light:hover {
  background: #f7faff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.download-btn .content.light .icon path {
  fill: var(--color-primary);
}

/* Interactive Device Dropdown */
.device-area.open .icon {
  transform: rotate(180deg);
}

.device-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 152px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.device-area.open .device-content,
.device-area:hover .device-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.device-select {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.device-content::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.device-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  color: #333333;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.device-option svg,
.device-option img {
  width: 18px;
  height: 18px;
}

.device-option:hover,
.device-option.active {
  background: #f0f6ff;
  color: var(--color-primary);
}

/* Hero Right Area (Mockup & Decorative Dots) */
.first-page-wrap .main .content .right-area {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.first-page-wrap .main .content .right-area .cover {
  width: 38.4vw;
  max-width: 615px;
  aspect-ratio: 1535 / 1025;
  height: auto;
  max-height: 470px;
  background-image: url('assets/picture_home.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center right;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.first-page-wrap .main .content .right-area .dot {
  position: absolute;
  right: -2vw;
  bottom: -3.2vw;
  width: 8.25vw;
  max-width: 132px;
  height: 8.25vw;
  max-height: 132px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACEBAMAAACjap6UAAAALVBMVEUAAAAngf8vhv8mgf8qgv9Fkv8ngv8yh/8ngf9Hkv8tg/8wiv8rhP8ogv8qgv/TuHxxAAAAD3RSTlMAQA44JgQvEzQHHAoXICqasZXEAAACV0lEQVRo3u2YT2sTYRDGh22SbYwRJ+mfTRvDCupBPBiwF1Fp7UHpadWDIgqNl16bDyCYgzeFiDdPESoIXrZX8eC/gt7qQdRbil9EbHifGbbbhLCnkvmdHobJ7Dtv4JmXIcMwjLE5dy2G/v0csvT3kZNvr0YIF1c3KInHXHP6BHPf6RfM4UDlmNeRfof5o9N5GlBgnnGxbeZFp1fww1vMFXK8Zr6Ir9OAKeY5F2sz151uIfc08wKpyrPpp0ByReU+QUvz5PiByoK/f3iUW1dNbeKG/hdDvR4l+RaEONnqpQiNdp4h2ujKH9W6TIZhTCrFs6K9UPTtLjwiJBWOIZUb7qJCs4rsMvyw1JEoHee5iBIcU844pYyxza70NPMSKXtdxvkJCY00+92DY24n7PckGkwfAvOpQ6AubasSaoKdUvZcU5/rYxQtIv0TDicUm/wU96Ic/h5Xu+4G5cKpgDmpuL8m+sx10VtvEL1Bwtc/ZBjGpPJwLaI0Z9j6OdovsrtWdu/0Mjh49jkyxjTrjZhm6mg9wvQMYpQ+bKY2oqGTvRQPmewIG4YxqXwJNp3Mr8zAT/zOlbTNgZeyOfCZK2PsL17CDzNuUbLvcrJvlIbttXKpe63ywb3W+Ns1iVLx5gYZhjGpeJ9FP9gRfSF06u53Ej7A70G+JW9Rv1lFQg5LG6+pjKrMQZcAzK6uXG1Jvdd3YdA1/frtJxcx04c84/dGP+Oz73J0IwuqkVnl9sspjbRh50K+IzFfOXyBgwjRnvpiNaYk/i/R79+Jfoxqr1SUzu+QYRjGkeQfCMeON3sRf4kAAAAASUVORK5CYII=) no-repeat;
  background-size: 100% 100%;
  opacity: 0.85;
  z-index: 2;
}

/* Quick Feature Ticker */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-item {
  color: #ffffff;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   FEATURE 1: TRANSFER SECTION
   ========================================================================== */
.transfer-page-wrap {
  margin: 7.125vw auto 6.875vw;
  width: 75vw;
  max-width: 1200px;
  position: relative;
}

.transfer-page-wrap .content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5vw;
}

.transfer-page-wrap .content .left-area {
  width: 36.25vw;
  max-width: 580px;
  height: 36.25vw;
  max-height: 580px;
  background-image: url('assets/transfer-cover.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-normal);
}

.transfer-page-wrap .content .left-area:hover {
  transform: scale(1.02);
}

.transfer-page-wrap .content .right-area {
  width: 35.9vw;
  max-width: 575px;
  padding-left: 2vw;
  color: var(--color-dark);
}

/* Instruction Text Wrap Component */
.instruction-text-wrap {
  position: relative;
}

.instruction-text-wrap .icon {
  width: 72px;
  height: 72px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 199, 164, 0.25));
  transition: transform var(--transition-fast);
}

.instruction-text-wrap:hover .icon {
  transform: rotate(5deg) scale(1.05);
}

.instruction-text-wrap .title {
  font-size: clamp(38px, 3.75vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1.75rem;
  color: inherit;
  letter-spacing: -0.5px;
}

.instruction-text-wrap .sub-title {
  font-size: clamp(20px, 1.68vw, 27px);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.65rem;
  color: inherit;
  opacity: 0.9;
}

.instruction-text-wrap .description {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.6;
  margin-top: 5rem;
  position: relative;
  color: var(--color-text-muted);
}

.instruction-text-wrap .description::before {
  content: "";
  display: block;
  position: absolute;
  top: -2.25rem;
  left: 0;
  width: 41px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
}

.transfer-page-wrap .instruction-text-wrap .description::before {
  background: var(--color-cyan);
}

.interactive-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf9;
  border: 1px solid rgba(0, 199, 164, 0.3);
  color: #008770;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.interactive-pill-tag:hover {
  background: #00c7a4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 199, 164, 0.25);
}

/* ==========================================================================
   FEATURE 2: CLEAN SECTION
   ========================================================================== */
.clean-page-wrap {
  position: relative;
  min-height: 750px;
  height: 69.68vw;
  max-height: 1338px;
  overflow: hidden;
  background: #0c1836;
}

.clean-page-wrap .back-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.clean-page-wrap .back-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clean-page-wrap .content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75vw;
  max-width: 1200px;
  margin: auto;
  padding-top: 18vw;
  position: relative;
  z-index: 50;
  gap: 4vw;
}

.clean-page-wrap .content .left-area {
  color: #ffffff;
  width: 32.68vw;
  max-width: 523px;
}

.clean-page-wrap .instruction-text-wrap .icon {
  filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.2));
}

.clean-page-wrap .instruction-text-wrap .description {
  color: rgba(255, 255, 255, 0.8);
}

.clean-page-wrap .instruction-text-wrap .description::before {
  background: #00d2ff;
}

.clean-page-wrap .content .right-area {
  width: 28.9vw;
  max-width: 463px;
  height: 40.2vw;
  max-height: 644px;
  background-image: url('assets/clean-cover.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-normal);
}

.clean-page-wrap .content .right-area:hover {
  transform: scale(1.02);
}

.clean-interactive-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #00d2ff 0%, #0077ff 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.clean-interactive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
}

/* ==========================================================================
   SHARE / MULTI-DEVICE & BOTTOM CTA SECTION
   ========================================================================== */
.share-page-wrap {
  position: relative;
  background: #ffffff;
  padding-top: 2vw;
}

.share-page-wrap .content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75vw;
  max-width: 1200px;
  margin: 6vw auto 6vw;
  gap: 4vw;
}

.share-page-wrap .content .cover {
  width: 27.5vw;
  max-width: 440px;
  height: 25vw;
  max-height: 400px;
  background-image: url('assets/mult-transfer.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
}

.share-page-wrap .content .download-apk-wrap {
  max-width: 520px;
}

.share-page-wrap .download-apk-wrap .subtitle {
  color: var(--color-dark);
}

.share-page-wrap .download-apk-wrap .subtitle span {
  color: var(--color-primary);
}

/* ==========================================================================
   VISITOR TYPE PORTAL ("If you are...")
   ========================================================================== */
.visitor-type {
  position: relative;
  min-height: 400px;
  height: 30.6vw;
  max-height: 520px;
  background: linear-gradient(180deg, #1071FF 0%, #0D53F7 100%);
  overflow: hidden;
}

.visitor-type .back-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.visitor-type .back-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visitor-type .visitor-content {
  position: relative;
  z-index: 5;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.visitor-type .visitor-content .title {
  color: #ffffff;
  font-size: clamp(32px, 3.37vw, 54px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

.visitor-type .button-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.visitor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.visitor:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.visitor:active {
  transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-wrap {
  background: #ffffff;
  border-top: 1px solid #f0f2f5;
  padding: 3rem 0 2rem;
}

.footer-content {
  width: 75vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.copyright {
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE MODAL & SIMULATION POPUPS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f5f7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #606266;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #e4e7ed;
  color: #191919;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.qr-code-box {
  background: #f8fafd;
  border: 2px dashed #dcdfe6;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.qr-placeholder svg {
  width: 100%;
  height: 100%;
}

.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #191919;
  color: #ffffff;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries) - MATCHING SCREENSHOT EXACTLY
   ========================================================================== */

/* Tablets & Mobile Screens (<= 992px) */
@media screen and (max-width: 992px) {
  .first-page-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    background: linear-gradient(165deg, #FF6200 0%, #FF5000 45%, #E63800 100%);
    overflow-x: hidden;
  }

  .first-page-wrap .back-img {
    display: none;
  }

  .first-page-wrap .main {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
  }
  
  /* Header Aligned Top-Left as in Screenshot */
  .first-page-wrap .main .header {
    padding: 1.75rem 2rem 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  
  .first-page-wrap .main .header .logo-wrap {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
  }

  .first-page-wrap .main .header .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
  }

  .first-page-wrap .main .header .logo-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
  }
  
  /* Centered Content Stack: Image -> Headline -> Buttons */
  .first-page-wrap .main .content {
    flex-direction: column;
    text-align: center;
    margin: auto auto;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 540px;
    gap: 0;
  }
  
  /* 1. GAMBAR COVER (Lebih Besar & Lebih Ke Atas) */
  .first-page-wrap .main .content .right-area {
    order: 1;
    margin: -1rem auto 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .first-page-wrap .main .content .right-area .cover {
    width: clamp(330px, 58vw, 470px);
    aspect-ratio: 1535 / 1025;
    height: auto;
    background-position: center center;
    background-size: contain;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.26));
    animation: floatHero 6s ease-in-out infinite;
  }
  
  .first-page-wrap .main .content .right-area .dot {
    display: none;
  }
  
  /* 2. TEKS & 3. TOMBOL DOWNLOAD */
  .first-page-wrap .main .content .left-area {
    order: 2;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
  }
  
  .download-apk-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .download-apk-wrap .subtitle {
    font-size: clamp(1.45rem, 4.4vw, 1.95rem);
    line-height: 1.35;
    font-weight: 400;
    color: #ffffff;
    max-width: 480px;
    margin: 0 auto;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .download-apk-wrap .subtitle span {
    font-weight: 800;
  }
  
  /* Store Download Buttons: Sedikit Lebih Ke Bawah */
  .store-download-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.35rem;
    margin-bottom: 0.5rem;
    gap: 0.85rem;
    width: 100%;
    max-width: 380px;
  }

  .privacy-policy-wrap {
    justify-content: center;
    margin-top: 1.15rem;
  }
  
  .store-badge {
    flex: 1 1 calc(50% - 0.45rem);
    min-width: 145px;
    max-width: 180px;
    height: 52px;
    padding: 0.5rem 0.95rem;
    border-radius: 12px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    gap: 0.65rem;
  }

  .store-badge-icon {
    width: 22px;
    height: 22px;
  }

  .store-badge-sub {
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.4px;
  }

  .store-badge-title {
    font-size: 0.98rem;
    font-weight: 700;
  }

  .first-page-footer {
    padding: 1.25rem 1rem 1.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
  }
}

/* Smartphone / HP Screens (<= 768px) */
@media screen and (max-width: 768px) {
  .first-page-wrap .main .header {
    padding: 1.25rem 1.25rem 0;
  }

  .first-page-wrap .main .header .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .first-page-wrap .main .header .logo-text {
    font-size: 1.65rem;
  }

  .first-page-wrap .main .content {
    padding: 0.25rem 1.15rem;
    max-width: 440px;
  }
  
  /* Gambar: Lebih Besar & Ditarik Lebih Ke Atas */
  .first-page-wrap .main .content .right-area {
    margin: -0.75rem auto 1.15rem;
  }

  .first-page-wrap .main .content .right-area .cover {
    width: clamp(295px, 88vw, 385px);
    aspect-ratio: 1535 / 1025;
    height: auto;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
  }
  
  /* Teks HP */
  .download-apk-wrap .subtitle {
    font-size: clamp(1.35rem, 5.2vw, 1.7rem);
    line-height: 1.35;
    padding: 0 0.25rem;
  }

  /* Tombol Download HP: Diberi Jarak Lebih Ke Bawah */
  .store-download-area {
    margin-top: 2.25rem;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
    max-width: 360px;
  }
  
  .store-badge {
    height: 50px;
    padding: 0.45rem 0.8rem;
    min-width: 135px;
    border-radius: 12px;
  }

  .store-badge-icon {
    width: 21px;
    height: 21px;
  }

  .store-badge-sub {
    font-size: 0.54rem;
    letter-spacing: 0.35px;
  }

  .store-badge-title {
    font-size: 0.94rem;
  }

  .first-page-footer {
    padding: 1rem 1rem 1.35rem;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
  }
}

/* Very Small Smartphones (<= 380px) */
@media screen and (max-width: 380px) {
  .first-page-wrap .main .header {
    padding: 1.25rem 1rem 0;
  }

  .first-page-wrap .main .header .logo-icon {
    width: 38px;
    height: 38px;
  }

  .first-page-wrap .main .header .logo-text {
    font-size: 1.5rem;
  }

  .first-page-wrap .main .content .right-area {
    margin: -0.5rem auto 1rem;
  }

  .first-page-wrap .main .content .right-area .cover {
    width: clamp(260px, 92vw, 320px);
  }
  
  .download-apk-wrap .subtitle {
    font-size: 1.25rem;
  }
  
  .store-download-area {
    gap: 0.55rem;
    margin-top: 1.85rem;
    margin-bottom: 0.35rem;
  }
  
  .store-badge {
    min-width: 125px;
    height: 46px;
    padding: 0.35rem 0.6rem;
    gap: 0.5rem;
    border-radius: 10px;
  }

  .store-badge-icon {
    width: 18px;
    height: 18px;
  }

  .store-badge-sub {
    font-size: 0.5rem;
  }

  .store-badge-title {
    font-size: 0.86rem;
  }
}

/* Landscape Mode on Phones */
@media screen and (max-height: 550px) and (orientation: landscape) {
  .first-page-wrap {
    min-height: auto;
    overflow-y: auto;
  }

  .first-page-wrap .main {
    min-height: auto;
  }

  .first-page-wrap .main .header {
    padding: 0.75rem 1.5rem 0;
  }

  .first-page-wrap .main .content {
    margin: 0.5rem auto;
  }

  .first-page-wrap .main .content .right-area .cover {
    width: 200px;
  }

  .download-apk-wrap .subtitle {
    font-size: 1.2rem;
  }

  .store-download-area {
    margin-top: 0.75rem;
  }
}

/* ==========================================================================
   PRIVACY POLICY PAGE STYLES (IDEAL LAYOUT, 100% MATCHING HOME LOGO & GRID)
   ========================================================================== */
.privacy-page-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.privacy-page-wrap .main {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.privacy-content-area {
  width: 75vw;
  max-width: 1200px;
  margin: 2.25rem auto 3.5rem;
  flex: 1;
}

.privacy-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  padding: 3.25rem 3.5rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.privacy-title {
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 800;
  color: #191919;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.privacy-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  font-weight: 400;
  margin-bottom: 1.85rem;
}

.privacy-divider {
  border: none;
  height: 1px;
  background: #eef0f3;
  margin: 2rem 0 2.25rem;
}

.privacy-section {
  margin-bottom: 1.5rem;
  padding: 1.4rem 1.65rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f0f2f5;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.privacy-section:last-of-type {
  margin-bottom: 0;
}

.privacy-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.privacy-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.privacy-section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4b5563;
}

.privacy-email-link {
  color: #FF5100;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.privacy-email-link:hover {
  color: #D93800;
}

/* Responsive adjustments for Privacy Policy */
@media screen and (max-width: 992px) {
  .privacy-content-area {
    width: 90vw;
    max-width: 100%;
    margin: 1.5rem auto 2.5rem;
  }
  
  .privacy-card {
    padding: 2.5rem 2rem;
  }
}

@media screen and (max-width: 768px) {
  .privacy-content-area {
    width: 92vw;
    margin: 1rem auto 2rem;
  }

  .privacy-card {
    padding: 1.85rem 1.25rem;
    border-radius: 16px;
  }

  .privacy-title {
    font-size: 1.55rem;
  }

  .privacy-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .privacy-section {
    padding: 1.15rem 1.15rem;
    margin-bottom: 1.15rem;
  }

  .privacy-subtitle {
    font-size: 1.08rem;
  }

  .privacy-section p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

