:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #007aff;
}

[data-theme="dark"] {
  --bg: #1e1e1e;
  --text: #eeeeee;
  --accent: #0a84ff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  margin-right: auto;
	padding-left: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

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


.logo {
  font-weight: 600;
  font-size: 1.25rem;
}



.theme-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-down {
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.featured-section {
  max-width: 1300px;
  margin: 3rem auto;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.featured-content {
  flex: 1 1 400px;
}

.featured-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.featured-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.featured-image {
  flex: 1 1 400px;
}

.featured-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  background: #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.app-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 900px;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.app-text {
  flex: 1;
}

.app-text h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.app-text p {
  margin-bottom: 15px;
}

.app-link {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
}

.app-image img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .app-block {
    flex-direction: column;
    text-align: center;
  }
  .app-image img {
    max-width: 100%;
  }
}
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.site-footer a {
  color: var(--accent-color);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.product-item {
    background: #ffffff10;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: scale(1.03);
}

.product-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-item h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-item p {
    font-size: 1rem;
    color: #ccc;
}
.product-page {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

.app-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.app-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.app-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.download-btn {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

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

.hero-screenshot img {
  max-width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature img {
  max-width: 100%;
  border-radius: 12px;
}

.feature-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  font-size: 1rem;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .feature {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .feature:nth-child(even) {
    flex-direction: row-reverse;
  }
  .feature-text {
    flex: 1;
    padding: 0 1rem;
  }
  .feature img {
    flex: 1;
  }
}
.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4e9af1, #1f78ff);
  color: #ffff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 1.5rem 0;
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(30, 100, 255, 0.4);
}

.bottom-info {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #ffffff10;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.notice {
  font-size: 0.95rem;
  color: #ffcc66;
  margin-bottom: 1rem;
}

.github-link a {
  color: #4e9af1;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.github-link a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #4e9af1;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.github-link a:hover {
  color: #1f78ff;
}

.github-link a:hover::after {
  transform: scaleX(1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}