/* ===== INDEX PAGE SPECIFIC STYLES ===== */

/* ===== HERO INTRODUCTION SECTION ===== */
.hero-introduction {
  background: #04090d;
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 8rem;
  min-height: 100vh;

  /* Hero overlay for better text readability */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #04090d;
    z-index: 2;
  }
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.hero-message {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 800px;
  width: 100%;

  h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
}

.hero-description {
  font-size: 1.4rem;
  color: #bdc3c7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.1;

  .pixel-lines {
    width: 200px;
    height: auto;
  }
}

/* ===== ACTION BUTTON STYLES ===== */
.primary-action-btn,
.secondary-action-btn,
.demo-action-btn {
  max-width: 400px;
  display: inline-block;
  background: transparent;
  color: white;
  padding: 8px 32px;
  border: 2px solid #ffffff;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.3s ease;
    z-index: -1;
  }

  &:hover {
    color: #1a212b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);

    &::before {
      left: 0;
    }
  }
}

.demo-title {
  display: block;
  white-space: nowrap;
}

.demo-description {
  display: block;
  font-weight: normal;
  margin-top: 4px;
  white-space: normal;
}

.primary-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(255, 0, 55);
  border-color: rgb(255, 0, 55);

  &::before {
    background: rgb(220, 0, 47);
  }

  &:hover {
    border-color: rgb(220, 0, 47);
    color: #ffffff;
  }
}

/* Legacy CTA button support */
.cta-button {
  max-width: 240px;
  display: inline-block;
  background: transparent;
  color: white;
  padding: 8px 32px;
  border: 2px solid #ffffff;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.3s ease;
    z-index: -1;
  }

  &:hover {
    color: #1a212b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);

    &::before {
      left: 0;
    }
  }

  &.primary {
    background: rgb(255, 0, 55);
    border-color: rgb(255, 0, 55);

    &::before {
      background: rgb(220, 0, 47);
    }

    &:hover {
      border-color: rgb(220, 0, 47);
      color: #ffffff;
    }
  }
}

/* ===== SECURITY VULNERABILITY WARNING SECTION ===== */
.security-vulnerability-warning {
  padding: 6rem 0;
  background: rgb(242, 242, 242);
}

.warning-layout {
  display: grid;
  grid-template-columns: 5fr 2fr;
  gap: 4rem;
  align-items: center;
}

.warning-message {
  padding-right: 2rem;

  h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 2rem;
  }
}

.vulnerability-description {
  font-size: 1.2rem;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 2.5rem;

  a {
    color: #007acc;
    text-decoration: none;
    border-bottom: 2px solid #007acc;
    font-weight: 600;
    transition: all 0.3s ease;

    &:hover {
      color: #005999;
      border-bottom-color: #005999;
      background-color: rgba(0, 122, 204, 0.1);
    }
  }
}

.vulnerability-link {
  color: #007acc;
  text-decoration: underline;
  border-bottom: 1px solid #007acc;

  &:hover {
    color: #005999;
    border-bottom-color: #005999;
  }
}

.business-impact {
  h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
  }
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;

    &::before {
      content: '•';
      color: rgb(255, 0, 55);
      font-weight: bold;
      position: absolute;
      left: 0;
      font-size: 1.2rem;
    }
  }
}

.warning-illustration {
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  }
}

/* ===== SECURITY DEMONSTRATION SECTION ===== */
.security-demonstration {
  padding: 6rem 0;
  background: rgb(217, 217, 217);

  .demo-action-btn {
    background: transparent;
    color: #333333;
    border-color: #333333;

    &::before {
      background: #333333;
    }

    &:hover {
      color: #ffffff;
      box-shadow: 0 8px 20px rgba(51, 51, 51, 0.2);
    }
  }

  .cta-button {
    background: transparent;
    color: #333333;
    border-color: #333333;

    &::before {
      background: #333333;
    }

    &:hover {
      color: #ffffff;
      box-shadow: 0 8px 20px rgba(51, 51, 51, 0.2);
    }
  }
}

.demonstration-header {
  text-align: center;
  margin-bottom: 4rem;

  h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
  }
}

.demonstration-content {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 4rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.demo-information {
  h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
  }
}

.demo-summary {
  font-size: 1.5rem;
  color: #666666;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.demo-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  .demo-action-btn.active {
    background: #333333;
    color: #ffffff;

    &::before {
      left: 0;
    }
  }
}

.update-timestamp {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
}

.demo-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* ===== PROTECTION LIFECYCLE SECTION ===== */
.protection-lifecycle {
  padding: 6rem 0;
  background: #e0e0e0;
}

.lifecycle-header {
  text-align: center;
  margin-bottom: 3rem;

  h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2rem;
  }

  .lifecycle-description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
  }
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.lifecycle-column-wrapper {
  display: flex;
}

