:root {
    /* Dark Mode variables */
    --bg-color: #050505;
    --text-color: #f5f5f7;
    --text-muted: #ffffff;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-color: #ffffff;
    --primary-text: #000000;
    --nav-bg: rgba(255, 0, 255, 0.85); /* Neon Pink mit Transparenz */
    --gradient-overlay: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.9) 100%);
}

.light-mode {
    --bg-color: #fbfbfd;
    --text-color: #1d1d1f;
    --text-muted: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.1);
    --primary-color: #000000;
    --primary-text: #ffffff;
    --nav-bg: rgba(255, 0, 255, 0.85); /* Neon Pink mit Transparenz */
    --gradient-overlay: linear-gradient(180deg, rgba(251,251,253,0) 0%, rgba(251,251,253,0.3) 50%, rgba(251,251,253,0.8) 100%);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1000;
    background: transparent;
}
.progress-bar {
    height: 100%;
    background: var(--text-color);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 4rem;
    z-index: 10000;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.95) 50%, rgba(255, 0, 128, 0.3) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.5s ease, padding 0.3s ease;
}

.nav-left { justify-self: start; }
.nav-center { justify-self: center; }
.nav-right { 
    justify-self: end; 
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.glow-button {
    text-decoration: none;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ff0080;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 0, 128, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3), inset 0 0 10px rgba(255, 0, 128, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.glow-button:hover {
    background: #ff0080;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.6), 0 0 50px rgba(255, 0, 128, 0.3);
    transform: translateY(-2px);
}

.glow-button .arrow-icon {
    width: 16px;
    height: 16px;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 1;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 0.9rem;
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 1;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
    font-family: inherit;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.divider { opacity: 1; }

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
    margin-left: 0.5rem;
}
.theme-toggle:hover {
    background: var(--glass-bg);
}
.theme-toggle .moon-icon { display: none; }
body.light-mode .theme-toggle .sun-icon { display: none; }
body.light-mode .theme-toggle .moon-icon { display: block; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--primary-text);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-primary-outline {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary-outline:hover {
    background: var(--text-color);
    color: var(--bg-color) !important;
}

/* Scrollytelling Setup */
.scrollytelling {
    position: relative;
    /* Total height driven by the steps-container spacing */
}

.sticky-bg {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
    pointer-events: none;
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: normal;
}

.steps-container {
    position: relative;
    z-index: 10;
    margin-top: -100vh;
}

.step {
    height: 150vh; 
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    position: relative;
    border: none;
}

.hero-step { justify-content: center; height: 100vh; }
.showcase-step { justify-content: center; }
.final-step { justify-content: center; padding-bottom: 20vh; }

.align-center { align-items: center; text-align: center; }
.align-center p { margin-left: auto; margin-right: auto; }
.align-left { align-items: flex-start; text-align: left; }
.align-right { align-items: flex-end; text-align: left; }

.content-box {
    max-width: 600px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.content-box.active {
    opacity: 1;
    transform: translateY(0);
}
.glass {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

h1 { font-size: 5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.1; color: #ff0080; text-shadow: 0 0 15px rgba(255, 0, 128, 0.3); }
h2 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; color: #ff0080; text-shadow: 0 0 10px rgba(255, 0, 128, 0.3); }
h3 { font-size: 1.8rem; font-weight: 700; color: #ff0080; margin-bottom: 1rem; }
p { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; margin-bottom: 2rem; max-width: 500px; }

.cta-group { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.scroll-hint { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); animation: bounce 2s infinite; }

.signup-form { display: flex; gap: 1rem; width: 100%; }
.signup-form input {
    flex: 1; padding: 1rem 1.5rem; border-radius: 30px; border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.05); color: var(--text-color); font-size: 1rem; font-family: inherit; outline: none; transition: background 0.3s, border-color 0.3s;
}
.signup-form input:focus { background: rgba(255,255,255,0.1); border-color: var(--text-muted); }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Custom Animated Cursor */
body, a, button, .slider-btn, .hamburger {
    cursor: none !important;
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999; /* Sehr hoher Wert, um über Cookie-Bannern (Z:20000) zu liegen */
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover Effect for Links */
.cursor-hover .cursor-outline {
    width: 50px;
    height: 50px;
    background-color: var(--glass-border);
}

/* --- Accessibility Widget --- */
.access-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--nav-bg);
    color: var(--text-color);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    cursor: pointer !important;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}
.access-btn:hover { transform: scale(1.1); background: var(--primary-color); color: var(--primary-text); }
.access-panel {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: 250px;
    background: var(--nav-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}
.access-panel.active { display: flex; animation: fadeInUp 0.3s ease forwards; }
.access-panel h3 { margin-bottom: 1rem; font-size: 1.2rem; text-align: center; }
.access-panel button {
    padding: 0.6rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer !important;
    text-align: left;
    transition: background 0.2s;
    font-size: 0.9rem;
}
.access-panel button:hover, .access-panel button.active-acc {
    background: rgba(255,255,255,0.1);
}
body.light-mode .access-panel button:hover, body.light-mode .access-panel button.active-acc { background: rgba(0,0,0,0.1); }
.acc-reset { margin-top: 1rem; border-color: #ff4d4d !important; color: #ff4d4d !important; text-align: center !important; }

/* Global Accessibility Overrides */
html.acc-text-large { font-size: 120% !important; }
html.acc-text-small { font-size: 90% !important; }
html.acc-contrast { filter: contrast(130%) saturate(130%) brightness(0.9); }
html.acc-dyslexia body, html.acc-dyslexia h1, html.acc-dyslexia h2, html.acc-dyslexia p, html.acc-dyslexia a, html.acc-dyslexia button { 
    font-family: "Comic Sans MS", "Arial", sans-serif !important; 
    letter-spacing: 0.05em !important; 
    word-spacing: 0.1em !important; 
}
html.acc-highlight-links a { 
    background-color: yellow !important; 
    color: black !important; 
    font-weight: bold !important; 
    text-decoration: underline !important; 
    padding: 2px 4px; border-radius: 3px; 
}

/* --- Cookie Banner --- */


/* Animations */
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

@keyframes float3D {
    0% { transform: translateY(0) rotateY(0deg) rotateX(10deg); }
    25% { transform: translateY(-8px) rotateY(15deg) rotateX(-5deg); }
    50% { transform: translateY(0) rotateY(30deg) rotateX(10deg); }
    75% { transform: translateY(-8px) rotateY(15deg) rotateX(-5deg); }
    100% { transform: translateY(0) rotateY(0deg) rotateX(10deg); }
}

@keyframes cardFloat {
    0% { transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(0); }
    50% { transform: perspective(1000px) rotateX(-2deg) rotateY(2deg) translateZ(10px); }
    100% { transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(0); }
}

/* Reference Grid Layout */
.references-section {
    position: relative;
    width: 100%;
    padding: 100px 5%;
    background: var(--bg-color);
    z-index: 20;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 4rem auto 0 auto;
    min-height: 400px; /* Sicherstellen, dass der Container eine Höhe hat */
}

.ref-card {
    height: 380px;
    background: var(--glass-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

.ref-card.show {
    opacity: 1;
    transform: translateY(0);
}

.ref-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    opacity: 0.8;
}

.ref-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.4);
}

.ref-img-placeholder {
    width: 100%;
    height: 110%; /* Make taller to crop from bottom */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.8s ease;
    background-size: cover;
    background-position: center top; /* Align to top to cut off bottom text */
}

.ref-card:hover .ref-img-placeholder {
    transform: scale(1.1);
}

.ref-content {
    position: relative;
    padding: 2rem;
    margin-top: auto;
    z-index: 2;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.ref-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.ref-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    line-height: 1.5;
    max-width: 100%;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.ref-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 0, 128, 0.1);
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    width: fit-content;
    backdrop-filter: blur(5px);
    border: 1px solid #ff0080;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

.ref-content a:hover {
    text-decoration: none;
    gap: 0.8rem;
    background: #ff0080;
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.7), 0 0 50px rgba(255, 0, 128, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .reference-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ref-card {
        height: 350px;
    }
}

.reference-more-hint {
    width: 100%;
    text-align: center;
    margin: 6rem auto;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ff0080;
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.6);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.reference-more-hint.show {
    opacity: 1;
    transform: translateY(0);
}

.highlight-tour-section {
    padding: 60px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 21;
}

/* Highlight Tour Feature */
.highlight-tour-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.highlight-content {
    flex: 1;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ce28ec, #5f0f9d);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(206, 40, 236, 0.3);
}

.highlight-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.highlight-visual {
    flex: 1.2;
}

.highlight-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-image-wrapper:hover {
    transform: scale(1.03) translateY(-10px);
}

.highlight-image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.highlight-image-wrapper:hover img {
    transform: scale(1.1);
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.highlight-image-wrapper:hover .highlight-overlay {
    background: rgba(0,0,0,0.1);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.highlight-image-wrapper:hover .play-icon {
    transform: scale(1.15);
    background: #ce28ec;
    color: #fff;
}

@media (max-width: 992px) {
    .highlight-tour-container {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
        gap: 3rem;
        margin: 4rem 1.5rem 0 1.5rem;
    }
    .highlight-content h2 {
        font-size: 2.5rem;
    }
}

/* Parallax 360 Video Section with Video Background */
.video-parallax-section {
    position: relative;
    width: 100%;
    min-height: 90vh; /* Slightly taller for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 20;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darken to make text pop */
    backdrop-filter: blur(2px); /* Slight blur for professional look */
}

.parallax-split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
}

.parallax-text {
    flex: 1;
    text-align: center;
    padding: 4rem;
    border-radius: 40px;
}
.parallax-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.parallax-3d-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
}

.floating-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    will-change: transform;
    display: block;
}

/* --- Features Section --- */
.features-section {
    padding: 6rem 5%;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    flex: 0 1 320px; /* Nimmt ca 320px Platz ein, füllt flexibel */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    animation: cardFloat 8s infinite ease-in-out;
    position: relative;
}

.feature-card:nth-child(even) {
    animation-delay: -4s;
}
.feature-card:nth-child(3n) {
    animation-delay: -2s;
}

.feature-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) rotateX(10deg) rotateY(-5deg) scale(1.05); /* Starker 3D Popout */
    box-shadow: -15px 25px 40px rgba(0,0,0,0.5);
    z-index: 10;
}

.icon-3d-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(206, 40, 236, 0.2), rgba(95, 15, 157, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.icon-3d-element {
    font-size: 2.5rem;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    animation: float3D 6s infinite ease-in-out;
    will-change: transform;
}

.feature-card:nth-child(even) .icon-3d-element {
    animation-delay: 1.5s;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 3D Animated Button */
.btn-3d {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ce28ec, #5f0f9d);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(206, 40, 236, 0.4), 
                inset 0 -4px 0 rgba(0, 0, 0, 0.3); /* The 3D bottom edge */
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.btn-3d:hover {
    transform: translateY(-5px) scale(1.03); /* Lifts up and scales */
    box-shadow: 0 15px 35px rgba(206, 40, 236, 0.5), 
                inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
    transform: translateY(2px); /* Presses down */
    box-shadow: 0 5px 10px rgba(206, 40, 236, 0.3), 
                inset 0 -1px 0 rgba(0, 0, 0, 0.3); /* Flatten edge */
}

/* Footer */
.main-footer {
    background: var(--bg-color);
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 20;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}
.footer-address {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}
.footer-address strong {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--text-color);
}

.footer-logo {
    max-height: 60px;
    margin: 0 auto 1rem auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar { 
        padding: 1rem 1.5rem; 
        grid-template-columns: 1fr auto; 
    }
    
    .nav-center { display: none; }
    
    .hamburger { display: flex; position: relative; z-index: 1001; }
    
    .nav-links { 
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100vw; /* Full width for mobile for better experience */
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 8rem 2rem;
        gap: 1.5rem;
        transform: translateY(-100%); /* Slide from top as requested "smoothly" */
        opacity: 0;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
        z-index: 998;
        pointer-events: none;
        align-items: center;
        border-bottom: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Sequential animation for links */
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active .lang-switch { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
    .nav-links.active .theme-toggle { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

    .lang-switch, .theme-toggle {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .glass { padding: 1.5rem; }
    .signup-form { flex-direction: column; }
    .step { padding: 0 5%; }
    
    .parallax-split-container { flex-direction: column; text-align: center; gap: 2rem; }
    .parallax-text { text-align: center; padding: 1rem; }
    .floating-img { max-width: 100%; border-radius: 12px; }
    
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .footer-links { text-align: center; flex-direction: column; align-items: center; }
    
    /* Disable custom cursor on mobile touch devices */
    .cursor-dot, .cursor-outline { display: none; }
    body, a, button, .slider-btn, .hamburger { cursor: auto !important; }
}
