
/* Base Variables */
:root {
  --pf-ai-orange: #d5501f;
  --pf-ai-gray: #464646;
  --pf-ai-cyan: #58b8cb;
  --pf-ai-orange-agency: #f3541e;
  --pf-ai-white: #ffffff;
  --pf-ai-light-blue: #eaf6f8;
  --pf-ai-dark: #2e2e2e;
  --pf-ai-body: #586782;
  --pf-ai-muted: #949c9e;
  --pf-ai-transition: all 0.5s ease-out;
  --pf-ai-transition-fast: all 0.3s ease-out;
  --pf-ai-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  --pf-ai-shadow-elevated: 0 2px 15px rgba(88, 184, 203, 0.3);
}

/* Keyframe 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-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

@keyframes pf-ai-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 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 50%, rgba(213, 80, 31, 0.05) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  margin-bottom: 60px;
}

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(213, 80, 31, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pf-ai-pulse-soft 6s ease-in-out infinite;
}

.pf-ai-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 184, 203, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pf-ai-pulse-soft 8s ease-in-out infinite reverse;
}

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

.pf-ai-float-element {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.pf-ai-float-1 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(213, 80, 31, 0.2), rgba(213, 80, 31, 0.05));
  top: 20%;
  right: 15%;
  animation: pf-ai-float 6s ease-in-out infinite;
  border: 2px solid rgba(213, 80, 31, 0.3);
}

.pf-ai-float-2 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(88, 184, 203, 0.15), rgba(88, 184, 203, 0.05));
  bottom: 10%;
  left: 10%;
  animation: pf-ai-float-reverse 8s ease-in-out infinite;
  border: 2px solid rgba(88, 184, 203, 0.2);
}

.pf-ai-year-badge {
  display: inline-block;
  background: var(--pf-ai-orange);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: pf-ai-slide-up 0.8s ease-out;
  box-shadow: 0 4px 15px rgba(213, 80, 31, 0.3);
}

.pf-ai-project-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--pf-ai-gray);
  margin: 0 0 10px;
  line-height: 1;
  letter-spacing: -2px;
  animation: pf-ai-slide-up 0.8s ease-out 0.1s both;
}

.pf-ai-project-subtitle {
  font-size: 28px;
  color: var(--pf-ai-orange);
  font-weight: 500;
  margin: 0 0 15px;
  animation: pf-ai-slide-up 0.8s ease-out 0.2s both;
}

.pf-ai-project-tagline {
  font-size: 20px;
  color: var(--pf-ai-body);
  font-style: italic;
  border-left: 4px solid var(--pf-ai-cyan);
  padding-left: 20px;
  animation: pf-ai-slide-up 0.8s ease-out 0.3s both;
}

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

.pf-ai-screenshot-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, rgba(213, 80, 31, 0.03), rgba(88, 184, 203, 0.03));
  filter: blur(60px);
  z-index: -1;
}

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

/* Description Section */
.pf-ai-description-section {
  margin-bottom: 80px;
}

.pf-ai-content-block {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--pf-ai-shadow);
  border: 1px solid rgba(88, 184, 203, 0.1);
}

.pf-ai-content-block p {
  color: var(--pf-ai-body);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.pf-ai-content-block strong {
  color: var(--pf-ai-gray);
  font-weight: 600;
}

.pf-ai-challenge-box {
  background: var(--pf-ai-gray);
  color: white;
  padding: 40px;
  border-radius: 10px;
  position: sticky;
  top: 30px;
  box-shadow: 0 10px 40px rgba(70, 70, 70, 0.2);
}

.pf-ai-challenge-box h3 {
  color: var(--pf-ai-orange);
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.pf-ai-challenge-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-ai-challenge-box li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  padding-left: 25px;
}

.pf-ai-challenge-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--pf-ai-cyan);
}

/* Colors Section */
.pf-ai-colors-section {
  margin-bottom: 80px;
}

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

.pf-ai-section-header h2 {
  font-size: 36px;
  color: var(--pf-ai-gray);
  position: relative;
  display: inline-block;
}

.pf-ai-section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--pf-ai-orange), var(--pf-ai-cyan));
  border-radius: 2px;
}

.pf-ai-color-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--pf-ai-shadow);
  transition: var(--pf-ai-transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.pf-ai-color-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--pf-ai-shadow-elevated);
}

.pf-ai-color-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}

.pf-ai-color-card:hover::before {
  left: 100%;
}

.pf-ai-color-orange {
  border-bottom: 4px solid var(--pf-ai-orange);
}

.pf-ai-color-gray {
  border-bottom: 4px solid var(--pf-ai-gray);
}

