/* ========================================
   Trialbell Technology Co.,Ltd. - Global Styles
   ======================================== */

:root {
  --primary: #003366;
  --primary-dark: #002244;
  --accent: #FFD700;
  --accent-hover: #E6C200;
  --bg: #f5f5f5;
  --surface: #ffffff;
  --ink: #1a1a2e;
  --muted: #666666;
  --rule: #dddddd;
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

/* Navigation */
.nav { display: flex; gap: 0; }

.nav-item {
  position: relative;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s;
}

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

.nav-item.active::after,
.nav-item:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  background: var(--surface);
  transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../assets/images/hero-bg.jpg') center/cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  margin-left: 16px;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-img {
  height: 200px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.card-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Product Category Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.cat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
  border-left: 4px solid var(--accent);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.cat-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-card ul {
  margin-top: 16px;
}

.cat-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s;
}

.cat-card li:hover {
  color: var(--primary);
}

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

/* Breadcrumb */
.breadcrumb {
  background: var(--surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  margin-top: var(--header-height);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb-inner a:hover {
  color: var(--primary);
}

.breadcrumb-inner .sep {
  color: var(--rule);
}

.breadcrumb-inner .current {
  color: var(--ink);
  font-weight: 600;
}

/* Product Detail Layout */
.product-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: fit-content;
}

.sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-menu li {
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
  margin-bottom: 4px;
}

.sidebar-menu li:hover {
  background: var(--bg);
  color: var(--primary);
}

.sidebar-menu li.active {
  background: var(--primary);
  color: #fff;
}

.product-main {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.product-header {
  margin-bottom: 32px;
}

.product-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.product-section {
  margin-bottom: 40px;
}

.product-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

thead {
  background: var(--primary);
  color: #fff;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

tbody tr:hover {
  background: var(--bg);
}

/* Form */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--muted);
  font-size: 15px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  line-height: 1.8;
  font-size: 14px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

/* Floating Contact */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: transform 0.3s;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* News */
.news-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-4px);
}

.news-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}

.news-type {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.news-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.news-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Notice */
.notice {
  background: #fff8e1;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  font-size: 14px;
  color: var(--muted);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

/* Admin */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.login-box {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-box h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 32px;
}

.admin-nav {
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
}

.admin-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav a {
  color: #fff;
  margin-left: 24px;
  font-size: 14px;
}

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

.admin-main {
  padding: 40px 0;
}

.admin-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  font-size: 14px;
}

.admin-table td {
  border-bottom: 1px solid var(--rule);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff3e0; color: #ef6c00; }

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-danger {
  background: #c62828;
  color: #fff;
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--rule);
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 28px; }
  .cat-grid,
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-switch { display: none; }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.hidden { display: none !important; }

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   Index-specific Styles (site-header variant)
   ======================================== */
.site-header {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.main-nav { display: flex; }
.nav-list { display: flex; gap: 0; }
.nav-list li { list-style: none; }
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }
.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.lang-switcher { position: relative; }
.lang-switcher .lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--rule); border-radius: 4px;
  background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600;
  transition: all 0.3s;
}
.lang-menu {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 160px; z-index: 100; overflow: hidden;
}
.lang-menu.open { display: block; }
.lang-option {
  display: block; width: 100%; padding: 10px 16px; border: none; background: none;
  text-align: left; cursor: pointer; font-size: 14px; color: var(--ink); transition: background 0.2s;
}
.lang-option:hover { background: var(--bg); color: var(--primary); }
.lang-option.active { color: var(--primary); font-weight: 600; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: var(--ink); transition: 0.3s;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #001a33 0%, #003366 50%, #004080 100%);
}
.hero-particles {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,215,0,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,215,0,0.06) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(0,51,102,0.3) 0%, transparent 70%);
}
.hero-title { font-size: 52px; font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: 2px; }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 40px; line-height: 1.6; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 60px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.8); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(0,51,102,0.08); color: var(--primary);
  padding: 4px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 16px;
}
.section-header .section-title { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.section-desc { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto; }
.section-footer { text-align: center; margin-top: 40px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.category-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border-radius: var(--radius); padding: 40px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; color: inherit;
  border: 1px solid var(--rule);
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.category-icon {
  width: 80px; height: 80px; border-radius: 50%; background: rgba(0,51,102,0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary);
}
.category-name { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.category-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.category-link { font-size: 14px; font-weight: 600; color: var(--accent-hover, #E6C200); }

.solution-card {
  display: flex; overflow: hidden; background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.solution-visual {
  width: 200px; min-height: 180px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.solution-visual-logistics { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.solution-visual-warehouse { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.solution-visual-anti-counterfeit { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.solution-visual-platform { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.solution-icon-wrap { color: var(--primary); }
.solution-body { padding: 28px; flex: 1; }
.solution-title { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.solution-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.solution-link { font-size: 14px; font-weight: 600; color: var(--accent-hover, #E6C200); }

.news-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-image { position: relative; height: 180px; background: var(--bg); overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent);
  color: var(--primary-dark); padding: 4px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
}
.news-body { padding: 24px; }
.news-date { font-size: 14px; color: var(--muted); }
.news-title { font-size: 18px; font-weight: 700; color: var(--primary); margin: 8px 0; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--accent-hover, #E6C200); }
.news-excerpt { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.news-link { font-size: 14px; font-weight: 600; color: var(--accent-hover, #E6C200); }

.cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.cta-title { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-desc { font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.6; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

.cta-contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-block { background: rgba(255,255,255,0.1); padding: 16px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); }
.contact-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 4px; display: block; }
.contact-value { font-size: 16px; color: #fff; font-weight: 600; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; color: #fff; }
.footer-logo-img { height: 40px; }
.footer-logo-text { font-size: 22px; font-weight: 800; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.footer-links { margin-bottom: 0; }
.footer-links-title { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.footer-links-list li { margin-bottom: 12px; font-size: 14px; }
.footer-links-list a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-links-list a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.copyright { font-size: 14px; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Responsive for index-specific */
@media (max-width: 1024px) {
  .cta-inner { grid-template-columns: 1fr; }
  .solution-card { flex-direction: column; }
  .solution-visual { width: 100%; min-height: 140px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { gap: 30px; }
  .stat-number { font-size: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .lang-switcher { display: none; }
  .footer-legal { flex-direction: column; gap: 8px; }
}
