:root {
    /* Color Palette - Vibrant & Professional */
    --bg-primary: #FAFAFD;
    --primary: #4361EE;
    --primary-light: #4895EF;
    --secondary: #7209B7;
    --accent: #F72585;
    --success: #00E5FF;
    
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --accent-gradient: linear-gradient(135deg, var(--accent), var(--secondary));
    
    /* Glassmorphism Refined */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Text */
    --text-main: #1A1A2E;
    --text-muted: #4A4A68;
    
    /* Spacing */
    --space-sm: 1.25rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 10rem;
    
    --radius-lg: 24px;
    --radius-md: 16px;

    /* Semantic Colors */
    --sapphire-blue: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body.overflow-hidden {
    overflow: hidden;
}

/* Background Animations */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(5%, 10%) rotate(5deg) scale(1.05); }
    66% { transform: translate(-5%, 5%) rotate(-5deg) scale(0.95); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.split-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.split-70 {
    flex: 7;
}

.split-30 {
    flex: 3;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

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

h1 {
    font-size: clamp(4rem, 8vw, 6.5rem);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -3px;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.headline-glow {
    text-shadow: none;
}

/* Components */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    box-shadow: var(--glass-shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-placeholder {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(42, 92, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder::before {
    content: 'ID';
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 1;
}

.logo-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.nav-update-highlight {
    color: var(--accent);
    font-weight: 800;
    position: relative;
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.15);
}

.nav-links a.nav-update-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a.nav-update-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(42, 92, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(42, 92, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.btn-neon {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(42, 92, 255, 0.1);
}

.btn-neon:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(42, 92, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: white;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

/* Glass Cards */
.glass-card, .glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glowing-border {
    box-shadow: 0 10px 40px rgba(42, 92, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.glowing-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.2), rgba(255,255,255,1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Sections */
section {
    padding: var(--space-xl) 0;
}

/* Workflow Scroll Animation */
.workflow-section {
    position: relative;
    padding-top: 4rem;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.workflow-visual {
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.sticky-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    background: white;
}

.sticky-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.workflow-steps {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 5vh;
}


.step-card {
    min-height: 200px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-visual {
    flex: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    padding: 0; /* Remove padding from glass-card if it has any, but we want the border */
    display: block;
}

/* Features */
.icon-placeholder {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(42, 92, 255, 0.2);
}

/* Effizienz-Check */
.check-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
}

.calculator {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.calc-inputs {
    text-align: left;
}

.calc-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 1rem;
}

.input-group {
    margin-bottom: 2.5rem;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.input-group label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.input-group input[type=range] {
    -webkit-appearance: none;
    flex: 1;
    height: 8px;
    background: rgba(42, 92, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.input-group input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sapphire-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(42, 92, 255, 0.4);
}

.value-display {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    width: 25%;
    text-align: right;
}

.result-box {
    margin-top: 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(42, 92, 255, 0.05), rgba(157, 78, 221, 0.05));
    border: 1px solid rgba(42, 92, 255, 0.2);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.result-value {
    margin: 1rem 0;
}

.highlight-text {
    font-size: 4rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* About */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    filter: saturate(1.2) contrast(1.05) sepia(0.05);
}

.about-text {
    flex: 1;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 2px solid rgba(42, 92, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--sapphire-blue);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(42, 92, 255, 0.2);
}

.timeline-content {
    padding: 1.5rem;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Pricing */
.pricing-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138,43,226,0.1) 0%, transparent 50%);
    z-index: -1;
}

.trial-period {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    padding: 0 1rem;
}

/* Contact */
.contact-panel {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(15, 82, 186, 0.1), rgba(138, 43, 226, 0.1));
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: var(--space-xl);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .about-content, .split-section {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-nav-contact {
        display: none; /* Hide in header on mobile, can be in the menu */
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .workflow-container {
        flex-direction: column;
    }

    .workflow-visual {
        position: relative;
        top: 0;
        width: 100%;
        height: 300px;
        margin-bottom: 2rem;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {
    .calculator {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .check-panel {
        padding: 2rem 1.5rem;
    }

    .slider-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .value-display {
        width: 100%;
        text-align: left;
    }
}
