:root {
  --green: #25b263;
  --white: #ffffff;
  --black: #17443f;
  --bg: #f9fafb;
  --bg-alt: #eef1f5;
  --text: #1a1a1a;
  --text-muted: #555;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.6rem;
}

.nav {
  background: white;
  border-bottom: 1px solid #e3e3e3;
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 44px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-link {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-link:hover {
  background: var(--black);
  color: white;
}

#lang-switch, #lang-switch-footer {
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid #ccc;
  font-weight: 500;
  background: white;
}

.hero {
  background: var(--bg-alt);
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 420px;
}

.hero-image {
  flex: 1 1 420px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
}

.btn.primary {
  background: var(--green);
  color: white;
}

.btn.primary:hover {
  background: #1a954b;
}

.btn.secondary {
  background: var(--black);
  color: white;
}

.btn.secondary:hover {
  background: #0f332b;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.center {
  text-align: center;
}

.plugin-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.plugin-card .tag {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.plugin-card ul {
  padding-left: 1.4rem;
  margin: 1rem 0;
}

.meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.footer {
  background: var(--bg-alt);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-lang {
  margin-top: 0.6rem;
}

/* Animation */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}

.section-title-with-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.plugin-title-logo {
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.4rem;
  background-color: var(--green);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.contact-btn:hover {
  background-color: #1e9954;
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.contact-box {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-box h3 {
  margin-top: 0;
}

.contact-btn {
  margin-top: 1rem;
  display: inline-block;
  background: #25b263;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.contact-btn:hover {
  background: #1e944f;
}

.btn {
  transition: all 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
}

.btn.show {
  transform: translateY(0);
  opacity: 1;
}

.clock-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.clock-icon {
  display: inline-block;
  font-size: 2rem;
  transition: transform 1s ease-out;
}

.clock-icon.spin {
  animation: spinEaseOut 1s ease-out;
}

@keyframes spinEaseOut {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}
