/* Index page specific styles */

.layout508_card {
  max-height: 560px;
  height: auto;
}

.padding-section-large {
  padding-top: 4rem;
  padding-bottom: 0;
}

/* Remove bottom margin from ROI section */
.bold-home-alignment--roi {
  margin-bottom: 0 !important;
}

/* Show core content on mobile */
.section_header26.desktop {
  display: block !important;
}

.align-section-2.sub {
  display: block !important;
}

.align-section-3,
.system-alignment-section,
.bg-gray-50.relative.overflow-hidden {
  display: flex !important;
}

/* Keep specific sections hidden */
.align-section-3.left.gray {
  display: none !important;
}

/* Trusted By Section */
.heading-style-h6 {
  margin-top: 0px !important;
}

/* Header Buttons */
.button-hero.w-button,
.button-secondary.w-button {
  padding: 0.625rem 1.25rem !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 0.5rem !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  height: auto !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.button-secondary.w-button {
  border: 1px solid #E5E7EB !important;
  background-color: #FFFFFF !important;
  color: #111827 !important;
}

.button-secondary.w-button:hover {
  border-color: #D1D5DB !important;
  background-color: #F9FAFB !important;
}

/* Featured Cards - Modern, Fresh, Crisp, Airy */
.box-1 {
  background: #FFFFFF !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 
              0 8px 24px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(229, 231, 235, 0.6) !important;
}

.box-1:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 
              0 16px 48px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(209, 213, 217, 0.8) !important;
}

