/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #bf00ff;
    --primary-dark: #8b00cc;
    --secondary-color: #0080ff;
    --accent-color: #ff0040;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --bg-primary: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --bg-dark: #050510;
    --border-color: #2d2d44;
    --shadow-sm: 0 1px 2px 0 rgb(191 0 255 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(191 0 255 / 0.2), 0 2px 4px -2px rgb(0 128 255 / 0.2);
    --shadow-lg: 0 10px 15px -3px rgb(191 0 255 / 0.3), 0 4px 6px -4px rgb(0 128 255 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(191 0 255 / 0.4), 0 8px 10px -6px rgb(0 128 255 / 0.4);
    --gradient-primary: linear-gradient(135deg, #bf00ff 0%, #0080ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff0040 0%, #bf00ff 100%);
    --gradient-accent: linear-gradient(135deg, #0080ff 0%, #ff0040 100%);
    --matrix-purple: #bf00ff;
    --matrix-blue: #0080ff;
    --matrix-red: #ff0040;
    --neon-purple: #bf00ff;
    --neon-blue: #0080ff;
    --neon-red: #ff0040;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Per-section Matrix background helper */
.matrix-bg {
    position: relative;
    overflow: hidden;
}

canvas.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.matrix-bg > * {
    position: relative;
    z-index: 1;
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Matrix Characters */
.matrix-rain::before {
    content: '01アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    line-height: 20px;
    color: var(--matrix-purple);
    text-shadow: 0 0 10px var(--matrix-purple);
    animation: matrix-rain-fall 8s linear infinite;
    opacity: 1;
    white-space: pre-wrap;
    word-break: break-all;
    letter-spacing: 2px;
}

.matrix-rain::after {
    content: '01アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 16px;
    color: var(--matrix-blue);
    text-shadow: 0 0 8px var(--matrix-blue);
    animation: matrix-rain-fall 12s linear infinite reverse;
    opacity: 0.8;
    white-space: pre-wrap;
    word-break: break-all;
    letter-spacing: 1px;
    transform: translateX(50px);
}

@keyframes matrix-rain-fall {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(50%);
    }
}

/* Additional Matrix Effects - Removed to show Matrix Rain */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 20px var(--neon-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Hero background effects removed to show Matrix Rain */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 50%, var(--neon-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--neon-purple);
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    0% { text-shadow: 0 0 30px var(--neon-purple); }
    50% { text-shadow: 0 0 40px var(--neon-blue); }
    100% { text-shadow: 0 0 30px var(--neon-red); }
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    font-style: italic;
}

/* AI Highlight in Hero */
.ai-highlight {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: ai-glow 3s ease-in-out infinite alternate;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.ai-icon {
    font-size: 1.2rem;
    animation: ai-pulse 2s ease-in-out infinite;
}

.ai-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.ai-cta-link {
    display: inline-block;
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 20px;
    background: rgba(191, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px var(--neon-purple);
}

.ai-cta-link:hover {
    background: rgba(191, 0, 255, 0.2);
    border-color: var(--neon-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 0, 255, 0.3);
    text-shadow: 0 0 15px var(--neon-purple);
}

@keyframes ai-glow {
    0% {
        box-shadow: 0 0 20px rgba(191, 0, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 30px rgba(191, 0, 255, 0.4);
    }
}

@keyframes ai-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.9;
    text-shadow: 0 0 25px var(--matrix-purple);
    filter: drop-shadow(0 0 15px var(--matrix-purple));
}

.element-1 {
    text-shadow: 0 0 25px var(--matrix-purple);
    filter: drop-shadow(0 0 15px var(--matrix-purple));
}

.element-2 {
    text-shadow: 0 0 25px var(--matrix-blue);
    filter: drop-shadow(0 0 15px var(--matrix-blue));
}

.element-3 {
    text-shadow: 0 0 25px var(--matrix-red);
    filter: drop-shadow(0 0 15px var(--matrix-red));
}

.element-4 {
    text-shadow: 0 0 25px var(--matrix-purple);
    filter: drop-shadow(0 0 15px var(--matrix-purple));
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    left: 70%;
    animation-delay: 1.5s;
}

.element-3 {
    top: 40%;
    left: 50%;
    animation-delay: 3s;
}

.element-4 {
    top: 80%;
    left: 30%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* AI Development Section */
.ai-development {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.ai-development::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(191, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 128, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 64, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: ai-bg-pulse 8s ease-in-out infinite;
}

.ai-development::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(191, 0, 255, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 128, 255, 0.03) 50%, transparent 70%);
    animation: ai-scan-lines 12s linear infinite;
    pointer-events: none;
}

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

@keyframes ai-scan-lines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.ai-content {
    position: relative;
    z-index: 2;
}

.ai-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.ai-header h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: ai-title-glow 3s ease-in-out infinite;
}

.ai-header h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    animation: ai-title-shadow 3s ease-in-out infinite;
}

.ai-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 25px;
    background: rgba(191, 0, 255, 0.05);
    backdrop-filter: blur(10px);
}

@keyframes ai-title-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes ai-title-shadow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.ai-intro {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.ai-intro-main {
    margin-bottom: 4rem;
}

.ai-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(191, 0, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.ai-lead:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 0, 255, 0.4);
}

.ai-lead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.05) 0%, rgba(0, 128, 255, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-lead:hover::before {
    opacity: 1;
}

.ai-advantage-highlight {
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    border: 2px solid rgba(191, 0, 255, 0.3);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-advantage-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(191, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 128, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-advantage-highlight:hover::before {
    opacity: 1;
}

.advantage-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.advantage-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: advantage-icon-float 3s ease-in-out infinite;
}

.advantage-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    animation: advantage-title-glow 2s ease-in-out infinite;
}

.advantage-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.advantage-point {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-point:hover::before {
    opacity: 1;
}

.advantage-point:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(191, 0, 255, 0.5);
}

.point-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: point-icon-pulse 2s ease-in-out infinite;
}

.point-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.point-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

@keyframes advantage-icon-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes advantage-title-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes point-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ai-advantage-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(191, 0, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.ai-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 0, 255, 0.4);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 4s ease-in-out infinite;
}

.ai-advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.ai-advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.ai-proof {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(191, 0, 255, 0.4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(15px);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.ai-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-proof:hover::before {
    opacity: 1;
}

.ai-proof h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-proof p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.ai-benefits-section {
    margin-bottom: 4rem;
}

.ai-benefits-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.ai-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(191, 0, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 0, 255, 0.5);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: benefit-icon-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.benefit-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

@keyframes benefit-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-important {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid rgba(255, 0, 64, 0.4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.ai-important::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.1) 0%, rgba(191, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-important:hover::before {
    opacity: 1;
}

.ai-important h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: important-glow 2s ease-in-out infinite;
}

.ai-important p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ai-important p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-primary);
}

@keyframes important-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Profile Image with Matrix Effects */
.profile-image {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-color);
    background: var(--bg-primary);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    filter: brightness(0.8) contrast(1.2) saturate(0.8) sepia(0.1);
}

.profile-image:hover .profile-photo {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.3) saturate(1) sepia(0.2);
}

