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

/* === VARIABLES === */
:root {
  --bg: #f2f2f2;
  --bg-dark: #111111;
  --text: #111111;
  --text-light: #838282;
  --text-muted: #b6b5b5;
  --accent: #111111;
  --border: rgba(30,30,30,0.1);
  --white: #ffffff;
  --radius: 4px;
  --font: 'Inter', -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,242,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
.nav-brand-accent {
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
  transition: color 120ms;
}
.nav-links a:hover { color: var(--text-muted); }
.nav-cta {
  padding: 8px 20px;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  transition: all 200ms;
}
.nav-cta:hover {
  background: var(--text);
  color: var(--bg) !important;
}

/* === HERO === */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.hero-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 999px;
  transition: all 200ms cubic-bezier(0.77, 0, 0.175, 1);
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-lg { padding: 18px 48px; font-size: 15px; }

/* === SECTIONS === */
.section {
  padding: 48px 24px;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--bg);
}
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.section-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  margin: 0 auto 48px;
}
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 36px;
}

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { text-align: center; }
.step-num {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* === PLATFORMS GRID === */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 200ms;
}
.section-dark .platform-card {
  border-color: rgba(255,255,255,0.12);
  color: var(--bg);
}
.section-dark .platform-domain {
  color: rgba(255,255,255,0.5);
}
.platform-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.platform-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.platform-domain {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.platform-card-cta {
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* === CTA SECTION === */
.cta-section { text-align: center; }
.cta-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* === ARTICLE === */
.article {
  padding: 48px 24px 80px;
}
.article-inner {
  max-width: 720px;
  margin: 0 auto;
}
.article-inner h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.article-inner h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-inner h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 8px;
}
.article-inner p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.7;
}
.article-inner ol, .article-inner ul {
  margin: 16px 0;
  padding-left: 24px;
}
.article-inner li { margin-bottom: 8px; color: #444; }
.article-inner a { color: var(--text); font-weight: 600; }
.article-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-inner th, .article-inner td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-inner th {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

/* === CTA BANNER (in articles) === */
.cta-banner {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
}
.cta-banner p { color: var(--bg); margin-bottom: 16px; }
.cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 999px;
  transition: all 200ms;
}
.cta-button:hover { transform: scale(1.03); }

/* === FOOTER === */
.footer {
  background: #1e1e1e;
  color: rgba(246,246,246,0.6);
  padding: 64px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: rgba(246,246,246,0.9);
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(246,246,246,0.4);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(246,246,246,0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 120ms;
}
.footer-links a:hover { color: rgba(246,246,246,0.9); }
.footer-bottom {
  max-width: 1000px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  text-align: center;
}

/* === CATALOG === */
.catalog-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  margin: -20px 0 36px;
}
.search-box {
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-family: var(--font);
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 200ms;
}
.search-box input:focus {
  border-color: var(--text);
}
.search-box input::placeholder {
  color: var(--text-muted);
}
.search-count {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.catalog-list {
  max-width: 640px;
  margin: 0 auto;
}
.catalog-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 200ms;
}
.catalog-row:first-child { border-top: 1px solid var(--border); }
.catalog-row:hover { padding-left: 8px; }
.catalog-row .catalog-name {
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.catalog-row .catalog-domain {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: auto;
  padding-left: 16px;
}
.catalog-arrow {
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 12px;
  transition: transform 200ms;
}
.catalog-row:hover .catalog-arrow { transform: translateX(4px); }
.catalog-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.catalog-cta p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* === HOME SEARCH === */
.home-search-box {
  max-width: 480px;
  margin: -8px auto 28px;
  position: relative;
}
.home-search-box input {
  width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  font-family: var(--font);
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--bg);
  outline: none;
  transition: border-color 200ms;
}
.home-search-box input:focus {
  border-color: rgba(255,255,255,0.4);
}
.home-search-box input::placeholder {
  color: rgba(255,255,255,0.35);
}
.home-search-count {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.home-search-results {
  max-width: 540px;
  margin: 0 auto;
}
.home-catalog-list {
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.home-catalog-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: var(--bg);
  transition: padding-left 200ms;
}
.home-catalog-row:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.home-catalog-row:hover { padding-left: 8px; }
.home-catalog-row .catalog-name {
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.home-catalog-row .catalog-domain {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-left: auto;
  padding-left: 16px;
}
.home-catalog-row .catalog-arrow {
  font-size: 15px;
  color: rgba(255,255,255,0.3);
  margin-left: 10px;
  transition: transform 200ms;
}
.home-catalog-row:hover .catalog-arrow { transform: translateX(4px); }
.home-all-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 200ms;
}
.home-all-link:hover { color: rgba(255,255,255,0.8); }

/* === SALE PAGE === */
.price-old {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  text-decoration-color: rgba(255,80,80,0.7);
  text-decoration-thickness: 2px;
  margin-bottom: 4px;
}
.price-new {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--bg);
  line-height: 1.1;
}
.price-save {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  background: rgba(80,220,120,0.15);
  color: #5cdb6f;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
}
.sale-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.sale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.sale-grid-item {
  padding: 20px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.sale-grid-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.sale-grid-item span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}
.sale-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2px;
}
.sale-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.sale-checklist li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sale-checklist li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: var(--bg);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.urgency-bar {
  background: #fff3e0;
  border: 1px solid #ffe0b2;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 32px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #e65100;
}
@media (max-width: 768px) {
  .sale-grid { grid-template-columns: 1fr; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 40px 20px 48px; }
  .hero-title { font-size: 36px; margin-bottom: 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-note { margin-top: 0; }
  .section { padding: 40px 20px; }
  .section-title { font-size: 28px; margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-num { font-size: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .platform-card { padding: 16px; }
  .cta-title { font-size: 28px; }
  .section-divider { height: 40px; margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .platforms-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-primary { width: 100%; text-align: center; }
}
