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

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.cw-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.cw-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.cw-navbar .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.cw-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-logo:hover {
  color: #1a1a2e;
  text-decoration: none;
}

.cw-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}

.cw-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cw-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.cw-nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.cw-nav-links a:hover {
  color: #667eea;
  text-decoration: none;
}

/* Language Switcher */
.cw-lang-switch {
  display: flex;
  align-items: center;
  background: #f0f0f5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e8;
}

.cw-lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cw-lang-btn.active {
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cw-lang-btn:hover:not(.active) {
  color: #555;
}

/* Hero */
.cw-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: linear-gradient(160deg, #f8f9ff 0%, #eef1ff 50%, #f0e6ff 100%);
  position: relative;
  overflow: hidden;
}

.cw-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cw-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.cw-hero h1 span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cw-hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.cw-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.cw-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
  color: #fff;
  text-decoration: none;
}

/* Stats */
.cw-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  position: relative;
}

.cw-stat {
  text-align: center;
}

.cw-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
}

.cw-stat-label {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

/* Apps Section */
.cw-apps {
  padding: 80px 20px;
  background: #fff;
}

.cw-apps .container {
  max-width: 1140px;
  margin: 0 auto;
}

.cw-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.cw-section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.cw-section-header p {
  font-size: 1.05rem;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

.cw-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cw-app-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cw-app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.cw-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cw-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cw-app-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.cw-app-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.badge-game {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-tool {
  background: #e3f2fd;
  color: #1565c0;
}

.cw-app-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cw-app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-app-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #f4a825;
  font-weight: 600;
}

.cw-app-dl {
  font-size: 0.8rem;
  color: #aaa;
}

/* Features Section */
.cw-features {
  padding: 80px 20px;
  background: #fafbff;
}

.cw-features .container {
  max-width: 1140px;
  margin: 0 auto;
}

.cw-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.cw-feature {
  text-align: center;
}

.cw-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #667eea20, #764ba220);
  color: #667eea;
}

.cw-feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.cw-feature p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
}

/* Contact */
.cw-contact {
  padding: 80px 20px;
  background: #fff;
}

.cw-contact .container {
  max-width: 700px;
  margin: 0 auto;
}

.cw-contact-form {
  margin-top: 40px;
}

.cw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cw-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.cw-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cw-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 130px;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.cw-textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cw-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cw-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cw-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

/* Footer */
.cw-footer {
  padding: 40px 20px;
  background: #1a1a2e;
  color: #aaa;
  text-align: center;
}

.cw-footer .container {
  max-width: 1140px;
  margin: 0 auto;
}

.cw-footer p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.cw-footer a {
  color: #667eea;
  text-decoration: none;
}

.cw-footer a:hover {
  text-decoration: underline;
}

/* Mobile Menu */
.cw-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #333;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .cw-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .cw-hero p {
    font-size: 1rem;
  }

  .cw-stats {
    gap: 30px;
  }

  .cw-stat-number {
    font-size: 1.5rem;
  }

  .cw-apps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cw-features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cw-form-row {
    grid-template-columns: 1fr;
  }

  .cw-nav-links {
    display: none;
  }

  .cw-menu-toggle {
    display: block;
  }

  .cw-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .cw-section-header h2 {
    font-size: 1.7rem;
  }

  .cw-nav-right {
    gap: 12px;
  }

  .cw-lang-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .cw-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* App detail SEO section */
.cw-app-details {
  padding: 80px 20px;
  background: #fff;
}

.cw-app-details .container {
  max-width: 1140px;
  margin: 0 auto;
}

.cw-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cw-detail-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px;
  background: #fafbff;
}

.cw-detail-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.cw-detail-card p {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cw-detail-card a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.cw-detail-card a:hover {
  text-decoration: underline;
}
