/*
Theme Name: Zimo
Theme URI: https://zimo.vc
Author: Zimo Team
Author URI: https://zimo.vc
Description: Tema WordPress para Zimo - Agência de Inteligência Artificial
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zimo
*/

/* --- Variables & Reset --- */
:root {
  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-dark: #111111;
  --bg-dark-card: #222222;
  --text-main: #0a0a0a;
  --text-muted: #64748b;
  --text-light: #f0f0f0;
  --text-light-muted: #a0a0a0;
  --accent-red: #FF2E2E;
  --accent-red-hover: #d61e1e;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1200px;
  --content-width: 780px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* --- Utilities --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.center {
  text-align: center;
}

.text-highlight {
  color: var(--accent-red);
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  gap: 8px;
  font-size: 1rem;
  border: none;
}

.btn-compact {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent-red);
  color: #fff;
  border: 2px solid var(--accent-red);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 46, 46, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-red);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.link-arrow:hover {
  border-bottom-color: var(--accent-red);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo .dot {
  color: var(--accent-red);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:not(.btn):hover,
.nav-links a.active-link {
  color: var(--accent-red);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* --- Hero (Index) --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

#neural-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- Page Header (Internal Pages) --- */
.page-header {
  padding: 160px 0 60px;
  background: linear-gradient(to bottom, #fcfcfc, #ffffff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  max-width: 900px;
}

.page-header .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
}

.page-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.page-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-meta i {
  color: var(--accent-red);
  width: 16px;
  height: 16px;
}

/* Single Post Header Overrides */
.single-header h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.single-header .page-meta {
  font-size: 0.8rem;
  margin-bottom: 16px;
}

/* --- Products (Index) --- */
.section-header {
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.clean-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.1s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}

.clean-card:hover {
  border-color: var(--accent-red);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 46, 46, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-red);
  transform: translateZ(20px);
}

.clean-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  transform: translateZ(10px);
}

.clean-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  transform: translateZ(10px);
}

/* Custom Solution White */
.custom-solution-white {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}

.custom-content-white {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.custom-icon-white {
  width: 80px;
  height: 80px;
  background: rgba(255, 46, 46, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

.custom-icon-white svg {
  width: 40px;
  height: 40px;
}

.custom-text-white h3 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.custom-text-white p {
  color: var(--text-muted);
  max-width: 600px;
}

.custom-solution-white .btn-primary {
  margin-left: auto;
  white-space: nowrap;
}

/* --- Context Section (Dark) --- */
.context-dark {
  background: var(--bg-dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 120px 0;
  overflow: hidden;
}

.context-dark h2 {
  color: #fff;
}

.context-dark p {
  color: var(--text-light-muted);
}

.elegant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.elegant-text h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.elegant-text p {
  font-size: 1.2rem;
  max-width: 450px;
}

.elegant-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-box-dark {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-red);
}

.stat-box-dark:nth-child(3) {
  grid-column: span 2;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Radar IA (Blog) --- */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.header-row h2 {
  font-size: 2.5rem;
  margin: 0;
}

.carousel-controls-simple {
  display: flex;
  gap: 10px;
}

.control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  color: var(--text-main);
}

.control-btn:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 8px;
  display: block;
}

.blog-content h4 {
  margin-bottom: 16px;
  line-height: 1.4;
  min-height: 54px;
}

.blog-content h4 a {
  font-size: 1.2rem;
  color: var(--text-main);
  text-decoration: none;
  transition: 0.3s;
}

.blog-content h4 a:hover {
  color: var(--accent-red);
}

.blog-content .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* Carousel specific width override */
.carousel-track .blog-card {
  flex: 0 0 calc(33.333% - 16px);
}

/* --- Category Page Grid (New) --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.category-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-filter {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
  background: #fff;
}

.cat-filter:hover,
.cat-filter.active {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

/* --- Pagination (WordPress Compatible) --- */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.pagination ul.page-numbers {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: 0.3s;
  font-weight: 600;
  background: #fff;
  font-size: 0.95rem;
}

.pagination .page-numbers.current {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.pagination a.page-numbers:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.pagination .dots {
  border: none;
  background: transparent;
  width: auto;
  color: var(--text-muted);
  letter-spacing: 2px;
}


/* --- Use Cases (List) --- */
.use-cases-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-list-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.case-list-item:hover {
  transform: translateX(10px);
  border-color: rgba(255, 46, 46, 0.3);
  box-shadow: var(--shadow-hover);
}

.case-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-right: 24px;
  flex-shrink: 0;
}

.case-info {
  flex-grow: 1;
}

.case-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.case-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px 10px;
  border-radius: 4px;
}

.case-action {
  color: var(--text-muted);
  opacity: 0.5;
  transition: 0.3s;
}

.case-list-item:hover .case-action {
  color: var(--accent-red);
  opacity: 1;
  transform: translateX(5px);
}

/* --- Footer --- */
.footer-elegant {
  background: #fff;
  color: var(--text-main);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-brand-large {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.footer-cta-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
  font-size: 1rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

/* --- TYPOGRAPHY & CONTENT STYLES (Single/Case) --- */
.content-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.content-body p {
  margin-bottom: 1.5rem;
}

.content-body h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.content-body h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 20px;
}

.content-body li {
  margin-bottom: 0.8rem;
}

.content-body blockquote {
  border-left: 4px solid var(--accent-red);
  padding-left: 20px;
  margin: 2.5rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Image Container Update for Single */
.wide-image-container {
  max-width: 900px;
  margin: 30px auto 50px;
  width: 100%;
}

.wide-image-container img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* Article Internal Image */
.article-image {
  margin: 3rem 0;
}

.article-image img {
  width: 100%;
  border-radius: var(--radius-md);
}

.article-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Author Bio */
.author-bio {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius-md);
  margin: 60px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Article Conversion Block (Dark - Single Page) */
.conversion-block {
  background: linear-gradient(135deg, #111 0%, #222 100%);
  color: #fff;
  padding: 80px 40px;
  border-radius: var(--radius-md);
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: var(--shadow-hover);
}

.conversion-block h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.5rem;
  line-height: 1.1;
}

.conversion-block p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Article Conversion Block Light (Case Page - Compact) */
.conversion-block-light {
  background: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  padding: 50px 30px;
  /* Reduced padding */
  border-radius: var(--radius-md);
  text-align: center;
  margin: 60px auto 0;
  max-width: 800px;
  /* More compact width */
}

.conversion-block-light h3 {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.6rem;
  /* Smaller font */
  line-height: 1.2;
}

.conversion-block-light p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
  /* Smaller font */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Related Articles */
.related-articles {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.related-articles h3 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

/* --- PRODUCT & FORM STYLES --- */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-card);
}

.split-feature.reverse {
  direction: rtl;
}

.split-feature.reverse .feature-text {
  direction: ltr;
}

.feature-text h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

/* Added margin-top to separate list from paragraph */
.feature-list {
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 1.05rem;
}

.feature-list i {
  color: var(--accent-red);
}

/* Brain Section */
.brain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.brain-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.brain-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-main);
}

