/* Landing Page Styles */

/* Hero Landing Section - Full Screen */
.hero-landing {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 22%), radial-gradient(circle at 85% 30%, rgba(255,255,255,0.12), transparent 16%), linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-landing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /></linearGradient></defs><rect fill="url(%23grad1)" width="1200" height="600"/></svg>');
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}

.hero-landing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 18%), radial-gradient(circle at 80% 30%, rgba(255,255,255,0.12), transparent 15%), radial-gradient(circle at 55% 80%, rgba(255,255,255,0.08), transparent 17%);
  opacity: 0.75;
  pointer-events: none;
  animation: floatBackground 24s ease-in-out infinite;
}

.hero-animation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-animation span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(12px);
  transform: translate3d(0, 0, 0);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-animation span:nth-child(1) {
  width: 180px;
  height: 180px;
  top: 10%;
  left: 8%;
  animation-duration: 22s;
}

.hero-animation span:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 12%;
  animation-duration: 16s;
  animation-delay: 1.4s;
}

.hero-animation span:nth-child(3) {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 15%;
  animation-duration: 20s;
  animation-delay: 2.6s;
}

.hero-animation span:nth-child(4) {
  width: 130px;
  height: 130px;
  bottom: 20%;
  right: 18%;
  animation-duration: 19s;
  animation-delay: 0.8s;
}

.hero-animation span:nth-child(5) {
  width: 100px;
  height: 100px;
  top: 45%;
  left: 58%;
  animation-duration: 21s;
  animation-delay: 3.2s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.05);
    opacity: 0.35;
  }
  100% {
    transform: translate3d(-14px, 12px, 0) scale(0.98);
    opacity: 0.22;
  }
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(3%, -4%) scale(1.02);
    opacity: 0.68;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content-landing {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-title-landing {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle-landing {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats Mini */
.hero-stats-mini {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 2rem 0 2.5rem 0;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stat-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-text {
  font-weight: 500;
}

.btn-large {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.btn-large:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.5);
}

.btn-large:active {
  transform: translateY(-1px);
}

/* Tools Section */
.tools-section {
  padding: 80px 20px;
  background: #f8f9fa;
  position: relative;
  z-index: 0;
}

/* About Brief Section */
.about-brief-section {
  padding: 80px 20px;
  background: white;
}

.about-brief-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-brief-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #1a1a1a;
  line-height: 1.2;
}

.about-brief-text p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.link-arrow {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link-arrow:hover {
  color: #764ba2;
  transform: translateX(4px);
}

.about-brief-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  font-weight: 300;
}

.tool-search {
  max-width: 560px;
  margin: 0 auto 40px auto;
}

.tool-search-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  font-size: 1rem;
  color: #111827;
  background: white;
  box-shadow: 0 10px 30px rgba(102,126,234,0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 12px 30px rgba(102,126,234,0.18);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tool Card */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 30px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.tool-card:not(.disabled):hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.tool-card:not(.disabled):hover::before {
  left: 0;
}

.tool-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tool-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.tool-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #1a1a1a;
  text-align: center;
}

.tool-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 25px 0;
  text-align: center;
  line-height: 1.6;
  flex-grow: 1;
}

.tool-cta {
  font-weight: 600;
  color: #667eea;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.tool-card:not(.disabled):hover .tool-cta {
  gap: 12px;
  color: #764ba2;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.tool-card:not(.disabled):hover .arrow {
  transform: translateX(4px);
}

/* Footer with Button */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.btn-footer {
  padding: 10px 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}

.btn-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-landing {
    height: auto;
    min-height: 100vh;
    padding: 60px 20px 40px;
  }

  .hero-stats-mini {
    flex-direction: column;
    gap: 12px;
    margin: 1.5rem 0 2rem 0;
  }

  .hero-title-landing {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle-landing {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-large {
    padding: 12px 32px;
    font-size: 1rem;
  }

  .tools-section {
    padding: 60px 20px;
  }

  .about-brief-section {
    padding: 60px 20px;
  }

  .about-brief-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-brief-text h2 {
    font-size: 1.8rem;
  }

  .about-brief-text p {
    font-size: 1rem;
  }

  .image-placeholder {
    height: 250px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-content p {
    font-size: 0.9rem;
  }

  .btn-footer {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title-landing {
    font-size: 1.5rem;
  }

  .hero-subtitle-landing {
    font-size: 0.9rem;
  }

  .hero-stats-mini {
    flex-direction: column;
    gap: 10px;
    margin: 1rem 0 1.5rem 0;
  }

  .hero-stat-mini {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .stat-icon {
    font-size: 1rem;
  }

  .about-brief-section {
    padding: 50px 15px;
  }

  .about-brief-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .about-brief-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .image-placeholder {
    height: 200px;
    font-size: 1rem;
  }

  .tool-card {
    padding: 30px 20px;
  }

  .tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .tool-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}
