/* Home page styles */

.home-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35 !important;   /* always visible; GSAP only animates scale */
}

.shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7dd3fc, #38bdf8);
  top: -100px; right: -100px;
}

.shape-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #67e8f9, #06b6d4);
  bottom: -50px; left: -50px;
}

.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #bae6fd, #0ea5e9);
  top: 40%; left: 40%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--sky-700);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1.5px solid var(--sky-200);
  box-shadow: var(--shadow-sm);
}

.tag-dot {
  width: 7px; height: 7px;
  background: var(--sky-500);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: var(--sky-900);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--accent) 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-main {
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(14,165,233,0.4);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity: 1 !important;   /* prevent GSAP from leaving cards invisible */
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--sky-300);
  background: white;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sky-800);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── DARK THEME overrides for home.css ── */
[data-theme="dark"] .home-hero { background: transparent; }
[data-theme="dark"] .hero-title { color: var(--text-primary); }
[data-theme="dark"] .hero-title .highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .hero-subtitle { color: var(--text-muted); }
[data-theme="dark"] .hero-tag { background: rgba(14,23,42,0.9); border-color: var(--border); color: var(--sky-400); }
[data-theme="dark"] .tag-dot { background: var(--sky-400); }
[data-theme="dark"] .shape-1 { background: radial-gradient(circle, rgba(56,189,248,0.25), rgba(14,165,233,0.1)); }
[data-theme="dark"] .shape-2 { background: radial-gradient(circle, rgba(6,182,212,0.2), rgba(56,189,248,0.05)); }
[data-theme="dark"] .shape-3 { background: radial-gradient(circle, rgba(56,189,248,0.15), rgba(14,165,233,0.05)); }
[data-theme="dark"] .feature-card { background: var(--bg-card) !important; border-color: var(--border); }
