
/* Base & Variables */
.pf-ai-section {
  position: relative;
  margin-bottom: 80px;
}

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

.pf-ai-fullwidth {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

/* Typography Utilities */
.pf-ai-mono {
  font-family: 'Roboto Mono', monospace;
}

/* Animations */
@keyframes pf-ai-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pf-ai-march {
  0% { background-position: 0 0; }
  100% { background-position: 100px 0; }
}

@keyframes pf-ai-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 164, 71, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(76, 164, 71, 0); }
}

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

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

/* Hero Section */
.pf-ai-hero {
  background: linear-gradient(135deg, #eaf6f8 0%, #ffffff 50%, #f0f9f0 100%);
  padding: 100px 0 120px;
  overflow: hidden;
  position: relative;
}

.pf-ai-hero::before {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #4ca447 0px,
    #4ca447 12px,
    transparent 12px,
    transparent 24px
  );
  opacity: 0.3;
  animation: pf-ai-march 15s linear infinite;
}

.pf-ai-hero-badge {
  display: inline-block;
  background: #4ca447;
  color: #ffffff;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 24px;
  animation: pf-ai-pulse-green 2s infinite;
  letter-spacing: 1px;
}

.pf-ai-hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #4ca447;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.pf-ai-hero-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 18px;
  color: #58b8cb;
  margin-bottom: 30px;
  font-weight: 500;
}

.pf-ai-hero-lead {
  font-size: 20px;
  line-height: 1.6;
  color: #586782;
  max-width: 700px;
  font-weight: 300;
}

.pf-ai-hero-footprint {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 60px;
  height: 60px;
  border: 3px solid rgba(76, 164, 71, 0.2);
  border-radius: 50% 50% 50% 5px;
  transform: rotate(-45deg);
  animation: pf-ai-float 4s ease-in-out infinite;
}

/* Screenshot Section */
.pf-ai-screenshot-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.pf-ai-browser-mockup {
  background: #2e2e2e;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  transition: all 0.5s ease-out;
}

.pf-ai-browser-mockup:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 100px rgba(0,0,0,0.3);
}

.pf-ai-browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.pf-ai-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pf-ai-browser-dot:nth-child(1) { background: #f3541e; }
.pf-ai-browser-dot:nth-child(2) { background: #f3c41e; }
.pf-ai-browser-dot:nth-child(3) { background: #4ca447; }

.pf-ai-screenshot-inner {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

/* Project Info */
.pf-ai-info-section {
  padding: 60px 0;
}

.pf-ai-info-text {
  font-size: 17px;
  line-height: 1.8;
  color: #586782;
}

.pf-ai-info-text p {
  margin-bottom: 24px;
}

.pf-ai-info-highlight {
  background: linear-gradient(120deg, rgba(76, 164, 71, 0.1) 0%, rgba(88, 184, 203, 0.1) 100%);
  border-left: 4px solid #4ca447;
  padding: 24px;
  border-radius: 0 6px 6px 0;
  margin: 30px 0;
  font-style: italic;
  color: #2e2e2e;
}

.pf-ai-meta-box {
  background: #ffffff;
  border: 1px solid #eaf6f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  position: sticky;
  top: 30px;
}

.pf-ai-meta-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eaf6f8;
}

.pf-ai-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pf-ai-meta-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #949c9e;
  margin-bottom: 8px;
  display: block;
}

.pf-ai-meta-value {
  font-size: 16px;
  color: #2e2e2e;
  font-weight: 500;
}

.pf-ai-meta-value a {
  color: #4ca447;
  text-decoration: none;
  transition: all 0.3s ease-out;
  border-bottom: 1px solid transparent;
}

.pf-ai-meta-value a:hover {
  border-bottom-color: #4ca447;
}

/* Color Palette */
.pf-ai-colors-section {
  padding: 40px 0;
}

.pf-ai-section-title {
  font-size: 32px;
  color: #2e2e2e;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.pf-ai-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #4ca447;
  border-radius: 2px;
}

.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.3s ease-out;
  height: 100%;
}

.pf-ai-color-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.3);
}

.pf-ai-color-swatch {
  height: 160px;
  background: #4ca447;
  position: relative;
  overflow: hidden;
}

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 100%);
}

.pf-ai-color-info {
  padding: 24px;
}

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

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: #949c9e;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Features */
.pf-ai-features-section {
  padding: 40px 0 60px;
}

.pf-ai-feature-card {
  background: #ffffff;
  border: 1px solid #eaf6f8;
  border-radius: 6px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #4ca447;
  transform: scaleY(0);
  transition: transform 0.3s ease-out;
}

.pf-ai-feature-card:hover {
  border-color: #4ca447;
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(76, 164, 71, 0.15);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #eaf6f8 0%, #f0f9f0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  background: #4ca447;
  transform: scale(1.1);
}

.pf-ai-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 16px;
}

.pf-ai-feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #586782;
}

/* Tags Section */
.pf-ai-tags-section {
  padding: 40px 0;
}

.pf-ai-tags-wrapper h4 {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #949c9e;
  margin: 30px 0 15px;
  font-weight: 500;
}

.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 16px;
  background: #ffffff;
  border: 1px solid #eaf6f8;
  border-radius: 25px;
  color: #586782;
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.pf-ai-tag-list a:hover {
  background: #4ca447;
  color: #ffffff;
  border-color: #4ca447;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 164, 71, 0.2);
}

/* CTA Section */
.pf-ai-cta-section {
  background: linear-gradient(135deg, #4ca447 0%, #58b8cb 100%);
  background-size: 200% 200%;
  animation: pf-ai-gradient-shift 8s ease infinite;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.05) 10px,
    rgba(255,255,255,0.05) 20px
  );
  animation: pf-ai-march 20s linear infinite;
}

.pf-ai-cta-content {
  position: relative;
  z-index: 1;
}

.pf-ai-cta-title {
  font-size: 42px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pf-ai-cta-text {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.pf-ai-btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease-out;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.pf-ai-btn-primary {
  background: #f3541e;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(243, 84, 30, 0.3);
}

.pf-ai-btn-primary:hover {
  background: #e04a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(243, 84, 30, 0.4);
}

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

.pf-ai-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
}

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 80px 0 100px;
  }
  
  .pf-ai-hero-title {
    font-size: 46px;
  }
  
  .pf-ai-meta-box {
    margin-top: 40px;
    position: static;
  }
  
  .pf-ai-cta-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .pf-ai-section {
    margin-bottom: 60px;
  }
  
  .pf-ai-hero-title {
    font-size: 38px;
  }
  
  .pf-ai-hero-lead {
    font-size: 18px;
  }
  
  .pf-ai-feature-card {
    margin-bottom: 20px;
  }
  
  .pf-ai-cta-title {
    font-size: 30px;
  }
  
  .pf-ai-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero {
    padding: 60px 0 80px;
  }
  
  .pf-ai-hero-title {
    font-size: 32px;
    letter-spacing: -1px;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 16px;
  }
  
  .pf-ai-section-title {
    font-size: 26px;
  }
  
  .pf-ai-browser-mockup {
    padding: 15px;
  }
  
  .pf-ai-screenshot-inner {
    min-height: 250px;
  }
}
