
/* Base Styles */
.pf-ai-section {
  position: relative;
  padding: 80px 0;
}

/* Hero Section */
.pf-ai-hero {
  background: linear-gradient(135deg, #eaf6f8 0%, #ffffff 50%, rgba(0, 255, 200, 0.08) 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 140px 0 100px;
  overflow: hidden;
  position: relative;
}

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

.pf-ai-hero-label {
  font-family: 'Roboto Mono', monospace;
  color: #f3541e;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
  animation: pf-ai-fade-in-up 0.8s ease-out;
}

.pf-ai-hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #393939;
  margin-bottom: 20px;
  line-height: 1.1;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.1s both;
}

.pf-ai-hero-year {
  font-family: 'Roboto Mono', monospace;
  color: #00ffc8;
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 30px;
  padding: 5px 15px;
  background: rgba(0, 255, 200, 0.1);
  border-radius: 25px;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.2s both;
}

.pf-ai-hero-subtitle {
  font-size: 1.35rem;
  color: #586782;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 300;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.3s both;
}

/* Floating Memory Fragments */
.pf-ai-memory-fragment {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
  animation: pf-ai-float 8s ease-in-out infinite;
  pointer-events: none;
}

.pf-ai-fragment-1 {
  width: 400px;
  height: 400px;
  background: #00ffc8;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.pf-ai-fragment-2 {
  width: 300px;
  height: 300px;
  background: #58b8cb;
  bottom: -50px;
  left: -50px;
  animation-delay: 3s;
}

.pf-ai-fragment-3 {
  width: 200px;
  height: 200px;
  background: #f3541e;
  top: 40%;
  right: 15%;
  animation-delay: 1.5s;
  opacity: 0.1;
}

@keyframes pf-ai-float {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-30px) rotate(10deg) scale(1.1); }
}

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

/* Screenshot Section */
.pf-ai-screenshot-section {
  background: #ffffff;
  padding: 0 0 80px;
  position: relative;
  z-index: 3;
  margin-top: -40px;
}

.pf-ai-screenshot-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.pf-ai-browser-frame {
  background: #393939;
  border-radius: 10px 10px 0 0;
  padding: 15px 20px;
  display: flex;
  gap: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.pf-ai-browser-dot:first-child { background: #f3541e; }
.pf-ai-browser-dot:nth-child(2) { background: #58b8cb; }

/* Project Info Section */
.pf-ai-info-section {
  background: #ffffff;
  padding: 60px 0 100px;
}

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

.pf-ai-lead {
  font-size: 1.5rem;
  color: #2e2e2e;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  border-left: 4px solid #00ffc8;
  padding-left: 30px;
}

.pf-ai-text {
  color: #586782;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.pf-ai-highlight {
  background: rgba(0, 255, 200, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #393939;
  font-weight: 500;
}

.pf-ai-sidebar {
  background: #eaf6f8;
  border-radius: 10px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pf-ai-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00ffc8, #58b8cb);
}

.pf-ai-meta-item {
  margin-bottom: 30px;
}

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

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

.pf-ai-meta-value {
  color: #393939;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

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

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

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

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

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

.pf-ai-section-title {
  color: #393939;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.pf-ai-section-subtitle {
  color: #949c9e;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

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

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

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

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: pf-ai-shine 3s infinite;
}

@keyframes pf-ai-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.pf-ai-color-teal { background: #00ffc8; }
.pf-ai-color-gray { background: #393939; }

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

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

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

/* Features Section */
.pf-ai-features-section {
  padding: 100px 0;
  background: #ffffff;
}

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

.pf-ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pf-ai-feature-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 40px;
  transition: all 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.pf-ai-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #00ffc8, #58b8cb);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease-out;
}

.pf-ai-feature-item:hover {
  border-color: #00ffc8;
  box-shadow: 0 2px 15px rgba(0, 255, 200, 0.15);
  transform: translateX(5px);
}

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

.pf-ai-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 255, 200, 0.1), rgba(88, 184, 203, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.75rem;
  color: #00ffc8;
  position: relative;
  z-index: 2;
}

.pf-ai-feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00ffc8;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease-out;
}

.pf-ai-feature-item:hover .pf-ai-feature-icon::after {
  opacity: 0.3;
  transform: scale(1);
}

.pf-ai-feature-title {
  color: #393939;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

/* Tags Section */
.pf-ai-tags-section {
  background: #f8f9fa;
  padding: 80px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

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

.pf-ai-taxonomy-group {
  margin-bottom: 40px;
  animation: pf-ai-fade-in-up 0.6s ease-out;
}

.pf-ai-taxonomy-group h4 {
  color: #393939;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-ai-taxonomy-group h4::before {
  content: '';
  width: 30px;
  height: 2px;
  background: #00ffc8;
  display: inline-block;
}

.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: 10px 20px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  color: #586782;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease-out;
  font-family: 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pf-ai-tag-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00ffc8, #58b8cb);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.pf-ai-tag-list a:hover {
  color: #393939;
  border-color: #00ffc8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 200, 0.2);
}

.pf-ai-tag-list a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* CTA Section */
.pf-ai-cta-section {
  background: #393939;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.pf-ai-cta-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 200, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(88, 184, 203, 0.03) 0%, transparent 50%);
  animation: pf-ai-pulse-bg 6s ease-in-out infinite;
}

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

.pf-ai-cta-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 25px;
  font-weight: 700;
  animation: pf-ai-fade-in-up 0.8s ease-out;
}

.pf-ai-cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.1s both;
}

.pf-ai-cta-buttons {
  animation: pf-ai-fade-in-up 0.8s ease-out 0.2s both;
}

.pf-ai-btn {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-out;
  margin: 0 15px 15px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.pf-ai-btn-primary {
  background: #00ffc8;
  color: #393939;
  box-shadow: 0 10px 30px rgba(0, 255, 200, 0.3);
}

.pf-ai-btn-primary:hover {
  background: #00e6b3;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 200, 0.4);
}

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

.pf-ai-btn-secondary:hover {
  border-color: #f3541e;
  color: #f3541e;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(243, 84, 30, 0.2);
}

@keyframes pf-ai-pulse-bg {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Responsive Design */
@media (max-width: 1199px) {
  .pf-ai-hero-title {
    font-size: 3.5rem;
  }
  .pf-ai-cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 120px 0 80px;
  }
  .pf-ai-hero-title {
    font-size: 3rem;
  }
  .pf-ai-section-title {
    font-size: 2rem;
  }
  .pf-ai-feature-grid {
    grid-template-columns: 1fr;
  }
  .pf-ai-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero-title {
    font-size: 2.25rem;
  }
  .pf-ai-hero-year {
    font-size: 1.2rem;
  }
  .pf-ai-hero-subtitle {
    font-size: 1.1rem;
  }
  .pf-ai-section {
    padding: 60px 0;
  }
  .pf-ai-palette-grid {
    grid-template-columns: 1fr;
  }
  .pf-ai-cta-title {
    font-size: 2rem;
  }
  .pf-ai-cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero {
    padding: 100px 0 60px;
  }
  .pf-ai-hero-title {
    font-size: 1.75rem;
  }
  .pf-ai-lead {
    font-size: 1.2rem;
    padding-left: 20px;
  }
  .pf-ai-btn {
    display: block;
    margin: 0 0 15px 0;
    width: 100%;
    text-align: center;
  }
  .pf-ai-feature-item {
    padding: 30px 25px;
  }
  .pf-ai-sidebar {
    padding: 30px 25px;
  }
}
