@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --primary: #ff4e70;
  --primary-hover: #ff355b;
  --primary-light: #fff0f2;
  --primary-gradient: linear-gradient(135deg, #ff758c 0%, #ff4e70 100%);
  --secondary-gradient: linear-gradient(135deg, #ffeef0 0%, #fff6f7 100%);
  --dark: #2c2627;
  --dark-light: #524749;
  --light: #ffffff;
  --gray-100: #faf8f8;
  --gray-200: #f3eff0;
  --gray-300: #e5dfdf;
  --gray-400: #ccc2c3;
  --accent-yellow: #ffd15c;
  --accent-blue: #4da6ff;
  --accent-green: #3cd070;
  
  --shadow-sm: 0 2px 8px rgba(255, 78, 112, 0.04);
  --shadow-md: 0 8px 24px rgba(255, 78, 112, 0.08);
  --shadow-lg: 0 16px 40px rgba(255, 78, 112, 0.12);
  --shadow-hover: 0 20px 48px rgba(255, 78, 112, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --font-body: 'Noto Sans JP', sans-serif;
  --font-display: 'Inter', 'Noto Sans JP', sans-serif;
  --font-num: 'Outfit', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- HELPER CLASSES & UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-light {
  background-color: var(--primary-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255, 78, 112, 0.15);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Mobile Top App Install Banner */
.mobile-app-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  align-items: center;
  gap: 12px;
  background: var(--light);
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
  z-index: 1002;
  box-shadow: var(--shadow-sm);
}

.banner-close {
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.banner-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(255, 78, 112, 0.1);
}

.banner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.banner-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.banner-sub {
  font-size: 0.72rem;
  color: var(--dark-light);
  margin-top: 2px;
  line-height: 1.2;
}

.banner-btn {
  background: var(--primary-gradient);
  color: var(--light);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 6px rgba(255, 78, 112, 0.2);
}

/* --- HEADER / NAVBAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 78, 112, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-light);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-btn {
  background: var(--primary-gradient);
  color: var(--light);
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(255, 78, 112, 0.2);
  transition: var(--transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 78, 112, 0.35);
}

/* Hamburger menu button for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-light-pink) 0%, var(--light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,78,112,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  position: relative;
  z-index: 1;
}

.hero-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(255, 78, 112, 0.15);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--dark-light);
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin: 10px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-num);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-value span {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-light);
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-store-btn, .google-play-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: var(--light);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.app-store-btn:hover, .google-play-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.direct-download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--primary-gradient);
  color: var(--light);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 78, 112, 0.3);
  transition: var(--transition-smooth);
}

.direct-download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(255, 78, 112, 0.45);
}

.direct-download-btn .btn-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.direct-download-btn .btn-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.direct-download-btn .btn-sub {
  font-size: 0.72rem;
  opacity: 0.9;
  display: block;
}

.direct-download-btn .btn-main {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.btn-icon {
  font-size: 1.8rem;
}

.btn-text {
  text-align: left;
}

.btn-sub {
  font-size: 0.65rem;
  opacity: 0.8;
  display: block;
}

.btn-main {
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.qr-download {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 78, 112, 0.1);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  align-self: flex-start;
}

.qr-code {
  width: 72px;
  height: 72px;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qr-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-light);
  line-height: 1.4;
}

.hero-disclaimer {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: -5px;
}

/* --- HERO PHONE MOCKUP --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 640px;
  z-index: 2;
  perspective: 1000px;
}

.phone-mockup {
  width: 100%;
  height: 100%;
  background: #1e1e1e;
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.3), inset 0 0 4px 2px rgba(255,255,255,0.2);
  position: relative;
  border: 4px solid #333;
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--light);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  border: 1px solid #111;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #111;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-camera {
  width: 8px;
  height: 8px;
  background: #242424;
  border-radius: 50%;
  margin-right: 12px;
}

.phone-speaker {
  width: 40px;
  height: 4px;
  background: #3c3c3c;
  border-radius: 2px;
}

/* Mock Screens inside Hero mockup */
.mock-screens-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.mock-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mock-screen.active {
  opacity: 1;
  z-index: 5;
}

/* Background floating decorations */
.floating-element {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(255, 78, 112, 0.15));
}

.float-badge-1 {
  top: 15%;
  left: -20px;
  animation: float 5s ease-in-out infinite alternate;
}

.float-badge-2 {
  bottom: 25%;
  right: -30px;
  animation: float 7s ease-in-out infinite alternate-reverse;
}

.float-heart {
  top: 50%;
  left: -40px;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  animation: float 4s ease-in-out infinite alternate;
}

/* Animation definition */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Custom Mockup Badge UI */
.mock-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 78, 112, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-badge-icon {
  font-size: 1.2rem;
  background: var(--primary-gradient);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
}

.mock-badge-desc {
  font-size: 0.6rem;
  color: var(--dark-light);
  font-weight: 400;
}

/* --- MOCK PHONE SCREEN UI --- */
.mock-header {
  height: 60px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  background: var(--light);
}

.mock-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
}

.mock-content {
  flex: 1;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
}

/* Mock Screen 1: Reviews */
.mock-reviews {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-review-card {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.mock-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-300);
}

.mock-username {
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-user-tags {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.mock-tag {
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.mock-tag.type {
  background: #eef6ff;
  color: var(--accent-blue);
}

.mock-rating {
  font-size: 0.65rem;
  color: var(--accent-yellow);
  margin-bottom: 4px;
}

.mock-review-text {
  font-size: 0.65rem;
  color: var(--dark);
  line-height: 1.4;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mock-review-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.mock-review-img {
  height: 60px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

/* Mock Screen 2: Rankings */
.mock-rankings {
  padding: 12px;
}

.mock-tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  background: var(--gray-200);
  padding: 3px;
  border-radius: var(--radius-sm);
}

.mock-tab {
  flex: 1;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  color: var(--dark-light);
}

.mock-tab.active {
  background: var(--light);
  color: var(--primary);
}

.mock-rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-rank-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  padding: 8px;
  border-radius: var(--radius-sm);
  position: relative;
}

.mock-rank-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: white;
  font-size: 0.55rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
}

.mock-rank-item:nth-child(2) .mock-rank-badge {
  background: #c0c0c0;
}

.mock-rank-item:nth-child(3) .mock-rank-badge {
  background: #cd7f32;
}

.mock-product-img {
  width: 36px;
  height: 36px;
  background: var(--gray-300);
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.mock-product-info {
  flex: 1;
}

.mock-brand-name {
  font-size: 0.55rem;
  color: var(--dark-light);
}

.mock-prod-name {
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.mock-prod-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.mock-stars {
  color: var(--accent-yellow);
  font-size: 0.55rem;
}

.mock-score {
  font-size: 0.55rem;
  font-family: var(--font-num);
  font-weight: 700;
}

/* Mock Screen 3: Shopping */
.mock-shop {
  padding: 12px;
}

.mock-shop-hero {
  background: linear-gradient(135deg, #ffd3da 0%, #fff0f2 100%);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  margin-bottom: 12px;
}

.mock-shop-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.mock-shop-sub {
  font-size: 0.55rem;
  color: var(--dark);
  font-weight: 500;
}

.mock-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-shop-card {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.mock-shop-img {
  height: 64px;
  background: var(--gray-300);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background-size: cover;
  background-position: center;
}

.mock-shop-name {
  font-size: 0.6rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-shop-price {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-num);
}

.mock-shop-points {
  font-size: 0.5rem;
  color: var(--accent-green);
  font-weight: 700;
}

/* --- TRUST BADGES / STATS BANNER --- */
.stats-banner {
  padding: 40px 0;
  background: var(--light);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
}

.stat-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--dark-light);
}

/* --- DYNAMIC APP SIMULATOR SECTION --- */
.simulator-section {
  padding: 100px 0;
  background-color: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge {
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--dark-light);
  margin-top: 8px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Left phone column inside simulator */
.simulator-phone {
  display: flex;
  justify-content: center;
}

/* Right content selector column */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-btn {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 78, 112, 0.1);
}

.control-btn.active {
  background: var(--light);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.control-num {
  font-family: var(--font-num);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-400);
  line-height: 1;
  transition: var(--transition);
}

.control-btn.active .control-num {
  color: var(--primary);
}

.control-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.control-btn.active .control-title {
  color: var(--primary);
}

.control-desc {
  font-size: 0.9rem;
  color: var(--dark-light);
  line-height: 1.5;
}

/* --- INTERACTIVE PRODUCT RANKING SECTION --- */
.ranking-section {
  padding: 100px 0;
  background-color: var(--light);
}

.ranking-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ranking-tab-btn {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  background: var(--gray-100);
  color: var(--dark-light);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.ranking-tab-btn:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.ranking-tab-btn.active {
  background: var(--primary-gradient);
  color: var(--light);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.ranking-panels {
  position: relative;
  min-height: 480px;
}

.ranking-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ranking-panel.active {
  display: grid;
  animation: fadeInUp 0.5s ease forwards;
}

/* Ranking Card UI */
.product-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 78, 112, 0.15);
}

.rank-badge-large {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent-yellow);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 209, 92, 0.4);
  z-index: 10;
}

.product-card:nth-child(2) .rank-badge-large {
  background: #d1d5db;
  box-shadow: 0 4px 10px rgba(180, 180, 180, 0.3);
}

.product-card:nth-child(3) .rank-badge-large {
  background: #e2a874;
  box-shadow: 0 4px 10px rgba(210, 150, 100, 0.3);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrapper img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.08);
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.product-price {
  font-family: var(--font-num);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-rating .stars {
  color: var(--accent-yellow);
  font-size: 0.95rem;
}

.product-rating .score {
  font-family: var(--font-num);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-light);
}

/* --- DYNAMIC REVIEWS FEEDBACK SECTION --- */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-light-pink);
  overflow: hidden;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Interactive Filter Row */
.reviews-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.filter-chip {
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--light);
  color: var(--dark-light);
  border: 1px solid var(--gray-300);
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--gray-100);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--light);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Review Cards Slider Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.review-card-large {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.review-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card-large.hidden {
  display: none;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--gray-200);
  border: 2px solid var(--primary-light);
}

