
/* Base Variables */
.pf-ai-root {
  --pf-ai-green: #a5b34c;
  --pf-ai-blue: #81c3df;
  --pf-ai-orange: #f3541e;
  --pf-ai-cyan: #58b8cb;
  --pf-ai-dark: #2e2e2e;
  --pf-ai-body: #586782;
  --pf-ai-muted: #949c9e;
  --pf-ai-light-blue: #eaf6f8;
  --pf-ai-white: #ffffff;
}

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

@keyframes pf-ai-float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) 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-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pf-ai-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(88, 184, 203, 0.4); }
  50% { box-shadow: 0 0 20px 10px rgba(88, 184, 203, 0.1); }
}

@keyframes pf-ai-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Global Section Styles */
.pf-ai-section {
  position: relative;
  overflow: hidden;
}

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

.pf-ai-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pf-ai-float 8s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.pf-ai-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(165, 179, 76, 0.3);
  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.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  color: var(--pf-ai-white);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pf-ai-fade-in-up 0.8s ease-out;
}

.pf-ai-hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--pf-ai-white);
  margin-bottom: 20px;
  line-height: 1.1;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pf-ai-hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.4s both;
}

.pf-ai-hero-meta {
  display: flex;
  gap: 40px;
  animation: pf-ai-fade-in-up 0.8s ease-out 0.6s both;
}

.pf-ai-hero-meta-item {
  display: flex;
  flex-direction: column;
}

.pf-ai-hero-meta-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.pf-ai-hero-meta-value {
  font-size: 1.1rem;
  color: var(--pf-ai-white);
  font-weight: 500;
}

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

.pf-ai-browser-mockup {
  background: var(--pf-ai-white);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(46, 46, 46, 0.15);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.pf-ai-browser-mockup:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(46, 46, 46, 0.2);
}

.pf-ai-browser-header {
  background: linear-gradient(to right, var(--pf-ai-light-blue), #f8f9fa);
  padding: 15px 20px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.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-browser-content {
  position: relative;
  background: #f5f5f5;
  min-height: 600px;
}

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

.pf-ai-section-label {
  font-family: 'Roboto Mono', monospace;
  color: var(--pf-ai-green);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-ai-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--pf-ai-green), transparent);
  max-width: 100px;
}

.pf-ai-info-title {
  font-size: 2.5rem;
  color: var(--pf-ai-dark);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.pf-ai-info-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--pf-ai-body);
  margin-bottom: 40px;
}

.pf-ai-challenge-box {
  background: linear-gradient(135deg, rgba(129, 195, 223, 0.1) 0%, rgba(165, 179, 76, 0.05) 100%);
  border-left: 4px solid var(--pf-ai-blue);
  padding: 30px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 40px;
  position: relative;
}

.pf-ai-challenge-box::before {
  content: '!';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: var(--pf-ai-blue);
  opacity: 0.2;
  font-weight: 700;
}

.pf-ai-challenge-title {
  font-size: 1.3rem;
  color: var(--pf-ai-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.pf-ai-colors-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(165, 179, 76, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(129, 195, 223, 0.1) 0%, transparent 50%);
}

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

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

.pf-ai-color-card {
  background: var(--pf-ai-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
  transition: all 0.5s ease-out;
  position: relative;
}

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

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

.pf-ai-color-swatch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: pf-ai-shimmer 3s infinite;
}

.pf-ai-color-swatch.green { background: var(--pf-ai-green); }
.pf-ai-color-swatch.blue { background: var(--pf-ai-blue); }

.pf-ai-color-info {
  padding: 25px;
}

.pf-ai-color-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pf-ai-dark);
  margin-bottom: 5px;
}

.pf-ai-color-hex {
  font-family: 'Roboto Mono', monospace;
  color: var(--pf-ai-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

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

.pf-ai-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(88, 184, 203, 0.15);
  border-color: rgba(129, 195, 223, 0.4);
}

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

.pf-ai-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(165, 179, 76, 0.1) 0%, rgba(129, 195, 223, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: var(--pf-ai-green);
  transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
  background: linear-gradient(135deg, var(--pf-ai-green) 0%, var(--pf-ai-blue) 100%);
  color: var(--pf-ai-white);
  transform: scale(1.1) rotate(5deg);
}

.pf-ai-feature-title {
  font-size: 1.3rem;
  color: var(--pf-ai-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.pf-ai-feature-text {
  color: var(--pf-ai-body);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* 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-dark) 0%, #1a1a1a 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.pf-ai-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(165, 179, 76, 0.1) 0%, transparent 70%);
  animation: pf-ai-float 15s ease-in-out infinite;
}

.pf-ai-cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 195, 223, 0.1) 0%, transparent 70%);
  animation: pf-ai-float-reverse 12s 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-size: 3rem;
  color: var(--pf-ai-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.pf-ai-cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  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: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease-out;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pf-ai-btn-primary {
  background: linear-gradient(135deg, var(--pf-ai-green) 0%, var(--pf-ai-blue) 100%);
  color: var(--pf-ai-white);
  box-shadow: 0 4px 15px rgba(165, 179, 76, 0.3);
}

.pf-ai-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(165, 179, 76, 0.4);
  animation: pf-ai-pulse-glow 2s infinite;
}

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

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

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

.pf-ai-tags-wrapper {
  background: rgba(234, 246, 248, 0.5);
  border-radius: 10px;
  padding: 40px;
  border: 1px solid rgba(129, 195, 223, 0.2);
}

.pf-ai-tag-group {
  margin-bottom: 30px;
}

.pf-ai-tag-group:last-child {
  margin-bottom: 0;
}

.pf-ai-tag-group h4 {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pf-ai-muted);
  margin-bottom: 15px;
  font-weight: 600;
}

.pf-ai-tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  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: var(--pf-ai-white);
  color: var(--pf-ai-body);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease-out;
  border: 1px solid rgba(129, 195, 223, 0.3);
}

.pf-ai-tag-list a:hover {
  background: var(--pf-ai-green);
  color: var(--pf-ai-white);
  border-color: var(--pf-ai-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 179, 76, 0.3);
}

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

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

@media (max-width: 767px) {
  .pf-ai-hero { padding: 80px 0 60px; }
  .pf-ai-hero-title { font-size: 2.5rem; }
  .pf-ai-hero-subtitle { font-size: 1.2rem; }
  .pf-ai-hero-meta { flex-direction: column; gap: 20px; }
  .pf-ai-info-title { font-size: 2rem; }
  .pf-ai-cta-title { font-size: 2.5rem; }
  .pf-ai-colors-grid { grid-template-columns: 1fr; }
  .pf-ai-browser-content { min-height: 400px; }
}

@media (max-width: 575px) {
  .pf-ai-hero { padding: 60px 0 40px; }
  .pf-ai-hero-title { font-size: 2rem; }
  .pf-ai-hero-subtitle { font-size: 1rem; }
  .pf-ai-info-title { font-size: 1.5rem; }
  .pf-ai-cta-title { font-size: 2rem; }
  .pf-ai-btn { padding: 15px 30px; font-size: 0.9rem; width: 100%; justify-content: center; }
  .pf-ai-cta-buttons { flex-direction: column; }
  .pf-ai-feature-card { padding: 30px 20px; }
  .pf-ai-tags-wrapper { padding: 25px; }
}
