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

.pf-ai-section-header {
  margin-bottom: 50px;
}

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

.pf-ai-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #58b8cb;
  display: block;
  margin-bottom: 15px;
}

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

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

.pf-ai-year {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pf-ai-hero h1 {
  font-size: 3.5rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pf-ai-lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Floating Shapes */
.pf-ai-float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

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

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

.pf-ai-shape-3 {
  width: 150px;
  height: 150px;
  background: #58b8cb;
  top: 40%;
  right: 20%;
  animation: pf-ai-pulse 4s ease-in-out infinite;
}

/* Buttons */
.pf-ai-btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #f3541e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease-out;
  border: 2px solid #f3541e;
  box-shadow: 0 4px 15px rgba(243, 84, 30, 0.3);
}

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

.pf-ai-btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease-out;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

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

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

.pf-ai-screenshot-section .pf-ai-section-header {
  text-align: center;
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 15px;
}

.pf-ai-browser-mockup {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  background: #2e2e2e;
  border-radius: 10px;
  padding: 30px 15px 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pf-ai-browser-mockup::before {
  content: '• • •';
  position: absolute;
  top: 10px;
  left: 20px;
  color: #586782;
  font-size: 20px;
  letter-spacing: 5px;
}

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

.pf-ai-content-block {
  margin-bottom: 40px;
}

.pf-ai-content-block h3 {
  font-size: 1.75rem;
  color: #526391;
  margin-bottom: 20px;
  font-weight: 600;
}

.pf-ai-content-block p {
  color: #586782;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

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

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

.pf-ai-meta-box h4 {
  font-size: 1rem;
  color: #2e2e2e;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Roboto Mono', monospace;
}

.pf-ai-meta-box dl {
  margin: 0;
}

.pf-ai-meta-box dt {
  color: #949c9e;
  font-size: 0.875rem;
  margin-bottom: 5px;
  font-weight: 400;
}

.pf-ai-meta-box dd {
  color: #2e2e2e;
  margin-bottom: 15px;
  font-weight: 500;
}

.pf-ai-meta-box dd a {
  color: #58b8cb;
  text-decoration: none;
  transition: all 0.3s ease-out;
  border-bottom: 1px solid transparent;
}

.pf-ai-meta-box dd a:hover {
  color: #526391;
  border-bottom-color: #526391;
}

/* Tags Styling */
.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: 6px 14px;
  background: #eaf6f8;
  color: #526391;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.3s ease-out;
  font-family: 'Roboto Mono', monospace;
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #526391;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(82, 99, 145, 0.2);
}

/* Color Palette Section */
.pf-ai-colors-section {
  padding: 100px 0;
  background: #ffffff;
}

.pf-ai-colors-section .pf-ai-section-header {
  text-align: center;
}

.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;
  border: 1px solid rgba(88, 184, 203, 0.1);
}

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

.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: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease-out;
}

.pf-ai-color-card:hover .pf-ai-color-swatch::after {
  width: 300px;
  height: 300px;
}

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

.pf-ai-color-info h4 {
  color: #2e2e2e;
  margin-bottom: 5px;
  font-size: 1.25rem;
}

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

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

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

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #526391 0%, #58b8cb 100%);
  opacity: 0;
  transition: all 0.5s ease-out;
  z-index: -1;
}

.pf-ai-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(82, 99, 145, 0.15);
}

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

.pf-ai-feature-card:hover h3,
.pf-ai-feature-card:hover p {
  color: #ffffff;
}

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: #eaf6f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

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

.pf-ai-feature-card:hover .pf-ai-feature-icon::after {
  transform: scale(1.5);
  opacity: 0;
  animation: pf-ai-pulse-border 1s ease-out;
}

.pf-ai-feature-card h3 {
  font-size: 1.5rem;
  color: #2e2e2e;
  margin-bottom: 15px;
  transition: all 0.3s ease-out;
  font-weight: 600;
}

.pf-ai-feature-card p {
  color: #586782;
  line-height: 1.6;
  transition: all 0.3s ease-out;
  margin: 0;
}

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

.pf-ai-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #526391 0%, #2e2e2e 100%);
  z-index: 0;
}

.pf-ai-cta-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(88, 184, 203, 0.1) 0%, transparent 70%);
  animation: pf-ai-rotate 20s linear infinite;
}

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

.pf-ai-cta-content h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.pf-ai-cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  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;
}

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

@keyframes pf-ai-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

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

@keyframes pf-ai-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pf-ai-pulse-border {
  0% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .pf-ai-hero h1 {
    font-size: 3rem;
  }
  
  .pf-ai-section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 100px 0 80px;
  }
  
  .pf-ai-hero h1 {
    font-size: 2.5rem;
  }
  
  .pf-ai-lead {
    font-size: 1.1rem;
  }
  
  .pf-ai-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .pf-ai-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .pf-ai-cta-content h2 {
    font-size: 2.5rem;
  }
  
  .pf-ai-meta-sidebar {
    margin-top: 40px;
    position: static;
  }
}

@media (max-width: 767px) {
  .pf-ai-section {
    padding: 60px 0;
  }
  
  .pf-ai-hero h1 {
    font-size: 2rem;
  }
  
  .pf-ai-section-header h2 {
    font-size: 1.75rem;
  }
  
  .pf-ai-feature-card {
    margin-bottom: 20px;
  }
  
  .pf-ai-cta-content h2 {
    font-size: 2rem;
  }
  
  .pf-ai-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pf-ai-btn-primary,
  .pf-ai-btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  
  .pf-ai-hero h1 {
    font-size: 1.75rem;
  }
  
  .pf-ai-year {
    font-size: 0.75rem;
  }
  
  .pf-ai-browser-mockup {
    border-radius: 6px;
    padding: 25px 10px 10px;
  }
  
  .pf-ai-browser-mockup::before {
    font-size: 16px;
    left: 15px;
  }
  
  .pf-ai-color-swatch {
    height: 150px;
  }
  
  .pf-ai-cta-section {
    padding: 80px 0;
  }
  
  .pf-ai-cta-content p {
    font-size: 1rem;
  }
}

/* Utility Classes */
.pf-ai-text-center {
  text-align: center;
}

.pf-ai-mb-0 {
  margin-bottom: 0;
}

/* Tag Taxonomy Styling */
.pf-ai-taxonomy-group {
  margin-bottom: 25px;
}

.pf-ai-taxonomy-group h4 {
  font-size: 0.875rem;
  color: #949c9e;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
}

.pf-ai-taxonomy-group:last-child {
  margin-bottom: 0;
}
