:root {
  --background: #121212;
  --foreground: #f0f0f0;
  --card: #1e1e1e;
  --card-hover: #252525;
  --muted: #aaaaaa;
  --border: #333333;
  --border-strong: #444444;
  --success: #34c48c;
  --navbar-bg: #121212;
  --grid-line: transparent;
  --avatar-from: #444444;
  --avatar-to: #777777;
  --accent: #c94c4c;
  --accent-hover: #e06060;
  --accent-soft: rgba(201, 76, 76, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 6px 16px rgba(0, 0, 0, 0.5);
}

:root[data-theme="light"] {
  --background: #f9f7f2;
  --foreground: #111111;
  --card: #ffffff;
  --card-hover: #f3f0e9;
  --muted: #555555;
  --border: #d9d4c9;
  --border-strong: #b8b1a3;
  --success: #22936a;
  --navbar-bg: #f9f7f2;
  --grid-line: transparent;
  --avatar-from: #d9d4c9;
  --avatar-to: #b8b1a3;
  --accent: #8b1a1a;
  --accent-hover: #6e1414;
  --accent-soft: rgba(139, 26, 26, 0.08);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar {
  background: var(--background);
  border-bottom: 3px solid var(--foreground);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn {
  padding: 10px 22px;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  border: 1px solid var(--foreground);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}

.btn-ghost:hover {
  background: var(--card-hover);
  color: var(--accent);
}

.btn-search:hover {
  background: transparent;
  color: var(--accent);
}

.mobile-nav {
  background: var(--background);
  border-bottom: 3px solid var(--foreground);
}

.mobile-nav a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.hero {
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: none;
}

.hero-content {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero p {
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.5;
}

.hero-buttons {
  justify-content: flex-start;
}

.badge {
  padding: 0;
  margin-bottom: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-dot {
  border-radius: 0;
  background: var(--accent);
  animation: none;
}

.features,
.testimonials,
.pricing {
  padding: 72px 0;
}

.cta {
  padding: 72px 0;
  text-align: left;
}

.cta-inner,
.newsletter-inner {
  max-width: none;
  margin: 0;
  text-align: left;
}

.cta-buttons {
  justify-content: flex-start;
}

.newsletter-form {
  margin: 0;
}

.section-header {
  max-width: none;
  margin: 0 0 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--foreground);
  text-align: left;
}

.section-header h2 {
  margin: 0 0 4px;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.stat-item h3 {
  color: var(--foreground);
  font-weight: 700;
}

.feature-card,
.testimonial-card,
.product-card,
.team-member,
.countdown-item,
.faq-item,
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.product-card:hover,
.team-member:hover,
.countdown-item:hover,
.faq-item:hover,
.pricing-card:hover {
  background: var(--card);
  border-color: var(--foreground);
  box-shadow: none;
  transform: none;
}

.feature-card {
  border-top: 4px solid var(--accent);
}

.feature-card h3,
.product-card h3,
.pricing-card h3,
.team-member h3 {
  font-weight: 700;
  line-height: 1.25;
}

.feature-card:hover h3,
.product-card:hover h3 {
  color: var(--accent);
}

.feature-icon {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--background);
}

.feature-icon svg {
  stroke: var(--accent);
}

.faq-item[open] {
  border-color: var(--foreground);
}

.faq-question::after {
  color: var(--accent);
}

.pricing-card {
  border-top: 4px solid var(--border-strong);
}

.pricing-card.featured {
  border-color: var(--foreground);
  border-top: 4px solid var(--accent);
  transform: none;
}

.pricing-card.featured:hover {
  transform: none;
}

.pricing-popular {
  border-radius: 0;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.pricing-card .price {
  font-weight: 700;
}

.countdown-value {
  color: var(--accent);
  font-weight: 700;
}

.image-text-image img,
.image-section img,
.gallery-item img,
.product-image img,
.team-photo {
  border-radius: 0;
  filter: grayscale(12%) contrast(1.05);
  transition: filter 0.3s ease;
}

.image-text-image img:hover,
.image-section img:hover,
.gallery-item:hover img,
.product-card:hover .product-image img,
.team-member:hover .team-photo {
  filter: grayscale(0%) contrast(1.08);
  transform: none;
}

.gallery-item,
.video-wrapper {
  border-radius: 0;
  box-shadow: none;
}

.team-avatar {
  border-radius: 0;
}

.team-social-link,
.social-links a {
  border-radius: 0;
  border: 1px solid var(--border);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.team-social-link:hover,
.social-links a:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

blockquote {
  font-style: italic;
}

blockquote::before {
  color: var(--accent);
}

blockquote cite {
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta h2,
.text-section h2,
.image-text-content h2,
.newsletter-section h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-content h3 {
  font-weight: 700;
}

.newsletter-section {
  background: var(--card-hover);
  border-top: 2px solid var(--foreground);
}

.newsletter-input {
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--card);
}

.newsletter-input:focus {
  border-color: var(--foreground);
  box-shadow: none;
}

.theme-toggle {
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.theme-toggle:hover {
  border-color: var(--foreground);
  background: transparent;
  color: var(--foreground);
}

.footer {
  padding-top: 48px;
  border-top: 3px solid #111111;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:root[data-theme="light"] .footer {
  background: #111111;
  color: #f0f0f0;
}

:root[data-theme="light"] .footer .footer-brand h3,
:root[data-theme="light"] .footer .footer-column h4 {
  color: #ffffff;
}

:root[data-theme="light"] .footer .footer-brand p,
:root[data-theme="light"] .footer .footer-bottom p {
  color: #999999;
}

:root[data-theme="light"] .footer .footer-column a,
:root[data-theme="light"] .footer .footer-legal a {
  color: #bbbbbb;
}

:root[data-theme="light"] .footer .footer-column a:hover,
:root[data-theme="light"] .footer .footer-legal a:hover {
  color: #ffffff;
}

:root[data-theme="light"] .footer .footer-bottom {
  border-top: 1px solid #333333;
}

:root[data-theme="light"] .footer .social-links a,
:root[data-theme="light"] .footer .theme-toggle,
:root[data-theme="light"] .footer .footer-language select {
  background: #222222;
  border: 1px solid #444444;
  color: #cccccc;
}

:root[data-theme="light"] .footer .social-links a:hover,
:root[data-theme="light"] .footer .theme-toggle:hover,
:root[data-theme="light"] .footer .footer-language select:hover {
  background: #333333;
  border-color: #666666;
  color: #ffffff;
}

:root:not([data-theme="light"]) .footer {
  background: #ffffff;
  color: #111111;
}

:root:not([data-theme="light"]) .footer .footer-brand h3,
:root:not([data-theme="light"]) .footer .footer-column h4 {
  color: #111111;
}

:root:not([data-theme="light"]) .footer .footer-brand p,
:root:not([data-theme="light"]) .footer .footer-bottom p {
  color: #555555;
}

:root:not([data-theme="light"]) .footer .footer-column a,
:root:not([data-theme="light"]) .footer .footer-legal a {
  color: #333333;
}

:root:not([data-theme="light"]) .footer .footer-column a:hover,
:root:not([data-theme="light"]) .footer .footer-legal a:hover {
  color: #000000;
}

:root:not([data-theme="light"]) .footer .footer-bottom {
  border-top: 1px solid #dddddd;
}

:root:not([data-theme="light"]) .footer .social-links a,
:root:not([data-theme="light"]) .footer .theme-toggle,
:root:not([data-theme="light"]) .footer .footer-language select {
  background: #f5f5f5;
  border: 1px solid #cccccc;
  color: #333333;
}

:root:not([data-theme="light"]) .footer .social-links a:hover,
:root:not([data-theme="light"]) .footer .theme-toggle:hover,
:root:not([data-theme="light"]) .footer .footer-language select:hover {
  background: #eeeeee;
  border-color: #999999;
  color: #000000;
}

@media (max-width: 860px) {
  .hero {
    padding: 120px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header {
    margin-bottom: 24px;
  }
}
