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

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

/* Typography */
.pf-ai-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 2rem;
  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, #1693d5, #d25419);
  border-radius: 2px;
}

.pf-ai-section-title--center {
  display: block;
  text-align: center;
}

.pf-ai-section-title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

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

.pf-ai-text-block p {
  margin-bottom: 1.5rem;
}

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: pf-ai-grid-move 20s linear infinite;
}

@keyframes pf-ai-grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.pf-ai-hero__floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-hero__floating-element--1 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.pf-ai-hero__floating-element--2 {
  width: 120px;
  height: 60px;
  top: 60%;
  right: 25%;
  animation-delay: 2s;
  border-radius: 4px;
}

.pf-ai-hero__floating-element--3 {
  width: 60px;
  height: 100px;
  top: 30%;
  right: 35%;
  animation-delay: 4s;
}

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

.pf-ai-hero__year {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.pf-ai-hero__title {
  font-family: 'Roboto', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Screenshot Section */
.pf-ai-screenshot-section {
  margin-top: -60px;
  z-index: 10;
  position: relative;
}

.pf-ai-browser-mockup {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(22, 147, 213, 0.2);
  overflow: hidden;
  border: 1px solid #eaf6f8;
}

/* Info Section */
.pf-ai-info-section {
  background: #ffffff;
}

.pf-ai-info-card {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 10px;
  height: 100%;
  border-left: 4px solid #1693d5;
  transition: all 0.5s ease-out;
}

.pf-ai-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(22, 147, 213, 0.15);
}

.pf-ai-info-card--orange {
  border-left-color: #d25419;
}

.pf-ai-info-card h3 {
  font-family: 'Roboto', sans-serif;
  color: #2e2e2e;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.pf-ai-color-swatch {
  background: #ffffff;
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  transition: all 0.5s ease-out;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.pf-ai-color-swatch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: currentColor;
}

.pf-ai-color-swatch--blue {
  color: #1693d5;
}

.pf-ai-color-swatch--blue::before {
  background: #1693d5;
}

.pf-ai-color-swatch--orange {
  color: #d25419;
}

.pf-ai-color-swatch--orange::before {
  background: #d25419;
}

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

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
  color: #586782;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
}

/* Features Section */
.pf-ai-features-section {
  background: #ffffff;
  padding: 100px 0;
}

.pf-ai-feature-card {
  background: #ffffff;
  border: 1px solid #eaf6f8;
  border-radius: 6px;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  transition: all 0.5s ease-out;
  overflow: hidden;
}

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

.pf-ai-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(88, 184, 203, 0.15);
  border-color: rgba(22, 147, 213, 0.3);
}

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

.pf-ai-feature-icon {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: #1693d5;
  margin-bottom: 1.5rem;
  opacity: 0.3;
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  color: #d25419;
  opacity: 1;
  transform: scale(1.1);
}

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

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

/* Tags Section */
.pf-ai-tags-section {
  background: #ffffff;
  padding-bottom: 60px;
}

.pf-ai-tags-wrapper h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2e2e2e;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.pf-ai-tag-list a {
  display: inline-block;
  padding: 8px 20px;
  background: #eaf6f8;
  color: #1693d5;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
  background: #1693d5;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 147, 213, 0.3);
}

/* CTA Section */
.pf-ai-cta-section {
  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-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(22, 147, 213, 0.1) 0%, transparent 70%);
  animation: pf-ai-pulse-bg 8s ease-in-out infinite;
}

@keyframes pf-ai-pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.pf-ai-cta-box {
  text-align: center;
  position: relative;
  z-index: 2;
}

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

.pf-ai-cta-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

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

.pf-ai-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 25px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease-out;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.pf-ai-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.pf-ai-btn:hover::after {
  width: 300px;
  height: 300px;
}

.pf-ai-btn--primary {
  background: linear-gradient(90deg, #d25419, #e86a2f);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(210, 84, 25, 0.4);
  animation: pf-ai-pulse-orange 2s infinite;
}

@keyframes pf-ai-pulse-orange {
  0% { box-shadow: 0 4px 15px rgba(210, 84, 25, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(210, 84, 25, 0.7); }
  100% { box-shadow: 0 4px 15px rgba(210, 84, 25, 0.4); }
}

.pf-ai-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(210, 84, 25, 0.5);
  color: #ffffff;
  text-decoration: none;
}

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

.pf-ai-btn--secondary:hover {
  background: #ffffff;
  color: #2e2e2e;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

@media (max-width: 991px) {
  .pf-ai-section {
    padding: 60px 0;
  }
  
  .pf-ai-hero {
    padding: 100px 0 80px;
  }
  
  .pf-ai-hero__title {
    font-size: 2.5rem;
  }
  
  .pf-ai-hero__floating-element--3 {
    display: none;
  }
  
  .pf-ai-section-title {
    font-size: 2rem;
  }
  
  .pf-ai-cta-title {
    font-size: 2.2rem;
  }
  
  .pf-ai-feature-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero__title {
    font-size: 2rem;
  }
  
  .pf-ai-hero__subtitle {
    font-size: 1.1rem;
  }
  
  .pf-ai-info-card {
    margin-bottom: 30px;
  }
  
  .pf-ai-color-swatch {
    margin-bottom: 20px;
  }
  
  .pf-ai-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pf-ai-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .pf-ai-section {
    padding: 40px 0;
  }
  
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  
  .pf-ai-hero__floating-element {
    opacity: 0.3;
  }
  
  .pf-ai-section-title {
    font-size: 1.75rem;
  }
  
  .pf-ai-cta-title {
    font-size: 1.75rem;
  }
}
