/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f172a;
  --bg-alt: #1a2332;
  --surface: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* ============ LAYOUT ============ */
.container { max-width: 1100px; margin: 0 auto; }
.section { padding: 60px 24px; flex: 1; }

/* ============ HERO ============ */
#hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.hero-content { max-width: 700px; }
#hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ SECTION TITLE ============ */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ============ TOOLS GRID ============ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
a.tool-card { cursor: pointer; }
a.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(59,130,246,0.15);
}
.tool-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 12px;
}
.tool-coming-soon .tool-tag {
  background: rgba(148,163,184,0.15);
  color: var(--text-muted);
}
.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.tool-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}
.tool-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tool-cta .arrow {
  transition: transform 0.2s;
  display: inline-block;
}
a.tool-card:hover .tool-cta .arrow { transform: translateX(4px); }
.tool-coming-soon {
  opacity: 0.6;
}

/* ============ FOOTER ============ */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 700px) {
  .section { padding: 40px 16px; }
  #hero { min-height: 40vh; padding: 40px 24px; }
}
