:root {
  --indigo: #0f172a;
  --indigo-light: #1e293b;
  --cyan: #06b6d4;
  --cyan-soft: #67e8f9;
  --violet: #8b5cf6;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --surface: #f0f9ff;
  --text: #0f172a;
  --muted: #475569;
}

@page {
  size: A4 landscape;
  margin: 0;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
}

.slide {
  width: 100%;
  max-width: 297mm;
  height: 210mm;
  padding: 16mm clamp(10mm, 4vw, 20mm);
  page-break-after: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.slide:last-child { page-break-after: auto; }
.slide * { word-break: break-word; }

.cover {
  background:
    radial-gradient(circle at 20% 30%, rgba(139,92,246,0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(6,182,212,0.25) 0%, transparent 40%),
    linear-gradient(135deg, var(--indigo) 0%, #1e1b4b 100%);
  color: #fff;
  text-align: center;
}
.cover h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cover .subtitle {
  font-size: clamp(18px, 2.4vw, 28px);
  margin-top: 16px;
  color: var(--cyan-soft);
  font-weight: 500;
}
.cover .tagline {
  display: inline-flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: clamp(12px, 1.4vw, 16px);
  margin-top: 44px;
  color: rgba(255,255,255,0.95);
}
.cover .tagline span {
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--indigo);
  margin-bottom: 18mm;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title svg {
  width: clamp(28px, 3vw, 40px);
  height: clamp(28px, 3vw, 40px);
  flex: none;
  color: var(--cyan);
}

.two-col {
  display: flex;
  gap: clamp(8mm, 3vw, 18mm);
  align-items: center;
}
.two-col .text { flex: 1; min-width: 0; }
.two-col .visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(6mm, 2vw, 10mm);
  width: 100%;
}
.spec-card {
  background: linear-gradient(145deg, #fff 0%, var(--surface) 100%);
  border-radius: 16px;
  padding: clamp(6mm, 2vw, 10mm) clamp(5mm, 2vw, 8mm);
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15,23,42,0.1);
}
.spec-card svg {
  width: clamp(24px, 3vw, 32px);
  height: clamp(24px, 3vw, 32px);
  color: var(--cyan);
  margin-bottom: 10px;
}
.spec-card .value {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--indigo);
}
.spec-card .label {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.feature-list {
  list-style: none;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.9;
}
.feature-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 10px;
}
.feature-list li svg {
  position: absolute;
  left: 0;
  top: 5px;
  width: clamp(18px, 2vw, 22px);
  height: clamp(18px, 2vw, 22px);
  color: var(--cyan);
}

.phone-mockup {
  width: clamp(130px, 18vw, 170px);
  height: clamp(260px, 36vw, 340px);
  border: clamp(7px, 1vw, 10px) solid #111827;
  border-radius: 26px;
  background: #030712;
  position: relative;
  box-shadow:
    0 0 0 2px #374151,
    0 24px 60px rgba(0,0,0,0.35),
    0 0 40px rgba(6,182,212,0.2);
}
.phone-mockup::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #374151;
  border-radius: 3px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--violet) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  text-align: center;
  padding: 12px;
}

.highlight {
  background: linear-gradient(90deg, #ecfeff 0%, #fff 100%);
  border-left: 4px solid var(--cyan);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-top: 18px;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--indigo-light);
}

.footer-note {
  position: absolute;
  bottom: 10mm;
  left: 20mm;
  right: 20mm;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

.big-camera {
  font-size: clamp(64px, 10vw, 130px);
  color: var(--indigo);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 8px 30px rgba(6,182,212,0.25);
}
.big-camera span {
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--cyan);
  font-weight: 700;
}

.final-brand {
  text-align: center;
}
.final-brand .model {
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--indigo);
  font-weight: 900;
  letter-spacing: -1px;
}
.final-brand .slogan {
  font-size: clamp(14px, 1.8vw, 20px);
  color: var(--cyan);
  font-weight: 600;
  margin-top: 10px;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .spec-card,
  .phone-mockup,
  .cover h1,
  .cover .subtitle,
  .cover .tagline {
    transition: none !important;
    animation: none !important;
  }
}

@media screen {
  .cover h1 { animation: fadeUp 0.8s ease-out both; }
  .cover .subtitle { animation: fadeUp 0.8s ease-out 0.15s both; }
  .cover .tagline { animation: fadeUp 0.8s ease-out 0.3s both; }
  .phone-mockup { animation: float 4s ease-in-out infinite; }
  .spec-card:nth-child(1) { animation: fadeIn 0.5s ease-out 0.1s both; }
  .spec-card:nth-child(2) { animation: fadeIn 0.5s ease-out 0.2s both; }
  .spec-card:nth-child(3) { animation: fadeIn 0.5s ease-out 0.3s both; }
  .spec-card:nth-child(4) { animation: fadeIn 0.5s ease-out 0.4s both; }
  .spec-card:nth-child(5) { animation: fadeIn 0.5s ease-out 0.5s both; }
  .spec-card:nth-child(6) { animation: fadeIn 0.5s ease-out 0.6s both; }
}

@media (max-width: 680px) {
  .two-col { flex-direction: column; }
  .visual { order: -1; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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