
/* Berlin Business Office Portfolio Styles */
.pf-ai-section {
  position: relative;
}

/* Typography */
.pf-ai-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #2e2e2e;
  line-height: 1.2;
}

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

.pf-ai-mono {
  font-family: 'Roboto Mono', monospace;
}

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

@keyframes pf-ai-float-reverse {
  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-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes pf-ai-bridge-flow {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

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

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(46, 46, 46, 0.15);
  z-index: 1;
}

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

.pf-ai-hero-content {
  text-align: center;
  color: #ffffff;
}

.pf-ai-hero-year {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.9;
  margin-bottom: 20px;
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 25px;
  animation: pf-ai-reveal-up 0.8s ease-out;
}

.pf-ai-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  animation: pf-ai-reveal-up 0.8s ease-out 0.2s both;
}

.pf-ai-hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 300;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 30px;
  animation: pf-ai-reveal-up 0.8s ease-out 0.4s both;
}

.pf-ai-hero-link {
  font-family: 'Roboto Mono', monospace;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid #f5b4cb;
  padding-bottom: 2px;
  transition: all 0.3s ease-out;
  display: inline-block;
  animation: pf-ai-reveal-up 0.8s ease-out 0.6s both;
}

.pf-ai-hero-link:hover {
  color: #f5b4cb;
  border-bottom-color: #ffffff;
  transform: translateY(-2px);
}

/* Floating Elements */
.pf-ai-float-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.pf-ai-float-1 {
  width: 200px;
  height: 200px;
  background: #9bcfaf;
  top: 10%;
  left: 5%;
  animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-float-2 {
  width: 150px;
  height: 150px;
  background: #f5b4cb;
  bottom: 20%;
  right: 10%;
  animation: pf-ai-float-reverse 8s ease-in-out infinite;
}

.pf-ai-float-3 {
  width: 80px;
  height: 80px;
  background: #ffffff;
  top: 40%;
  right: 20%;
  animation: pf-ai-float 7s ease-in-out infinite 1s;
}

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

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

.pf-ai-browser-header {
  background: linear-gradient(to right, #eaf6f8, #ffffff);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eaf6f8;
}

.pf-ai-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pf-ai-dot-red { background: #e40422; }
.pf-ai-dot-yellow { background: #f5b4cb; }
.pf-ai-dot-green { background: #9bcfaf; }

.pf-ai-browser-url {
  flex: 1;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: #949c9e;
  background: rgba(255,255,255,0.8);
  padding: 6px 15px;
  border-radius: 25px;
  margin: 0 20px;
}

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

.pf-ai-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pf-ai-info-block {
  position: relative;
}

.pf-ai-info-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f3541e;
  margin-bottom: 15px;
  display: block;
}

.pf-ai-info-title {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 25px;
  line-height: 1.3;
}

.pf-ai-info-text {
  font-family: 'Roboto', sans-serif;
  color: #586782;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.pf-ai-highlight-box {
  background: linear-gradient(135deg, rgba(228, 4, 34, 0.05) 0%, rgba(79, 144, 205, 0.05) 100%);
  border-left: 4px solid #e40422;
  padding: 25px;
  border-radius: 0 6px 6px 0;
  margin: 30px 0;
}

.pf-ai-highlight-text {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  color: #2e2e2e;
  font-size: 18px;
  line-height: 1.6;
}

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

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

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

.pf-ai-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.pf-ai-colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.pf-ai-color-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.5s ease-out;
  transform: translateY(0);
}

.pf-ai-color-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pf-ai-color-swatch {
  height: 150px;
  position: relative;
  overflow: hidden;
}

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.pf-ai-color-card:hover .pf-ai-color-swatch::after {
  transform: translateX(100%);
}

.pf-ai-color-red { background: #e40422; }
.pf-ai-color-blue { background: #4f90cd; }
.pf-ai-color-pink { background: #f5b4cb; }
.pf-ai-color-green { background: #9bcfaf; }

.pf-ai-color-info {
  padding: 20px;
  text-align: center;
}

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

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

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

.pf-ai-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pf-ai-feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  border: 1px solid #eaf6f8;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
}

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

.pf-ai-feature-card:hover {
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.3);
  transform: translateY(-5px);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e40422 0%, #4f90cd 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-family: 'Roboto Mono', monospace;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(228, 4, 34, 0.3);
  animation: pf-ai-pulse 3s ease-in-out infinite;
}

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

.pf-ai-feature-text {
  font-family: 'Roboto', sans-serif;
  color: #586782;
  font-size: 16px;
  line-height: 1.7;
}

/* Tags Section */
.pf-ai-tags-section {
  margin-bottom: 80px;
  padding: 40px;
  background: #eaf6f8;
  border-radius: 10px;
}

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

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

.pf-ai-tags-list a {
  display: inline-block;
  padding: 8px 20px;
  background: #ffffff;
  color: #4f90cd;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
}

.pf-ai-tags-list a:hover {
  background: #4f90cd;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 144, 205, 0.3);
}

/* CTA Section */
.pf-ai-cta-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: linear-gradient(135deg, #4f90cd 0%, #e40422 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(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.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: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.pf-ai-cta-text {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  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-block;
  padding: 16px 40px;
  border-radius: 25px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease-out;
  cursor: pointer;
  border: none;
}

.pf-ai-btn-primary {
  background: #ffffff;
  color: #e40422;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pf-ai-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  background: #f5b4cb;
}

.pf-ai-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.pf-ai-btn-secondary:hover {
  background: #ffffff;
  color: #4f90cd;
  transform: translateY(-3px);
}

/* Bridge Animation Element */
.pf-ai-bridge-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9bcfaf, transparent);
  width: 100%;
  top: 50%;
  animation: pf-ai-bridge-flow 4s linear infinite;
  opacity: 0.6;
}

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

@media (max-width: 991px) {
  .pf-ai-hero {
    padding: 100px 0 80px;
  }
  
  .pf-ai-hero-title {
    font-size: 42px;
  }
  
  .pf-ai-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pf-ai-colors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pf-ai-features-grid {
    grid-template-columns: 1fr;
  }
  
  .pf-ai-cta-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .pf-ai-hero {
    padding: 80px 0 60px;
  }
  
  .pf-ai-hero-title {
    font-size: 32px;
  }
  
  .pf-ai-hero-subtitle {
    font-size: 16px;
  }
  
  .pf-ai-info-title {
    font-size: 28px;
  }
  
  .pf-ai-colors-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .pf-ai-section-title {
    font-size: 28px;
  }
  
  .pf-ai-cta-title {
    font-size: 28px;
  }
  
  .pf-ai-cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 575px) {
  .pf-ai-hero-title {
    font-size: 28px;
  }
  
  .pf-ai-feature-card {
    padding: 30px 20px;
  }
  
  .pf-ai-tags-section {
    padding: 30px 20px;
  }
  
  .pf-ai-btn {
    width: 100%;
    text-align: center;
  }
}
