/* Orb overrides for homepage */
.orb-2 {
  top: 40%;
  bottom: auto;
  right: -200px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, rgba(255,255,255,0) 70%);
}
.orb-3 {
  bottom: 10%;
  left: 20%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.04) 0%, rgba(255,255,255,0) 70%);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 150px 0 100px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.06);
  border: 1px solid rgba(30, 58, 138, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  50%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--red);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-hero-primary {
  background: var(--primary);
  color: white;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 8px;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

.btn-hero-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
  color: white;
}

.btn-hero-secondary {
  background: white;
  color: var(--text-main);
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* App Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: var(--primary);
  opacity: 0.06;
  filter: blur(80px);
  z-index: 1;
  border-radius: 40px;
}

.phone-mockup {
  width: 310px;
  height: 630px;
  background: #ffffff;
  border: 12px solid #e2e8f0;
  border-radius: 48px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 25px;
  background: #e2e8f0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 30px 16px 16px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  font-size: 0.8rem;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 10px;
  color: var(--text-main);
}

.app-logo { font-weight: 800; color: #000; }
.app-logo span { color: var(--red); }

.app-search {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.app-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.app-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.app-badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.app-job-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.app-job-sub {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.app-footer-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  color: var(--text-muted);
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.6rem;
  gap: 3px;
}

.app-nav-item.active { color: var(--primary); }

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 18px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  animation: float 4s ease-in-out infinite;
}

.fc-1 { top: 20%; left: -40px; animation-delay: 0s; }
.fc-2 { bottom: 25%; right: -30px; animation-delay: 2s; }

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 1.05rem;
}

/* Feature Cards */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: var(--shadow-md);
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.07);
  border: 1px solid rgba(30, 58, 138, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
  transition: all 0.25s ease;
}

.glass-card:hover .card-icon-wrapper {
  background: var(--primary);
  color: white;
  border-color: transparent;
}

.glass-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pricing Plans */
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.08);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
  border-color: var(--red);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.12);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--text-main);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-features-list li svg { color: #059669; flex-shrink: 0; }

.plan-btn {
  margin-top: auto;
  width: 100%;
  background: rgba(30, 58, 138, 0.05);
  border: 1px solid rgba(30, 58, 138, 0.15);
  color: var(--primary);
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.pricing-card.featured .plan-btn {
  background: var(--primary);
  border: none;
  color: white;
}

.plan-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.pricing-card.featured .plan-btn:hover {
  background: var(--primary-hover);
  color: white;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}

/* Free Features Banner */
.free-features-box {
  background: rgba(30, 58, 138, 0.03);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 20px;
  padding: 30px 40px;
  margin-top: 50px;
  box-shadow: var(--shadow-sm);
}

.free-features-box h4 { color: var(--text-main); }

.free-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.free-badge-pill {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.free-badge-pill span { color: #059669; }

/* CTA Section */
.cta-section {
  padding: 100px 0;
  position: relative;
}

.cta-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.cta-card p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 35px;
  font-size: 1.1rem;
}

/* Footer (homepage override) */
footer {
  padding: 50px 0 30px;
  text-align: left;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
  background: none;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 11px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
