/*
  CognitIQ Page Styles
  Specific styles for cognitiq.html page
*/

/* HERO Section - CognitIQ specific */
.cognitiq-hero {
  background: linear-gradient(135deg, #0f6f73 0%, #0a5f63 100%);
  color: #ffffff;
  padding: 40px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.cognitiq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><circle cx="100" cy="100" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="150" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="180" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="220" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.5;
}

.cognitiq-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.cognitiq-hero-header img {
  width: 60px;
  height: 60px;
}

.cognitiq-hero-header span {
  font-size: var(--h2-font-size);
  font-weight: bold;
  color: #ffffff;
  font-family: var(--title-font-family);
}

.cognitiq-navbar {
  background: transparent !important;
  padding: 0;
}

.cognitiq-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.cognitiq-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cognitiq-navbar .nav-link {
  color: #ffffff !important;
  font-size: var(--menu-font-size);
  letter-spacing: 0.4px;
  margin: 0 1.6em;
  padding: 0.6em;
  font-family: var(--base-font-family);
}

.cognitiq-navbar .nav-link:hover {
  color: var(--secondary-color);
}

.cognitiq-navbar .navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}

.cognitiq-navbar .dropdown-menu {
  background-color: #0a5f63 !important;
  border: none;
  border-radius: 5px;
  margin-top: 0.5em;
  padding: 0.5em 0;
}

.cognitiq-navbar .dropdown-item {
  color: #ffffff !important;
  padding: 0.8em 1.5em;
  font-size: var(--menu-font-size);
  transition: background-color 0.3s ease;
  font-family: var(--base-font-family);
}

.cognitiq-navbar .dropdown-item:hover,
.cognitiq-navbar .dropdown-item:focus {
  background-color: rgba(255,255,255,0.1) !important;
  color: #ffffff;
}

.cognitiq-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.cognitiq-hero-title {
  flex: 1;
  text-align: left;
}

.cognitiq-hero-title h1 {
  color: #ffffff;
  font-size: 56px;
  font-weight: bold;
  line-height: 1.2;
  font-family: var(--title-font-family);
}

.cognitiq-hero-image {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cognitiq-hero-image img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Content Sections */
.cognitiq-section {
  border-bottom: 1px solid #e6e6e6;
}

.cognitiq-section:nth-child(even) {
  background-color: #f8f9fa;
}

.cognitiq-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
}

.cognitiq-container ul {
  padding-left: 18px;
}

.cognitiq-container li {
  margin-bottom: 14px;
  font-size: var(--p-font-size);
  font-family: var(--base-font-family);
  color: var(--p-color);
  line-height: 1.5em;
}

.cognitiq-container p {
  font-size: var(--p-font-size);
  font-family: var(--base-font-family);
  color: var(--p-color);
  line-height: 1.5em;
}

.cognitiq-container h2 {
  font-size: var(--h2-font-size);
  font-family: var(--title-font-family);
  font-weight: 100;
  color: var(--title-color);
}

.cognitiq-container h3 {
  font-size: var(--h3-font-size);
  font-family: var(--title-font-family);
  font-weight: 100;
  color: var(--title-color);
}

.cognitiq-highlight {
  color: #0a6b4a;
  font-weight: bold;
}