/* Matrix Overlay */
.matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 98%, var(--matrix-purple) 100%),
        linear-gradient(180deg, transparent 98%, var(--matrix-blue) 100%);
    background-size: 15px 15px;
    opacity: 0.15;
    pointer-events: none;
    animation: matrix-scan 4s linear infinite;
    mix-blend-mode: overlay;
}

@keyframes matrix-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Matrix Glitch Effect */
.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, var(--matrix-purple) 50%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    animation: matrix-glitch 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes matrix-glitch {
    0%, 90%, 100% { opacity: 0; }
    5%, 85% { opacity: 0.3; }
    10%, 80% { opacity: 0; }
    15%, 75% { opacity: 0.2; }
    20%, 70% { opacity: 0; }
    25%, 65% { opacity: 0.4; }
    30%, 60% { opacity: 0; }
    35%, 55% { opacity: 0.1; }
    40%, 50% { opacity: 0; }
    45% { opacity: 0.5; }
}

/* Matrix Scan Line */
.matrix-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--matrix-purple), transparent);
    box-shadow: 0 0 15px var(--matrix-purple), 0 0 25px var(--matrix-purple);
    animation: scan-line 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes scan-line {
    0%, 100% { 
        top: 0;
        opacity: 0.8;
    }
    50% { 
        top: 100%;
        opacity: 1;
    }
}

/* Matrix Corner Effects */
.matrix-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--matrix-purple);
    box-shadow: 0 0 15px var(--matrix-purple), 0 0 25px var(--matrix-purple);
    animation: corner-pulse 2.5s ease-in-out infinite;
    z-index: 4;
}

.matrix-corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.matrix-corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.matrix-corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.matrix-corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

@keyframes corner-pulse {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 10px var(--matrix-purple);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 20px var(--matrix-purple), 0 0 30px var(--matrix-purple);
    }
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--matrix-purple);
    box-shadow: 0 0 25px rgba(191, 0, 255, 0.4);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Skills background effects removed to show Matrix Rain */