.user-metadata {
  display: flex;
  flex-direction: column;
}

.user-name-large {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark);
}

.user-tags-large {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.user-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f3f9;
  color: var(--dark-light);
}

.user-badge-tag.pc-warm {
  background: #fff0e5;
  color: #ff7733;
}

.user-badge-tag.pc-cool {
  background: #f0eafb;
  color: #8c52ff;
}

.review-rating-stars {
  color: var(--accent-yellow);
  font-size: 1.1rem;
}

.review-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
}

.review-card-body {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.6;
  flex: 1;
}

.review-product-mention {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.review-product-mention img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
}

/* --- FAQ ACCORDION SECTION --- */
.faq-section {
  padding: 100px 0;
  background: var(--light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(255, 78, 112, 0.2);
  background: var(--light);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  transition: var(--transition);
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--light);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--dark-light);
  line-height: 1.6;
}

/* --- CTA BOTTOM SECTION --- */
.cta-bottom {
  padding: 100px 0;
  background: linear-gradient(135deg, #ff758c 0%, #ff4e70 100%);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.cta-bottom::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  border-radius: 50%;
}

.cta-bottom .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.3;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-actions .download-buttons .app-store-btn,
.cta-actions .download-buttons .google-play-btn,
.cta-actions .download-buttons .direct-download-btn {
  background: var(--light);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cta-actions .download-buttons .app-store-btn:hover,
.cta-actions .download-buttons .google-play-btn:hover,
.cta-actions .download-buttons .direct-download-btn:hover {
  background: var(--dark);
  color: var(--light);
  transform: translateY(-3px);
}

.cta-qr-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  align-self: flex-start;
}

.cta-qr-box .qr-text {
  color: var(--light);
}

.cta-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.cta-mockup-1 {
  width: 240px;
  height: 480px;
  background: #1e1e1e;
  border-radius: 36px;
  padding: 8px;
  border: 3px solid #333;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: rotate(-5deg) translateX(30px);
  z-index: 1;
}

.cta-mockup-2 {
  width: 240px;
  height: 480px;
  background: #1e1e1e;
  border-radius: 36px;
  padding: 8px;
  border: 3px solid #333;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: rotate(5deg) translateX(-30px);
  z-index: 2;
}

.cta-mockup-1 .phone-screen,
.cta-mockup-2 .phone-screen {
  border-radius: 28px;
}

/* --- FOOTER --- */
.footer {
  padding: 60px 0 40px;
  background: var(--dark);
  color: var(--gray-400);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary);
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  color: var(--light);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col a {
  font-size: 0.82rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.75rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--primary);
  color: var(--light);
}

