/*
Theme Name: Yaqeen Tech
Theme URI: https://yaqeentech.sa
Author: Yaqeen Tech
Author URI: https://yaqeentech.sa
Description: قالب يقين تك - منصة ذكاء اصطناعي سعودية متخصصة في الاستماع الاجتماعي وتحليل البيانات
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yaqeen-tech
Tags: rtl, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
  /* Light Theme (Default) */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 262 83% 58%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215 16% 47%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222 47% 11%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 262 83% 58%;
  --radius: 0.5rem;
}

.dark {
  --background: 222 47% 11%;
  --foreground: 210 40% 98%;
  --card: 217 33% 17%;
  --card-foreground: 210 40% 98%;
  --primary: 263 70% 50%;
  --primary-foreground: 210 40% 98%;
  --secondary: 217 33% 17%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
  --accent: 217 33% 17%;
  --accent-foreground: 210 40% 98%;
  --border: 217 33% 17%;
  --input: 217 33% 17%;
  --ring: 263 70% 50%;
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: hsl(var(--primary));
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 25px hsl(var(--primary) / 0.25);
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--accent));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
  color: hsl(var(--foreground));
}

/* ============================================
   Header & Navbar
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.3s;
  background-color: hsl(var(--background));
}

.header.scrolled {
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(220 80% 50%));
  border-radius: 0.5rem;
  color: white;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  background: linear-gradient(to left, hsl(var(--primary)), hsl(220 80% 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-image {
  height: 40px;
  width: auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links li {
  list-style: none;
}

.navbar-links a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dark-mode-toggle {
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-toggle:hover {
  background-color: hsl(var(--muted));
}

.dark-mode-toggle .icon-sun {
  display: block;
}

.dark-mode-toggle .icon-moon {
  display: none;
}

.dark .dark-mode-toggle .icon-sun {
  display: none;
}

.dark .dark-mode-toggle .icon-moon {
  display: block;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: hsl(var(--foreground));
  border-radius: 2px;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Menu Active State */
@media (max-width: 767px) {
  .navbar-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .navbar-links.active {
    display: flex;
    max-height: 400px;
    opacity: 1;
    padding: 1rem;
  }
  
  .navbar-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    text-align: right;
  }
  
  .navbar-links a:hover {
    background: hsl(var(--muted));
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background-color: hsl(var(--background));
}

.hero-gradient-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(120px);
  transform: translate(50%, -50%);
  pointer-events: none;
}

.hero-gradient-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: hsl(220 80% 50% / 0.1);
  border-radius: 50%;
  filter: blur(120px);
  transform: translate(-50%, 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image-wrapper {
    order: 2;
  }
}

