:root {
  --bg: #070b14;
  --bg-secondary: #0d1322;
  --card: rgba(17, 24, 39, 0.72);
  --card-strong: rgba(15, 23, 42, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #60a5fa;
  --primary-strong: #3b82f6;
  --accent: #22d3ee;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --steel: #4f8cff;
  --steel-2: #3b78ee;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition: all 0.28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.08), transparent 30%),
    linear-gradient(180deg, #050913 0%, #070b14 45%, #09111d 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 60px;
  left: -60px;
  background: rgba(59, 130, 246, 0.25);
}

.orb-2 {
  width: 360px;
  height: 360px;
  top: 260px;
  right: -100px;
  background: rgba(34, 211, 238, 0.16);
}

.orb-3 {
  width: 260px;
  height: 260px;
  bottom: 80px;
  left: 18%;
  background: rgba(52, 211, 153, 0.12);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: white;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(34, 211, 238, 0.95));
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.brand-tag {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #dbeafe;
  font-size: 0.96rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: white;
  transform: translateY(-1px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(59, 130, 246, 0.08);
  color: #dbeafe;
  cursor: pointer;
  font-weight: 800;
  transition: var(--transition);
}

.lang-toggle:hover {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.14);
}

/* HERO */
.hero { padding: 72px 0 36px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(96, 165, 250, 0.08);
  color: #bfdbfe;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 8px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -1.8px;
  max-width: 760px;
}

.hero h1 span {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subline {
  margin: 0 0 14px;
  color: #bfdbfe;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-text {
  margin: 0;
  max-width: 650px;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 45%, #06b6d4 100%);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-download {
  color: white;
  background: linear-gradient(135deg, var(--steel), var(--steel-2));
  box-shadow: 0 14px 30px rgba(79, 140, 255, 0.3);
}

.full-btn { width: 100%; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.point-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.point-card strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 5px;
}

.point-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(34, 211, 238, 0.08) 45%, transparent 72%);
  filter: blur(12px);
}

.mockup-card,
.floating-mini,
.compressor-card,
.benefit-card,
.step-card,
.use-case-card,
.faq-item,
.stat-box {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.86), rgba(8, 15, 29, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.dark-card {
  background: linear-gradient(180deg, rgba(20, 24, 34, 0.96), rgba(14, 18, 28, 0.96));
}

.mockup-main {
  position: relative;
  width: min(100%, 580px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.floating-card { animation: floatMain 5.6s ease-in-out infinite; }

@keyframes floatMain {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.mockup-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-example-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.18);
  backdrop-filter: blur(8px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.red { background: #fb7185; }
.yellow { background: #fbbf24; }
.green { background: #34d399; }

.mockup-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  padding: 24px;
  align-items: center;
}

.mockup-image {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 14px;
  background: rgba(148, 163, 184, 0.13);
  color: #dbeafe;
}

.label-big {
  font-size: 0.92rem;
}

.label.success {
  background: rgba(52, 211, 153, 0.12);
  color: #86efac;
}

.success-text {
  color: #86efac;
}

.image-art {
  height: 170px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.image-photo-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.mockup-photo {
  width: 100%;
  height: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.compressed-preview-look img {
  filter: saturate(0.96) contrast(1.03);
  transform: scale(0.99);
}

.image-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.image-meta strong { color: white; }

.arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-circle {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.arrow-strong { font-size: 1.85rem; }

.floating-mini {
  position: absolute;
  border-radius: 22px;
  padding: 18px;
  min-width: 180px;
}

.mini-stats {
  top: 48px;
  right: -10px;
  animation: floatSide 4.5s ease-in-out infinite;
}

.mini-speed {
  left: -16px;
  bottom: 62px;
  max-width: 220px;
  animation: floatSide 5.2s ease-in-out infinite;
}

@keyframes floatSide {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.mini-title {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.floating-mini strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.35;
}

.mini-bar {
  margin-top: 14px;
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #22d3ee);
}

/* SECTIONS */
section { padding: 42px 0; }

.section-heading { margin-bottom: 28px; }
.section-heading.center { text-align: center; }

.section-heading h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.8px;
}

.section-heading p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

/* ADS */
.ad-section {
  padding-top: 12px;
  padding-bottom: 12px;
}

.ad-box {
  min-height: 92px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #7c8aa5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

/* COMPRESSOR */
.compressor-section { padding-top: 24px; }

.compressor-card {
  border-radius: 30px;
  padding: 26px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.upload-panel,
.results-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 20px;
}

.upload-box {
  min-height: 280px;
  border-radius: 24px;
  border: 3px dashed rgba(96, 165, 250, 0.34);
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.08), rgba(34, 211, 238, 0.03));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 22px;
  cursor: pointer;
  transition: var(--transition);
}

.upload-box:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.58);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
}

.upload-box.dragover {
  border-color: #22d3ee;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.14), rgba(96, 165, 250, 0.06));
}

.upload-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-box h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.upload-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.upload-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.upload-note,
.upload-recommendation,
.upload-warning,
.alert-box {
  margin-top: 14px;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.94rem;
  line-height: 1.65;
}

.upload-note {
  background: rgba(255, 255, 255, 0.03);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.upload-recommendation {
  background: rgba(96, 165, 250, 0.08);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.16);
}

.upload-warning {
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.alert-box {
  background: rgba(251, 113, 133, 0.09);
  color: #fecdd3;
  border: 1px solid rgba(251, 113, 133, 0.18);
}

.hidden { display: none; }

.controls { margin-top: 20px; }

.control-group {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
}

.control-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}

input[type="range"] {
  width: 100%;
  accent-color: #3b82f6;
}

.range-values {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.range-values strong {
  color: white;
  font-size: 1rem;
}

/* RESULTS */
.results-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.results-header-item {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  text-align: center;
}

.comparison-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.comparison-empty {
  min-height: 180px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 18px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-card {
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-image {
  min-height: 150px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.compare-image img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 10px;
}

.compare-name {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
  word-break: break-word;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.stat-box {
  border-radius: 20px;
  padding: 18px;
}

.stat-box span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-box strong {
  display: block;
  font-size: 1.2rem;
}

.dual-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* BENEFITS */
.benefits-grid,
.steps-grid,
.use-cases-grid {
  display: grid;
  gap: 18px;
}

.benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-cases-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.benefit-card,
.step-card,
.use-case-card {
  border-radius: 24px;
  padding: 22px;
  transition: var(--transition);
}

.benefit-card:hover,
.step-card:hover,
.use-case-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.12));
}

.benefit-card h3,
.step-card h3,
.use-case-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.benefit-card p,
.step-card p,
.use-case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.14));
  color: white;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  padding: 2px 18px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.2rem;
  color: #bfdbfe;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

/* FOOTER */
.site-footer {
  padding: 28px 0 48px;
}

.footer-content {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: white;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .hero-grid,
  .compressor-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .floating-mini.mini-stats { right: 18px; }
  .floating-mini.mini-speed { left: 18px; }

  .benefits-grid,
  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links { gap: 14px; }
  .hero { padding-top: 38px; }

  .hero-points,
  .steps-grid,
  .benefits-grid,
  .use-cases-grid,
  .result-stats,
  .dual-actions,
  .comparison-row,
  .results-header {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .arrow-circle { transform: rotate(90deg); }

  .hero-visual {
    min-height: auto;
    padding-bottom: 120px;
  }

  .floating-mini {
    position: static;
    margin-top: 18px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-text,
  .hero-subline,
  .section-heading p,
  .benefit-card p,
  .step-card p,
  .use-case-card p,
  .faq-item p {
    font-size: 0.96rem;
  }

  .compressor-card,
  .upload-panel,
  .results-panel,
  .benefit-card,
  .step-card,
  .use-case-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .upload-box { min-height: 220px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}