/* Variables */
:root {
  --bg-color: #10131a;
  --text-color: #f5f6fa;
  --accent-color: #00ffd0;
  --accent-color-2: #1e90ff;
  --card-bg: #181c26;
  --card-shadow: 0 4px 32px 0 rgba(0,255,208,0.04), 0 1.5px 8px 0 rgba(30,144,255,0.06);
  --card-shadow-hover: 0 8px 48px 0 rgba(0,255,208,0.10), 0 3px 16px 0 rgba(30,144,255,0.12);
  --header-bg: rgba(16, 19, 26, 0.95);
  --header-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
  --button-bg: linear-gradient(90deg, #00ffd0 0%, #1e90ff 100%);
  --button-bg-hover: linear-gradient(90deg, #1e90ff 0%, #00ffd0 100%);
  --font-main: 'Inter', Arial, sans-serif;
}

body, .dark-mode {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

header {
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  position: sticky;
  top: 0;
  z-index: 10;
  height: auto;
  font-size: 16px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
}

.header-logo {
  height: 48px;
  margin-right: 1rem;
  transition: transform 0.3s;
}

.header-logo:hover {
  transform: scale(1.1);
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 1.5rem 0 0;
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.language-switcher button {
  background: none;
  border: 1px solid #222;
  color: var(--text-color);
  margin-left: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.language-switcher button:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 4rem 1rem 2rem 1rem;
}

.hero-bg-animated {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--accent-color) 0%, var(--accent-color-2) 100%);
  opacity: 0.18;
  z-index: 0;
  animation: gradientMove 8s ease-in-out infinite alternate;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.hero p {
  font-size: 1.25rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--button-bg);
  color: var(--bg-color);
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 32px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(0,255,208,0.15);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cta-button:hover {
  background: var(--button-bg-hover);
  color: var(--bg-color);
  transform: translateY(-2px) scale(1.04);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 2.2rem 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px) scale(1.01);
}

.about h2, .services h2, .testimonials h2, .contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-weight: 700;
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.about p, .testimonials blockquote, .contact p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.testimonials blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent-color);
  padding-left: 1.2rem;
  margin: 0;
  color: #b0f7ef;
}
.testimonials blockquote span {
  display: block;
  margin-top: 0.7rem;
  font-size: 1rem;
  color: var(--accent-color-2);
  font-style: normal;
}

.contact a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color 0.2s;
}
.contact a:hover {
  color: var(--accent-color-2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.blog-carousel {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
.blog-thumb {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  width: 180px;
  min-width: 140px;
  max-width: 200px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.blog-thumb:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px) scale(1.03);
}
.blog-thumb-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: #222;
}
.blog-thumb-title {
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
  background: none;
}

@media (max-width: 700px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .container {
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
  .card {
    padding: 1.2rem 1rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .blog-carousel {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .blog-thumb {
    width: 90vw;
    max-width: 98vw;
  }
  .blog-thumb-img {
    height: 90px;
  }
}

img {
  max-width: 100%;
  height: auto;
}