/* File: assets/css/home.css */
/* Homepage-only styling and animations */

.home-hero {
  position: relative;
  background: radial-gradient(circle at top, #0b1120, #020617);
  padding: 3.5rem 0 3rem;
}

/* Some extras on top of existing .hero styles */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.hero-stat-card {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.8);
}

.hero-stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f9fafb;
}

.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

/* Orbit visual */
.home-hero-visual {
  position: relative;
}

.hero-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbitRotate 24s linear infinite;
}

.hero-orbit-center {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #4f46e5, #1d4ed8);
  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: #f9fafb;
  text-align: center;
}

.hero-orbit-logo {
  font-weight: 700;
  font-size: 1rem;
}

.hero-orbit-label {
  font-size: 0.7rem;
  opacity: 0.9;
}

.hero-orbit-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #e5e7eb;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.9);
}

.hero-orbit-node span {
  padding: 0 0.4rem;
  text-align: center;
}

.hero-orbit-client {
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-freelancer {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orbit-task {
  left: -8px;
  bottom: -12px;
}

/* Generic home sections */
.home-section {
  position: relative;
  padding: 3rem 0;
}

.home-section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.section-header {
  margin-bottom: 1.8rem;
  max-width: 720px;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

/* Feature cards */
.feature-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.15), transparent);
  opacity: 0;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.feature-card:hover::before {
  opacity: 1;
  transform: translateY(-4px);
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.feature-text {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.7rem;
}

.feature-list {
  list-style: none;
  font-size: 0.84rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4ade80;
}

.text-btn {
  background: transparent;
  border-radius: 999px;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: #a5b4fc;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Steps timeline */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  position: relative;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.6), rgba(34, 197, 94, 0.6));
  opacity: 0.45;
}

.step-card {
  position: relative;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1rem 0.8rem 0.9rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(129, 140, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #c7d2fe;
  background: rgba(15, 23, 42, 1);
  margin-bottom: 0.3rem;
}

.step-title {
  font-size: 0.95rem;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.step-text {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Pricing section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
}

.pricing-title {
  font-size: 1.02rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.pricing-price {
  font-size: 0.92rem;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.pricing-list {
  list-style: none;
  font-size: 0.84rem;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.pricing-list li {
  margin-bottom: 0.25rem;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

/* Pill cards */
.pill-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  padding: 1.1rem 1rem;
}

.pill-card-title {
  font-size: 0.98rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.pill-card-text {
  font-size: 0.86rem;
  color: #9ca3af;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.6rem 0.8rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: #9ca3af;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.3rem;
  color: #9ca3af;
}

/* CTA */
.home-cta {
  background: radial-gradient(circle at top, #111827, #020617);
}

.home-cta-inner {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.9));
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.home-cta-title {
  font-size: 1.4rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.home-cta-subtitle {
  font-size: 0.9rem;
  color: #e5e7eb;
  max-width: 420px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Simple entrance animation using intersection observer (home.js) */
.home-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 280ms ease-out, transform 280ms ease-out;
}

.home-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Orbit animation */
@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .home-grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .steps-timeline {
    grid-template-columns: 1fr;
  }
}
/* File: assets/css/home.css */
/* Homepage-only styling and animations */

.home-hero {
  position: relative;
  background: var(--bg-gradient);
  padding: 3.5rem 0 3rem;
}

/* hero stats cards — adapt to light theme */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.hero-stat-card {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.hero-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111111;
}

.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.home-hero-visual {
  position: relative;
}

.hero-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbitRotate 24s linear infinite;
}

.hero-orbit-center {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle at top, var(--accent), var(--accent-secondary));
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: #ffffff;
  text-align: center;
}

.hero-orbit-logo {
  font-weight: 700;
  font-size: 1rem;
}

.hero-orbit-label {
  font-size: 0.7rem;
  opacity: 0.9;
}

.hero-orbit-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #111111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}

.hero-orbit-node span {
  padding: 0 0.4rem;
  text-align: center;
}

.hero-orbit-client {
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-freelancer {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orbit-task {
  left: -8px;
  bottom: -12px;
}

/* Generic home sections */
.home-section {
  position: relative;
  padding: 3rem 0;
}

.home-section-alt {
  background: #ffffff; /* or light tinted if you want alt background */
}

.section-header {
  margin-bottom: 1.8rem;
  max-width: 720px;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

/* Feature cards — adapt to light background */
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem 1rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #111111;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.feature-list {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.text-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Steps timeline & other sections — just ensure borders/text adapt */
/* ... (keep existing, colors will follow root vars/default styles) */

/* Responsive */
@media (max-width: 960px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-stats, .home-grid-3 {
    grid-template-columns: 1fr;
  }
}
