:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #475569;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --gradient-start: #2563eb;
  --gradient-end: #7c3aed;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-heading: "Noto Sans SC", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  border: 1px solid #e2e8f0;
  background-color: white;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background-color: #f8fafc;
}

.btn-white {
  background-color: white;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: #f1f5f9;
}

/* Hero */
.hero {
  padding: 4rem 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    padding-top: 2rem;
    gap: 4rem;
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.5rem;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  /* text-align: center; */
}

.browser-mockup {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
  background: #f1f5f9;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.red {
  background-color: #ef4444;
}
.yellow {
  background-color: #f59e0b;
}
.green {
  background-color: #10b981;
}

.browser-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 20;
  animation: float 6s ease-in-out infinite;
  max-width: 200px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.card-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  right: -20px;
  animation-delay: 3s;
}

.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-card .text {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: 0.9rem;
  color: var(--text-main);
}

.floating-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Features */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #e2e8f0;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #eff6ff;
  color: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Split Section */
.bg-light {
  background-color: white;
}

.split-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .split-container {
    grid-template-columns: 1fr 1fr;
  }
}

.split-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.check-list {
  margin-top: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.check-list li i {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-top: 0.2em;
  flex-shrink: 0;
}

.check-list strong {
  color: var(--text-main);
}

.split-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.rounded {
  border-radius: var(--radius-lg);
}

/* CTA */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-xl);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-col p {
  color: var(--text-muted);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Utilities */
@media (max-width: 768px) {
  .floating-card {
    display: none;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Language Selector */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector-container {
  position: relative;
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-toggle:hover,
.lang-selector-container.active .lang-toggle {
  color: var(--primary-color);
  background-color: #eff6ff;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  min-width: 150px;
  display: none;
  border: 1px solid #e2e8f0;
  z-index: 1000;
}

.lang-selector-container.active .lang-menu {
  display: block;
  animation: fadeIn 0.1s ease-out;
}

.lang-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  font-size: 1.2em;
  line-height: 1;
}

.lang-item:hover {
  background-color: #f1f5f9;
}

.lang-item.selected {
  color: var(--primary-color);
  font-weight: 600;
  background-color: #eff6ff;
}

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