.brain-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 200px;
}

.brain-core i {
  width: 80px;
  height: 80px;
  color: var(--accent-red);
  z-index: 2;
}

.brain-core span {
  font-weight: 800;
  margin-top: 10px;
  font-size: 1.2rem;
}

.core-pulse {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 46, 46, 0.1);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Features Grid 3 (New) */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-card);
  transition: 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
}

.feature-item i {
  color: var(--accent-red);
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-container {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- Case Navigation (New) --- */
.case-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 100px;
  /* Added spacing from footer */
}

.nav-case {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 45%;
}

.nav-case.next {
  align-items: flex-end;
  text-align: right;
}

.nav-case.prev {
  align-items: flex-start;
  text-align: left;
}

.nav-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-label i {
  width: 14px;
  height: 14px;
}

.nav-title {
  font-size: 1.1rem;
  /* Smaller font */
  font-weight: 700;
  color: var(--text-main);
  transition: 0.3s;
  line-height: 1.4;
  /* Better wrapping */
}

.nav-case:hover .nav-title {
  color: var(--accent-red);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .blog-card {
    flex: 0 0 calc(50% - 12px);
  }

  .custom-content-white {
    flex-direction: column;
    text-align: center;
  }

  .custom-solution-white .btn-primary {
    margin: 0;
    width: 100%;
  }

  .split-feature {
    grid-template-columns: 1fr;
    direction: ltr !important;
    text-align: center;
  }

  .split-feature .feature-text {
    direction: ltr;
  }

  .feature-list {
    display: inline-block;
    text-align: left;
  }

  .brain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brain-core {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 20px;
    transform: translateY(-150%);
    transition: 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
    word-wrap: break-word;
  }

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

  .context-dark {
    padding: 60px 0;
  }

  .elegant-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .elegant-text h2 {
    font-size: 2rem;
  }

  .elegant-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-box-dark:nth-child(3) {
    grid-column: auto;
  }

  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand-large {
    font-size: 3rem;
  }

  .blog-card {
    flex: 0 0 85vw;
    margin-right: 0;
  }

  .carousel-track {
    padding-left: 20px;
    padding-right: 20px;
  }

  .case-list-item {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .case-thumb {
    margin: 0 0 15px 0;
    width: 80px;
    height: 80px;
  }

  .case-action {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .case-navigation {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .nav-case {
    max-width: 100%;
    align-items: center !important;
    text-align: center !important;
  }
}