* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7b2ff7;
    --accent-color: #ff00ff;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(20, 20, 30, 0.68);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    display: block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Network Background */
.network-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    display: block;
    margin: 0;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: rgba(0, 212, 255, 0.4);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    animation: linePulse 8s ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

.network-line.line-1 { animation-delay: 0s; }
.network-line.line-2 { animation-delay: 0.5s; }
.network-line.line-3 { animation-delay: 1s; }
.network-line.line-4 { animation-delay: 1.5s; }
.network-line.line-5 { animation-delay: 2s; }
.network-line.line-6 { animation-delay: 2.5s; }
.network-line.line-7 { animation-delay: 3s; }
.network-line.line-8 { animation-delay: 3.5s; }
.network-line.line-9 { animation-delay: 4s; }
.network-line.line-10 { animation-delay: 4.5s; }
.network-line.line-11 { animation-delay: 5s; }
.network-line.line-12 { animation-delay: 5.5s; }
.network-line.line-13 { animation-delay: 6s; }
.network-line.line-14 { animation-delay: 6.5s; }

@keyframes linePulse {
    0%, 100% {
        stroke: rgba(0, 212, 255, 0.4);
        stroke-width: 1.5;
        filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    }
    50% {
        stroke: rgba(123, 47, 247, 0.6);
        stroke-width: 2;
        filter: drop-shadow(0 0 3px rgba(123, 47, 247, 1)) drop-shadow(0 0 8px rgba(123, 47, 247, 0.7));
    }
}

.network-node {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: none;
}



.node-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                0 0 40px rgba(0, 212, 255, 0.4);
    animation: nodePulse 1.5s ease-in-out infinite;
    position: relative;
    transition: box-shadow 0.1s ease-out, transform 0.1s ease-out;
}

.node-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.2) 50%, transparent 100%);
    animation: nodeRipple 3s ease-out infinite;
}

@keyframes nodePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                    0 0 40px rgba(0, 212, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(123, 47, 247, 1),
                    0 0 50px rgba(123, 47, 247, 0.5);
        transform: scale(1.2);
    }
}

@keyframes nodeRipple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

.node-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    will-change: opacity;
}

.pulse-dot {
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 100;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.linkedin-link {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.linkedin-link:hover {
    color: #0a66c2;
    transform: scale(1.15);
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

.header-navigation-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 1;
    margin-top: 0.3rem;
}

.header-nav-prev,
.header-nav-next {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #cccccc;
    opacity: 1;
    display: none;
}

.header-nav-prev {
    text-align: left;
}

.header-nav-next {
    text-align: right;
}

.header-nav-current {
    flex: 0 0 auto;
    padding: 0 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 1;
    color: #00d4ff;
}

.logo > .logo-text > span:first-child {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.header-navigation-preview span {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(123, 47, 247, 0.7));
}

.mobile-controls {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 102;
}

.swipe-hint {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.5rem;
    color: #00d4ff;
    animation: swipePulse 5s ease-in-out infinite;
    opacity: 0.3;
}

.swipe-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    animation: swipeWiggle 5s ease-in-out infinite;
}

.swipe-text {
    font-size: 1rem;
    color: #cccccc;
    filter: grayscale(100%);
}

@keyframes swipePulse {
    0%, 100% {
        opacity: 0.3;
    }
    45%, 55% {
        opacity: 0.9;
    }
}

@keyframes swipeWiggle {
    0%, 40%, 60%, 100% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(2px);
    }
    55% {
        transform: translateX(-2px);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    align-items: center;
}

.nav-item.current-page {
    display: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-title {
    display: none;
}

/* Hero Section */
.hero-section {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.hero-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 12rem;
    max-width: 800px;
    width: calc(100% - 4rem);
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(123, 47, 247, 0.7)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 3rem;
    line-height: 1.8;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4),
                 0 0 15px rgba(0, 212, 255, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 3px solid rgba(0, 212, 255, 0.4);
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-primary {
    background: var(--card-bg);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-primary:hover {
    background: var(--card-bg);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4),
                0 0 20px rgba(0, 212, 255, 0.3);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8),
                 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-secondary:hover {
    background: var(--card-bg);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4),
                0 0 20px rgba(0, 212, 255, 0.3);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8),
                 0 0 30px rgba(0, 212, 255, 0.5);
}

/* Features Section */
.features-section {
    display: block;
    width: 100%;
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
    clear: both;
    background: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6),
                 0 0 30px rgba(0, 212, 255, 0.4),
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4),
                0 0 25px rgba(0, 212, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                 0 0 20px rgba(0, 212, 255, 0.3);
}

