/* TaskFlow - Landing Page Styles */

/* ─── Hero Section ─── */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 110px 0 70px;
  align-items: center;
  min-height: 80vh;
  position: relative;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 40px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 580px;
}

@media (max-width: 900px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* Floating Mockup Preview */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite, scaleIn 0.8s ease both;
  animation-delay: 0.15s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(0.5deg); }
}

.mockup-container {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 20px 50px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #FACC15; }
.mockup-dots span:nth-child(3) { background: #22C55E; }

.mockup-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-item {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.mockup-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,107,0,0.2);
}

.mockup-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mockup-item-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.mockup-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
}

/* ─── Use Cases Section ─── */
.use-cases-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-lg {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.use-case-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  animation: fadeUp 0.5s ease both;
}

.use-case-card:hover {
  transform: translateY(-4px);
}

.uc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--orange-dim);
  border: 1px solid rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
  margin-bottom: 24px;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(255,107,0,0.1);
  transition: var(--transition);
}

.use-case-card:hover .uc-icon-wrap {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 25px var(--orange-glow);
  color: #fff;
  background: var(--orange);
}

.use-case-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.use-case-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Pricing Section ─── */
.pricing-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
  background: radial-gradient(circle at center, rgba(255,107,0,0.03) 0%, transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  animation: fadeUp 0.5s ease both;
}

.pricing-card.popular {
  border-color: rgba(255, 107, 0, 0.4);
  background: linear-gradient(180deg, rgba(255,107,0,0.04) 0%, rgba(255,107,0,0.01) 100%), var(--glass);
  box-shadow: 0 10px 40px rgba(255,107,0,0.1);
}

.pricing-card.popular:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px var(--orange-glow);
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--text);
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--orange-light);
  font-weight: bold;
  font-size: 0.95rem;
}

/* ─── Contact Section ─── */
.contact-section {
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: fadeUp 0.5s ease both;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form-card {
  padding: 40px;
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.1s;
}

/* ─── Landing Footer ─── */
.landing-footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.landing-footer-copy {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.landing-footer-links {
  display: flex;
  gap: 24px;
}

.landing-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.landing-footer-links a:hover {
  color: var(--orange-light);
}

/* Adjust scroll-margin for smooth scrolling offset due to sticky navbar */
#use-cases, #pricing, #contact {
  scroll-margin-top: 88px;
}
