/*
 * Base styles for the EclipseSignals private portal.
 *
 * This stylesheet implements a dark, premium SaaS aesthetic using the
 * colour palette defined in the design specification. It also sets up a
 * simple layout for the home page with three columns and responsive
 * behaviour for smaller screens.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Global resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0B1020;
  color: #E6E8EC;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #007AFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container for page content */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  flex: 1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background-color: #0B1020;
  border-bottom: 1px solid #1A2238;
}

/* Logo icon preceding the site name (legacy gradient orb, unused now but retained for reference) */
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, #007AFF, #4DA3FF, #FF6A00);
  margin-right: 8px;
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
}

/* Logo container displays the logo image and text */
.logo {
  display: flex;
  align-items: center;
}

/* Logo image (PNG) */
.logo-img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

/* Container for brand name and tagline */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Brand name uses the gradient as text fill */
.brand-name {
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(90deg, #007AFF, #4DA3FF, #FF6A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tagline styling */
.tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: #A0A7B5;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav li {
  font-weight: 500;
}

/* Main layout with three sections */
.home-grid {
  display: grid;
  /* Combine principles into a single column and give it more space */
  grid-template-columns: 70% 30%;
  gap: 32px;
  margin-top: 48px;
  align-items: flex-start;
}

/* Left and centre sections for principles */
.principles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-item {
  background-color: #0E1630;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1A2238;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.15);
}

.principle-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FF6A00;
}

.principle-item p {
  font-size: 0.9rem;
  color: #A0A7B5;
}

/* Right section for buttons */
/* Right section for the image placeholder and call‑to‑action buttons */
.action-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* No top margin so the placeholder and buttons start near the top */
  margin-top: 0;
}

/* Placeholder for an image above the buttons */
.image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #1A2238;
  border: 1px solid #2A345A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6F7BB3;
  font-style: italic;
  margin-bottom: 24px;
}

.action-button {
  display: block;
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #007AFF, #4DA3FF, #FF6A00);
  color: #0B1020;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* Banner used on pages that are coming soon */
.coming-soon-banner {
  width: 100%;
  padding: 16px 0;
  text-align: center;
  background: linear-gradient(90deg, #007AFF, #4DA3FF, #FF6A00);
  color: #0B1020;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* Footer */
footer {
  background-color: #0B1020;
  padding: 24px 32px;
  text-align: center;
  font-size: 0.8rem;
  color: #A0A7B5;
  border-top: 1px solid #1A2238;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .action-panel {
    flex-direction: row;
    justify-content: space-evenly;
  }
}