/* --- MOBILE STICKY CTA BUTTON --- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-btn {
  width: 100%;
  background: var(--primary-gradient);
  color: var(--light);
  padding: 16px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(255, 78, 112, 0.4);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(255, 78, 112, 0.4); }
  50% { box-shadow: 0 10px 40px rgba(255, 78, 112, 0.7); }
  100% { box-shadow: 0 10px 30px rgba(255, 78, 112, 0.4); }
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .simulator-phone {
    grid-row: 1;
  }
  .ranking-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  /* Mobile install banner adjustments */
  .mobile-app-banner {
    display: flex;
  }
  .header {
    top: 64px;
  }
  body {
    padding-top: 64px;
  }
  body.banner-closed .mobile-app-banner {
    display: none;
  }
  body.banner-closed .header {
    top: 0;
  }
  body.banner-closed {
    padding-top: 0;
  }

  .header__nav {
    height: 60px;
  }
  .nav-links, .nav-btn-wrapper {
    display: none; /* Hide for mobile */
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-actions {
    width: 100%;
    align-items: center;
  }
  .download-buttons {
    justify-content: center;
    width: 100%;
  }
  
  /* Make mockup responsive on mobile */
  .phone-mockup-wrapper {
    max-width: 270px;
    height: 540px;
    margin: 0 auto;
  }
  .float-badge-1 {
    left: -40px;
    top: 10%;
  }
  .float-badge-2 {
    right: -40px;
    bottom: 20%;
  }

  .app-store-btn, .google-play-btn, .direct-download-btn {
    flex: 1;
    justify-content: center;
    max-width: 280px;
  }
  .qr-download {
    display: none; /* Hide QR on mobile */
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ranking-tabs {
    flex-wrap: wrap;
  }
  
  /* Optimize rankings list style on mobile */
  .ranking-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    max-width: 100%;
    border-radius: var(--radius-md);
  }
  .product-image-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  .product-details {
    gap: 4px;
    text-align: left;
  }
  .product-name {
    font-size: 0.95rem;
    height: auto;
    -webkit-line-clamp: 1;
    margin-bottom: 2px;
  }
  .product-meta {
    margin-top: 0;
    padding-top: 4px;
    border-top: none;
    justify-content: flex-start;
    gap: 12px;
  }
  .rank-badge-large {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    top: -6px;
    left: -6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-card-large {
    max-width: 100%;
    width: 100%;
  }
  .cta-bottom {
    padding: 60px 0;
    text-align: center;
  }
  .cta-bottom .container {
    grid-template-columns: 1fr;
  }
  .cta-content {
    align-items: center;
  }
  .cta-title {
    font-size: 2rem;
  }
  .cta-actions {
    width: 100%;
    align-items: center;
  }
  .cta-actions .download-buttons {
    justify-content: center;
  }
  .cta-qr-box {
    display: none;
  }
  .cta-visual {
    margin-top: 20px;
    gap: 16px;
  }
  .cta-mockup-1, .cta-mockup-2 {
    width: 180px;
    height: 360px;
  }
  .cta-mockup-1 {
    transform: rotate(-5deg) translateX(15px);
  }
  .cta-mockup-2 {
    transform: rotate(5deg) translateX(-15px);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
