
/* Base Styles & Variables */
.pf-ai-wrapper {
  --pf-ai-project-red: #9d1e15;
  --pf-ai-project-red-light: #c42a1f;
  --pf-ai-project-red-dark: #751712;
  --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-elevated: 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;
}

/* 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-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(157, 30, 21, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 0 15px rgba(157, 30, 21, 0);
    transform: scale(1.05);
  }
}

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

/* Utility Classes */
.pf-ai-animate {
  animation: pf-ai-fade-up 0.8s ease-out forwards;
  opacity: 0;
}

.pf-ai-animate-delay-1 { animation-delay: 0.1s; }
.pf-ai-animate-delay-2 { animation-delay: 0.2s; }
.pf-ai-animate-delay-3 { animation-delay: 0.3s; }
.pf-ai-animate-delay-4 { animation-delay: 0.4s; }

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  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(88, 184, 203, 0.1);
  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);
  color: var(--pf-ai-white);
  padding: 8px 20px;
  border-radius: var(--pf-ai-radius-xl);
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pf-ai-fade-up 0.6s ease-out forwards;
}

.pf-ai-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--pf-ai-white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: pf-ai-fade-up 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.pf-ai-hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  animation: pf-ai-fade-up 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.pf-ai-hero-meta {
  display: flex;
  gap: 30px;
  align-items: center;
  animation: pf-ai-fade-up 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.pf-ai-hero-year {
  font-family: 'Roboto Mono', monospace;
  font-size: 18px;
  color: var(--pf-ai-white);
  border-left: 3px solid var(--pf-ai-cyan);
  padding-left: 15px;
}

.pf-ai-hero-type {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  border-radius: var(--pf-ai-radius-sm);
}

/* Decorative Elements */
.pf-ai-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: pf-ai-float 6s ease-in-out infinite;
}

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

.pf-ai-deco-2 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  right: 25%;
  background: rgba(243, 84, 30, 0.3);
  border: none;
  animation-delay: 2s;
}

.pf-ai-deco-3 {
  width: 140px;
  height: 140px;
  top: 40%;
  left: 5%;
  border-color: rgba(88, 184, 203, 0.3);
  animation-delay: 4s;
}

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

.pf-ai-browser-mockup {
  background: var(--pf-ai-white);
  border-radius: var(--pf-ai-radius-lg);
  box-shadow: var(--pf-ai-shadow-elevated);
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  animation: pf-ai-fade-up 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.pf-ai-browser-header {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--pf-ai-light-blue);
}

.pf-ai-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pf-ai-muted);
}