.hero-content {
  text-align: right;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-title-gradient {
  background: linear-gradient(to left, hsl(var(--primary)), hsl(220 80% 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-feature-dot.green {
  background: #22c55e;
  animation: pulse 2s infinite;
}

.hero-feature-dot.blue {
  background: #3b82f6;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 25px 50px hsl(var(--primary) / 0.1);
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.7s;
}

.hero-image-container:hover img {
  transform: scale(1.05);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

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

.hero-floating-badge-icon {
  background: hsl(142 76% 36% / 0.2);
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.hero-floating-badge-value {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.25rem;
}

.hero-floating-badge-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.hero-floating-badge-title {
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  padding: 5rem 0;
  background: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: background-color 0.3s;
}

.stat-item:hover .stat-icon {
  background: hsl(var(--primary) / 0.1);
}

.stat-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.stat-label {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
  padding: 6rem 0;
}

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

.section-label {
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: hsl(var(--background));
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 20px 40px hsl(var(--primary) / 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--muted));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: hsl(var(--primary));
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  transition: color 0.3s;
}

.service-card:hover .service-icon svg {
  color: hsl(var(--primary-foreground));
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.service-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================
   Sectors Section
   ============================================ */
.sectors {
  background: hsl(var(--muted) / 0.1);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sector-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.sector-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 15px 30px hsl(var(--primary) / 0.05);
}

.sector-icon {
  width: 4rem;
  height: 4rem;
  background: hsl(var(--muted));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.sector-card:hover .sector-icon {
  background: hsl(var(--primary));
}

.sector-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
  transition: color 0.3s;
}

.sector-card:hover .sector-icon svg {
  color: hsl(var(--primary-foreground));
}

.sector-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.sector-card:hover .sector-name {
  color: hsl(var(--primary));
}

/* ============================================
   Features Section
   ============================================ */
.features {
  background: hsl(var(--muted) / 0.2);
}

.features-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.features-image-wrapper {
  position: relative;
}

.features-image-glow {
  position: absolute;
  inset: 0;
  background: hsl(var(--primary) / 0.2);
  filter: blur(60px);
  border-radius: 50%;
  opacity: 0.2;
}

.features-image-wrapper img {
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  filter: grayscale(100%);
  transition: filter 0.7s;
}

.features-image-wrapper:hover img {
  filter: grayscale(0%);
}

/* SVG Placeholders */
.dashboard-placeholder,
.features-placeholder {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  color: hsl(var(--foreground));
}

.features-image-wrapper .features-placeholder {
  filter: grayscale(100%);
  transition: filter 0.7s;
}

.features-image-wrapper:hover .features-placeholder {
  filter: grayscale(0%);
}

.features-content {
  text-align: right;
}

.features-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .features-title {
    font-size: 3rem;
  }
}

.features-title span {
  color: hsl(var(--primary));
}

.features-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.feature-item:hover .feature-icon {
  background: hsl(var(--primary));
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  transition: color 0.3s;
}

.feature-item:hover .feature-icon svg {
  color: hsl(var(--primary-foreground));
}

.feature-text {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

/* ============================================
   Clients Section
   ============================================ */
.clients {
  padding: 4rem 0;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
}

.clients-title {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.clients-marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.client-logo {
  height: 2rem;
  opacity: 0.4;
  transition: opacity 0.3s;
  cursor: pointer;
}

.client-logo:hover {
  opacity: 1;
}

/* ============================================
   Contact/CTA Section
   ============================================ */
.contact-cta {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--background)) 100%);
}

.cta-card {
  display: grid;
  gap: 3rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
  .cta-card {
    grid-template-columns: 1.5fr 1fr;
    padding: 3rem;
  }
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-description {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

.cta-feature svg {
  color: hsl(142, 76%, 36%);
  flex-shrink: 0;
}

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

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: hsl(var(--muted) / 0.5);
  transform: translateX(-4px);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.75rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.info-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
  background: hsl(var(--muted) / 0.2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: right;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: hsl(var(--primary));
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: hsl(var(--muted) / 0.1);
  border-top: 1px solid hsl(var(--border));
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}

.footer-social a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-column h4 {
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column a {
  color: hsl(var(--muted-foreground));
}

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

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

/* ============================================
   Utilities
   ============================================ */
.text-primary {
  color: hsl(var(--primary));
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }
  .md\:flex {
    display: flex;
  }
}

/* ============================================
   Blog Section
   ============================================ */
.blog {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsl(var(--primary) / 0.1);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: hsl(var(--muted) / 0.3);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground) / 0.3);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: hsl(var(--primary));
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: gap 0.3s;
}

.blog-card-link:hover {
  gap: 0.6rem;
}

.blog-view-all {
  text-align: center;
  margin-top: 3rem;
}

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   Service Card with Link
   ============================================ */
.service-card.has-link {
  position: relative;
  cursor: pointer;
}

.service-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card.has-link:hover {
  border-color: hsl(var(--primary));
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  color: hsl(var(--primary));
  margin-top: 1rem;
  transition: all 0.3s;
}

.service-card.has-link:hover .service-arrow {
  background: hsl(var(--primary));
  color: white;
  transform: translateX(-4px);
}

/* ============================================
   Footer 4 Columns
   ============================================ */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: hsl(var(--muted) / 0.3);
  border-radius: 50%;
  color: hsl(var(--foreground));
  transition: all 0.3s;
}

.social-link:hover {
  background: hsl(var(--primary));
  color: white;
  transform: translateY(-2px);
}

/* Footer Logo Image */
.footer-logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
