/* ===========================================
   학원 전자칠판 전문관 — Commercial Grade CSS
   PC / Tablet / Mobile 완전 대응
   =========================================== */

/* ── CSS 변수 ── */
:root {
  --samsung: #1428A0;
  --samsung-light: #3547d4;
  --samsung-pale: #eef0ff;
  --lg: #be0000;
  --lg-light: #e61515;
  --lg-pale: #fff0f0;
  --dark: #0c0e1a;
  --dark2: #161928;
  --mid: #2c3154;
  --body: #1c2035;
  --muted: #5a6075;
  --border: #e4e7f0;
  --bg: #f7f8fc;
  --white: #ffffff;
  --accent: #ff5e2e;
  --success: #22c55e;
  --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Montserrat', 'Noto Sans KR', sans-serif;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 4px rgba(0,0,0,.07);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.22);
  --header-h: 68px;
  --announce-h: 0px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ── 리셋 / 베이스 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ── 공통 섹션 헤더 ── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--samsung);
  background: var(--samsung-pale);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(20,40,160,.15);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 50px;
}
.text-gradient {
  background: linear-gradient(135deg, #1428A0, #4d7cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ANNOUNCE BAR ── */
/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--samsung), #4d7cff);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(20,40,160,.3);
}
.logo-texts { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 15px; font-weight: 800; color: var(--dark); }
.logo-sub { font-size: 10px; color: var(--muted); font-weight: 500; }

/* Desktop Nav */
.desktop-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--samsung); background: var(--samsung-pale); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); font-weight: 600;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 25px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.header-phone:hover {
  border-color: var(--samsung);
  color: var(--samsung);
  background: rgba(20,40,160,.04);
}
.header-phone i { color: var(--samsung); font-size: 13px; }
.btn-consult {
  background: linear-gradient(135deg, var(--samsung), var(--samsung-light));
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(20,40,160,.3);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20,40,160,.4);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--body);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mobile-nav.open { max-height: 500px; }
.mobile-nav-inner {
  padding: 12px 20px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-inner a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--body);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-nav-inner a i { width: 18px; color: var(--samsung); }
.mobile-nav-inner a:hover { background: var(--samsung-pale); }
.mobile-consult-btn {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--samsung), var(--samsung-light));
  color: white;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ── HERO ── */
.hero-section {
  min-height: 70vh;
  background: linear-gradient(135deg, #080c20 0%, #0f1530 40%, #111840 70%, #1428A0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: clamp(100px,14vh,140px) 0 clamp(60px,8vh,90px);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(77,124,255,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(190,0,0,.08) 0%, transparent 50%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero Center Layout */
.hero-center {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero Copy */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: #4d7cff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px #4d7cff;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #4d7cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-body {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-body strong { color: white; }

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
}
.trust-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #4d7cff;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-text { display: flex; flex-direction: column; line-height: 1.25; }
.trust-text strong { font-size: 13px; color: white; font-weight: 700; }
.trust-text span { font-size: 11px; color: rgba(255,255,255,.5); }
.trust-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.12);
  margin: 0 16px;
  flex-shrink: 0;
}

/* CTA Buttons */
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}
.cta-primary {
  background: linear-gradient(135deg, #4d7cff, var(--samsung));
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 30px rgba(77,124,255,.4);
  transition: all var(--transition);
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(77,124,255,.5);
}
.cta-ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.cta-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* Float animation (keep for other uses) */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.35); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── BRAND STRIP ── */
.brand-strip {
  background: var(--dark2);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.brand-strip-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  display: flex; align-items: center;
  gap: clamp(16px,3vw,40px);
  flex-wrap: wrap;
  justify-content: space-between;
}
.strip-label {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  font-weight: 600; white-space: nowrap;
}
.strip-logos {
  display: flex; align-items: center; gap: 16px;
}
.strip-logo { display: flex; flex-direction: column; line-height: 1.2; align-items: flex-start; }
.strip-logo-img { height: 22px; width: auto; object-fit: contain; display: block; }
.samsung-logo-img { height: 20px; filter: brightness(0) invert(1); }
.lg-logo-img { height: 28px; }
.samsung-strip em { font-style: normal; font-size: 9px; color: rgba(255,255,255,.35); letter-spacing: 1.5px; margin-top: 3px; }
.lg-strip em { font-style: normal; font-size: 9px; color: rgba(255,255,255,.35); letter-spacing: 1.5px; margin-top: 3px; }
.strip-sep { color: rgba(255,255,255,.15); font-size: 24px; }
.strip-stats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.stat strong { font-size: 16px; color: white; font-weight: 800; }
.stat span { font-size: 10px; color: rgba(255,255,255,.4); }
.stat-sep { color: rgba(255,255,255,.15); font-size: 18px; }

