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

:root {
  --samsung-blue: #1428a0;
  --accent: #6c3bff;
  --accent2: #00c6ff;
  --bg-dark: #0a0a1a;
  --bg-card: #111128;
  --text: #f0f0f5;
  --text-dim: #8888aa;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 16px 40px;
  background: rgba(10,10,26,.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.logo {
  font-size: 18px; font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 40%, var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-right: auto;
}
.nav-link {
  color: var(--text-dim); text-decoration: none; font-size: 14px;
  transition: color .2s;
}
.nav-link:hover { color: #fff; }
.nav-btn {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 8px 20px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(108,59,255,.4); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 40px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(108,59,255,.25), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0,198,255,.15), transparent);
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%   { opacity: .8; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; width: 100%;
  gap: 40px;
}
.hero-text { flex: 1; max-width: 520px; }

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: 2px; margin-bottom: 20px;
  animation: fadeUp .6s ease both;
}

.hero-text h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff 30%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: fadeUp .7s ease .1s both;
}
.tagline {
  font-size: 22px; font-weight: 300; color: var(--text-dim);
  margin: 16px 0 8px;
  animation: fadeUp .7s ease .2s both;
}
.desc {
  font-size: 15px; color: var(--text-dim);
  animation: fadeUp .7s ease .3s both;
}

.hero-price {
  display: flex; align-items: center; gap: 20px;
  margin-top: 32px;
  animation: fadeUp .7s ease .4s both;
}
.price {
  font-size: 28px; font-weight: 700;
}
.btn-buy {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff; padding: 14px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .3s;
  border: none; cursor: pointer;
}
.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,59,255,.5);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PHONE ── */
.hero-phone {
  flex: 1; display: flex; justify-content: center; align-items: center;
  position: relative;
  animation: fadeUp .8s ease .3s both;
}
.phone-glow {
  position: absolute; width: 340px; height: 340px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(108,59,255,.35), transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0%   { transform: translate(-50%,-50%) scale(1); }
  100% { transform: translate(-50%,-50%) scale(1.15); }
}
.phone-real {
  position: relative; z-index: 2;
  max-width: 380px; width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.6));
  animation: float 6s ease-in-out infinite;
  transition: transform .4s ease;
}
.phone-real:hover {
  transform: scale(1.03);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(10px); }
}

/* ── SECTION TITLES ── */
.section-title {
  text-align: center; font-size: 36px; font-weight: 800;
  margin-bottom: 48px;
}
.section-title.light { color: #fff; }

/* ── FEATURES ── */
.features {
  padding: 100px 40px;
  max-width: 1200px; margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,59,255,.3);
}
.feature-icon {
  font-size: 40px; margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px; line-height: 1.7; color: var(--text-dim);
}

/* ── VIDEO ── */
.video-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, var(--bg-dark), #0e0e28, var(--bg-dark));
}
.video-sub {
  text-align: center; color: var(--text-dim); font-size: 15px;
  margin-top: -36px; margin-bottom: 48px;
}
.video-wrapper {
  max-width: 900px; margin: 0 auto;
}
.video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.video-frame .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
}

/* ── GALLERY ── */
.gallery-section {
  padding: 100px 40px;
  max-width: 1200px; margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,59,255,.2);
}
.gallery-item img {
  width: 100%; height: 300px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  font-size: 14px; font-weight: 600;
  color: #fff;
}

/* ── SPECS ── */
.specs-section {
  padding: 100px 40px;
  max-width: 800px; margin: 0 auto;
}
.specs-table {
  display: flex; flex-direction: column;
}
.spec-row {
  display: flex; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 15px;
}
.spec-label { color: var(--text-dim); }
.spec-value { font-weight: 600; text-align: right; }

/* ── CTA ── */
.cta {
  padding: 100px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(108,59,255,.2), transparent);
}
.cta-content h2 {
  font-size: 48px; font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-price { font-size: 32px; font-weight: 700; margin: 16px 0 8px; }
.cta-sub { color: var(--text-dim); font-size: 15px; margin-bottom: 32px; }
.cta-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-buy.big {
  padding: 18px 40px; font-size: 18px; border-radius: 14px;
}
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--text); border: 2px solid rgba(255,255,255,.15);
  padding: 16px 36px; border-radius: 14px;
  font-size: 18px; font-weight: 600; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(108,59,255,.1);
}

/* ── FOOTER ── */
.footer {
  text-align: center; padding: 32px;
  font-size: 13px; color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-price { justify-content: center; flex-wrap: wrap; }
  .nav { padding: 12px 20px; gap: 12px; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .video-section, .specs-section, .cta { padding: 60px 20px; }
  .gallery-section { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 220px; }
  .spec-row { flex-direction: column; gap: 4px; }
}
