/*==============================================
  AURA MARKET RESEARCH - Main Stylesheet
  Brand: Aura Market Research
  Domain: auramarketresearch.com
  Version: 1.0
==============================================*/

/* ----- CSS Custom Properties ----- */
:root {
  --primary: #27A7CF;
  --primary-dark: #1E8DB0;
  --primary-light: #50C4E8;
  --navy: #071A3D;
  --navy-light: #0F2B5E;
  --white: #FFFFFF;
  --bg-light: #F5FAFC;
  --gray-soft: #E7EEF2;
  --text-dark: #1D2530;
  --text-muted: #5A6A7C;
  --accent-cyan: #00B9E8;
  --gradient-primary: linear-gradient(135deg, #27A7CF 0%, #00B9E8 100%);
  --gradient-navy: linear-gradient(135deg, #071A3D 0%, #0F2B5E 100%);
  --shadow-sm: 0 2px 8px rgba(7,26,61,0.06);
  --shadow-md: 0 8px 30px rgba(7,26,61,0.1);
  --shadow-lg: 0 20px 60px rgba(7,26,61,0.12);
  --shadow-xl: 0 30px 80px rgba(7,26,61,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
  --header-height: 116px;
  --desktop-navbar-height: 82px;
  --mobile-navbar-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

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

/* ----- Typography ----- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

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

.text-center .section-desc {
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(39,167,207,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(39,167,207,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn .icon-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ----- Section Spacing ----- */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

/* ----- Card Base ----- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-soft);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ----- Gradient Text ----- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Section Backgrounds ----- */
.bg-light {
  background: var(--bg-light);
}

.bg-navy {
  background: var(--navy);
}

.bg-navy .section-title {
  color: var(--white);
}

.bg-navy .section-desc {
  color: rgba(255,255,255,0.7);
}

/* ----- Grid System ----- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ----- Reveal Animations (AOS-like) ----- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1;
  transform: none;
}

.reveal.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 1;
  transform: none;
}

.reveal-left.animate {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.animate.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 1;
  transform: none;
}

.reveal-right.animate {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.animate.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 1;
  transform: none;
}

.reveal-scale.animate {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.animate.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.active > *:nth-child(1),
.stagger-children > *:nth-child(1).active { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2),
.stagger-children > *:nth-child(2).active { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3),
.stagger-children > *:nth-child(3).active { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4),
.stagger-children > *:nth-child(4).active { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5),
.stagger-children > *:nth-child(5).active { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6),
.stagger-children > *:nth-child(6).active { transition-delay: 0.6s; }
.stagger-children.active > *:nth-child(7),
.stagger-children > *:nth-child(7).active { transition-delay: 0.7s; }
.stagger-children.active > *:nth-child(8),
.stagger-children > *:nth-child(8).active { transition-delay: 0.8s; }

.stagger-children.active > *,
.stagger-children > *.active {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Scroll Progress Bar ----- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.2s ease;
}

/* ----- Responsive Typography ----- */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  .section {
    padding: 70px 0;
  }
  .grid-2, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 1rem;
  }
  .section {
    padding: 50px 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .container {
    padding: 0 16px;
  }
}

/* ===== CONSENT BANNER ===== */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -10px 40px rgba(7,26,61,0.12);
  z-index: 9998;
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--primary);
}

.consent-banner.show {
  transform: translateY(0);
}

.consent-banner-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.consent-banner-text h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.consent-banner-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}

.consent-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== CONSENT MODAL ===== */
.consent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,26,61,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.consent-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.consent-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 560px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.consent-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.consent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-soft);
}

.consent-modal-header h3 {
  font-size: 1.15rem;
}

.consent-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.consent-modal-close:hover {
  background: var(--gray-soft);
}

.consent-modal-body {
  padding: 24px 28px;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-soft);
}

.consent-option:last-child {
  border-bottom: none;
}

.consent-option-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.consent-option-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.consent-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-toggle .toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-soft);
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.consent-toggle .toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.consent-toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.consent-toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.consent-toggle.disabled .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.consent-toggle.disabled input:checked + .toggle-slider {
  background: var(--text-muted);
}

.consent-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--gray-soft);
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .consent-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .consent-banner-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .consent-modal-footer {
    flex-direction: column;
  }
  .consent-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================= */

/* Skip to main content - visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--primary, #27A7CF);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Visible focus indicators for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary, #27A7CF);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-progress {
    display: none !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .counter,
  .impact-number {
    visibility: visible !important;
  }
  .float-btn-top.hidden {
    display: none !important;
  }
}

/* Mobile menu ARIA */
.mobile-menu[aria-hidden="true"] {
  display: none;
}
.mobile-menu[aria-hidden="false"] {
  display: block;
}

/* Error message ARIA associations */
.form-error {
  color: #D94242;
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}
.form-error.show {
  display: block;
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #D94242 !important;
}