.pf-ai-browser-dot:nth-child(1) { background: #ff5f57; }
.pf-ai-browser-dot:nth-child(2) { background: #febc2e; }
.pf-ai-browser-dot:nth-child(3) { background: #28c840; }

.pf-ai-screenshot-container {
  background: var(--pf-ai-light-blue);
  border-radius: var(--pf-ai-radius-sm);
  overflow: hidden;
  position: relative;
}

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

.pf-ai-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.pf-ai-info-content {
  flex: 1 1 60%;
  min-width: 300px;
}

.pf-ai-info-sidebar {
  flex: 0 0 300px;
  min-width: 300px;
}

.pf-ai-section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: var(--pf-ai-project-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-weight: 600;
}

.pf-ai-lead-text {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  line-height: 1.6;
  color: var(--pf-ai-dark);
  margin-bottom: 30px;
  font-weight: 300;
}

.pf-ai-body-text {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--pf-ai-body);
  margin-bottom: 20px;
}

.pf-ai-info-box {
  background: var(--pf-ai-light-blue);
  padding: 30px;
  border-radius: var(--pf-ai-radius-lg);
  margin-bottom: 30px;
  border-left: 4px solid var(--pf-ai-project-red);
  transition: var(--pf-ai-transition-fast);
}

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

.pf-ai-info-box-title {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: var(--pf-ai-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.pf-ai-tag-wrapper h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: var(--pf-ai-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 25px 0 10px;
}

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

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

.pf-ai-tag-list a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--pf-ai-white);
  border: 1px solid var(--pf-ai-light-blue);
  border-radius: var(--pf-ai-radius-xl);
  color: var(--pf-ai-body);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: var(--pf-ai-transition-fast);
}

.pf-ai-tag-list a:hover {
  background: var(--pf-ai-project-red);
  color: var(--pf-ai-white);
  border-color: var(--pf-ai-project-red);
  transform: translateY(-2px);
}

/* Color Palette Section */
.pf-ai-color-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: var(--pf-ai-dark);
  padding: 100px 0;
  margin-top: 80px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.pf-ai-color-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(157, 30, 21, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(88, 184, 203, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

.pf-ai-color-header {
  text-align: center;
  margin-bottom: 60px;
}

.pf-ai-color-title {
  font-family: 'Roboto', sans-serif;
  font-size: 42px;
  color: var(--pf-ai-white);
  margin-bottom: 15px;
}

.pf-ai-color-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: var(--pf-ai-muted);
}

.pf-ai-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pf-ai-color-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pf-ai-radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--pf-ai-transition);
}

.pf-ai-color-card:hover {
  transform: translateY(-10px);
  border-color: rgba(157, 30, 21, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pf-ai-color-swatch {
  width: 100%;
  height: 120px;
  border-radius: var(--pf-ai-radius-sm);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.pf-ai-color-name {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: var(--pf-ai-white);
  margin-bottom: 8px;
  font-weight: 600;
}

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  color: var(--pf-ai-cyan);
  cursor: pointer;
  transition: var(--pf-ai-transition-fast);
}

.pf-ai-color-hex:hover {
  color: var(--pf-ai-orange);
}

/* Features Section */
.pf-ai-features-section {
  padding: 40px 0 80px;
}

.pf-ai-features-header {
  text-align: center;
  margin-bottom: 60px;
}

.pf-ai-features-title {
  font-family: 'Roboto', sans-serif;
  font-size: 42px;
  color: var(--pf-ai-dark);
  margin-bottom: 20px;
}

.pf-ai-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pf-ai-feature-card {
  background: var(--pf-ai-white);
  border: 1px solid var(--pf-ai-light-blue);
  border-radius: var(--pf-ai-radius-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--pf-ai-transition);
  animation: pf-ai-fade-up 0.6s ease-out forwards;
  opacity: 0;
}

.pf-ai-feature-card:nth-child(1) { animation-delay: 0.1s; }
.pf-ai-feature-card:nth-child(2) { animation-delay: 0.2s; }
.pf-ai-feature-card:nth-child(3) { animation-delay: 0.3s; }
.pf-ai-feature-card:nth-child(4) { animation-delay: 0.4s; }

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

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

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pf-ai-project-red), var(--pf-ai-project-red-light));
  border-radius: var(--pf-ai-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: var(--pf-ai-white);
  transition: var(--pf-ai-transition-fast);
}

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

.pf-ai-feature-title {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: var(--pf-ai-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.pf-ai-feature-text {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pf-ai-body);
}

.pf-ai-feature-highlight {
  display: inline-block;
  background: var(--pf-ai-light-blue);
  color: var(--pf-ai-project-red);
  padding: 4px 12px;
  border-radius: var(--pf-ai-radius-sm);
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  margin-top: 15px;
  font-weight: 600;
}

/* 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-cyan) 0%, #3a9aa8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pf-ai-float 12s ease-in-out infinite;
}

.pf-ai-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(243, 84, 30, 0.2);
  border-radius: 50%;
  animation: pf-ai-float-reverse 15s ease-in-out 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-title {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  color: var(--pf-ai-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pf-ai-cta-text {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  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;
}

.pf-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: var(--pf-ai-radius-xl);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--pf-ai-transition-fast);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pf-ai-btn-primary {
  background: var(--pf-ai-white);
  color: var(--pf-ai-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pf-ai-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: var(--pf-ai-project-red);
}

.pf-ai-btn-secondary {
  background: transparent;
  color: var(--pf-ai-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.pf-ai-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--pf-ai-white);
  transform: translateY(-3px);
  color: var(--pf-ai-white);
}

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 80px 0 120px;
  }
  
  .pf-ai-hero-title {
    font-size: 48px;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 22px;
  }
  
  .pf-ai-info-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .pf-ai-info-sidebar {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .pf-ai-features-title,
  .pf-ai-cta-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero-title {
    font-size: 36px;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 18px;
  }
  
  .pf-ai-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .pf-ai-color-grid {
    grid-template-columns: 1fr;
  }
  
  .pf-ai-features-grid {
    grid-template-columns: 1fr;
  }
  
  .pf-ai-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pf-ai-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero {
    padding: 60px 0 100px;
  }
  
  .pf-ai-hero-title {
    font-size: 28px;
  }
  
  .pf-ai-lead-text {
    font-size: 18px;
  }
  
  .pf-ai-feature-card {
    padding: 30px 20px;
  }
  
  .pf-ai-section-label {
    font-size: 12px;
  }
}
