/* Import Pretendard Font */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  
  /* Color Palette - Premium Light Mode Redesign */
  --bg-primary: #f8fafc;         /* Soft slate background */
  --bg-secondary: #ffffff;       /* Pure white for panels and cards */
  --bg-tertiary: #f1f5f9;        /* Slate 100 for secondary backgrounds */
  --bg-glass: rgba(255, 255, 255, 0.85); /* Frosty light glassmorphism */
  --bg-glass-card: rgba(0, 0, 0, 0.02);
  
  --accent: #4f46e5;             /* Trustworthy Indigo 600 */
  --accent-purple: #9333ea;      /* Purple 600 */
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3730a3 0%, #7e22ce 100%);
  --accent-light: rgba(79, 70, 229, 0.08);
  --accent-success: #059669;     /* Emerald 600 for local network tags */
  --accent-success-light: rgba(5, 150, 105, 0.08);
  --accent-warning: #d97706;     /* Amber 600 for warning tags */
  --accent-warning-light: rgba(217, 119, 6, 0.08);
  
  --text-main: #0f172a;          /* Charcoal Slate 900 for solid readability */
  --text-muted: #334155;         /* Slate 700 for descriptions and copy */
  --text-dim: #64748b;           /* Slate 500 for captions and subtle text */
  
  --border-color: #e2e8f0;       /* Slate 200 crisp borders */
  --border-hover: #cbd5e1;       /* Slate 300 hover state */
  --border-active: #4f46e5;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height: 72px;
}

/* Reset Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: transparent; /* 비디오 배경 노출을 위해 투명 설정 */
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all; /* 한국어 조사와 명사가 끊기지 않도록 어절 단위 개행 설정 */
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Global Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  -webkit-text-fill-color: #fff;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.cart-btn:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Page View Management */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Background glow effects */
.glow-blur {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  top: 10%;
  right: -100px;
}