.feature-card p {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4),
                 0 0 15px rgba(0, 212, 255, 0.2);
}

/* Content Section */
.content-section {
    padding: 220px 2rem 5rem;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.content-section > .network-bg,
.content-section > .control-tech-bg,
.content-section > .animated-bg {
    position: fixed !important;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 10;
}

.content-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4),
                0 0 25px rgba(0, 212, 255, 0.3);
}

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4),
                 0 0 15px rgba(0, 212, 255, 0.2);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;    position: relative;
    z-index: 10;}

.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.info-item p,
.contact-form-container > p,
.info-box ul li {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4),
                 0 0 15px rgba(0, 212, 255, 0.2);
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.contact-form-container > p {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.85rem;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.35);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4),
                0 0 30px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    display: block;
}

/* Info Section */
.info-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.info-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.info-section p {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4),
                 0 0 15px rgba(0, 212, 255, 0.2);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Intro Text Section */
.intro-text {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Highlight Section */
.highlight-section {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.highlight-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 5rem;
}

/* Responsive Design - Mobile Devices */
@media only screen and (max-width: 768px),
       only screen and (max-device-width: 768px) {
    
    .nav-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .logo-text {
        display: flex !important;
    }
    
    .header-navigation-preview {
        display: flex !important;
    }
    
    .header-nav-prev,
    .header-nav-next {
        display: block !important;
    }
    
    .mobile-controls {
        display: flex !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .logo {
        order: 1;
    }
    
    .nav-menu {
        position: fixed;
        right: 0;
        top: -500px;
        flex-direction: column;
        background-color: rgba(10, 10, 30, 0.7);
        width: auto;
        min-width: 150px;
        text-align: right;
        transition: top 0.3s ease;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6),
                    0 0 40px rgba(0, 212, 255, 0.4),
                    0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 1.5rem 1rem 1.5rem;
        gap: 0;
        backdrop-filter: blur(10px);
        border: 2px solid var(--primary-color);
        border-top: none;
        border-radius: 0 0 0 20px;
        z-index: 2000;
        order: 4;
    }
    
    .mobile-menu-title {
        display: flex;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 212, 255, 0.3);
        text-align: center;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .mobile-menu-title .page-navigation-preview {
        display: none;
    }

.page-navigation-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 1;
}

.page-nav-prev, .page-nav-next {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #cccccc;
    opacity: 1;
}

.page-nav-prev {
    text-align: left;
}

.page-nav-next {
    text-align: right;
}

.page-nav-current {
    flex: 0 0 auto;
    padding: 0 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 1;
    color: #00d4ff;
}

@media (max-width: 768px), (max-device-width: 768px) {
    .nav-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }
    
    .mobile-menu-title {
        display: flex;
    }
    
    .nav-menu.active {
        top: calc(120px + 2rem + 2px) !important;
    }
    
    .nav-menu li {
        padding: 0.3rem 0;
        border-bottom: none;
        width: 100%;
        margin: 0;
        line-height: 1;
    }
    
    .nav-menu a {
        font-size: 1rem;
        display: block;
        width: 100%;
        text-align: right;
        padding: 0;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .contact-form-container > p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .info-item {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }

    .info-box {
        margin-top: 1.2rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .form-group label {
        font-size: 0.92rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .checkbox-label {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    #riddle-choices {
        gap: 0.4rem !important;
    }

    #riddle-choices button {
        padding: 0.45rem 0.8rem !important;
        font-size: 0.86rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 180px 1rem 3rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 1rem;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.85rem 1.2rem;
    }
}
/* Control Tech Animation Background */
.control-tech-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 100%) !important;
    display: block !important;
    will-change: transform;
    margin: 0 !important;
    padding: 0 !important;
}

.tech-value {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8),
                 0 0 20px rgba(0, 212, 255, 0.4);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.tech-icon {
    position: fixed;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.tech-icon.switch {
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.8));
}

.tech-icon.motor {
    filter: drop-shadow(0 0 8px rgba(0, 255, 100, 0.8));
}

