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

@keyframes pf-ai-float-delayed {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) 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-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pf-ai-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pf-ai-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility Classes */
.pf-ai-animate-fade-up {
  animation: pf-ai-fade-in-up 0.8s ease-out forwards;
}

.pf-ai-animate-slide-left {
  animation: pf-ai-slide-in-left 0.8s ease-out forwards;
}

.pf-ai-animate-slide-right {
  animation: pf-ai-slide-in-right 0.8s ease-out forwards;
}

/* Hero Section */
.pf-ai-hero {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(135deg, #2a80ba 0%, #5b9279 50%, #2a80ba 100%);
  background-size: 200% 200%;
  animation: pf-ai-gradient-shift 15s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  margin-bottom: 80px;
}

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(88, 184, 203, 0.2);
  border-radius: 50%;
  animation: pf-ai-float-delayed 8s ease-in-out infinite;
}

.pf-ai-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.pf-ai-hero-badge {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pf-ai-fade-in-up 0.6s ease-out;
}

.pf-ai-hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.2s both;
}

.pf-ai-hero-subtitle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  max-width: 700px;
  line-height: 1.6;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.4s both;
}

.pf-ai-hero-accent {
  color: #f3541e;
  font-weight: 500;
}

/* Screenshot Section */
.pf-ai-screenshot-section {
  margin-bottom: 100px;
}

.pf-ai-browser-mockup {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(42, 128, 186, 0.15);
  overflow: hidden;
  position: relative;
  border: 1px solid #eaf6f8;
}

.pf-ai-browser-header {
  background: linear-gradient(to right, #eaf6f8, #ffffff);
  padding: 20px;
  border-bottom: 1px solid #eaf6f8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-ai-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5b9279;
  opacity: 0.6;
}

.pf-ai-browser-dot:nth-child(2) {
  background: #2a80ba;
}

.pf-ai-browser-dot:nth-child(3) {
  background: #f3541e;
}

.pf-ai-browser-address {
  flex: 1;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px 15px;
  margin-left: 20px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: #949c9e;
  border: 1px solid #eaf6f8;
}

.pf-ai-screenshot-wrapper {
  position: relative;
  line-height: 0;
  background: #f8f9fa;
  min-height: 400px;
}

/* Project Info Section */
.pf-ai-info-section {
  margin-bottom: 100px;
}

.pf-ai-section-header {
  margin-bottom: 50px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid #5b9279;
}

.pf-ai-section-header h2 {
  font-size: 36px;
  color: #2e2e2e;
  margin-bottom: 10px;
  font-weight: 700;
}

.pf-ai-section-header p {
  color: #586782;
  font-size: 18px;
}

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

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

.pf-ai-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(42, 128, 186, 0.15);
}

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

.pf-ai-info-card h3 {
  font-size: 24px;
  color: #2a80ba;
  margin-bottom: 20px;
  font-weight: 700;
}

.pf-ai-info-card p {
  color: #586782;
  line-height: 1.8;
  font-size: 16px;
}

.pf-ai-highlight-box {
  background: linear-gradient(135deg, rgba(42, 128, 186, 0.05), rgba(91, 146, 121, 0.05));
  border-left: 3px solid #2a80ba;
  padding: 20px;
  margin-top: 20px;
  border-radius: 0 6px 6px 0;
}

/* Color Palette Section */
.pf-ai-colors-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: #eaf6f8;
  padding: 80px 0;
  margin-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.pf-ai-colors-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(243, 84, 30, 0.05);
  border-radius: 50%;
  top: -50px;
  right: 10%;
  animation: pf-ai-float 10s ease-in-out infinite;
}

.pf-ai-colors-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.pf-ai-colors-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.pf-ai-color-item {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease-out;
}

.pf-ai-color-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(42, 128, 186, 0.2);
}

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

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease-out;
}

.pf-ai-color-item:hover .pf-ai-color-swatch::after {
  transform: translate(-50%, -50%) scale(2);
}

.pf-ai-color-info {
  padding: 25px;
  text-align: center;
}

.pf-ai-color-name {
  font-size: 20px;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 5px;
}

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: #949c9e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features Section */
.pf-ai-features-section {
  margin-bottom: 100px;
}

.pf-ai-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eaf6f8;
  transition: all 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.pf-ai-feature-card:nth-child(1) { animation-delay: 0.1s; }
.pf-ai-feature-card:nth-child(2) { animation-delay: 0.2s; }
.pf-ai-feature-card:nth-child(3) { animation-delay: 0.3s; }
.pf-ai-feature-card:nth-child(4) { animation-delay: 0.4s; }

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 128, 186, 0.03), rgba(91, 146, 121, 0.03));
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.pf-ai-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(88, 184, 203, 0.15);
  border-color: #58b8cb;
}

.pf-ai-feature-card:hover::before {
  opacity: 1;
}

.pf-ai-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #2a80ba, #5b9279);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pf-ai-feature-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  animation: pf-ai-pulse-soft 2s ease-in-out infinite;
  z-index: -1;
}

.pf-ai-feature-icon svg {
  width: 35px;
  height: 35px;
  fill: #ffffff;
}

.pf-ai-feature-card h4 {
  font-size: 20px;
  color: #2e2e2e;
  margin-bottom: 15px;
  font-weight: 700;
}

.pf-ai-feature-card p {
  color: #586782;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Taxonomy Tags Section */
.pf-ai-tags-section {
  margin-bottom: 100px;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  border: 2px dashed #eaf6f8;
}

.pf-ai-tags-wrapper h4 {
  font-size: 14px;
  font-family: 'Roboto Mono', monospace;
  color: #949c9e;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  margin-top: 25px;
}

.pf-ai-tags-wrapper h4:first-child {
  margin-top: 0;
}

.pf-ai-tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pf-ai-tag-list li {
  margin: 0;
}

.pf-ai-tag-list a {
  display: inline-block;
  padding: 8px 20px;
  background: #eaf6f8;
  color: #2a80ba;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #2a80ba;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 128, 186, 0.3);
}

/* CTA Section */
.pf-ai-cta-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(135deg, #2a80ba 0%, #5b9279 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.pf-ai-cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.pf-ai-cta-title {
  font-size: 42px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.pf-ai-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.pf-ai-btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
  cursor: pointer;
  border: none;
}

.pf-ai-btn-primary {
  background: #ffffff;
  color: #2a80ba;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pf-ai-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #f3541e;
  color: #ffffff;
}

.pf-ai-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.pf-ai-btn-secondary:hover {
  background: #ffffff;
  color: #5b9279;
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .pf-ai-hero-title {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 100px 0 80px;
  }
  
  .pf-ai-hero-title {
    font-size: 42px;
  }
  
  .pf-ai-info-card {
    padding: 30px;
    margin-bottom: 30px;
  }
  
  .pf-ai-cta-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  
  .pf-ai-hero-title {
    font-size: 36px;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 18px;
  }
  
  .pf-ai-section-header h2 {
    font-size: 28px;
  }
  
  .pf-ai-features-grid {
    grid-template-columns: 1fr;
  }
  
  .pf-ai-cta-title {
    font-size: 30px;
  }
  
  .pf-ai-cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero-title {
    font-size: 32px;
  }
  
  .pf-ai-hero-badge {
    font-size: 12px;
    padding: 6px 15px;
  }
  
  .pf-ai-info-card {
    padding: 25px;
  }
  
  .pf-ai-btn {
    padding: 15px 30px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }
  
  .pf-ai-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pf-ai-color-item {
    min-width: 100%;
  }
}