/* Experience Timeline Styles */
.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--matrix-purple), var(--matrix-blue), var(--matrix-red));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    animation: timeline-fade-in 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes timeline-fade-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: 0.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--bg-dark);
    border: 3px solid var(--matrix-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.8);
    border-color: var(--matrix-blue);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 1.5rem;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--bg-secondary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    border-color: var(--matrix-purple);
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.3);
}

.timeline-item:hover .timeline-content::before {
    border-right-color: var(--matrix-purple);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--matrix-purple);
}

.timeline-year {
    background: linear-gradient(135deg, var(--matrix-purple), var(--matrix-blue));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-badge {
    background: linear-gradient(135deg, var(--matrix-purple), var(--matrix-blue));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

.skill-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.6);
}

.timeline-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(191, 0, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--matrix-purple), var(--matrix-blue));
    border-radius: 4px;
    transition: width 1.5s ease;
    animation: progress-glow 2s ease-in-out infinite;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(191, 0, 255, 0.5); }
    50% { box-shadow: 0 0 15px rgba(191, 0, 255, 0.8); }
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: var(--matrix-purple);
    font-weight: 700;
    font-size: 0.875rem;
    text-shadow: 0 0 5px var(--matrix-purple);
    white-space: nowrap;
}

/* Skills Overview */
.skills-overview {
    margin-top: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--matrix-purple), var(--matrix-blue), var(--matrix-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--matrix-purple);
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.3);
}

.skill-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-category-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.5rem;
}

.skill-level {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    font-size: 1.25rem;
    font-weight: 700;
    animation: star-twinkle 2s ease-in-out infinite;
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.skill-category .skill-tags {
    justify-content: flex-start;
}

.skill-category .skill-tag {
    background: linear-gradient(135deg, var(--matrix-purple), var(--matrix-blue));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

.skill-category .skill-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.6);
}

/* Responsive Design for Timeline */
@media (max-width: 768px) {
    .experience-timeline::before {
        left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-marker {
        left: 0;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .timeline-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-bar {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.project-card.featured {
    border: 2px solid var(--primary-color);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ai-badge-project {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: ai-badge-pulse 2s ease-in-out infinite;
}

@keyframes ai-badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(191, 0, 255, 0.6);
    }
}

.project-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.project-screenshot-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-screenshot-link:hover {
    transform: scale(1.05);
}

.project-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    margin-top: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-purple);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.project-link:hover {
    background: var(--neon-purple);
    color: white;
    text-shadow: 0 0 10px var(--neon-purple);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.5);
}

/* Before-After Comparison */
.before-after-comparison {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.05) 0%, rgba(0, 128, 255, 0.05) 100%);
    border: 1px solid rgba(191, 0, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.comparison-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.comparison-header h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.comparison-item.before {
    background: rgba(255, 0, 64, 0.1);
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.comparison-item.after {
    background: rgba(191, 0, 255, 0.1);
    border: 1px solid rgba(191, 0, 255, 0.3);
}

.comparison-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comparison-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-item.before .comparison-label {
    color: var(--neon-red);
}

.comparison-item.after .comparison-label {
    color: var(--neon-purple);
}

.comparison-icon {
    font-size: 1.2rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    position: relative;
    padding-left: 1.5rem;
}

.comparison-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.comparison-item.before .comparison-list li::before {
    color: var(--neon-red);
}

.comparison-item.after .comparison-list li::before {
    color: var(--neon-purple);
}

.comparison-benefits {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(191, 0, 255, 0.1);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.benefit-highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.3);
}

.benefit-icon {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Mehr Infos Button */
.more-info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.more-info-btn:hover {
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.2) 0%, rgba(0, 128, 255, 0.2) 100%);
    border-color: rgba(191, 0, 255, 0.5);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.3);
    transform: translateY(-1px);
}

.more-info-btn:active {
    transform: translateY(0);
}

.more-info-text {
    font-weight: 600;
}

.more-info-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.more-info-btn.expanded .more-info-icon {
    transform: rotate(180deg);
}

/* Work Style Section */
.work-style {
    padding: 6rem 0;
}

.work-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-style-item {
    text-align: center;
    padding: 2rem;
}