/* Two Column Layout */
.cognitiq-two-column {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.cognitiq-text-top-align {
  align-self: flex-start;
}

.cognitiq-how-item {
  margin-bottom: 30px;
}

.cognitiq-how-item h3 {
  font-size: var(--p-font-size);
  font-family: var(--title-font-family);
  font-weight: bold;
  color: var(--title-color);
  margin-bottom: 10px;
}

.cognitiq-how-item p {
  font-size: var(--p-font-size);
  font-family: var(--base-font-family);
  color: var(--p-color);
  line-height: 1.5em;
  margin-bottom: 0;
}

.cognitiq-two-column .text-content {
  flex: 1;
}

.cognitiq-two-column .image-content {
  flex: 0 0 400px;
}

/* What CognitIQ Is Not - Infographic */
.cognitiq-not-infographic {
  background: linear-gradient(135deg, #e8f4f8 0%, #d1e7ef 100%);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(15,111,115,0.15);
  position: relative;
  overflow: hidden;
}

.cognitiq-not-infographic::before {
  content: '✗';
  position: absolute;
  font-size: 200px;
  color: rgba(220,53,69,0.08);
  top: -40px;
  right: -20px;
  font-weight: bold;
}

.cognitiq-not-item {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border-left: 4px solid #dc3545;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.cognitiq-not-item:hover {
  transform: translateX(-5px);
}

.cognitiq-not-item::before {
  content: '✗';
  color: #dc3545;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

/* How It Works - Infographic */
.cognitiq-how-infographic {
  background: linear-gradient(135deg, #0f6f73 0%, #0a8a8f 100%);
  border-radius: 20px;
  padding: 40px;
  color: white;
  box-shadow: 0 12px 32px rgba(15,111,115,0.3);
  position: relative;
  overflow: hidden;
}

.cognitiq-how-infographic::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
}

.cognitiq-how-title {
  text-align: center;
  font-size: var(--h2-font-size);
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  font-family: var(--title-font-family);
  color: #ffffff;
}

.cognitiq-how-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cognitiq-how-step {
  background: rgba(255,255,255,0.95);
  color: #333;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.cognitiq-how-step:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.cognitiq-how-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f6f73 0%, #0a6b4a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15,111,115,0.3);
}

.cognitiq-how-text {
  flex: 1;
  font-size: var(--p-font-size);
  line-height: 1.5;
  font-family: var(--base-font-family);
  color: var(--p-color);
}

.cognitiq-how-arrow {
  text-align: center;
  font-size: 32px;
  color: rgba(255,255,255,0.6);
  margin: -10px 0;
}

/* FOOTER - CognitIQ specific color */
.cognitiq-footer {
  background: linear-gradient(135deg, #0b3f42 0%, #0a3335 100%);
  color: #ffffff;
  padding: 60px 0;
}

.cognitiq-footer h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.cognitiq-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.cognitiq-footer-grid p {
  margin: 6px 0;
  opacity: 0.9;
}

.cognitiq-cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  background-color: #0a6b4a;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cognitiq-cta-button:hover {
  background-color: #084f38;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10,107,74,0.4);
}

.cognitiq-puzzle-visual {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cognitiq-bold-link {
  color: #0a6b4a !important;
  font-weight: bold !important;
  text-decoration: none !important;
  font-family: var(--font-bold-family) !important;
}

/* Responsive */
@media (max-width: 968px) {
  .cognitiq-hero-header {
    flex-direction: column;
    gap: 20px;
  }

  .cognitiq-navbar {
    width: 100%;
  }

  .cognitiq-navbar .navbar-collapse {
    background-color: rgba(10, 95, 99, 0.95);
    padding: 1em;
    border-radius: 5px;
    margin-top: 1em;
  }

  .cognitiq-navbar .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5em;
    background-color: rgba(10, 95, 99, 0.95) !important;
  }

  .cognitiq-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .cognitiq-hero-title {
    text-align: center;
  }

  .cognitiq-hero-title h1 {
    font-size: 42px;
  }

  .cognitiq-hero-image {
    flex: 0 0 auto;
    margin-top: 40px;
  }

  .cognitiq-two-column {
    flex-direction: column;
  }

  .cognitiq-two-column .image-content {
    flex: 0 0 auto;
    width: 100%;
  }

  .cognitiq-not-infographic, .cognitiq-how-infographic {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .cognitiq-hero-title h1 {
    font-size: 36px;
  }

  .cognitiq-container h2 {
    font-size: 28px;
  }

  .cognitiq-container h3 {
    font-size: 22px;
  }
}

