
/* Base Styles & Animations */
.pf-ai-section {
  position: relative;
  margin-bottom: 0;
}

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

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

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

@keyframes pf-ai-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(250, 166, 42, 0.4); }
  50% { box-shadow: 0 0 40px rgba(250, 166, 42, 0.7); }
}

@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);
  }
}

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

.pf-ai-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

.pf-ai-shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #faa62a, #f3541e);
  top: -100px;
  right: 10%;
  animation: pf-ai-float 6s ease-in-out infinite;
  filter: blur(40px);
}

.pf-ai-shape-2 {
  width: 200px;
  height: 200px;
  background: #58b8cb;
  bottom: 10%;
  left: 5%;
  animation: pf-ai-float-reverse 8s ease-in-out infinite;
  filter: blur(30px);
  opacity: 0.4;
}

.pf-ai-shape-3 {
  width: 150px;
  height: 150px;
  background: #faa62a;
  top: 40%;
  right: 20%;
  animation: pf-ai-float 10s ease-in-out infinite;
  filter: blur(20px);
  opacity: 0.3;
}

.pf-ai-hero-content {
  position: relative;
  z-index: 2;
  animation: pf-ai-fade-in-up 1s ease-out;
}

.pf-ai-hero-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  color: #f3541e;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 500;
}

.pf-ai-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #2e2e2e;
  line-height: 1.1;
  margin-bottom: 20px;
}

.pf-ai-hero-title span {
  color: #faa62a;
  position: relative;
  display: inline-block;
}

.pf-ai-hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(250, 166, 42, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.pf-ai-hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  color: #586782;
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 600px;
}

.pf-ai-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pf-ai-year-badge {
  font-family: 'Roboto Mono', monospace;
  background: #2e2e2e;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.pf-ai-url-link {
  font-family: 'Roboto', sans-serif;
  color: #58b8cb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-ai-url-link:hover {
  color: #f3541e;
  transform: translateX(5px);
}

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

.pf-ai-browser-mockup {
  background: #2e2e2e;
  border-radius: 10px;
  padding: 20px 20px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.pf-ai-browser-header {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  padding-left: 5px;
}

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

.pf-ai-browser-dot:nth-child(1) { background: #ff5f57; }
.pf-ai-browser-dot:nth-child(2) { background: #febc2e; }
.pf-ai-browser-dot:nth-child(3) { background: #28c840; }

.pf-ai-screenshot-inner {
  background: #ffffff;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  line-height: 0;
}

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

.pf-ai-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  color: #2e2e2e;
  margin-bottom: 30px;
  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: linear-gradient(90deg, #faa62a, #f3541e);
  border-radius: 2px;
}

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

.pf-ai-description p {
  margin-bottom: 20px;
}

.pf-ai-description strong {
  color: #2e2e2e;
  font-weight: 600;
}

.pf-ai-description em {
  color: #f3541e;
  font-style: normal;
  font-weight: 500;
}

/* Tags Sidebar */
.pf-ai-tags-wrapper {
  background: #eaf6f8;
  border-radius: 10px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 30px;
}

.pf-ai-tags-wrapper h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #949c9e;
  margin-bottom: 15px;
  margin-top: 25px;
  font-weight: 600;
}

.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: 8px;
}

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

.pf-ai-tag-list a {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  color: #2e2e2e;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #faa62a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 166, 42, 0.3);
}

/* Color Palette Section */
.pf-ai-palette-section {
  padding: 60px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: #ffffff;
  border-top: 1px solid #eaf6f8;
  border-bottom: 1px solid #eaf6f8;
}

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

.pf-ai-color-card {
  flex: 0 0 200px;
  text-align: center;
}

.pf-ai-color-swatch {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
  margin-bottom: 15px;
}

.pf-ai-color-swatch:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.pf-ai-color-swatch:hover::after {
  opacity: 1;
  width: 60px;
  height: 60px;
}

.pf-ai-color-main {
  background: #faa62a;
}

.pf-ai-color-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 5px;
}

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  color: #949c9e;
  font-size: 0.9rem;
}

/* Features Section */
.pf-ai-features-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #ffffff, #eaf6f8);
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 40px 30px;
  height: 100%;
  border: 1px solid rgba(88, 184, 203, 0.2);
  transition: all 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #faa62a, #f3541e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 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: rgba(250, 166, 42, 0.3);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fff5e6, #ffffff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #faa62a;
  border: 2px solid #faa62a;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  background: #faa62a;
  color: #ffffff;
  transform: rotate(5deg) scale(1.1);
}

.pf-ai-feature-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: #2e2e2e;
  margin-bottom: 15px;
  font-weight: 600;
}

.pf-ai-feature-text {
  font-family: 'Roboto', sans-serif;
  color: #586782;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA Section */
.pf-ai-cta-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(90deg, #faa62a 0%, #f3541e 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: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.pf-ai-cta-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.pf-ai-cta-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.pf-ai-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pf-ai-btn {
  font-family: 'Roboto', sans-serif;
  padding: 16px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-out;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
}

.pf-ai-btn-primary {
  background: #ffffff;
  color: #f3541e;
  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: #2e2e2e;
  color: #ffffff;
}

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

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

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 100px 0 80px;
  }
  .pf-ai-hero-title {
    font-size: 2.5rem;
  }
  .pf-ai-tags-wrapper {
    margin-top: 40px;
    position: static;
  }
  .pf-ai-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero-title {
    font-size: 2rem;
  }
  .pf-ai-hero-subtitle {
    font-size: 1.2rem;
  }
  .pf-ai-section-title {
    font-size: 1.75rem;
  }
  .pf-ai-feature-card {
    margin-bottom: 20px;
  }
  .pf-ai-cta-title {
    font-size: 1.75rem;
  }
  .pf-ai-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  .pf-ai-shape-1 {
    width: 200px;
    height: 200px;
    right: -50px;
  }
  .pf-ai-shape-2 {
    width: 150px;
    height: 150px;
    left: -30px;
  }
  .pf-ai-color-card {
    flex: 0 0 100%;
  }
}