/* ── ABOUT / FEATURES ── */
.about-section {
  padding: clamp(60px,10vw,100px) 0;
  background: var(--white);
}
.about-section .section-header { text-align: center; margin-bottom: 50px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 30px 26px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(20,40,160,.03));
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--samsung);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feat-icon-wrap { margin-bottom: 18px; }
.feat-icon-bg {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.feature-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── BRAND SECTIONS ── */
.brand-section { position: relative; }
.samsung-section { background: var(--bg); }
.lg-section { background: white; }

.brand-section-hero {
  background: linear-gradient(135deg, #07091a 0%, #0d1030 50%, #0e1540 100%);
  padding: clamp(50px,8vw,80px) 0 clamp(40px,6vw,60px);
  position: relative;
  overflow: hidden;
}
.brand-section-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(20,40,160,.2), transparent 60%);
  pointer-events: none;
}
.lg-hero-bg::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(190,0,0,.15), transparent 60%);
}

.brand-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
  position: relative; z-index: 1;
}
.brand-logo-display {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.brand-logo-img {
  height: 36px; width: auto; object-fit: contain;
  display: block; margin-bottom: 6px;
}
.samsung-brand-logo { filter: brightness(0) invert(1); height: 30px; }
.lg-brand-logo { height: 44px; }
.brand-logo-sub {
  font-size: 11px; letter-spacing: 2px;
  color: rgba(255,255,255,.4); text-transform: uppercase;
}
.brand-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; color: white;
  line-height: 1.2; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.brand-title strong { color: #4d7cff; }
.lg-section .brand-title strong { color: #ff6666; }
.brand-tagline { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 22px; line-height: 1.7; }
.brand-features {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.brand-features span {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px; border-radius: 20px;
}
.brand-features i { color: #4d7cff; font-size: 10px; }
.lg-section .brand-features i { color: #ff6666; }

/* Brand Product Image */
.brand-product-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.brand-product-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: #f0f3ff;
}
.samsung-img-wrap .brand-product-img {
  box-shadow: 0 20px 60px rgba(20,40,160,.4), var(--shadow-lg);
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-xl);
  border: 3px solid rgba(20,40,160,.25);
  background: #f0f3ff;
}
.lg-img-wrap .brand-product-img {
  box-shadow: 0 20px 60px rgba(190,0,0,.3), var(--shadow-lg);
  object-fit: cover;
  object-position: center center;
  background: #fff5f5;
  border: 3px solid rgba(190,0,0,.15);
}
.img-badge {
  position: absolute;
  top: -12px; right: -12px;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: white; line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  text-align: center;
  z-index: 2;
}
.img-badge-samsung { background: linear-gradient(135deg, var(--accent), #ff8c42); }
.img-badge-lg { background: linear-gradient(135deg, var(--lg), #ff4444); }
.badge-num { font-size: 20px; font-weight: 900; line-height: 1; }

/* ── PRODUCTS AREA ── */
.products-area {
  padding: 40px 0 clamp(60px,8vw,80px);
}
.products-tab-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.products-tab-header h3 {
  font-size: 18px; font-weight: 700; color: var(--dark);
}
.size-tabs {
  display: flex; gap: 6px;
}
.size-tab {
  padding: 8px 22px;
  border-radius: 25px;
  font-size: 15px; font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.size-tab:hover { border-color: var(--samsung); color: var(--samsung); }
.size-tab.active {
  background: var(--samsung);
  border-color: var(--samsung);
  color: white;
  box-shadow: 0 4px 14px rgba(20,40,160,.3);
}
.lg-tabs .size-tab:hover { border-color: var(--lg); color: var(--lg); }
.lg-tabs .size-tab.active {
  background: var(--lg); border-color: var(--lg);
  box-shadow: 0 4px 14px rgba(190,0,0,.25);
}

/* Product Detail Panel */
.product-detail-panel { display: none; }
.product-detail-panel.active { display: block; }

.pdp-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 40px; align-items: start;
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(20px,4vw,40px);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.samsung-section .pdp-layout { border-color: rgba(20,40,160,.1); }
.lg-section .pdp-layout { border-color: rgba(190,0,0,.08); }

/* PDP Image */
.pdp-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  border: 2px solid var(--border);
}
.pdp-img-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
}
/* 삼성 프레임 - 원본 비율 유지 */
.samsung-frame img {
  object-fit: contain;
  padding: 12px;
  object-position: center center;
}
.samsung-frame { border-color: rgba(20,40,160,.15); background: linear-gradient(135deg, #f0f3ff, #f8f9ff); }
.lg-frame { border-color: rgba(190,0,0,.12); background: linear-gradient(135deg, #fff5f5, #fffafa); }
.lg-frame img {
  object-fit: contain;
  padding: 12px;
  object-position: center center;
}
.pdp-size-tag {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--samsung);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px; font-weight: 800;
  font-family: var(--font-display);
}
.lg-size-tag { background: var(--lg); }
.pdp-model-tag {
  margin-top: 10px;
  text-align: center;
  font-size: 11px; font-family: 'Courier New', monospace;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

/* PDP Info */
.pdp-name {
  font-size: 20px; font-weight: 800; color: var(--dark);
  margin-bottom: 12px;
}
.pdp-name span { color: var(--samsung); }
.lg-section .pdp-name span { color: var(--lg); }
.pdp-price-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.pdp-original {
  font-size: 13px; color: var(--muted);
  text-decoration: line-through;
}
.pdp-discount-badge {
  background: #fff3e0; color: #e65100;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px; font-weight: 700;
}
.pdp-discount-badge.hot { background: #fff0f0; color: var(--lg); }
.pdp-sale-price {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 22px;
}
.pdp-sale-price.no-original { margin-top: 12px; }
.pdp-from { font-size: 12px; color: var(--muted); font-weight: 600; }
.pdp-price-main {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 900;
  color: var(--samsung);
  letter-spacing: -0.03em;
}
.pdp-price-main span { font-size: 18px; font-weight: 700; }
.lg-price-color { color: var(--lg) !important; }

/* PDP Options */
.pdp-options { margin-bottom: 22px; }
.pdp-opt-title {
  font-size: 13px; font-weight: 700; color: var(--dark);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.pdp-opt-title i { color: var(--samsung); }
.lg-section .pdp-opt-title i { color: var(--lg); }
.pdp-opt-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pdp-opt-list::-webkit-scrollbar { width: 4px; }
.pdp-opt-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.pdp-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}
.pdp-opt:hover { border-color: var(--samsung); background: var(--samsung-pale); }
.pdp-opt:has(input:checked) { border-color: var(--samsung); background: var(--samsung-pale); }
.lg-opt:hover { border-color: var(--lg); background: var(--lg-pale); }
.lg-opt:has(input:checked) { border-color: var(--lg); background: var(--lg-pale); }
.pdp-opt input[type="radio"] { display: none; }

.pdp-radio-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
}
.pdp-opt input:checked ~ .pdp-radio-custom {
  background: var(--samsung);
  border-color: var(--samsung);
}
.pdp-opt input:checked ~ .pdp-radio-custom::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 7px; height: 7px;
  background: white; border-radius: 50%;
}
.lg-opt input:checked ~ .lg-radio { background: var(--lg); border-color: var(--lg); }
.lg-radio { border-color: #ccc; }

.pdp-opt-name {
  flex: 1; font-size: 13px; color: var(--body); font-weight: 500;
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}
.pdp-opt-price {
  font-size: 13px; font-weight: 700; color: var(--dark);
  white-space: nowrap; flex-shrink: 0;
}
.lg-opt-price { color: var(--lg) !important; }
.free-tag {
  font-size: 10px; font-style: normal; font-weight: 700;
  background: #e8f5e9; color: #2e7d32;
  padding: 2px 7px; border-radius: 4px;
}
.premium-opt {
  font-size: 10px; font-style: normal; font-weight: 700;
  background: #fff3e0; color: #e65100;
  padding: 2px 7px; border-radius: 4px;
}
.opt-note {
  font-size: 11px; color: var(--muted); margin-top: 8px;
  padding: 6px 10px;
  background: var(--bg); border-radius: var(--radius-xs);
  display: flex; align-items: center; gap: 5px;
}

/* PDP Spec */
.pdp-spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.pdp-spec {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--bg);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.lg-spec { border-color: rgba(190,0,0,.1); background: #fff8f8; }
.sp-k { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.sp-v { font-size: 13px; font-weight: 700; color: var(--dark); }

/* PDP Buttons */
.pdp-inquiry-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
  margin-bottom: 10px;
}
.samsung-btn {
  background: linear-gradient(135deg, var(--samsung), var(--samsung-light));
  color: white;
  box-shadow: 0 4px 16px rgba(20,40,160,.3);
}
.samsung-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,40,160,.4); }
.lg-btn {
  background: linear-gradient(135deg, var(--lg), var(--lg-light));
  color: white;
  box-shadow: 0 4px 16px rgba(190,0,0,.25);
}
.lg-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(190,0,0,.35); }
.pdp-official-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--samsung); padding: 8px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  text-decoration: underline; text-underline-offset: 3px;
}
.pdp-official-link:hover { opacity: 0.75; }
.lg-link { color: var(--lg); }

/* ── COMPARE ── */
.compare-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--bg);
}
.compare-section .section-header { text-align: center; margin-bottom: 40px; }

.compare-cards {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}
.cc-item {
  display: grid; grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.cc-item:last-child { border-bottom: none; }
.cc-item > div { padding: 16px 24px; font-size: 14px; color: var(--body); }
.cc-label { background: var(--bg); font-weight: 600; color: var(--muted); font-size: 13px; }
.cc-samsung { text-align: center; border-left: 1px solid var(--border); }
.cc-lg { text-align: center; border-left: 1px solid var(--border); }
.cc-header { background: var(--dark2); }
.cc-header .cc-label { background: var(--mid); color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.cc-brand-name {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
  min-height: 36px;
}
.cc-logo-img {
  height: 24px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.lg-cc-logo { height: 32px; filter: none; }
.cc-brand-sub { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: 1px; text-align: center; }
.cc-recommend { background: #fafbff; }
.cc-rec-text { font-size: 12px; line-height: 1.6; color: var(--muted); }
.s-icon { color: var(--samsung); }
.lg-icon { color: var(--lg); }

/* Price Grid */
.price-grid {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.price-grid-title { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.price-grid-rows { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin-bottom: 14px; }
.pg-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.pg-row:last-child { border-bottom: none; }
.pg-row > div { padding: 14px 20px; font-size: 14px; }
.pg-header { background: var(--dark2); }
.pg-header .pg-size, .pg-header .pg-brand {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7);
}
.pg-size { font-weight: 600; color: var(--body); background: var(--bg); }
.pg-brand { text-align: center; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.pg-logo-img {
  height: 20px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.lg-pg-logo { height: 26px; filter: none; }
.s-price { color: var(--samsung); font-weight: 700; }
.lg-price-c { color: var(--lg); font-weight: 700; }
.pg-note { font-size: 12px; color: var(--muted); }

/* ── SIZE GUIDE ── */
.sizeguide-section {
  padding: clamp(60px,8vw,100px) 0;
  background: white;
}
.sizeguide-section .section-header { text-align: center; margin-bottom: 40px; }

.sg-cards {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.sg-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.sg-card:hover { border-color: var(--samsung); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sg-popular {
  border-color: var(--samsung);
  box-shadow: var(--shadow-sm);
  background: var(--samsung-pale);
}
.sg-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.sg-size {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 900;
  color: var(--samsung); margin-bottom: 8px; line-height: 1;
}
.sg-popular .sg-size { color: var(--samsung); }
.sg-room { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.sg-students { font-size: 22px; font-weight: 800; color: var(--body); margin-bottom: 6px; }
.sg-dist { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.sg-btn {
  width: 100%; padding: 10px;
  background: white;
  border: 2px solid var(--samsung);
  color: var(--samsung);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  transition: all var(--transition);
}
.sg-btn:hover, .sg-btn-hot { background: var(--samsung); color: white; }

/* ── FAQ ── */
.faq-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--bg);
}
.faq-section .section-header { text-align: center; margin-bottom: 50px; }
.faq-layout {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--samsung); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-size: 15px; font-weight: 600; color: var(--body);
  text-align: left;
  transition: color var(--transition);
  background: white;
}
.faq-q i {
  flex-shrink: 0; font-size: 12px; color: var(--muted);
  transition: all var(--transition);
}
.faq-q.open { color: var(--samsung); }
.faq-q.open i { transform: rotate(45deg); color: var(--samsung); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  border-top: 1px solid transparent;
}
.faq-a.open {
  max-height: 300px;
  border-top-color: var(--border);
}
.faq-a p {
  padding: 16px 22px 20px;
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.faq-a strong { color: var(--body); font-weight: 700; }

/* FAQ CTA Card */
.faq-cta-card {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  position: sticky; top: 80px;
}
.faq-cta-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #4d7cff;
  margin: 0 auto 18px;
}
.faq-cta-card h3 {
  font-size: 20px; font-weight: 800; color: white;
  margin-bottom: 10px;
}
.faq-cta-card p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 22px; }
.faq-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, #4d7cff, var(--samsung));
  color: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 16px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(77,124,255,.35);
}
.faq-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(77,124,255,.45); }
.faq-cta-badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.faq-cta-badges span {
  font-size: 12px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 5px;
}
.faq-cta-badges i { color: var(--success); }

/* ── FINAL CTA ── */
.final-cta {
  padding: clamp(60px,10vw,100px) 0;
  background: linear-gradient(135deg, #050810 0%, #0a0f1f 40%, #0e1540 70%, #1428A0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(77,124,255,.15), transparent 60%);
}
.fc-content { position: relative; z-index: 1; }
.fc-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: white;
  margin: 0 auto 24px;
}
.fc-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900; color: white;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.fc-content p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 32px; }
.fc-btns {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.fc-btn-main {
  background: white; color: var(--samsung);
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  transition: all var(--transition);
}
.fc-btn-main:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.fc-btn-ghost {
  color: rgba(255,255,255,.75);
  padding: 18px 28px;
  border-radius: 50px;
  font-size: 16px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.25);
  transition: all var(--transition);
}
.fc-btn-ghost:hover { background: rgba(255,255,255,.1); }
.fc-trust {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.fc-trust span {
  font-size: 13px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 6px;
}
.fc-trust i { color: var(--success); }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: clamp(40px,6vw,60px) 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1.8fr 1.5fr;
  gap: 50px; margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: white;
  margin-bottom: 12px;
}
.footer-logo i { color: #4d7cff; font-size: 20px; }
.footer-brand-col p {
  font-size: 13px; color: rgba(255,255,255,.4);
  line-height: 1.8; margin-bottom: 16px;
}
.footer-partner-badges { display: flex; gap: 8px; }
.fp-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 20px;
}
.samsung-fp { background: rgba(20,40,160,.3); color: rgba(77,124,255,.9); border: 1px solid rgba(20,40,160,.4); }
.lg-fp { background: rgba(190,0,0,.25); color: rgba(255,80,80,.9); border: 1px solid rgba(190,0,0,.4); }
.footer-links-col {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.footer-link-group h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-link-group a {
  display: block;
  font-size: 13px; color: rgba(255,255,255,.55);
  margin-bottom: 8px; transition: color var(--transition);
}
.footer-link-group a:hover { color: white; }
.footer-bottom {
  text-align: center;
}
.footer-company-info {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 18px; margin-bottom: 12px;
}
.footer-company-info strong {
  width: 100%; font-size: 13px; color: rgba(255,255,255,.7);
  font-weight: 700; margin-bottom: 4px;
}
.footer-company-info span {
  font-size: 12px; color: rgba(255,255,255,.35);
  position: relative;
}
.footer-company-info span:not(:last-child)::after {
  content: '|'; margin-left: 18px; color: rgba(255,255,255,.15);
}
.footer-disclaimer {
  font-size: 11px; color: rgba(255,255,255,.2);
  margin-bottom: 6px; line-height: 1.6;
}
.footer-copyright {
  font-size: 12px; color: rgba(255,255,255,.2);
}

/* 고객센터 컬럼 */
.footer-contact-col {}
.footer-contact-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 18px; display: flex; align-items: center; gap: 6px;
}
.footer-contact-title i { color: #4d7cff; }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact-item > i {
  color: #4d7cff; font-size: 13px; margin-top: 2px; flex-shrink: 0;
}
.footer-contact-item div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-item strong {
  font-size: 18px; font-weight: 800; color: white; line-height: 1.2;
  letter-spacing: -0.5px;
}
.footer-contact-item span {
  font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.5;
}
.footer-contact-item a {
  font-size: 13px; color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: #4d7cff; }

/* ── FLOATING BUTTON ── */
.floating-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--samsung), var(--samsung-light));
  color: white;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 28px rgba(20,40,160,.45);
  z-index: 990;
  transition: all var(--transition);
  cursor: pointer;
}
.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 36px rgba(20,40,160,.55);
}
.floating-icon { font-size: 20px; }
.floating-label { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; }
.floating-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(20,40,160,.3);
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── MODALS ── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,8,20,.75);
  backdrop-filter: blur(10px) saturate(1.2);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
@media (min-width: 600px) {
  .modal-backdrop { align-items: center; padding: 20px; }
}

.modal-box {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp .35s cubic-bezier(.16,1,.3,1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
@media (min-width: 600px) {
  .modal-box {
    border-radius: var(--radius-xl);
    max-height: 90vh;
  }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: white;
  z-index: 1;
}
.modal-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--muted);
}
.modal-title strong {
  display: block; font-size: 18px; font-weight: 800; color: var(--dark);
  line-height: 1.2;
}
.modal-title span { display: block; font-size: 12px; }
.modal-title-icon {
  width: 42px; height: 42px;
  background: var(--samsung-pale); color: var(--samsung);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.modal-close {
  width: 36px; height: 36px;
  background: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--muted);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--dark); }

.modal-body { padding: 24px; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 700; color: var(--body);
  margin-bottom: 7px;
}
.req { color: var(--lg); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--samsung);
  background: white;
  box-shadow: 0 0 0 3px rgba(20,40,160,.08);
}
.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Agree Box */
.agree-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.agree-all-row {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; margin-bottom: 4px;
}
.agree-all-row strong { font-size: 14px; color: var(--dark); }
.agree-divider { height: 1px; background: var(--border); margin: 10px 0 12px; }
.agree-row {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; margin-bottom: 8px;
}
.agree-row:last-child { margin-bottom: 0; }
.agree-row input[type="checkbox"] { display: none; }
.chk-custom {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0; margin-top: 1px;
  position: relative;
  transition: all var(--transition);
}
.agree-row input:checked ~ .chk-custom,
.agree-all-row input:checked ~ .chk-custom {
  background: var(--samsung); border-color: var(--samsung);
}
.agree-row input:checked ~ .chk-custom::after,
.agree-all-row input:checked ~ .chk-custom::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-60%) rotate(-45deg);
  width: 9px; height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
}
.ag-text {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.ag-text b { color: var(--body); }
.view-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px; padding: 2px 8px;
  border-radius: 10px; cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.view-btn:hover { border-color: var(--samsung); color: var(--samsung); }

.modal-submit-btn {
  width: 100%; padding: 17px;
  background: linear-gradient(135deg, var(--samsung), var(--samsung-light));
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(20,40,160,.35);
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,40,160,.45);
}

/* Detail Modal */
.detail-backdrop { z-index: 2100; }
.detail-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 500px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  animation: slideUp .3s ease both;
}
.detail-modal-body {
  padding: 20px 24px;
  overflow-y: auto; flex: 1;
  font-size: 13px; color: var(--muted); line-height: 1.8;
}
.detail-modal-body h4 {
  font-size: 14px; font-weight: 700; color: var(--dark);
  margin: 16px 0 6px;
}
.detail-modal-body h4:first-child { margin-top: 0; }
.detail-modal-body table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.detail-modal-body th, .detail-modal-body td {
  border: 1px solid var(--border); padding: 8px 12px; font-size: 12px; text-align: left;
}
.detail-modal-body th { background: var(--bg); font-weight: 700; }
.detail-modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.detail-confirm {
  width: 100%; padding: 13px;
  background: var(--samsung); color: white;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  font-family: var(--font-sans);
  transition: background var(--transition);
}
.detail-confirm:hover { background: var(--samsung-light); }