.lifecycle-column {
  width: 100%;
  display: flex;
  flex-direction: column;

  .column-header {
    background: #1a5449;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.5rem;
    text-align: center;
  }

  .column-content {
    background: #4a9d8f;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    .product-name {
      color: #ffffff;
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 0.5rem;
      letter-spacing: 0.05em;
    }

    h3 {
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1rem;
    }
  }

  .feature-box {
    background: #b3e0d9;
    padding: 1.5rem;
    border-radius: 4px;

    h4 {
      color: #1a1a1a;
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;

      .subtitle {
        font-size: 0.9rem;
        font-weight: 600;
        display: inline;
      }
    }

    p {
      color: #333333;
      font-size: 1rem;
      line-height: 1.5;
      margin: 0;
    }
  }
}

.threat-intelligence-footer {
  background: #1a5449;
  color: #ffffff;
  padding: 2rem;
  text-align: center;

  h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 1.1rem;
    margin: 0;
  }
}

/* ===== PARTNERSHIP ANNOUNCEMENT SECTION ===== */
.partnership-announcement {
  padding: 6rem 0;
  background: #e8e8e8;

  h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 4rem;
  }
}

.partnership-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.partnership-visual {
  img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

.partnership-details {
  h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 2rem 0;
  }
}

.partnership-button {
  display: inline-block;
  background: #ff0037;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0px;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  &:hover {
    background: #e6003d;
    transform: translateY(-1px);
  }

  &:active {
    transform: translateY(0);
  }
}

.press-release-link {
  color: rgb(255, 0, 55);
  font-weight: 600;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

/* ===== FREQUENTLY ASKED QUESTIONS SECTION ===== */
.frequently-asked-questions {
  padding: 6rem 0 4rem 0;
  background: rgb(242, 242, 242);

  h2 {
    text-align: left;
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 3rem;
  }
}

.questions-list {
  margin-bottom: 3rem;
}

.question-item {
  margin-bottom: 1.5rem;
  background: #ffffff;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: #f8f8f8;
  }
}

.question-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  padding-right: 1rem;
}

.toggle-answer {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  color: #333333;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: relative;

  &:hover {
    transform: scale(1.1);
  }

  .icon-close {
    display: none;
    font-size: 2.5rem;
    line-height: 1;
  }

  .icon-plus {
    display: block;
    font-size: 2rem;
    line-height: 1;
  }
}

.answer-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer-text {
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
  margin: 0;
  padding: 0;

  a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s ease;

    &:hover {
      color: #0052a3;
      text-decoration: underline;
    }
  }

  strong {
    font-weight: 700;
  }

  ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
  }

  li {
    margin-bottom: 0.75rem;
    line-height: 1.6;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

/* Active state - when FAQ is expanded */
.question-item.active {
  .toggle-answer {
    .icon-plus {
      display: none;
    }

    .icon-close {
      display: block;
    }
  }

  .answer-content {
    max-height: 1000px;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
}

.faq-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-button {
  background: #ff0037;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0px;
  transition: all 0.3s ease;
  display: inline-block;

  &:hover {
    background: #cc002c;
    transform: translateY(-2px);
  }
}

/* ===== MEDIA QUERIES ===== */

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
  .hero-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;

    h1 {
      font-size: 3rem;
    }
  }

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

  .hero-visual {
    width: 100%;
    opacity: 0.2;

    img {
      max-height: 900px;
      object-position: -700px;
    }
  }

  .hero-introduction::before {
    width: 100%;
    background: linear-gradient(180deg,
        rgba(26, 33, 43, 0.9) 0%,
        rgba(26, 33, 43, 0.7) 70%,
        rgba(26, 33, 43, 0.4) 100%);
  }

  .demonstration-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .warning-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .warning-message {
    padding-right: 0;
  }

  .lifecycle-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile and tablet */
@media (max-width: 768px) {
  .hero-introduction {
    margin-top: 0;
    padding-top: 4rem;
  }

  .hero-message h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .primary-action-btn,
  .secondary-action-btn,
  .demo-action-btn,
  .cta-button {
    width: 100%;
    text-align: center;
  }

  .security-vulnerability-warning,
  .security-demonstration,
  .frequently-asked-questions,
  .partnership-announcement,
  .protection-lifecycle {
    h2 {
      font-size: 2.5rem;
    }
  }

  .warning-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .warning-message {
    padding-right: 0;
  }

  .demonstration-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .demo-links {
    flex-direction: column;
    align-items: center;
  }

  .partnership-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .lifecycle-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-message h1 {
    font-size: 2rem;
  }

  .security-vulnerability-warning,
  .security-demonstration,
  .frequently-asked-questions,
  .partnership-announcement,
  .protection-lifecycle {
    padding: 4rem 0;

    h2 {
      font-size: 2rem;
    }
  }

  .hero-introduction {
    padding: 4rem 0;
  }

  .hero-visual {
    img {
      object-position: -100vh;
    }
  }
}