.glow-2 {
  bottom: 0%;
  left: -100px;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  align-items: center;
  gap: 6px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Search Bar Styling */
.search-wrapper {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  border-radius: 100px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0 8px 0 24px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.search-box:focus-within {
  border-color: var(--border-active);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), var(--shadow-md);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 12px;
}

.search-input {
  flex-grow: 1;
  font-size: 1.05rem;
  color: var(--text-main);
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.search-btn:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Why Us Section */
.why-us-section {
  padding: 60px 0;
  position: relative;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.why-us-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-us-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.why-us-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.why-us-card:nth-child(2) .why-us-icon-wrap {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
}

.why-us-card:nth-child(3) .why-us-icon-wrap {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
}

.why-us-card:nth-child(4) .why-us-icon-wrap {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-warning);
}

.why-us-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.why-us-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner {
  padding: 60px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* User Guide / Precautions Image Content Styling */
.guide-image-section {
  padding: 60px 0;
}

.guide-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 32px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-column-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-item-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-card-small {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.guide-card-small h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card-small.alert {
  border-color: rgba(245, 158, 11, 0.2);
  background-color: rgba(245, 158, 11, 0.02);
}

.guide-card-small.alert h4 {
  color: var(--accent-warning);
}

.guide-card-small ul {
  list-style: none;
  padding-left: 0;
}

.guide-card-small li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
  line-height: 1.5;
}

.guide-card-small li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

.guide-card-small.alert li::before {
  color: var(--accent-warning);
}

.guide-card-small li:last-child {
  margin-bottom: 0;
}

/* Store Navigation (Tabs) */
.store-tabs {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2px;
  padding-top: calc(var(--header-height) + 20px);
}

.tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.tabs-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar for tabs */
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: transparent;
  border: 1px solid transparent;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-main);
  background-color: var(--bg-glass-card);
}

.tab-btn.active {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Store Products Section */
.store-section {
  padding-bottom: 80px;
}

.store-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-count span {
  color: var(--accent);
  font-weight: 700;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Product Card */
.product-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(52, 152, 219, 0.35);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(52, 152, 219, 0.15);
}

.card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .card-img {
  transform: scale(1.05);
}

.card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tag.best {
  background-color: #f59e0b;
  color: #000;
}

.card-tag.local {
  background-color: var(--accent-success);
  color: #fff;
}

.card-tag.roaming {
  background-color: #3b82f6;
  color: #fff;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-carrier {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.card-spec-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 8px;
}

.card-price-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.card-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-sales {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden; /* Contains internal scrollbars cleanly inside rounded corners */
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 100; /* Stack on top of all content and scrollbars */
}

.modal-close:hover {
  color: var(--text-main);
  background-color: var(--accent);
  border-color: var(--accent);
}

.modal-content {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  overflow-y: auto; /* internal scrolling container */
  max-height: calc(90vh - 2px);
}

@media (min-width: 768px) {
  .modal-content {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* Modal Left Section (Configuration) */
.modal-header {
  margin-bottom: 24px;
}

.modal-category {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.config-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.config-group {
  margin-bottom: 24px;
}

/* Selectable Pills Grid */
.pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.pill-option {
  padding: 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
}

.pill-option:hover {
  border-color: rgba(52, 152, 219, 0.35);
  background-color: rgba(52, 152, 219, 0.04);
  transform: translateY(-2px);
}

.pill-option:active {
  transform: scale(0.97);
}

.pill-option.active {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
  transform: translateY(0);
}

.pill-option.active::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.2);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.pill-option.active .pill-subtext {
  color: rgba(255, 255, 255, 0.8);
}

.pill-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Modal Right Section (Details & Price & Checkout) */
.modal-sidebar {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  height: fit-content;
}

.price-summary-box {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 800;
}

.summary-total-price {
  font-size: 1.5rem;
  color: #fff;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.action-btn {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.action-btn:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.action-btn:disabled {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  cursor: not-allowed;
  box-shadow: none;
}

/* Spec List in Sidebar */
.spec-list {
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.spec-label {
  color: var(--text-dim);
  font-weight: 600;
}

.spec-val {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
  max-width: 60%;
  word-break: keep-all;
}

/* Modal Bottom Detail Tabs (Guide & Compatible Devices) */
.modal-bottom-tabs {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.bottom-tab-headers {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  overflow-x: auto;
  white-space: nowrap;
}

.bottom-tab-headers::-webkit-scrollbar {
  display: none;
}

.bottom-tab-header {
  padding-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition-fast);
}

.bottom-tab-header:hover {
  color: var(--text-main);
}

.bottom-tab-header.active {
  color: var(--accent);
}

.bottom-tab-header.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
}

.bottom-tab-content {
  display: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bottom-tab-content.active {
  display: block;
}

.guide-step {
  margin-bottom: 16px;
}

.guide-step h4 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.guide-step p {
  padding-left: 28px;
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-rating {
  color: #f59e0b;
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.review-product {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: -8px;
  margin-bottom: 16px;
  background-color: var(--bg-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
}

.review-tag {
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 4px;
  display: inline-block;
}

.review-tag.month {
  background-color: var(--accent-success-light);
  color: var(--accent-success);
}

.review-tag.best {
  background-color: #fef3c7; /* light amber/gold */
  color: #d97706; /* dark amber/gold */
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.author-name {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Precaution Warning Overlay */
.precaution-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 40px 20px;
  overflow-y: auto;
}

.precaution-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Precaution Accordion Styles */
.prec-accordion-item {
  background: rgba(99, 102, 241, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}
.prec-accordion-item.active {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.25);
}
.prec-accordion-item.warning-item {
  background: rgba(217, 119, 6, 0.03);
  border-color: rgba(217, 119, 6, 0.12);
}
.prec-accordion-item.warning-item.active {
  background: rgba(217, 119, 6, 0.06);
  border-color: rgba(217, 119, 6, 0.3);
}

.prec-accordion-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-main);
  transition: background var(--transition-fast);
}
.prec-accordion-header:hover {
  background: rgba(0, 0, 0, 0.02);
}
.prec-accordion-header .arrow {
  font-size: 0.75rem;
  transition: transform var(--transition-normal);
  color: var(--text-dim);
}
.prec-accordion-item.active .arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.prec-accordion-item.warning-item.active .arrow {
  color: var(--accent-warning);
}

.prec-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.6;
}
.prec-accordion-item.active .prec-accordion-content {
  max-height: 250px;
  padding: 12px 16px 16px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Checkout Simulator Overlay */
.checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 40px 20px;
  overflow-y: auto;
}

.checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-container {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  text-align: center;
}

.checkout-overlay.active .checkout-container {
  transform: scale(1);
}

.checkout-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.checkout-form-group {
  text-align: left;
  margin-bottom: 20px;
}

.checkout-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.checkout-input {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.checkout-input:focus {
  border-color: var(--border-active);
}

/* Receipt Screen */
.receipt-box {
  display: none;
}

.receipt-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent-success-light);
  color: var(--accent-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.qr-box {
  width: 180px;
  height: 180px;
  background-color: #fff;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.qr-code-svg {
  width: 100%;
  height: 100%;
}

.receipt-details {
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.receipt-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-weight: 700;
  color: var(--text-main);
}

.receipt-row span:first-child {
  color: var(--text-dim);
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-info {
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-link {
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-copyright {
  margin-top: 16px;
  font-size: 0.8rem;
}

.footer-sns {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-sns {
    justify-content: flex-end;
  }
}

.sns-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.sns-link:hover {
  color: #fff;
  border-color: var(--border-hover);
  background-color: var(--bg-tertiary);
}

/* Responsive adjust */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .search-box {
    height: 56px;
    padding-left: 16px;
  }
  
  .search-btn {
    height: 40px;
    padding: 0 16px;
  }
  
  .modal-content {
    padding: 24px;
  }
  
  .modal-close {
    top: 16px;
    right: 16px;
  }
}

/* Visual Spec Grid inside Modal */
.spec-grid-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.spec-visual-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-fast);
}

.spec-visual-card:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.02);
}

.spec-visual-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1.1rem;
  border: 1px solid var(--border-color);
}

.spec-visual-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-visual-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* Stylized List for secondary specs */
.spec-list-secondary {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-secondary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.spec-secondary-item:last-child {
  border-bottom: none;
}

.spec-secondary-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-secondary-value {
  color: var(--text-main);
  font-weight: 700;
}

/* Mock Phone Screen for Guides */
.mock-phone-screen {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.mock-phone-header {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mock-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
}

.mock-setting-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
}

.mock-setting-val {
  color: var(--accent);
  font-weight: 700;
  font-family: monospace;
  font-size: 0.85rem;
}

/* Video Background Layer */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: var(--bg-primary); /* 비디오 로딩 전 폴백 컬러 */
}

#bgVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 화사한 텍스트 가독성을 위해 밝은 테마에 맞춘 반투명 화이트 마스크 적용 */
  background: rgba(248, 250, 252, 0.88); 
  backdrop-filter: saturate(140%);
  -webkit-backdrop-filter: saturate(140%);
}

/* Expandable Reviews Accordion Styling */
.review-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: fit-content; /* Allow height to adapt dynamically */
  overflow: hidden;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit text to 3 lines by default */
  -webkit-box-orient: vertical;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 8px;
}

.review-card.expanded .review-text {
  -webkit-line-clamp: unset;
  display: block;
  transition: all 0.4s ease;
}

.review-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.review-toggle-btn:hover {
  color: var(--accent-gradient-hover);
  text-decoration: underline;
}

/* =============================================================
   [장바구니 드로어 및 연동 스타일링]
   ============================================================= */

/* 장바구니 오버레이 (배경 블러 및 페이드인) */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 장바구니 드로어 (우측 슬라이드인) */
.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: rgba(18, 22, 33, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

/* 드로어 헤더 */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* 드로어 바디 (품목 목록 스크롤) */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 장바구니 빈 상태 */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  text-align: center;
  color: var(--text-muted);
  gap: 12px;
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.cart-empty-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 장바구니 품목 카드 */
.cart-item-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: var(--transition-fast);
}

.cart-item-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.cart-item-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 28px; /* 삭제버튼 공간 */
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.cart-item-carrier {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
}

.cart-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 개별 삭제 버튼 */
.cart-item-delete {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.cart-item-delete:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* 장바구니 수량 및 추가설정 */
.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

.cart-qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.cart-item-addon-check {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* 드로어 푸터 */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 26, 0.95);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
}

/* 결제 모달 내부 리스트 아이템 */
.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.checkout-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-item-name {
  color: var(--text-main);
  font-weight: 600;
  max-width: 70%;
}

.checkout-item-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.checkout-item-qty-price {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}

/* 다중 영수증 품목 카드 */
.receipt-item-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.receipt-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.receipt-item-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.receipt-item-code {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--accent);
  background: rgba(52, 152, 219, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.receipt-item-qr-layout {
  display: flex;
  gap: 16px;
  align-items: center;
}

.receipt-item-qr-box {
  background: #fff;
  padding: 8px;
  border-radius: 6px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.receipt-item-qr-svg {
  width: 100%;
  height: 100%;
}

.receipt-item-info-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.receipt-item-info-row {
  display: flex;
  justify-content: space-between;
}

.receipt-item-info-row span:last-child {
  color: var(--text-main);
  font-weight: 600;
}

/* =============================================================
   [eSIM 기종 자가진단 도구 스타일링]
   ============================================================= */

/* 브랜드 선택 알약(Pill) 버튼 */
.diag-brand-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.diag-brand-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.diag-brand-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 진단 결과 카드 */
.diag-result-card {
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.diag-result-card.status-success {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.diag-result-card.status-warning {
  background: rgba(217, 119, 6, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.diag-result-card.status-danger {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.diag-result-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.diag-result-card.status-success .diag-result-title {
  color: #10b981;
}

.diag-result-card.status-warning .diag-result-title {
  color: var(--accent-warning);
}

.diag-result-card.status-danger .diag-result-title {
  color: #ef4444;
}

.diag-result-desc {
  font-size: 0.8rem;
  color: var(--text-main);
}

.diag-result-desc ul {
  margin: 6px 0 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
}

/* 기기 호환성 프리미엄 배너 버튼 */
.device-compat-banner {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.device-compat-banner:hover {
  background: rgba(52, 152, 219, 0.04);
  border-color: rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.device-compat-banner:active {
  transform: translateY(0);
}

.device-compat-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-compat-banner-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.device-compat-banner:hover .device-compat-banner-icon {
  background: rgba(52, 152, 219, 0.1);
  transform: rotate(10deg);
}

.device-compat-banner-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
}

.device-compat-banner-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-align: left;
}

.device-compat-banner-arrow {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.device-compat-banner:hover .device-compat-banner-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* 주문 내역 카드 스타일 */
.order-history-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  animation: slideUp 0.4s ease;
}

.order-history-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.order-history-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.order-history-code {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.order-history-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-history-item-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.order-history-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.order-history-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.order-history-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-history-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.order-history-qr-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.order-history-qr-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(52, 152, 219, 0.05);
}

.order-history-qr-expanded {
  display: none;
  margin-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  animation: fadeIn 0.3s ease;
}

.order-history-qr-expanded.active {
  display: block;
}

.order-history-total-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-history-total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-history-total-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

/* =============================================================
   [JDISIM 모바일 앱 시뮬레이터 스타일링]
   ============================================================= */

/* 스마트폰 전용 목업 프레임 */
.phone-mockup {
  width: 340px;
  height: 640px;
  background: #090d16;
  border: 12px solid #1f2937;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(52, 152, 219, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* 다이내믹 아일랜드 / 노치 */
.phone-notch {
  width: 110px;
  height: 20px;
  background: #1f2937;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

/* 스마트폰 액정 스크린 */
.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #101524 0%, #0d0e15 100%);
  padding: 16px;
  padding-top: 26px; /* 노치 높이만큼 여백 */
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* iOS형 상단 상태바 */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  padding: 2px 4px;
  margin-bottom: 8px;
}

/* 앱 헤더 */
.phone-app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.phone-app-logo {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(52,152,219,0.3);
}

.phone-app-brand {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex: 1;
  text-align: left;
}

.phone-app-badge {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.phone-app-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

/* 앱 바디 콘텐츠 */
.phone-app-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
  display: flex;
  flex-direction: column;
}

/* 커스텀 스크롤바 제거 */
.phone-app-body::-webkit-scrollbar {
  display: none;
}

/* 원형 프로그래스 게이지 */
.sim-gauge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0%, rgba(255, 255, 255, 0.08) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sim-gauge-inner {
  width: 124px;
  height: 124px;
  background: #0e121e;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sim-gauge-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
}

.sim-gauge-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.sim-gauge-total {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* 일별 사용량 차트 */
.sim-usage-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 60px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 10px 14px 4px 14px;
  gap: 12px;
}

.sim-chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px 3px 0 0;
  position: relative;
  min-height: 4px;
  transition: height 0.4s ease, background-color 0.3s;
}

.sim-chart-bar.active {
  background: var(--accent-gradient);
}

.sim-chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* 하단 시뮬레이션 패널 */
.phone-app-controller {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 12px;
  padding-top: 10px;
}

.phone-app-controller-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-warning);
  margin-bottom: 6px;
  text-align: left;
}

.sim-ctrl-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.sim-ctrl-btn:hover {
  background: rgba(52, 152, 219, 0.15);
  border-color: var(--accent);
  color: #fff;
}

/* 가상 푸시 알림 */
.sim-push-alert {
  background: rgba(16, 20, 30, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 36px; /* 노치 아래 */
  left: 10px;
  right: 10px;
  z-index: 50;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: slideDown 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: left;
}

.sim-push-alert-icon {
  font-size: 1.1rem;
}

.sim-push-alert-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.sim-push-alert-desc {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* =============================================================
   [eSIM 기종 자가진단 전면 개편(Remake) 스타일링]
   ============================================================= */

/* 모달 컨테이너 스크롤 및 스크롤바 제어 */
#deviceModalContainer::-webkit-scrollbar {
  width: 6px;
}

#deviceModalContainer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}

#deviceModalContainer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  transition: background 0.3s;
}

#deviceModalContainer::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* 프리미엄 Select 드롭다운 스타일링 */
select.checkout-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
  cursor: pointer;
  font-size: 0.85rem !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select.checkout-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}

select.checkout-input option {
  padding: 12px;
  font-size: 0.82rem !important;
}

/* 수동 진단 탭 네비게이션 */
.diag-guide-tab-nav {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  gap: 4px;
}

.diag-guide-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: var(--transition-fast);
}

.diag-guide-tab-btn:hover {
  color: var(--text-main);
}

.diag-guide-tab-btn.active {
  color: var(--accent);
}

.diag-guide-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

/* 수동 진단 탭 콘텐츠 */
.diag-guide-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.diag-guide-tab-content.active {
  display: block;
}






/* ==========================================================================
   Photo Review Slider & FAQ Accordion Section Styles
   ========================================================================== */

/* 1. Photo Review Slider */
.review-slider-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 16px 8px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review-slider-wrapper::-webkit-scrollbar {
  height: 6px;
}

.review-slider-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.review-slider-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.review-photo-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.review-photo-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.15);
}

.review-img-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.review-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.review-photo-card:hover .review-img-box img {
  transform: scale(1.06);
}

.review-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-rating {
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-product {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 107, 107, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  align-self: flex-start;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 107, 0.15);
}

.review-author {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.author-name {
  font-weight: 600;
  color: var(--text-main);
}

/* 2. FAQ Accordion Section */
.faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 100%);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item.active {
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-arrow {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.faq-answer strong {
  color: var(--text-main);
}


/* ==========================================================================
   REDESIGNED ROKEBI-STYLE HOME VIEW STYLES
   ========================================================================== */

/* 1. Hero Video Frame styling */
.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 520px;
  margin: 30px auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.2) 100%);
  z-index: 1;
}

.hero-video-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  z-index: 2;
}

.hero-video-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4f46e5;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-video-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-video-title span {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-video-buttons {
  display: flex;
  gap: 16px;
}

.hero-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.hero-video-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.hero-video-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.hero-video-btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(10px);
}

.hero-video-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

/* 2. App Info Section */
.app-info-section {
  padding: 60px 0;
  position: relative;
}

.app-info-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--text-main);
  letter-spacing: -1px;
}