/* Success Modal */
.success-modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  max-width: 360px; width: 100%;
  animation: slideUp .3s ease both;
}
.success-anim {
  font-size: 64px; color: var(--success);
  margin-bottom: 20px;
  animation: popIn .5s cubic-bezier(.36,2,.6,1) .1s both;
}
@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.success-modal h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.success-modal p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.success-modal strong { color: var(--dark); }
.success-modal button {
  background: var(--samsung); color: white;
  padding: 13px 40px;
  border-radius: 50px;
  font-size: 15px; font-weight: 700;
  font-family: var(--font-sans);
  transition: background var(--transition);
}
.success-modal button:hover { background: var(--samsung-light); }

/* ── ANIMATION ── */
[data-anim] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-anim="fade-left"] { transform: translateX(28px); }
[data-anim="fade-right"] { transform: translateX(-28px); }
[data-anim].visible {
  opacity: 1; transform: translate(0,0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  
  .hero-trust { flex-wrap: wrap; }
  .hero-ctas { justify-content: center; }
  .eyebrow-dot { display: none; }
  .hero-eyebrow { justify-content: center; }

  .brand-header { grid-template-columns: 1fr; gap: 30px; }
  .brand-header-right { order: -1; }
  .brand-product-img { height: 240px; }

  .features-grid { grid-template-columns: repeat(2,1fr); }
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-img-frame { aspect-ratio: 16/9; }
  .cc-item { grid-template-columns: 140px 1fr 1fr; }
  .sg-cards { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-cta-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links-col { grid-template-columns: repeat(3,1fr); }
  .footer-company-info span::after { display: none; }
  .price-summary-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; --announce-h: 0px; }
  
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .compare-cards { overflow-x: auto; }
  .cc-item { grid-template-columns: 110px 1fr 1fr; min-width: 500px; }
  
  .products-tab-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pdp-spec-grid { grid-template-columns: repeat(2,1fr); }
  .sg-cards { grid-template-columns: 1fr 1fr; }
  .footer-links-col { grid-template-columns: repeat(2,1fr); }
  .price-grid-rows { overflow-x: auto; }
  .pg-row { min-width: 420px; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: 12px; }
  .trust-divider { width: 100%; height: 1px; margin: 0; }
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-ghost { width: 100%; justify-content: center; }
  .sg-cards { grid-template-columns: 1fr; }
  .footer-links-col { grid-template-columns: 1fr 1fr; }
  .size-tabs { flex-wrap: wrap; }
  .size-tab { flex: 1; min-width: 70px; text-align: center; }
  .floating-btn { bottom: 16px; right: 16px; width: 56px; height: 56px; }
}

/* Active nav state */
.desktop-nav a.active { color: var(--samsung); background: var(--samsung-pale); }
