/* Inner Pages Styling */

/* Page Content General */
.page-content {
  padding-top: 80px; /* Account for fixed header */
  flex: 1;
}

/* Page Hero Sections */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
  color: var(--light-text);
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Stock Details Hero */
.stock-details-hero {
  background: linear-gradient(135deg, #1a3a6e 0%, #3a5f9b 100%);
}

/* Screener Hero */
.screener-hero {
  background: linear-gradient(135deg, #2c3e50 0%, #4a6b8a 100%);
}

/* Trading Tools Hero */
.trading-tools-hero {
  background: linear-gradient(135deg, #243746 0%, #3a5e72 100%);
}

/* Simulator Hero */
.simulator-hero {
  background: linear-gradient(135deg, #2e4053 0%, #517394 100%);
}

/* Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Headings */
.section-container h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.section-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Feature Cards */
.feature-card {
  display: flex;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-right: 1rem;
  color: var(--secondary-color);
  font-size: 2rem;
  min-width: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.feature-content h3 {
  margin-bottom: 0.8rem;
}

/* Preview Section */
.preview-section {
  background-color: #f0f3f8;
}

.mockup-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mockup-description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.feature-list li i {
  color: var(--accent-color);
  margin-right: 0.8rem;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.mockup-image {
  position: relative;
}

.placeholder-image {
  background-color: #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
  position: relative;
}

.mockup-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #6c757d;
}

.mockup-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Use Cases Section */
.use-cases .section-container {
  max-width: 900px;
}

.use-case {
  display: flex;
  margin-bottom: 3rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.use-case:last-child {
  margin-bottom: 0;
}

.use-case-icon {
  margin-right: 2rem;
  color: var(--primary-color);
  font-size: 2.5rem;
  min-width: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.use-case-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.use-case-content p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Navigation active state */
nav ul li a.active {
  border-bottom: 2px solid var(--accent-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .mockup-container {
    grid-template-columns: 1fr;
  }

  .mockup-description {
    order: 1;
  }

  .mockup-image {
    order: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .section-container {
    padding: 3rem 1.5rem;
  }

  .section-container h2 {
    font-size: 1.8rem;
  }

  .use-case {
    flex-direction: column;
    padding: 1.5rem;
  }

  .use-case-icon {
    margin: 0 0 1rem 0;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .feature-card {
    flex-direction: column;
  }

  .feature-icon {
    margin: 0 0 1rem 0;
  }

  .feature-list li {
    font-size: 0.9rem;
  }
}
