
/* SPI PraxisAkademie Portfolio Styles */
.pf-ai-wrapper {
    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, #00519e 0%, #359ccc 50%, #de1682 100%);
    background-size: 200% 200%;
    animation: pf-ai-gradientShift 15s ease infinite;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.pf-ai-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, #ffffff 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, #ffffff 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    animation: pf-ai-patternFloat 20s linear infinite;
}

@keyframes pf-ai-patternFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-50px) rotate(5deg); }
}

.pf-ai-hero-content {
    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);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    animation: pf-ai-pulse 3s ease-in-out infinite;
}

@keyframes pf-ai-pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.pf-ai-hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pf-ai-hero-subtitle {
    font-size: 28px;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    margin-bottom: 40px;
    font-family: 'Roboto Mono', monospace;
    position: relative;
    display: inline-block;
}

.pf-ai-hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #e1780a;
    border-radius: 2px;
    animation: pf-ai-expandWidth 2s ease-out forwards;
}

@keyframes pf-ai-expandWidth {
    0% { width: 0; }
    100% { width: 60px; }
}

.pf-ai-hero-shapes {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.pf-ai-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: pf-ai-float 6s ease-in-out infinite;
}

.pf-ai-shape-1 {
    width: 80px;
    height: 80px;
    background: #48ac60;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.pf-ai-shape-2 {
    width: 120px;
    height: 120px;
    background: #e1780a;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
    opacity: 0.4;
}

.pf-ai-shape-3 {
    width: 60px;
    height: 60px;
    background: #ae71a9;
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

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

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

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

.pf-ai-browser-mockup {
    background: #2e2e2e;
    border-radius: 10px;
    padding: 20px 20px 0;
    box-shadow: 0 20px 60px rgba(0,81,158,0.15);
    position: relative;
    transform: translateY(-40px);
    margin-top: -60px;
}

.pf-ai-browser-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 10px;
}

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

.pf-ai-browser-dot:nth-child(1) { background: #de1682; }
.pf-ai-browser-dot:nth-child(2) { background: #e1780a; }
.pf-ai-browser-dot:nth-child(3) { background: #48ac60; }

.pf-ai-browser-content {
    background: #f8f9fa;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    line-height: 0;
}

/* Project Info Section */
.pf-ai-info-section {
    padding: 60px 0;
    background: #eaf6f8;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

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

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

.pf-ai-info-title {
    font-size: 42px;
    color: #2e2e2e;
    margin-bottom: 30px;
    font-weight: 700;
}

.pf-ai-info-text {
    color: #586782;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pf-ai-info-text strong {
    color: #00519e;
}

.pf-ai-tags-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
    height: 100%;
    border-left: 4px solid #e1780a;
}

.pf-ai-tag-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

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

.pf-ai-tag-list h4 {
    font-size: 12px;
    color: #949c9e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
}

.pf-ai-tag-list li {
    display: inline-block;
    margin: 0 8px 8px 0;
}

.pf-ai-tag-list a {
    display: inline-block;
    padding: 6px 16px;
    background: #eaf6f8;
    color: #00519e;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease-out;
    border: 1px solid transparent;
}

.pf-ai-tag-list a:hover {
    background: #00519e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,81,158,0.2);
}

/* Color Palette Section */
.pf-ai-colors-section {
    padding: 100px 0;
    background: #ffffff;
}

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

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

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

.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: transform 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;
    font-size: 16px;
    margin-bottom: 5px;
}

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

/* Features Section */
.pf-ai-features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #eaf6f8 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

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

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

.pf-ai-section-title {
    font-size: 48px;
    color: #2e2e2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.pf-ai-section-desc {
    color: #586782;
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.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;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-out;
    border: 2px solid transparent;
    box-shadow: 0 2px 15px rgba(88, 184, 203, 0.1);
}

.pf-ai-feature-card:nth-child(1) {
    border-top: 4px solid #00519e;
}

.pf-ai-feature-card:nth-child(2) {
    border-top: 4px solid #de1682;
}

.pf-ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,81,158,0.15);
}

.pf-ai-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.pf-ai-feature-card:nth-child(1) .pf-ai-feature-icon {
    background: rgba(0,81,158,0.1);
    color: #00519e;
}

.pf-ai-feature-card:nth-child(2) .pf-ai-feature-icon {
    background: rgba(222,22,130,0.1);
    color: #de1682;
}

.pf-ai-feature-title {
    font-size: 24px;
    color: #2e2e2e;
    margin-bottom: 15px;
    font-weight: 700;
}

.pf-ai-feature-desc {
    color: #586782;
    font-size: 16px;
    line-height: 1.7;
}

.pf-ai-feature-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.5s ease-out;
}

.pf-ai-feature-card:nth-child(1) .pf-ai-feature-bg {
    background: #00519e;
}

.pf-ai-feature-card:nth-child(2) .pf-ai-feature-bg {
    background: #de1682;
}

.pf-ai-feature-card:hover .pf-ai-feature-bg {
    transform: scale(2);
    opacity: 0.1;
}

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

.pf-ai-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    animation: pf-ai-slide 20s linear infinite;
}

@keyframes pf-ai-slide {
    0% { transform: translate(0,0); }
    100% { transform: translate(50px,50px); }
}

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

.pf-ai-cta-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.pf-ai-btn-primary {
    background: #e1780a;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(225,120,10,0.3);
}

.pf-ai-btn-primary:hover {
    background: #ffffff;
    color: #00519e;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-decoration: none;
}

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

.pf-ai-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
    text-decoration: none;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .pf-ai-hero-title {
        font-size: 60px;
    }
    .pf-ai-hero-shapes {
        width: 200px;
        height: 200px;
        right: 2%;
    }
}

@media (max-width: 991px) {
    .pf-ai-hero {
        padding: 80px 0 60px;
    }
    .pf-ai-hero-title {
        font-size: 48px;
    }
    .pf-ai-hero-subtitle {
        font-size: 22px;
    }
    .pf-ai-hero-shapes {
        display: none;
    }
    .pf-ai-colors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-ai-features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .pf-ai-section-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .pf-ai-hero-title {
        font-size: 36px;
    }
    .pf-ai-info-title {
        font-size: 32px;
    }
    .pf-ai-colors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0;
    }
    .pf-ai-cta-title {
        font-size: 32px;
    }
    .pf-ai-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .pf-ai-hero {
        padding: 60px 0 40px;
    }
    .pf-ai-hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    .pf-ai-hero-title {
        font-size: 28px;
    }
    .pf-ai-hero-subtitle {
        font-size: 18px;
    }
    .pf-ai-browser-mockup {
        padding: 15px 15px 0;
        border-radius: 8px;
    }
    .pf-ai-feature-card {
        padding: 30px 20px;
    }
    .pf-ai-info-text {
        font-size: 16px;
    }
}