.alignment-featured-box {
  background: #F9FAFB !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.box-image {
  border-radius: 0.5rem !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.box-1:hover .box-image {
  transform: scale(1.02) !important;
}

.section-title-image {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.01em !important;
}

.box-text {
  color: #52525b !important;
  line-height: 1.6 !important;
  font-size: 0.9375rem !important;
}

/* Real-time collaboration section - Enhanced styling */
.align-section-3.switch.middle {
  background: #FFFFFF;
  padding: 120px 60px;
  gap: 60px;
}

/* Typography enhancements */
.align-section-3 .section-3-heading {
  color: #111827;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.align-section-3 .sub-headline-align {
  color: #52525b;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 90%;
}

/* Button enhancement */
.align-button-link.inverse {
  background: transparent;
  border: 2px solid #5062FF;
  color: #5062FF;
  border-radius: 0.5rem;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.align-button-link.inverse:hover {
  background: #5062FF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 98, 255, 0.3);
}

.align-button-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* Polished image styling - Base */
.align-image-left.plan-image {
  border: 1px solid #F3F4F6;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.06), 
              0 8px 20px -8px rgba(0, 0, 0, 0.04);
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  padding: 12px;
}

.align-image-left.plan-image:hover {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 
              0 10px 25px -10px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Polished image styling - Right variant */
.align-image-left.plan-image.right {
  border: 1px solid #F3F4F6;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.06), 
              0 8px 20px -8px rgba(0, 0, 0, 0.04);
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  padding: 12px;
}

.align-image-left.plan-image.right:hover {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 
              0 10px 25px -10px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Polished SWOT image styling */
.align-image-left.plan-image.swot-image {
  border: 1px solid #F3F4F6;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.06), 
              0 8px 20px -8px rgba(0, 0, 0, 0.04);
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  padding: 12px;
}

.align-image-left.plan-image.swot-image:hover {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 
              0 10px 25px -10px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Layout refinements */
.align-box-left-section-3.left {
  padding-right: 30px;
}

/* System of Alignment Section - Complete Styling */

/* Animations */
@keyframes aiPulse {
  0% { 
    box-shadow: 0 0 0 0 rgba(80, 98, 255, 0.2), 0 0 0 0 rgba(93, 225, 230, 0.1);
  }
  50% { 
    box-shadow: 0 0 0 4px rgba(80, 98, 255, 0.08), 0 0 0 8px rgba(93, 225, 230, 0.04);
  }
  100% { 
    box-shadow: 0 0 0 0 rgba(80, 98, 255, 0.2), 0 0 0 0 rgba(93, 225, 230, 0.1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Methodology step animations */
.methodology-step {
  animation: slideInRight 0.6s ease-out both;
}

.methodology-step:nth-child(1) { animation-delay: 0.5s; }
.methodology-step:nth-child(2) { animation-delay: 0.6s; }
.methodology-step:nth-child(3) { animation-delay: 0.7s; }
.methodology-step:nth-child(4) { animation-delay: 0.8s; }
.methodology-step:nth-child(5) { animation-delay: 0.9s; }

/* Tagline badge shimmer effect */
.tagline-badge {
  position: relative;
  overflow: hidden;
}

.tagline-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

/* Tailwind-like utility classes replacement */
.max-w-\\[1440px\\] {
  max-width: 1440px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.sm\\:gap-8 {
  gap: 2rem;
}

.lg\\:gap-12 {
  gap: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.font-medium {
  font-weight: 500;
}

.max-w-6xl {
  max-width: 72rem;
}

.justify-items-center {
  justify-items: center;
}

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

.sm\\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg\\:grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.items-center {
  align-items: center;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.inline-flex {
  display: inline-flex;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.gap-4 {
  gap: 1rem;
}

.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-none {
  border-radius: 0;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.text-gray-800 {
  color: #1f2937;
}

.text-gray-900 {
  color: #111827;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-500 {
  color: #6b7280;
}

.text-white {
  color: #ffffff;
}

.text-blue-700 {
  color: #1d4ed8;
}

.text-green-700 {
  color: #15803d;
}

.text-indigo-700 {
  color: #4338ca;
}

.text-amber-700 {
  color: #b45309;
}

.text-purple-700 {
  color: #7e22ce;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}

.max-w-lg {
  max-width: 32rem;
}

.uppercase {
  text-transform: uppercase;
}

.border {
  border-width: 1px;
}

.border-transparent {
  border-color: transparent;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.cursor-pointer {
  cursor: pointer;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.bottom-2 {
  bottom: 0.5rem;
}

.left-0 {
  left: 0;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-36 {
  width: 9rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.sm\\:h-6 {
  height: 1.5rem;
}

.h-20 {
  height: 5rem;
}

.h-full {
  height: 100%;
}

.p-4 {
  padding: 1rem;
}

.object-contain {
  object-fit: contain;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.blur-xl {
  filter: blur(24px);
}

.-z-10 {
  z-index: -10;
}

.hover\\:bg-gray-50:hover {
  background-color: #f9fafb;
}

.hover\\:shadow-sm:hover {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hover\\:border-gray-200:hover {
  border-color: #e5e7eb;
}

.hover\\:scale-110:hover {
  transform: scale(1.1);
}

/* System of Alignment Section CTA Buttons */
.system-alignment-cta-primary,
.system-alignment-cta-secondary {
  width: auto !important;
  display: inline-flex !important;
  white-space: nowrap;
}

.system-alignment-cta-primary:hover {
  background-color: #3B4CF5 !important;
}

.system-alignment-cta-secondary:hover {
  background-color: #F9FAFB;
}

/* Responsive - sm breakpoint (640px) */
@media (min-width: 640px) {
  .sm\\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .sm\\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .sm\\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .sm\\:flex-row {
    flex-direction: row;
  }
  
  .sm\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .sm\\:gap-8 {
    gap: 2rem;
  }
  
  .sm\\:h-6 {
    height: 1.5rem;
  }
}

/* System Alignment Grid - Flex Row Layout */
@media (min-width: 1024px) {
  .system-alignment-grid {
    display: flex !important;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
  }
  
  .system-alignment-grid > div:first-child {
    flex: 0 1 auto;
    max-width: 400px;
  }
  
  .system-alignment-grid > div:nth-child(2) {
    flex: 0 0 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
  }
  
  .system-alignment-grid > div:last-child {
    flex: 1 1 auto;
    max-width: 550px;
  }
  
  .lg\\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .lg\\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\\:gap-0 {
    gap: 0;
  }
  
  .lg\\:gap-12 {
    gap: 3rem;
  }
  
  .lg\\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

/* Center AI icon styling */
.system-alignment-section .relative.bg-white {
  animation: aiPulse 5s ease-in-out infinite;
}

/* Announcement Banner */
.announcement-banner {
  background-color: #111827;
  color: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
}

.announcement-banner * {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
}

.announcement-banner a {
  color: #ffffff;
  text-decoration: none;
}

.announcement-banner a:hover {
  color: #d1d5db;
}

.brand-button {
  background-color: #5062ff !important;
  font-family: 'Figtree', sans-serif;
}

.brand-button:hover {
  background-color: #3B4CF5 !important;
}

/* Ensure header content goes behind nav when scrolling */
.section-panel {
  position: relative;
  z-index: 1;
}

header {
  position: relative;
  z-index: 1;
}

/* Active tab styling */
div .tab-button.active,
.tab-button.active,
button.tab-button.active {
  background-color: #f8f9fa !important;
  background: #f8f9fa !important;
}

/* Inactive tabs should have no background */
div .tab-button:not(.active),
.tab-button:not(.active),
button.tab-button:not(.active) {
  background-color: transparent !important;
  background: transparent !important;
}

/* Override hover state for active tab */
div .tab-button.active:hover,
.tab-button.active:hover,
button.tab-button.active:hover {
  background-color: #f8f9fa !important;
  background: #f8f9fa !important;
}

.profile-nav-image {
  display: block !important;
}

.bg-gray-900 {
  background-color: #111827;
}

.text-white {
  color: #ffffff;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hover\\:text-gray-300:hover {
  color: #d1d5db;
}

.w-3 {
  width: 0.75rem;
}

.h-3 {
  height: 0.75rem;
}

/* Defense Storm Logo - Wider */
.logo1_logo[src*="defensestorm"] {
  max-width: 5.5rem !important;
}

/* Quote Cards Polish */
.quote-card-text.flat {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-card-text.flat:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  border-color: #D1D5DB;
}

/* Responsive refinements */
@media (max-width: 991px) {
  .align-section-3 {
    display: block !important;
    text-align: center;
    padding: 60px 40px;
  }
  
  .align-section-3.switch.middle {
    padding: 60px 40px;
    gap: 40px;
    flex-direction: column;
  }
  
  .align-section-3 .section-3-heading {
    font-size: 2rem;
    text-align: center;
  }
  
  .align-section-3 .sub-headline-align {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .align-buttons {
    display: flex;
    justify-content: center;
  }
  
  .align-box-left-section-3.left {
    padding-right: 0;
  }
  
  .align-box-left-section-3 {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .align-box-left-section-3 img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .align-box-right {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .align-section-3 {
    display: block !important;
    padding: 40px 24px;
    text-align: center;
  }
  
  .align-section-3.switch.middle {
    padding: 40px 24px;
  }
  
  .align-section-3 .section-3-heading {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .align-section-3 .sub-headline-align {
    font-size: 1rem;
    text-align: center;
  }
  
  .align-button-link.inverse {
    padding: 12px 24px;
    width: 100%;
    max-width: 280px;
  }
  
  .align-box-left-section-3 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .align-box-left-section-3 img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .align-box-right {
    text-align: center;
  }
}

/* Final CTA Section */
.bg-gray-50.relative.overflow-hidden {
  font-family: 'Figtree', sans-serif !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.bg-gray-50.relative.overflow-hidden * {
  font-family: 'Figtree', sans-serif !important;
}

.bg-gray-50.relative.overflow-hidden .max-w-4xl {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

@media (min-width: 640px) {
  .bg-gray-50.relative.overflow-hidden {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  
  .bg-gray-50.relative.overflow-hidden .max-w-4xl {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  .bg-gray-50.relative.overflow-hidden {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
  }
  
  .bg-gray-50.relative.overflow-hidden .max-w-4xl {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
