/* Automated Hustle - Dark Mode Theme */

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

:root {
  --bg: #050612;
  --bg-elevated: #0b0f1f;
  --bg-soft: #111827;
  --accent: #7b5cff;
  --accent-soft: #3ba9ff;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
  --container-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #050612 55%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section + .section {
  border-top: 1px solid rgba(31, 41, 55, 0.5);
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 18, 0.95), rgba(5, 6, 18, 0.7));
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, var(--accent-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(123, 92, 255, 0.6);
}

.brand-icon span {
  font-size: 16px;
  font-weight: 700;
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--accent-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #f9fafb;
  box-shadow: 0 15px 35px rgba(59, 169, 255, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  border-color: rgba(75, 85, 99, 0.9);
}

.btn-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(99, 102, 241, 0.6);
  color: var(--accent-soft);
  background: radial-gradient(circle at top, rgba(59, 169, 255, 0.18), transparent);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent-soft);
}

.hero-lead {
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Hero visual */

.hero-card {
  background: radial-gradient(circle at top left, rgba(123, 92, 255, 0.35), rgba(5, 6, 18, 0.95));
  border-radius: 24px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hero-card-main {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-card-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Sections */

.section-heading {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 32rem;
  margin-bottom: 1.8rem;
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border-soft);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Tools grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  background: radial-gradient(circle at top, rgba(123, 92, 255, 0.15), rgba(15, 23, 42, 0.95));
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.card h3 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.card small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Lead magnet */

.lead-box {
  background: radial-gradient(circle at top left, rgba(59, 169, 255, 0.25), rgba(15, 23, 42, 0.95));
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  border: 1px solid rgba(59, 130, 246, 0.7);
  box-shadow: var(--shadow-soft);
}

.lead-copy {
  max-width: 32rem;
}

.lead-copy h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.lead-copy p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog preview */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--border-soft);
}

.blog-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.blog-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.blog-card a {
  font-size: 0.8rem;
  color: var(--accent-soft);
  text-decoration: none;
}

/* About */

.about-text {
  max-width: 38rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.7);
  padding: 1.6rem 0 2.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Blog pages */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article h1 {
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.article h2 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.article h3 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.article p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.article ul {
  padding-left: 1.3rem;
  margin-bottom: 0.9rem;
}

.article li {
  margin-bottom: 0.4rem;
}

/* Responsive */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid,
  .features-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.2rem;
  }

  .cards-grid,
  .features-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-box {
    padding: 1.4rem 1.1rem;
  }
}
