
/* Base Styles & Variables */
.pf-ai-wrapper {
  position: relative;
  overflow: hidden;
}

/* Typography */
.pf-ai-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.pf-ai-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
}

.pf-ai-section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #2e2e2e;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  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, #299c69, #f5c344);
  border-radius: 2px;
}

/* 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(20px) rotate(-5deg); }
}

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

@keyframes pf-ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 84, 30, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(243, 84, 30, 0); }
}

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

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

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(245, 195, 68, 0.1);
  border-radius: 50%;
  animation: pf-ai-float 8s ease-in-out infinite;
}

.pf-ai-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: pf-ai-float-reverse 10s 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;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 2rem;
  animation: pf-ai-fade-in-up 0.8s ease-out;
}

.pf-ai-hero-content {
  animation: pf-ai-fade-in-up 1s ease-out 0.2s both;
}

.pf-ai-hero-shapes {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
}

.pf-ai-shape {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pf-ai-shape-1 {
  width: 200px;
  height: 200px;
  top: 0;
  right: 50px;
  animation: pf-ai-network-pulse 4s ease-in-out infinite;
}

.pf-ai-shape-2 {
  width: 140px;
  height: 140px;
  bottom: 20px;
  right: 0;
  animation: pf-ai-network-pulse 4s ease-in-out infinite 1s;
}

.pf-ai-shape-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 150px;
  background: #f5c344;
  border: none;
  opacity: 0.8;
  animation: pf-ai-float 6s ease-in-out infinite;
}

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

.pf-ai-screenshot-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(4, 128, 202, 0.15);
  padding: 20px;
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
  transition: all 0.5s ease-out;
}

.pf-ai-screenshot-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 30px 80px rgba(4, 128, 202, 0.25);
}

/* SCREENSHOT_PLACEHOLDER styling context */
.pf-ai-screenshot-wrapper img,
.pf-ai-screenshot-wrapper iframe {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.pf-ai-screenshot-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #f5c344;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  top: -30px;
  left: -30px;
  z-index: -1;
  animation: pf-ai-float 8s ease-in-out infinite;
}

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

.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;
  position: relative;
  overflow: hidden;
}

.pf-ai-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #299c69;
  transition: all 0.3s ease-out;
}

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

.pf-ai-info-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.pf-ai-info-card.solution::before {
  background: #0480ca;
}

.pf-ai-info-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-ai-info-icon {
  width: 40px;
  height: 40px;
  background: #eaf6f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #299c69;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
}

.pf-ai-info-card.solution .pf-ai-info-icon {
  color: #0480ca;
}

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

.pf-ai-solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-ai-solution-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
  color: #586782;
  line-height: 1.6;
}

.pf-ai-solution-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f5c344;
  font-weight: 700;
  font-family: 'Roboto Mono', monospace;
}

/* 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;
}

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

.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;
  height: 100%;
}

.pf-ai-color-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(88, 184, 203, 0.2);
}

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

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

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

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

.pf-ai-color-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2e2e2e;
  display: block;
  margin-bottom: 5px;
}

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

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

.pf-ai-feature-card {
  background: #ffffff;
  border: 1px solid rgba(41, 156, 105, 0.1);
  border-radius: 10px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.pf-ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #299c69, #f5c344, #0480ca);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}

.pf-ai-feature-card:hover {
  border-color: rgba(41, 156, 105, 0.3);
  box-shadow: 0 10px 40px rgba(4, 128, 202, 0.1);
  transform: translateY(-5px);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #eaf6f8 0%, #ffffff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #299c69;
  border: 2px solid rgba(41, 156, 105, 0.1);
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  background: #299c69;
  color: #ffffff;
  transform: rotate(360deg);
}

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

.pf-ai-feature-desc {
  color: #586782;
  line-height: 1.6;
  font-size: 0.95rem;
}

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

.pf-ai-tags-wrapper {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
}

.pf-ai-tag-group {
  margin-bottom: 30px;
}

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

.pf-ai-tag-group h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #949c9e;
  margin-bottom: 15px;
}

.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 li a {
  display: inline-block;
  padding: 8px 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 25px;
  color: #586782;
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
  transition: all 0.3s ease-out;
}

.pf-ai-tag-list li a:hover {
  background: #299c69;
  color: #ffffff;
  border-color: #299c69;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 156, 105, 0.3);
}

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

.pf-ai-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(243, 84, 30, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(88, 184, 203, 0.1) 0%, transparent 50%);
}

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

.pf-ai-cta-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.pf-ai-cta-subtitle {
  color: #949c9e;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.pf-ai-btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background: #f3541e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #f3541e;
  transition: all 0.3s ease-out;
  animation: pf-ai-pulse 2s infinite;
}

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

.pf-ai-btn-secondary {
  display: inline-block;
  padding: 18px 40px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #58b8cb;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.pf-ai-btn-secondary:hover {
  background: #58b8cb;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(88, 184, 203, 0.4);
}

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  
  .pf-ai-title {
    font-size: 2.5rem;
  }
  
  .pf-ai-section-title {
    font-size: 2rem;
  }
  
  .pf-ai-info-card {
    margin-bottom: 30px;
  }
  
  .pf-ai-color-card {
    margin-bottom: 20px;
  }
  
  .pf-ai-feature-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .pf-ai-title {
    font-size: 2rem;
  }
  
  .pf-ai-subtitle {
    font-size: 1.1rem;
  }
  
  .pf-ai-hero-shapes {
    display: none;
  }
  
  .pf-ai-section-title {
    font-size: 1.75rem;
  }
  
  .pf-ai-screenshot-wrapper {
    transform: none;
    padding: 10px;
  }
  
  .pf-ai-cta-title {
    font-size: 1.75rem;
  }
  
  .pf-ai-btn-group {
    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: 60px 0 40px;
  }
  
  .pf-ai-title {
    font-size: 1.75rem;
  }
  
  .pf-ai-info-card,
  .pf-ai-tags-wrapper {
    padding: 25px;
  }
  
  .pf-ai-section-title {
    font-size: 1.5rem;
  }
  
  .pf-ai-cta {
    padding: 60px 0;
  }
  
  .pf-ai-cta-title {
    font-size: 1.5rem;
  }
}

/* Utility for spacing */
.pf-ai-mb-0 { margin-bottom: 0; }
.pf-ai-text-center { text-align: center; }
