
/* Base Styles & Animations */
.pf-ai-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #142c46;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f3a82e, #142c46);
  border-radius: 2px;
}

.pf-ai-section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Floating Animation */
@keyframes pf-ai-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pf-ai-float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-2deg); }
}

@keyframes pf-ai-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pf-ai-pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes pf-ai-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.pf-ai-hero-section {
  position: relative;
  padding: 6rem 0;
  margin-bottom: 4rem;
  overflow: hidden;
}

.pf-ai-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #eaf6f8 0%, #ffffff 50%, #fff5eb 100%);
  z-index: -1;
}

.pf-ai-floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.pf-ai-shape-1 {
  width: 300px;
  height: 300px;
  background: #f3a82e;
  top: -100px;
  right: -50px;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-shape-2 {
  width: 200px;
  height: 200px;
  background: #142c46;
  bottom: -50px;
  left: -50px;
  animation: pf-ai-float-reverse 8s ease-in-out infinite;
}

.pf-ai-hero-badge {
  display: inline-block;
  background: #142c46;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pf-ai-fade-in-up 0.8s ease-out;
}

.pf-ai-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #142c46;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Roboto', sans-serif;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.2s both;
}

.pf-ai-hero-subtitle {
  font-size: 1.25rem;
  color: #586782;
  line-height: 1.6;
  max-width: 600px;
  font-family: 'Roboto', sans-serif;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.4s both;
}

.pf-ai-hero-cta {
  text-align: right;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.6s both;
}

/* Buttons */
.pf-ai-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #f3a82e 0%, #e09520 100%);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 15px rgba(243, 168, 46, 0.3);
  position: relative;
  overflow: hidden;
}

.pf-ai-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.pf-ai-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 168, 46, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.pf-ai-btn-primary:hover::before {
  left: 100%;
}

.pf-ai-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #142c46;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  border: 2px solid #142c46;
  cursor: pointer;
  transition: all 0.3s ease-out;
  margin-left: 1rem;
}

.pf-ai-btn-secondary:hover {
  background: #142c46;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(20, 44, 70, 0.2);
}

/* Screenshot Section */
.pf-ai-screenshot-section {
  margin: 5rem 0;
  position: relative;
}

.pf-ai-screenshot-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #eaf6f8 100%);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(20, 44, 70, 0.1);
  position: relative;
  overflow: hidden;
}

.pf-ai-screenshot-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f3a82e, #142c46, #58b8cb);
}

/* Project Info Section */
.pf-ai-info-section {
  margin: 5rem 0;
}

.pf-ai-info-content {
  padding-right: 3rem;
}

.pf-ai-info-text {
  color: #586782;
  line-height: 1.8;
  font-size: 1.1rem;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-info-text p {
  margin-bottom: 1.5rem;
}

.pf-ai-tags-wrapper {
  background: #ffffff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  border-left: 4px solid #f3a82e;
  position: sticky;
  top: 2rem;
}

.pf-ai-tags-title {
  font-size: 1.25rem;
  color: #142c46;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pf-ai-tag-list li {
  display: inline-block;
  margin: 0.25rem;
}

.pf-ai-tag-list a {
  display: inline-block;
  background: #eaf6f8;
  color: #142c46;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease-out;
  font-family: 'Roboto', sans-serif;
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #142c46;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(20, 44, 70, 0.2);
}

/* Color Palette Section */
.pf-ai-color-section {
  margin: 5rem 0;
  padding: 4rem 0;
  background: #ffffff;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.pf-ai-color-section .row {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.pf-ai-color-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  transition: all 0.5s ease-out;
  margin-bottom: 2rem;
}

.pf-ai-color-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(88, 184, 203, 0.2);
}

.pf-ai-color-swatch {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
}

.pf-ai-color-card:hover .pf-ai-color-swatch::after {
  transform: translate(-50%, -50%) scale(4);
  opacity: 0;
}

.pf-ai-color-info {
  padding: 1.5rem;
  text-align: center;
}

.pf-ai-color-info h4 {
  color: #2e2e2e;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-color-info code {
  color: #949c9e;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  background: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Features Section */
.pf-ai-features-section {
  margin: 5rem 0;
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  border: 1px solid transparent;
  transition: all 0.5s ease-out;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f3a82e, #142c46);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}

.pf-ai-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(88, 184, 203, 0.2);
  border-color: rgba(243, 168, 46, 0.2);
}

.pf-ai-feature-card:hover::before {
  transform: scaleX(1);
}

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f3a82e 0%, #e09520 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Roboto Mono', monospace;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(243, 168, 46, 0.4);
}

.pf-ai-feature-card h3 {
  color: #142c46;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-feature-card p {
  color: #586782;
  line-height: 1.6;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}

/* CTA Section */
.pf-ai-cta-section {
  margin: 6rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(135deg, #142c46 0%, #1e3a5f 50%, #142c46 100%);
  background-size: 200% 200%;
  animation: pf-ai-gradient-shift 15s ease infinite;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(243, 168, 46, 0.1) 0%, transparent 70%);
  animation: pf-ai-pulse-soft 4s ease-in-out infinite;
}

.pf-ai-cta-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pf-ai-cta-content h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.pf-ai-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pf-ai-cta-section .pf-ai-btn-primary {
  background: #f3a82e;
  box-shadow: 0 4px 15px rgba(243, 168, 46, 0.4);
}

.pf-ai-cta-section .pf-ai-btn-primary:hover {
  background: #ffb84d;
  box-shadow: 0 6px 20px rgba(243, 168, 46, 0.6);
}

.pf-ai-cta-section .pf-ai-btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

.pf-ai-cta-section .pf-ai-btn-secondary:hover {
  background: #ffffff;
  color: #142c46;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .pf-ai-hero-title {
    font-size: 3rem;
  }
  
  .pf-ai-info-content {
    padding-right: 1rem;
  }
}

@media (max-width: 991px) {
  .pf-ai-hero-section {
    padding: 4rem 0;
  }
  
  .pf-ai-hero-title {
    font-size: 2.5rem;
  }
  
  .pf-ai-hero-cta {
    text-align: left;
    margin-top: 2rem;
  }
  
  .pf-ai-info-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .pf-ai-screenshot-wrapper {
    padding: 2rem;
  }
  
  .pf-ai-section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero-title {
    font-size: 2rem;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .pf-ai-btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .pf-ai-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pf-ai-cta-content h2 {
    font-size: 1.75rem;
  }
  
  .pf-ai-color-swatch {
    height: 150px;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero-section {
    padding: 3rem 0;
  }
  
  .pf-ai-screenshot-wrapper {
    padding: 1rem;
    border-radius: 6px;
  }
  
  .pf-ai-feature-card {
    padding: 1.5rem;
  }
  
  .pf-ai-tags-wrapper {
    position: static;
  }
  
  .pf-ai-section-title {
    font-size: 1.75rem;
  }
  
  .pf-ai-shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .pf-ai-shape-2 {
    width: 100px;
    height: 100px;
  }
}
