
/* Base Variables */
:root {
  --pf-ai-blue: #3464bc;
  --pf-ai-orange: #f3541e;
  --pf-ai-cyan: #58b8cb;
  --pf-ai-white: #ffffff;
  --pf-ai-light-blue: #eaf6f8;
  --pf-ai-dark: #2e2e2e;
  --pf-ai-body: #586782;
  --pf-ai-muted: #949c9e;
  --pf-ai-radius-sm: 6px;
  --pf-ai-radius-lg: 10px;
  --pf-ai-radius-xl: 25px;
  --pf-ai-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  --pf-ai-shadow-hover: 0 2px 15px rgba(88, 184, 203, 0.3);
  --pf-ai-transition: all 0.5s ease-out;
  --pf-ai-transition-fast: all 0.3s ease-out;
}

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

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

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

@keyframes pf-ai-fade-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 15px rgba(243, 84, 30, 0); }
}

@keyframes pf-ai-slide-in-left {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pf-ai-slide-in-right {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@media (min-width: 991px) {
  .pf-ai-section {
    margin-bottom: 120px;
  }
}

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.pf-ai-float-box {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}

.pf-ai-float-box:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-float-box:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 40px;
  height: 40px;
  animation: pf-ai-float-delayed 8s ease-in-out infinite;
}

.pf-ai-float-box:nth-child(3) {
  bottom: 20%;
  left: 20%;
  width: 80px;
  height: 80px;
  animation: pf-ai-float 7s ease-in-out infinite;
}

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

.pf-ai-year {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  background: rgba(243, 84, 30, 0.9);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pf-ai-fade-up 0.8s ease-out;
}

.pf-ai-title {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: pf-ai-fade-up 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pf-ai-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  animation: pf-ai-fade-up 0.8s ease-out 0.4s both;
}

.pf-ai-btn-primary {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: #f3541e;
  padding: 14px 32px;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--pf-ai-transition-fast);
  box-shadow: 0 4px 15px rgba(243, 84, 30, 0.3);
  border: 2px solid transparent;
  animation: pf-ai-fade-up 0.8s ease-out 0.6s both;
}

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

@media (max-width: 767px) {
  .pf-ai-hero {
    padding: 60px 0 80px;
  }
  .pf-ai-title {
    font-size: 32px;
  }
  .pf-ai-subtitle {
    font-size: 18px;
  }
}

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

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

.pf-ai-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #58b8cb;
  display: block;
  margin-bottom: 10px;
}

.pf-ai-section-header h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  color: #2e2e2e;
  font-weight: 700;
  margin: 0;
}

.pf-ai-browser-mockup {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(52, 100, 188, 0.15);
  padding: 20px;
  position: relative;
  border: 1px solid #eaf6f8;
  animation: pf-ai-fade-up 1s ease-out;
}

.pf-ai-browser-mockup::before {
  content: '•••';
  display: block;
  font-size: 24px;
  color: #eaf6f8;
  letter-spacing: 8px;
  margin-bottom: 15px;
  line-height: 12px;
}

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

.pf-ai-content-block {
  margin-bottom: 40px;
  animation: pf-ai-fade-up 0.8s ease-out;
}

.pf-ai-content-block h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #3464bc;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-left: 20px;
}

.pf-ai-content-block h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: linear-gradient(to bottom, #f3541e, #58b8cb);
  border-radius: 2px;
}

.pf-ai-content-block p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #586782;
  margin-bottom: 16px;
}

.pf-ai-stats-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--pf-ai-shadow);
  border-left: 4px solid #f3541e;
  position: sticky;
  top: 100px;
  animation: pf-ai-slide-in-right 0.8s ease-out;
}

.pf-ai-stat-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eaf6f8;
}

.pf-ai-stat-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pf-ai-stat-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: #3464bc;
  display: block;
  margin-bottom: 5px;
}

.pf-ai-stat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #949c9e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  .pf-ai-stats-card {
    position: relative;
    top: 0;
    margin-top: 40px;
  }
}

/* Color Palette Section */
.pf-ai-palette-section {
  margin-bottom: 80px;
}

.pf-ai-fullwidth-bg {
  background: linear-gradient(135deg, #eaf6f8 0%, #ffffff 100%);
  padding: 80px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.pf-ai-fullwidth-bg::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 184, 203, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.pf-ai-inner-wrapper h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #2e2e2e;
  margin-bottom: 40px;
  text-align: center;
}

.pf-ai-color-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pf-ai-color-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--pf-ai-shadow);
  text-align: center;
  transition: var(--pf-ai-transition-fast);
  min-width: 200px;
  animation: pf-ai-fade-up 0.6s ease-out;
}

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

.pf-ai-color-swatch {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}

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

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

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

.pf-ai-features-section h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #2e2e2e;
  margin-bottom: 40px;
  text-align: center;
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px 30px;
  height: 100%;
  border: 2px solid transparent;
  box-shadow: var(--pf-ai-shadow);
  transition: var(--pf-ai-transition-fast);
  position: relative;
  overflow: hidden;
  animation: pf-ai-fade-up 0.8s ease-out;
}

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

.pf-ai-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pf-ai-shadow-hover);
  border-color: #eaf6f8;
}

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

.pf-ai-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3464bc 0%, #58b8cb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--pf-ai-transition-fast);
}

.pf-ai-feature-card:hover .pf-ai-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 20px rgba(52, 100, 188, 0.3);
}

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

.pf-ai-feature-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #586782;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .pf-ai-feature-card {
    margin-bottom: 20px;
  }
}

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

.pf-ai-tags-wrapper {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--pf-ai-shadow);
  border: 1px solid #eaf6f8;
}

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

.pf-ai-tags-wrapper h4:first-child {
  margin-top: 0;
}

.pf-ai-tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.pf-ai-tag-list a {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #586782;
  background: #eaf6f8;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--pf-ai-transition-fast);
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #3464bc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 100, 188, 0.2);
}

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

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243, 84, 30, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.pf-ai-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 184, 203, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

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

.pf-ai-cta-content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.pf-ai-btn-secondary {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: transparent;
  padding: 14px 32px;
  border-radius: 25px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: var(--pf-ai-transition-fast);
  animation: pf-ai-pulse 2s infinite;
}

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

@media (max-width: 575px) {
  .pf-ai-cta-content h2 {
    font-size: 28px;
  }
  .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;
  }
}