.pf-ai-color-swatch {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.pf-ai-color-orange .pf-ai-color-swatch {
  background: var(--pf-ai-orange);
  box-shadow: 0 10px 30px rgba(213, 80, 31, 0.3);
}

.pf-ai-color-gray .pf-ai-color-swatch {
  background: var(--pf-ai-gray);
  box-shadow: 0 10px 30px rgba(70, 70, 70, 0.3);
}

.pf-ai-color-card h4 {
  color: var(--pf-ai-gray);
  margin: 0 0 10px;
  font-size: 20px;
}

.pf-ai-color-card code {
  font-family: 'Roboto Mono', monospace;
  color: var(--pf-ai-muted);
  background: var(--pf-ai-light-blue);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

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

.pf-ai-feature-card {
  background: white;
  border-radius: 10px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--pf-ai-shadow);
  transition: var(--pf-ai-transition);
  border: 1px solid rgba(88, 184, 203, 0.1);
}

.pf-ai-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pf-ai-shadow-elevated);
  border-color: rgba(213, 80, 31, 0.2);
}

.pf-ai-feature-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(213, 80, 31, 0.03), rgba(88, 184, 203, 0.03));
  opacity: 0;
  transition: var(--pf-ai-transition);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--pf-ai-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(213, 80, 31, 0.3);
  transition: var(--pf-ai-transition-fast);
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--pf-ai-cyan);
}

.pf-ai-feature-card h3 {
  color: var(--pf-ai-gray);
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.pf-ai-feature-card p {
  color: var(--pf-ai-body);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Taxonomies Section */
.pf-ai-taxonomies-section {
  margin-bottom: 80px;
  padding: 60px 0;
  background: var(--pf-ai-light-blue);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.pf-ai-taxonomies-section .pf-ai-section-header {
  max-width: 1140px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

.pf-ai-tag-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
}

.pf-ai-taxonomies-section h4 {
  max-width: 1140px;
  margin: 30px auto 15px;
  padding: 0 15px;
  color: var(--pf-ai-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Roboto Mono', monospace;
}

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

.pf-ai-tag-list a {
  display: inline-block;
  padding: 8px 20px;
  background: white;
  color: var(--pf-ai-body);
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  transition: var(--pf-ai-transition-fast);
  border: 1px solid rgba(88, 184, 203, 0.2);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pf-ai-tag-list a:hover {
  background: var(--pf-ai-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 80, 31, 0.3);
  border-color: var(--pf-ai-orange);
}

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

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(213, 80, 31, 0.1) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: pf-ai-gradient-shift 10s ease infinite;
}

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

.pf-ai-cta-inner h2 {
  color: white;
  font-size: 42px;
  margin-bottom: 15px;
}

.pf-ai-cta-inner p {
  color: var(--pf-ai-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

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

.pf-ai-btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background: var(--pf-ai-orange);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--pf-ai-transition);
  box-shadow: 0 4px 20px rgba(213, 80, 31, 0.4);
  border: 2px solid var(--pf-ai-orange);
}

.pf-ai-btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(213, 80, 31, 0.6);
  text-decoration: none;
}

.pf-ai-btn-secondary {
  display: inline-block;
  padding: 18px 40px;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--pf-ai-transition);
  border: 2px solid var(--pf-ai-cyan);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.pf-ai-btn-secondary:hover {
  background: var(--pf-ai-cyan);
  color: var(--pf-ai-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(88, 184, 203, 0.4);
}

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 80px 0 100px;
  }
  
  .pf-ai-project-title {
    font-size: 48px;
  }
  
  .pf-ai-project-subtitle {
    font-size: 24px;
  }
  
  .pf-ai-challenge-box {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
  
  .pf-ai-cta-inner h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero {
    padding: 60px 0 80px;
  }
  
  .pf-ai-project-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  
  .pf-ai-project-subtitle {
    font-size: 20px;
  }
  
  .pf-ai-project-tagline {
    font-size: 18px;
  }
  
  .pf-ai-float-1, .pf-ai-float-2 {
    display: none;
  }
  
  .pf-ai-content-block, .pf-ai-feature-card {
    padding: 30px;
  }
  
  .pf-ai-cta-inner h2 {
    font-size: 28px;
  }
  
  .pf-ai-btn-primary, .pf-ai-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .pf-ai-project-title {
    font-size: 28px;
  }
  
  .pf-ai-section-header h2 {
    font-size: 28px;
  }
  
  .pf-ai-color-card {
    margin-bottom: 20px;
  }
  
  .pf-ai-feature-card {
    margin-bottom: 20px;
  }
}