.work-style-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.work-style-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.work-style-item p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-image {
        width: 250px;
        height: 333px;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .skill-card,
    .project-card {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Impressum & Datenschutz Pages */
.impressum,
.datenschutz {
    padding: 8rem 0 6rem;
    background: var(--bg-primary);
}

.impressum-content,
.datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section,
.datenschutz-section {
    background: var(--bg-secondary);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impressum-section:hover,
.datenschutz-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.impressum-section h2,
.datenschutz-section h2 {
    color: var(--neon-purple);
    margin: 0 0 1.5rem 0;
    text-shadow: 0 0 10px var(--neon-purple);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.impressum-section h3,
.datenschutz-section h3 {
    color: var(--neon-blue);
    margin: 1.5rem 0 0.5rem;
    text-shadow: 0 0 8px var(--neon-blue);
}

.impressum-section p,
.datenschutz-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.impressum-section a,
.datenschutz-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.impressum-section a:hover,
.datenschutz-section a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

.impressum-section ul,
.datenschutz-section ul {
    color: var(--text-secondary);
    margin: 1rem 0;
    padding-left: 2rem;
}

.impressum-section li,
.datenschutz-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.impressum-section strong,
.datenschutz-section strong {
    color: var(--text-primary);
    text-shadow: 0 0 5px var(--matrix-purple);
}

/* Spezielle Anpassungen für lange Titel in Impressum */
.impressum-section h2:first-child,
.datenschutz-section h2:first-child {
    margin-top: 0;
}

/* Responsive Anpassungen für Impressum */
@media (max-width: 768px) {
    .impressum-section,
    .datenschutz-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .impressum-section h2,
    .datenschutz-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .impressum-content,
    .datenschutz-content {
        padding: 0 1rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 2px solid var(--primary-color);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: var(--text-secondary);
}

.cookie-text h3 {
    color: var(--neon-purple);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-purple);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.cookie-btn.accept-all {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cookie-btn.accept-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.cookie-btn.settings {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cookie-btn.settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.cookie-btn.save-settings {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.cookie-btn.save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn.decline:hover {
    color: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.3);
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings.show {
    display: flex;
}

.cookie-settings-content {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-settings-header h3 {
    color: var(--neon-purple);
    margin: 0;
    text-shadow: 0 0 10px var(--neon-purple);
}

.close-settings {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-settings:hover {
    background: var(--neon-red);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.5);
}

.cookie-categories {
    padding: 1rem 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-category-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: relative;
    display: block;
    width: 50px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label::after {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-label {
    background: var(--matrix-purple);
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.cookie-settings-buttons .cookie-btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-settings {
        padding: 1rem;
    }
    
    .cookie-settings-content {
        max-width: 100%;
        margin: 0;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-buttons .cookie-btn {
        width: 100%;
    }
    
         /* AI Development Section Mobile */
     .ai-header h2 {
         font-size: 2.5rem;
     }
     
     .ai-lead {
         font-size: 1.1rem;
     }
     
     .ai-advantage-highlight {
         padding: 2rem 1.5rem;
         margin: 0 1rem;
     }
     
     .advantage-icon-large {
         font-size: 3rem;
     }
     
     .advantage-header h3 {
         font-size: 1.8rem;
     }
     
     .advantage-points {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }
     
     .advantage-point {
         padding: 1.5rem;
     }
     
     .point-icon {
         font-size: 2rem;
     }
     
     .point-content h4 {
         font-size: 1.2rem;
     }
     
     .point-content p {
         font-size: 1rem;
     }
    
    .ai-advantages {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-benefits {
        grid-template-columns: 1fr;
    }
    
    .ai-proof {
        padding: 2rem 1.5rem;
    }
    
    /* AI Highlight Mobile */
    .ai-highlight {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .ai-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .ai-description {
        font-size: 0.9rem;
    }
    
         /* AI Badge Project Mobile */
     .ai-badge-project {
         font-size: 0.7rem;
         padding: 0.4rem 0.8rem;
         top: 0.5rem;
         right: 0.5rem;
     }
     
     /* Before-After Comparison Mobile */
     .comparison-grid {
         grid-template-columns: 1fr;
         gap: 1rem;
     }
     
     .comparison-item {
         padding: 1rem;
     }
     
     .comparison-header h4 {
         font-size: 1.1rem;
     }
     
     .comparison-header p {
         font-size: 0.85rem;
     }
     
     /* Mehr Infos Button Mobile */
     .more-info-btn {
         padding: 0.6rem 1rem;
         font-size: 0.85rem;
     }
     
     .more-info-text {
         font-size: 0.85rem;
     }
     }
     
     .comparison-benefits {
         flex-direction: column;
         align-items: center;
     }
     
     .benefit-highlight {
         width: 100%;
         justify-content: center;
     }
}


