/* 
   MicroSaaS Workspace Directory Styles
   Theme: Sleek premium SaaS Dark Mode (glassmorphic cards, gradients, Outfit typography)
*/
:root {
  --bg: #030712;
  --bg-gradient: radial-gradient(circle at top, #1e1b4b 0%, #030712 100%);
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --card-bg: rgba(17, 24, 39, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(99, 102, 241, 0.4);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  overflow-x: hidden;
}

/* Background Glowing Orbs */
.glow-orb-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  top: 10%;
  left: 15%;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
}

.glow-orb-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  bottom: 10%;
  right: 15%;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
}

.directory-container {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Header styling */
header {
  margin-bottom: 3.5rem;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* SaaS tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 680px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styling */
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.card-top {
  margin-bottom: 2rem;
}

.tool-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.tool-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Status Badges */
.status-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-live {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-soon {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Button style */
.btn-launch {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-launch:hover {
  background: linear-gradient(135deg, var(--accent-hover), #4338ca);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Footer style */
footer {
  margin-top: auto;
  padding-top: 4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.25);
}
