
/* KeepTool Portfolio - Technical & Dark Aesthetic */
.pf-ai-wrapper {
  position: relative;
  overflow: hidden;
}

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

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

/* Hero Section - Full Width Breakout */
.pf-ai-hero {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(135deg, #133b7e 0%, #0a1f40 50%, #2e2e2e 100%);
  background-size: 200% 200%;
  animation: pf-ai-gradient-shift 15s ease infinite;
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
}

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

.pf-ai-hero-inner {
  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: #58b8cb;
  border: 1px solid #58b8cb;
  padding: 4px 12px;
  border-radius: 25px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pf-ai-pulse-glow 3s ease-in-out infinite;
}

.pf-ai-title {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.pf-ai-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 300;
}

.pf-ai-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pf-ai-shape {
  position: absolute;
  opacity: 0.1;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-shape-1 {
  width: 100px;
  height: 100px;
  border: 2px solid #58b8cb;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.pf-ai-shape-2 {
  width: 60px;
  height: 60px;
  background: #c74634;
  border-radius: 50%;
  bottom: 30%;
  left: 5%;
  animation-delay: 2s;
}

.pf-ai-shape-3 {
  font-family: 'Roboto Mono', monospace;
  font-size: 120px;
  color: rgba(88, 184, 203, 0.05);
  top: 10%;
  left: 20%;
  animation-delay: 4s;
  content: '{ }';
}

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

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

.pf-ai-screenshot-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
  background: rgba(19, 59, 126, 0.2);
  border-radius: 10px;
  filter: blur(20px);
  z-index: -1;
  animation: pf-ai-pulse-glow 4s ease-in-out infinite;
}

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

.pf-ai-content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  color: #133b7e;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.pf-ai-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #c74634;
  border-radius: 2px;
}

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

.pf-ai-description strong {
  color: #2e2e2e;
  font-weight: 600;
}

.pf-ai-description p {
  margin-bottom: 20px;
}

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

.pf-ai-solution-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
  color: #586782;
  line-height: 1.6;
}

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

/* Meta & Tags */
.pf-ai-meta {
  background: #eaf6f8;
  border-radius: 10px;
  padding: 30px;
  position: sticky;
  top: 30px;
}

.pf-ai-meta-box {
  margin-bottom: 30px;
}

.pf-ai-meta-box h4 {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #949c9e;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.pf-ai-meta-box li {
  font-family: 'Roboto', sans-serif;
  color: #2e2e2e;
  margin-bottom: 10px;
  font-size: 15px;
}

.pf-ai-meta-box a {
  color: #133b7e;
  text-decoration: none;
  border-bottom: 1px solid #58b8cb;
  transition: all 0.3s ease-out;
}

.pf-ai-meta-box a:hover {
  color: #c74634;
  border-bottom-color: #c74634;
}

.pf-ai-tags-wrapper h4 {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #949c9e;
  margin: 20px 0 15px;
  font-weight: 600;
}

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

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

.pf-ai-tag-list a {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: #586782;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 25px;
  text-decoration: none;
  border: 1px solid #58b8cb;
  transition: all 0.3s ease-out;
}

.pf-ai-tag-list a:hover {
  background: #133b7e;
  color: #ffffff;
  border-color: #133b7e;
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(88, 184, 203, 0.3);
}

/* Color Palette */
.pf-ai-colors-section h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #2e2e2e;
  margin-bottom: 40px;
  text-align: center;
}

.pf-ai-color-card {
  height: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

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

.pf-ai-color-blue {
  background: #133b7e;
}

.pf-ai-color-red {
  background: #c74634;
}

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 5px;
  opacity: 0.9;
}

.pf-ai-color-name {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pf-ai-color-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.pf-ai-color-card:hover::before {
  opacity: 1;
}

/* Features Section */
.pf-ai-features-section h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #2e2e2e;
  margin-bottom: 50px;
  text-align: center;
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 35px 30px;
  height: 100%;
  border: 1px solid #eaf6f8;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
  margin-bottom: 30px;
}

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

.pf-ai-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.3);
  border-color: #58b8cb;
}

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

.pf-ai-feature-icon {
  font-family: 'Roboto Mono', monospace;
  font-size: 32px;
  color: #c74634;
  margin-bottom: 20px;
  height: 50px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.pf-ai-feature-card h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #133b7e;
  margin-bottom: 15px;
  font-weight: 700;
}

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

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

.pf-ai-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(88, 184, 203, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(199, 70, 52, 0.1) 0%, transparent 50%);
  animation: pf-ai-pulse-glow 8s 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 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-primary {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #c74634;
  padding: 16px 40px;
  border-radius: 25px;
  text-decoration: none;
  border: 2px solid #c74634;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.pf-ai-btn-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(199, 70, 52, 0.3);
}

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

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

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

@keyframes pf-ai-pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

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

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

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 80px 0 120px;
  }
  
  .pf-ai-title {
    font-size: 36px;
  }
  
  .pf-ai-subtitle {
    font-size: 18px;
  }
  
  .pf-ai-meta {
    margin-top: 40px;
    position: relative;
    top: 0;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero {
    padding: 60px 0 100px;
  }
  
  .pf-ai-title {
    font-size: 32px;
  }
  
  .pf-ai-shape-1,
  .pf-ai-shape-2 {
    display: none;
  }
  
  .pf-ai-cta h2 {
    font-size: 28px;
  }
  
  .pf-ai-btn-primary,
  .pf-ai-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 575px) {
  .pf-ai-title {
    font-size: 28px;
  }
  
  .pf-ai-year {
    font-size: 12px;
  }
  
  .pf-ai-content h2 {
    font-size: 26px;
  }
  
  .pf-ai-feature-card {
    padding: 25px;
  }
}
