
:root {
  --sm-bg-dark: #050607;
  --sm-bg-light: #f6f6f7;
  --sm-surface-dark: #141518;
  --sm-surface-light: #ffffff;
  --sm-text-dark: #f8f9fa;
  --sm-text-light: #121316;
  --sm-accent-red: #e02424;
  --sm-accent-red-soft: #ff4444;
  --sm-border-subtle: rgba(255, 255, 255, 0.08);
  --sm-border-subtle-light: rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] {
  background: var(--sm-bg-dark);
  color: var(--sm-text-dark);
}

html[data-theme="light"] {
  background: var(--sm-bg-light);
  color: var(--sm-text-light);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.sm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  border-bottom: 1px solid var(--sm-border-subtle);
  background: linear-gradient(90deg, #000000, #1a0000);
}

html[data-theme="light"] .sm-header {
  background: linear-gradient(90deg, #ffffff, #ffecec);
  border-bottom-color: var(--sm-border-subtle-light);
}

.sm-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sm-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.sm-brand-text {
  display: flex;
  flex-direction: column;
}

.sm-name {
  font-weight: 700;
  font-size: 1.4rem;
}

.sm-tagline {
  font-size: 0.85rem;
  opacity: 0.8;
}

.sm-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sm-btn {
  border-radius: 999px;
  border: 1px solid var(--sm-border-subtle);
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

html[data-theme="light"] .sm-btn {
  border-color: var(--sm-border-subtle-light);
}

.sm-btn-primary {
  background: var(--sm-accent-red);
  border-color: var(--sm-accent-red);
  color: #fff;
}

.sm-btn-primary:hover {
  background: var(--sm-accent-red-soft);
}

.sm-btn-outline {
  border-color: var(--sm-accent-red);
}

.sm-lang-switch {
  display: flex;
  gap: 0.25rem;
}

.sm-btn-lang.active {
  background: var(--sm-accent-red);
  border-color: var(--sm-accent-red);
  color: #fff;
}

.sm-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  padding: 2rem 5vw 1rem;
  align-items: center;
}

.sm-hero-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .sm-hero-image {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.sm-hero-text h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sm-hero-text p {
  margin: 0 0 1rem;
  max-width: 32rem;
}

.sm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sm-section {
  padding: 1.5rem 5vw 2.5rem;
}

.sm-section-alt {
  background: linear-gradient(135deg, rgba(224, 36, 36, 0.18), transparent);
}

html[data-theme="light"] .sm-section-alt {
  background: linear-gradient(135deg, rgba(224, 36, 36, 0.08), #ffffff);
}

.sm-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.sm-section-intro {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.sm-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sm-card {
  background: var(--sm-surface-dark);
  border-radius: 12px;
  border: 1px solid var(--sm-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html[data-theme="light"] .sm-card {
  background: var(--sm-surface-light);
  border-color: var(--sm-border-subtle-light);
}

.sm-card-image {
  width: 100%;
  display: block;
}

.sm-card-body {
  padding: 0.9rem 1rem 1rem;
}

.sm-price {
  font-weight: 700;
  color: var(--sm-accent-red);
  margin: 0.2rem 0 0.5rem;
}

.sm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.sm-features li {
  margin-bottom: 0.25rem;
}

.sm-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sm-link {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--sm-accent-red);
}

.sm-link:hover {
  text-decoration: underline;
}

.sm-card-wide {
  grid-column: span 2;
}

.sm-footer {
  padding: 1rem 5vw 1.5rem;
  border-top: 1px solid var(--sm-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

html[data-theme="light"] .sm-footer {
  border-top-color: var(--sm-border-subtle-light);
}

.sm-footer-links {
  display: flex;
  gap: 0.75rem;
}

.sm-footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.sm-footer-links a:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .sm-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
