/* Modern UI Design for Clash Website */

:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --secondary: #0ea5e9;
  --accent: #3b82f6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Cyan color palette based on the image */
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --cyan-900: #164e63;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-700) 100%);
  min-height: 100vh;
}

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

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: static;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.brand-icon:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  margin-bottom: 4rem;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: white;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Features Section */
.features {
  margin: 4rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Getting Started Section */
.getting-started {
  margin: 4rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}

.getting-started h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.getting-started > p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}

.step h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.step p {
  color: var(--text-gray);
  line-height: 1.6;
}

.getting-started-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Latest News Section */
.latest-news {
  margin: 4rem 0;
}

.latest-news h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
}

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

.news-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-date {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-category {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}

.news-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.news-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.news-actions {
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Community Section */
.community {
  margin: 4rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}

.community h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.community > p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.community-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.community-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}

.community-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--primary);
}

.community-icon {
  font-size: 2rem;
}

.community-text {
  font-weight: 600;
  font-size: 1rem;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Client Introduction */
.client-introduction {
  margin-bottom: 4rem;
}

.client-introduction h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.client-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.client-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.client-card p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.client-card ul {
  list-style: none;
  padding: 0;
}

.client-card li {
  padding: 0.5rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Download Controls */
.download-controls {
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.download-controls h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.search-box {
  margin-bottom: 1.5rem;
  text-align: center;
}

.search-box input {
  width: 100%;
  max-width: 500px;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.platform-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.platform-filter {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-gray);
}

.platform-filter:hover,
.platform-filter.active {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Client Comparison */
.client-comparison {
  margin: 4rem 0;
}

.client-comparison h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
}

.comparison-table {
  overflow-x: auto;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.comparison-table td {
  color: var(--text-dark);
  font-weight: 500;
}

/* Download Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 500;
}

.info-card li:last-child {
  border-bottom: none;
}

.info-card pre {
  background: var(--bg-gray);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--border);
  font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
}

/* Other Downloads */
.other-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.download-link-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.download-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.download-link-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.download-link-card p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-switcher a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-gray);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid var(--border);
  background: white;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  border-color: transparent;
}

/* Download Cards */
.download-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.client-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.client-icon:hover {
  transform: scale(1.1);
}

.platform-details h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
}

.platform-description {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.architecture {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.version-info {
  text-align: right;
}

.version {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.latest-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.file-info {
  text-align: right;
}

.file-size {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.file-type {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.card-body {
  margin-bottom: 1.5rem;
}

.release-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.release-meta {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.checksum {
  background: var(--bg-gray);
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  word-break: break-all;
  overflow-wrap: break-word;
  overflow-x: auto;
}

.checksum-label {
  color: var(--text-gray);
  margin-right: 0.5rem;
  font-weight: 500;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  padding: 1rem;
  text-align: center;
}

.download-btn .file-size {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Copy Button */
.copy-checksum-btn {
  background: var(--text-gray);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.copy-checksum-btn:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.copy-checksum-btn.copied {
  background: var(--success);
}

/* Client Section */
.client-section {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.client-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.client-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.client-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.client-description {
  color: var(--text-gray);
  font-weight: 500;
}

.release-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.client-description-full {
  margin-bottom: 2rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1.1rem;
}

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

/* Loading and Error States */
.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.loading p {
  font-size: 1.2rem;
  font-weight: 500;
}

.error-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--error);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.error-message p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .nav-brand a {
    font-size: 1.3rem;
    gap: 0.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .other-downloads-grid {
    grid-template-columns: 1fr;
  }

  .platform-filters {
    flex-direction: column;
  }

  .platform-filter {
    text-align: center;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .client-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-header {
    flex-direction: column;
    gap: 1rem;
  }

  .file-info {
    text-align: left;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .community-links {
    flex-direction: column;
    align-items: center;
  }

  .community-link {
    width: 100%;
    max-width: 200px;
  }

  .getting-started-actions {
    flex-direction: column;
    align-items: center;
  }

  .news-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .page-header {
    padding: 2rem 1rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .download-controls {
    padding: 1.5rem;
  }

  .client-section {
    padding: 1.5rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .community {
    padding: 2rem 1rem;
  }

  .getting-started {
    padding: 2rem 1rem;
  }
  
  /* Extra small screen checksum optimization */
  .checksum {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  
  .checksum-label {
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .checksum-value {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* Blog Styles */
.blog-posts {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-post {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-post h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-post h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post h2 a:hover {
  color: var(--primary);
}

.post-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.post-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-dark);
  padding-left: 0.5rem;
}

.post-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-dark);
  padding-left: 0.5rem;
}

.post-header h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.post-header h2 a:hover {
  color: var(--primary);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-gray);
  flex-wrap: wrap;
  padding-left: 0.5rem;
}

.post-meta time,
.post-meta .post-category,
.post-meta .post-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.post-meta time {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1976d2;
  border: 1px solid #90caf9;
}

.post-meta .post-category {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #7b1fa2;
  border: 1px solid #ce93d8;
}

.post-meta .post-author {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
  color: #388e3c;
  border: 1px solid #a5d6a7;
}

.post-meta time:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.post-meta .post-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.post-meta .post-author:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 142, 60, 0.3);
}

.post-excerpt {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.post-excerpt p {
  margin: 0;
  padding: 0;
}

.post-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  background: transparent;
  color: var(--text-dark);
  margin-top: auto;
}

.read-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Blog Post Full Page */
.blog-post-full {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-full h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-post-full h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.blog-post-full h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-dark);
}

.blog-post-full p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.blog-post-full ul,
.blog-post-full ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-post-full li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-gray);
}

.blog-post-full pre {
  background: var(--bg-dark);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-post-full code {
  background: var(--bg-gray);
  color: var(--primary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
}

.blog-post-full pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.blog-post-full a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-full a:hover {
  color: var(--primary-dark);
}

/* Blog post footer specific styles */
.blog-post-full .post-footer {
  background: transparent;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.blog-post-full .post-tags {
  margin-bottom: 1rem;
}

.blog-post-full .tag {
  display: inline-block;
  background: var(--bg-gray);
  color: var(--text-gray);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.blog-post-full .post-navigation {
  margin-top: 1rem;
}

.blog-post-full .back-to-blog {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-post-full .back-to-blog:hover {
  color: var(--primary-dark);
}

/* Blog Sidebar */
.blog-sidebar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget li {
  margin-bottom: 0.5rem;
}

.sidebar-widget a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-widget a:hover {
  color: var(--primary);
}

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Changelog Styles */
.changelog-list {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.version-entry {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.version-entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.version-header {
  margin-bottom: 1.5rem;
}

.version-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.version-header h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.version-header h2 a:hover {
  color: var(--primary);
}

.latest-badge {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}

.version-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.release-type {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}

.release-type.stable {
  background: var(--success);
  color: white;
}

.release-type.beta {
  background: var(--warning);
  color: var(--text-dark);
}

.release-type.alpha {
  background: var(--error);
  color: white;
}

.release-date {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.version-summary {
  margin-bottom: 1.5rem;
}

.version-summary p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.version-highlights {
  background: var(--bg-gray);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.version-highlights h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.version-highlights ul {
  list-style: none;
  padding: 0;
}

.version-highlights li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.version-highlights li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.version-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  background: transparent;
  color: var(--text-dark);
}

.read-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.download-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--bg-gray);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.download-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Changelog Entry Detail Page */
.changelog-entry {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.entry-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.entry-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.entry-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.entry-meta time {
  color: var(--text-gray);
  font-size: 1rem;
}

.entry-content {
  line-height: 1.7;
}

.changelog-section {
  margin-bottom: 2.5rem;
}

.changelog-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.changelog-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.changelog-section p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.changelog-section ul,
.changelog-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.changelog-section li {
  margin-bottom: 0.75rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.changelog-section strong {
  color: var(--text-dark);
  font-weight: 600;
}

.changelog-section pre {
  background: var(--bg-dark);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.changelog-section code {
  background: var(--bg-gray);
  color: var(--primary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
}

.changelog-section pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.download-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.download-links .btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-links .btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: white;
}

.download-links .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.download-links .btn-secondary {
  background: var(--bg-gray);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.download-links .btn-secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Blog Responsive */
@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-post-full {
    padding: 2rem;
  }
  
  .blog-post-full h1 {
    font-size: 2rem;
  }
  
  .blog-post-full h2 {
    font-size: 1.5rem;
  }
  
  .blog-post-full h3 {
    font-size: 1.2rem;
  }
  
  /* Mobile checksum optimization */
  .checksum {
    font-size: 0.8rem;
    padding: 0.75rem;
    line-height: 1.4;
  }
  
  .checksum-value {
    display: block;
    margin-top: 0.5rem;
    word-break: break-all;
    overflow-wrap: break-word;
  }
  
  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .copy-checksum-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Changelog mobile optimization */
  .version-entry {
    padding: 1.5rem;
  }
  
  .version-header h2 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .version-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .version-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .read-more,
  .download-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Changelog detail mobile optimization */
  .changelog-entry {
    padding: 2rem;
  }
  
  .entry-header h1 {
    font-size: 2rem;
  }
  
  .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .changelog-section h2 {
    font-size: 1.5rem;
  }
  
  .changelog-section h3 {
    font-size: 1.2rem;
  }
  
  .download-links {
    flex-direction: column;
    align-items: stretch;
  }
  
  .download-links .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
