/* GLOBAL VARIABLES */
:root {
  --bg-color: #0f172a;
  --text-color: #e5e7eb;
  --accent-color: #3b82f6; /* A nice professional blue */
}

/* GLOBAL STYLES */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* Pushes the footer to the bottom */
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* NAVIGATION (Header) */
header {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
}

header nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Flexbox for aligning icons and text perfectly */
header nav a {
  display: flex;
  align-items: center; 
  gap: 8px; 
}

/* Icon specific sizing */
header nav a i {
  color: inherit;
  font-size: 1.1em;
}

header a, footer a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
}

header a:hover, footer a:hover {
  color: var(--accent-color);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

/* COMING SOON CONTAINER */
.coming-soon-container {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.coming-soon-container h1 {
  font-size: 3rem;
  font-weight: 500;
  margin: 0;
}

/* --- LANDING PAGE STYLES --- */

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid #334155;
  margin-bottom: 3rem;
  border-radius: 8px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Two-Column Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Interactive Cards */
.card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card h2 {
  color: #f8fafc;
  margin-top: 0;
}

.card p {
  color: #cbd5e1;
  flex-grow: 1;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #2563eb;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Eye-Catching CSS Graph (No image required!) */
.css-graph {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 100px;
  margin: 2rem 0;
  border-bottom: 2px solid #334155;
  padding-bottom: 10px;
}

.bar {
  width: 30px;
  background-color: var(--accent-color);
  border-radius: 4px 4px 0 0;
  animation: growUp 1s ease-out forwards;
  transform-origin: bottom;
}

@keyframes growUp {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* Image Placeholder */
.img-placeholder {
  width: 100%;
  height: 150px;
  background-color: #334155;
  border-radius: 4px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-style: italic;
}
