/*
Theme Name: BluSix Theme Flat
Theme URI: https://github.com/tousif3290-svg/blusix
Author: Antigravity
Author URI: https://github.com/tousif3290-svg/
Description: A custom, highly-optimized B2B theme for BluSix.
Version: 1.0.0
License: GPLv2 or later
Text Domain: blusix
*/
:root {
  --primary: #7C3AED; /* Vibrant Violet */
  --primary-dark: #5B21B6; /* Deep Indigo */
  --secondary: #0F172A; /* Dark Slate Blue */
  --text-dark: #1E293B;
  --text-light: #64748B;
  --bg-light: #F8FAFC;
  --bg-white: #ffffff;
  --border: #E2E8F0;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

/* Add an image wrapper class for hover zooming */
.img-hover-zoom {
  overflow: hidden;
  border-radius: 12px;
}

.img-hover-zoom img:hover {
  transform: scale(1.05);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); /* Match Violet */
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5); /* Match Violet */
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline::before {
  background-color: var(--primary);
}

.btn-outline:hover {
  color: var(--bg-white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3); /* Match Violet */
}

/* Header */
header {
  background-color: rgba(5, 5, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.btn-primary {
  color: white !important;
  background-color: rgba(124, 58, 237, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.5);
}

.nav-links a.btn-primary:hover {
  background-color: rgba(124, 58, 237, 0.6);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #05050f;
  color: var(--text-color);
  overflow: hidden;
}

#neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  pointer-events: none; /* Let clicks pass to canvas if needed */
}

.hero-content {
  width: 100%;
  pointer-events: auto; /* Re-enable clicks for content inside */
}

.hero h1 {
  color: var(--bg-white);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-inline: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero-buttons .btn {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-buttons .btn-primary {
  background-color: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.5);
  box-shadow: none;
}

.hero-buttons .btn-primary:hover {
  background-color: rgba(124, 58, 237, 0.4);
}

.hero-buttons .btn-outline {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-buttons .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Services Overview */
.services-section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.15), 0 10px 10px -5px rgba(124, 58, 237, 0.1); /* Match Violet */
  border-color: transparent;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2); /* Match Violet */
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: #a0aec0;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #a0aec0;
}

.footer-col ul li a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.25rem; }
  .nav-links li a { font-size: 0.85rem; }
  .nav-links li a.btn { padding: 0.3rem 0.6rem !important; font-size: 0.8rem; }
  header .container { flex-direction: column; text-align: center; gap: 0.25rem; height: auto !important; padding: 0.5rem 0; }
  .logo { font-size: 1.4rem; }

  /* Hero & Typography */
  h1 { font-size: 2.5rem !important; }
  .hero-container { flex-direction: column !important; text-align: center; gap: 2rem; }
  .hero-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
  .hero-buttons .btn { margin-left: 0 !important; width: 100%; }

  /* Layout Stacking */
  .service-row, .service-row.reverse, .container[style*="display: flex"] { flex-direction: column !important; gap: 2.5rem !important; }
  .service-row-content { width: 100% !important; text-align: left; }
  
  /* Grids */
  .services-grid, .pricing-grid, div[style*="display: grid"] { grid-template-columns: 1fr !important; }
  .contact-container { grid-template-columns: 1fr; }
  
  /* Padding */
  section { padding: 4rem 0 !important; }
}

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-up.visible { opacity: 1; transform: translateY(0); }
.animate-fade { opacity: 0; transition: opacity 1s ease; }
.animate-fade.visible { opacity: 1; }

/* Pricing Grid */
.pricing-section { padding: 4rem 0; margin-top: 2rem; border-top: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1400px; margin: 0 auto; }
.pricing-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { background: var(--secondary); color: white; border-color: var(--primary); transform: scale(1.03); z-index: 2; box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.3); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.pricing-header h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2rem; font-weight: 700; margin: 0.5rem 0 1.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.pricing-price span { font-size: 0.9rem; color: var(--text-light); font-weight: 400; }
.pricing-card.featured .pricing-price span, .pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem; flex-grow: 1; }
.pricing-features li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.1); }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: bold; }
.pricing-card.featured .pricing-features li::before { color: #10B981; }

/* SEO Comparison Matrix */
.comparison-section { padding: 5rem 0; background-color: var(--bg-white); }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 2rem; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 1.5rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { background-color: var(--bg-light); font-weight: 700; color: var(--secondary); font-size: 1.1rem; }
.comparison-table td.blusix-col { background-color: rgba(124, 58, 237, 0.05); color: var(--primary); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }

/* SEO FAQ Accordion */
.faq-section { padding: 5rem 0; background-color: var(--bg-light); }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item summary { padding: 1.5rem; font-weight: 600; cursor: pointer; color: var(--secondary); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.5rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* SEO Footer Expansion */
.seo-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-top: 3rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.seo-footer-col h4 { color: white; margin-bottom: 1rem; font-size: 1.1rem; }
.seo-footer-col ul { list-style: none; padding: 0; margin: 0; }
.seo-footer-col ul li { margin-bottom: 0.5rem; }
.seo-footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-size: 0.95rem; }
.seo-footer-col ul li a:hover { color: var(--primary); }
