/**
 * Landing Page Specific Styles
 */

/* Hero Background Effects */
.hero {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(15, 52, 96, 0.8) 100%),
              url('/images/hero/landing-hero-bg.jpg') center/cover no-repeat;
  position: relative;
}

/* Tech grid background overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/textures/tech-grid.png');
  background-size: 400px 400px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* Decorative corner ornaments for hero */
.corner-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.corner-tl {
  top: 0;
  left: 0;
}

.corner-tr {
  top: 0;
  right: 0;
}

.corner-bl {
  bottom: 0;
  left: 0;
}

.corner-br {
  bottom: 0;
  right: 0;
}

.hero {
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Features Section */
.features {
  padding: var(--spacing-2xl) 0;
  background: var(--color-white);
}

.features h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

/* Feature card header with corner + icon */
.feature-header {
  position: relative;
  margin-bottom: var(--spacing-md);
  height: 100px; /* Allow space for overlapping elements */
}

.card-corner-icon {
  width: 80px;
  height: 80px;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  /* Overlay icon on corner with offset to bottom-right */
  left: 16px;
  top: 16px;
  z-index: 2;
}

.feature-icon svg,
.feature-icon img {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
}

/* Preview Section */
.preview {
  padding: var(--spacing-2xl) 0;
  background: var(--color-light-blue);
}

.preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.preview-text h2 {
  margin-bottom: var(--spacing-md);
}

.preview-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.preview-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .preview .container {
    grid-template-columns: 1fr;
  }
}

/* Downloads Section */
.downloads {
  padding: var(--spacing-2xl) 0;
  background: var(--color-white);
  text-align: center;
}

.downloads h2 {
  margin-bottom: var(--spacing-md);
}

.downloads p {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  color: var(--color-medium-gray);
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.external-links {
  margin-top: var(--spacing-lg);
}

.external-links h3 {
  font-size: 1rem;
  color: var(--color-medium-gray);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.external-links a {
  margin: 0 var(--spacing-sm);
}