.app-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-info-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.app-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
}

.app-info-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.app-info-card:hover .app-info-card-bg {
  transform: scale(1.05);
}

.app-info-card-1 {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.65) 0%, rgba(15, 17, 28, 0.9) 100%);
}

.app-info-card-2 {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.65) 0%, rgba(15, 17, 28, 0.9) 100%);
}

.app-info-card-3 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.65) 0%, rgba(15, 17, 28, 0.9) 100%);
}

.app-info-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 17, 28, 0.95) 0%, rgba(15, 17, 28, 0.2) 70%);
  z-index: 1;
}

.app-info-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
}

.app-info-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.app-info-card-text {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff;
}

/* 3. Feature Split Section */
.feature-split-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.feature-split-left {
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 40px;
  border: 12px solid #2d3748;
  background: #0f111c;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 10px rgba(255,255,255,0.1);
  overflow: hidden;
}

.phone-mockup-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 20px;
  background: #2d3748;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-mockup-screen {
  width: 100%;
  height: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.phone-qr-frame {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-qr-frame::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px dashed #6366f1;
  border-radius: 20px;
  animation: qr-scan-rotate 8s linear infinite;
}

@keyframes qr-scan-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.phone-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone-mockup-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.phone-mockup-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.phone-signal-dots {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}

