/* QuickQ - TI Style Index Page CSS */
/* Hero Slider - TI Style */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-slide .bg-1 { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }
.hero-slide .bg-2 { background: linear-gradient(135deg, #2d1810 0%, #4a2511 100%); }
.hero-slide .bg-3 { background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 100%); }
.hero-slide .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 100%);
}
.hero-slide .container { position: relative; z-index: 1; }
.hero-slide h2 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 600px;
}
.hero-slide p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-slide .btn { background: var(--brand); color: #fff; }
.hero-slide .btn:hover { background: var(--brand-dark); }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active { background: var(--brand); transform: scale(1.3); }
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}
.hero-arrow {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: var(--brand); }
/* Stats Wall - TI Style */
.stats-wall {
  background: var(--bg-dark);
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
/* Applications - 2x2 Grid - TI Style */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.app-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s;
}
.app-card:hover { transform: translateY(-4px); }
.app-card .bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.app-card .bg-1 { background: linear-gradient(135deg, #e87722, #cc5500); }
.app-card .bg-2 { background: linear-gradient(135deg, #cc0000, #990000); }
.app-card .bg-3 { background: linear-gradient(135deg, #0066cc, #004499); }
.app-card .bg-4 { background: linear-gradient(135deg, #2d2d2d, #1a1a1a); }
.app-card .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
}
.app-card .content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 24px;
  color: #fff;
  z-index: 1;
}
.app-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.app-card p {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
/* Product Cards - TI Style */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.product-card .card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
}
.product-card .card-body { padding: 24px; }
.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}
.product-card .price small {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 400;
}
.product-card .btn { width: 100%; justify-content: center; padding: 10px; font-size: 13px; }
/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.article-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-soft), #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.article-card .body { padding: 20px; }
.article-card .date {
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.article-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.article-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}
/* CTA */
.cta-section {
  background: var(--brand);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.cta-section .btn {
  background: #fff;
  color: var(--brand);
}
.cta-section .btn:hover { background: rgba(255,255,255,.9); }
/* Responsive */
@media (max-width: 1024px) {
  .hero-slide h2 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}
