
/* Base & Reset */
.pf-ai-section {
    position: relative;
    overflow: hidden;
}

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

/* Full width breakout */
.pf-ai-fullwidth {
    margin-left: calc(-51vw + 50%);
    margin-right: calc(-51vw + 50%);
    width: 100vw;
}

/* Typography */
.pf-ai-title {
    font-weight: 700;
    line-height: 1.2;
    color: #2e2e2e;
    margin-bottom: 1.5rem;
}

.pf-ai-text-body {
    color: #586782;
    line-height: 1.7;
    font-size: 1.1rem;
}

.pf-ai-mono {
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

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

@keyframes pf-ai-swim-left {
    0% { transform: translateX(110vw) translateY(0) scaleX(1); }
    45% { transform: translateX(-10vw) translateY(-10px) scaleX(1); }
    50% { transform: translateX(-10vw) translateY(-10px) scaleX(-1); }
    95% { transform: translateX(110vw) translateY(10px) scaleX(-1); }
    100% { transform: translateX(110vw) translateY(0) scaleX(1); }
}

@keyframes pf-ai-swim-right {
    0% { transform: translateX(-10vw) translateY(0) scaleX(-1); }
    45% { transform: translateX(110vw) translateY(15px) scaleX(-1); }
    50% { transform: translateX(110vw) translateY(15px) scaleX(1); }
    95% { transform: translateX(-10vw) translateY(-5px) scaleX(1); }
    100% { transform: translateX(-10vw) translateY(0) scaleX(-1); }
}

@keyframes pf-ai-wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.8); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

@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); box-shadow: 0 0 0 0 rgba(243, 84, 30, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(243, 84, 30, 0); }
}

@keyframes pf-ai-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Section */
.pf-ai-hero {
    background: linear-gradient(135deg, #92c242 0%, #8ad2e7 50%, #f9d31f 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: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.pf-ai-hero-content {
    position: relative;
    z-index: 3;
}

.pf-ai-hero-badge {
    display: inline-block;
    background: #da2531;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: pf-ai-bob 3s ease-in-out infinite;
}

.pf-ai-hero-title {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    font-weight: 800;
}

.pf-ai-hero-url {
    font-family: 'Roboto Mono', monospace;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease-out;
    text-decoration: none;
}

.pf-ai-hero-url:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Decorative Fish */
.pf-ai-fish {
    position: absolute;
    font-size: 3rem;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

.pf-ai-fish-1 {
    top: 20%;
    animation: pf-ai-swim-left 25s linear infinite;
}

.pf-ai-fish-2 {
    top: 60%;
    animation: pf-ai-swim-right 30s linear infinite;
    animation-delay: -5s;
}

.pf-ai-fish-3 {
    top: 40%;
    animation: pf-ai-swim-left 35s linear infinite;
    animation-delay: -12s;
    font-size: 2rem;
}

/* Wave Divider */
.pf-ai-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.pf-ai-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.pf-ai-wave-divider .shape-fill {
    fill: #ffffff;
}

/* Screenshot Section */
.pf-ai-screenshot-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Project Info Section */
.pf-ai-info-section {
    padding: 80px 0;
    background: #eaf6f8;
}

.pf-ai-info-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
    height: 100%;
    transition: all 0.5s ease-out;
    border: 1px solid transparent;
}

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

.pf-ai-section-label {
    color: #da2531;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

.pf-ai-taxonomy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pf-ai-taxonomy-item {
    display: inline-block;
    background: white;
    color: #2e2e2e;
    padding: 8px 16px;
    border-radius: 25px;
    margin: 0 8px 8px 0;
    font-size: 0.9rem;
    border: 2px solid #8ad2e7;
    transition: all 0.3s ease-out;
    font-weight: 500;
}

.pf-ai-taxonomy-item:hover {
    background: #8ad2e7;
    color: white;
    transform: translateY(-2px);
}

/* Color Palette Section */
.pf-ai-palette-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.pf-ai-palette-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.pf-ai-color-card {
    aspect-ratio: 1;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pf-ai-color-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pf-ai-color-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease-out;
}

.pf-ai-color-card:hover .pf-ai-color-info {
    transform: translateY(0);
}

.pf-ai-color-name {
    font-weight: 700;
    color: #2e2e2e;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.pf-ai-color-hex {
    font-family: 'Roboto Mono', monospace;
    color: #586782;
    font-size: 0.9rem;
    margin: 0;
}

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

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

.pf-ai-feature-card {
    background: white;
    border: 2px solid #eaf6f8;
    border-radius: 10px;
    padding: 40px;
    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: 5px;
    background: linear-gradient(90deg, #92c242, #8ad2e7, #f9d31f, #da2531);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-out;
}

.pf-ai-feature-card:hover {
    border-color: #8ad2e7;
    box-shadow: 0 10px 40px rgba(138, 210, 231, 0.2);
    transform: translateY(-5px);
}

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

.pf-ai-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8ad2e7, #92c242);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease-out;
}

.pf-ai-feature-card:hover .pf-ai-feature-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #f9d31f, #da2531);
}

.pf-ai-feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2e2e2e;
}

.pf-ai-feature-desc {
    color: #586782;
    line-height: 1.6;
    margin: 0;
}

/* Wave Button Feature Visualization */
.pf-ai-wave-btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8ad2e7, #58b8cb);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    animation: pf-ai-bob 2s ease-in-out infinite;
}

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

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

/* CTA Section */
.pf-ai-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #2e2e2e 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pf-ai-cta-section::before {
    content: '🌴';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: -5%;
    right: -5%;
    transform: rotate(15deg);
    pointer-events: none;
}

.pf-ai-cta-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pf-ai-cta-text {
    color: #949c9e;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.pf-ai-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #92c242, #8ad2e7);
    color: white;
    padding: 20px 50px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease-out;
    animation: pf-ai-pulse 2s infinite;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.pf-ai-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(146, 194, 66, 0.4);
    color: white;
    text-decoration: none;
}

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

.pf-ai-cta-button--secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: none;
}

.pf-ai-cta-button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* Injected tag list styles */
.pf-ai-tag-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pf-ai-tag-list li a {
    display: inline-block;
    background: white;
    color: #2e2e2e;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 2px solid #8ad2e7;
    transition: all 0.3s ease-out;
    font-weight: 500;
    text-decoration: none;
}

.pf-ai-tag-list li a:hover {
    background: #8ad2e7;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

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

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

@media (max-width: 767px) {
    .pf-ai-hero {
        padding: 80px 0 120px;
    }
    .pf-ai-hero-title {
        font-size: 2rem;
    }
    .pf-ai-info-card {
        padding: 30px;
        margin-bottom: 30px;
    }
    .pf-ai-cta-title {
        font-size: 2rem;
    }
    .pf-ai-fish {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .pf-ai-color-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    .pf-ai-hero-url {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    .pf-ai-taxonomy-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .pf-ai-wave-divider svg {
        height: 50px;
    }
}