.phone-signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a5568;
}

.phone-signal-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.feature-split-right {
  display: flex;
  flex-direction: column;
}

.feature-split-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 12px;
}

.feature-split-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.feature-split-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.feature-bullet-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 4. Review Track Section */
.review-track-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #0f111c 0%, #0a0b12 100%);
  overflow: hidden;
}

.review-track-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.review-track-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.review-track-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff; /* White title text */
  letter-spacing: -1.5px;
}

.review-tags-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.review-filter-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08); /* White transparency */
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9); /* White text color */
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-filter-tag:hover, .review-filter-tag.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff; /* Crisp white text on active tag */
  transform: translateY(-2px);
}

.review-track-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 20px 30px;
  scrollbar-width: none; /* Firefox */
}

.review-track-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.review-track-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
}

.review-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.review-badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.review-badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.review-badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.review-badge-orange {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.review-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.review-card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.review-card-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.review-card-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Responsive fixes */
@media (max-width: 1024px) {
  .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-split-left {
    order: 2;
  }
  .feature-split-right {
    order: 1;
    text-align: center;
  }
  .feature-bullet-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-video-frame {
    height: 400px;
    border-radius: 16px;
    margin: 15px auto;
  }
  
  .hero-video-content {
    padding: 0 24px;
  }
  
  .hero-video-title {
    font-size: 2.25rem;
  }
  
  .app-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .app-info-card {
    height: 180px;
  }
  
  .feature-split-title {
    font-size: 2rem;
  }
}

/* 6. Premium Swipeable & Collapsible Reviews Section */
.review-track-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.review-track-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.review-track-card {
  scroll-snap-align: start;
  user-select: none; /* Prevent text highlight during dragging */
}

.review-expand-wrapper {
  position: relative;
  max-height: 380px; /* Collapsed height (fits roughly 1 card row) */
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-expand-wrapper.expanded {
  max-height: 2500px; /* Large value to show all reviews */
}

.review-expand-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(15, 17, 28, 0) 0%, #0f111c 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.review-expand-wrapper.expanded .review-expand-overlay {
  opacity: 0;
}

.review-expand-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 10;
}

.review-expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent-gradient);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
}

.review-expand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}