.tech-icon.led {
    filter: drop-shadow(0 0 8px rgba(255, 50, 50, 0.8));
}

.tech-icon.logic {
    filter: drop-shadow(0 0 8px rgba(123, 47, 247, 0.8));
}

@keyframes rotate-motor {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tech-icon.motor.active {
    animation: rotate-motor 2s linear infinite;
}

.tech-icon.led.on {
    color: #ff3333;
    text-shadow: 0 0 20px rgba(255, 51, 51, 1),
                 0 0 40px rgba(255, 51, 51, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 50, 50, 1));
}

.tech-icon.led.off {
    color: #662222;
    text-shadow: none;
    filter: drop-shadow(0 0 2px rgba(255, 50, 50, 0.2));
}

.tech-icon.switch.pressed {
    transform: scale(0.9);
    filter: drop-shadow(0 0 15px rgba(255, 200, 0, 1));
}

/* ===== TOUCH SWIPE NAVIGATION ===== */

/* Swipe-Hint standardmäßig versteckt – nur sichtbar auf Touch-Geräten */
.swipe-hint {
    display: none !important;
}

body.touch-device .swipe-hint {
    display: flex !important;
}

body.touch-device .swipe-hint.swipe-hint--hidden {
    display: none !important;
}

/* Aktuelle Seite im Header: Weiß mit Blur/Glow-Effekt */
.header-nav-current {
    color: #ffffff !important;
    text-shadow:
        0 0 4px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.45);
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

/* Vorherige / Nächste Seite: Kleiner und Grau */
.header-nav-prev,
.header-nav-next {
    font-size: 0.62rem !important;
    color: #888888 !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .header-nav-current {
        text-shadow:
            0 0 1px rgba(255, 255, 255, 0.75),
            0 0 2px rgba(255, 255, 255, 0.3),
            0 0 4px rgba(255, 255, 255, 0.12) !important;
    }

    body[data-page="kontakt"] .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    body[data-page="kontakt"] .contact-info,
    body[data-page="kontakt"] .contact-form-container {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    body[data-page="kontakt"] .contact-info h2,
    body[data-page="kontakt"] .contact-form-container h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.9rem !important;
    }

    body[data-page="kontakt"] .contact-form {
        gap: 0.9rem !important;
    }

    body[data-page="kontakt"] .form-group input,
    body[data-page="kontakt"] .form-group textarea {
        padding: 0.72rem !important;
        font-size: 0.92rem !important;
        border-width: 2px !important;
    }

    body[data-page="kontakt"] .checkbox-label {
        font-size: 0.84rem !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    body[data-page="kontakt"] .content-section {
        padding: 170px 0.9rem 2.5rem !important;
    }

    body[data-page="kontakt"] #riddle-choices button {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.82rem !important;
    }
}

@media (min-width: 769px) {
    body[data-page="kontakt"] .contact-wrapper {
        grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1fr) !important;
        gap: 1.4rem !important;
        align-items: start;
    }

    body[data-page="kontakt"] .contact-form-container {
        max-width: 520px;
        width: 100%;
        justify-self: center;
        padding: 1.35rem !important;
        border-radius: 14px !important;
    }

    body[data-page="kontakt"] .contact-form-container h2 {
        font-size: 1.15rem !important;
        margin-bottom: 0.8rem !important;
    }

    body[data-page="kontakt"] .contact-form-container > p {
        font-size: 0.9rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0.75rem;
    }

    body[data-page="kontakt"] .contact-form {
        gap: 0.8rem !important;
    }

    body[data-page="kontakt"] .form-group label {
        font-size: 0.86rem;
        margin-bottom: 0.35rem;
    }

    body[data-page="kontakt"] .form-group input,
    body[data-page="kontakt"] .form-group textarea {
        padding: 0.65rem !important;
        font-size: 0.84rem !important;
        border-width: 2px !important;
    }

    body[data-page="kontakt"] .form-group textarea {
        min-height: 90px;
    }

    body[data-page="kontakt"] .checkbox-label {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
    }

    body[data-page="kontakt"] #riddle-question {
        font-size: 0.88rem !important;
    }

    body[data-page="kontakt"] #riddle-choices button {
        padding: 0.36rem 0.7rem !important;
        font-size: 0.8rem !important;
    }

    body[data-page="kontakt"] #submit-btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.88rem;
    }
}
