/*
TemplateMo 597 Neural Glass
https://templatemo.com/tm-597-neural-glass
VERSION RESPONSIVE OPTIMISÉE
*/

@charset "utf-8";

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #000;
    color: #e0a3ff;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND ===== */
.neural-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 15% 85%, rgba(75, 0, 130, 0.7) 0%, transparent 50%),
                radial-gradient(circle at 85% 15%, rgba(139, 37, 99, 0.8) 0%, transparent 50%),
                radial-gradient(circle at 45% 60%, rgba(128, 0, 128, 0.6) 0%, transparent 50%),
                radial-gradient(circle at 70% 40%, rgba(34, 139, 34, 0.4) 0%, transparent 50%),
                linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000000 100%);
    animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { filter: brightness(0.9) saturate(1.4) hue-rotate(0deg); }
    33% { filter: brightness(1.1) saturate(1.7) hue-rotate(15deg); }
    66% { filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg); }
}

/* ===== GEOMETRIC SHAPES ===== */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 1px solid rgba(0, 255, 255, 0.3);
    animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(255, 105, 180, 0.4);
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: -5s;
    border-radius: 50%;
    border-color: rgba(147, 112, 219, 0.4);
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 30%;
    animation-delay: -10s;
    transform: rotate(45deg);
    border-color: rgba(224, 163, 255, 0.4);
}

.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    left: 50%;
    animation-delay: -15s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), transparent);
}

@keyframes floatShape {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10%, 90% { opacity: 1; }
    to {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== NEURAL LINES ===== */
.neural-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.neural-line {
    position: absolute;
    height: 1px;
    animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) {
    top: 20%;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
    animation-delay: 0s;
}

.neural-line:nth-child(2) {
    top: 60%;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    animation-delay: -1s;
}

.neural-line:nth-child(3) {
    top: 40%;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, #9370db, transparent);
    animation-delay: -2s;
}

@keyframes neuralPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ===== GLASS EFFECTS ===== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 96%;
    max-width: 1200px;
    padding: 16px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(224, 163, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(224, 163, 255, 0.15);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    background: rgba(224, 163, 255, 0.12);
    backdrop-filter: blur(30px);
    border-color: rgba(224, 163, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    background: linear-gradient(45deg, #e0a3ff, #ff69b4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 500;
    white-space: nowrap;
}

.nav-links a.active {
    color: #e0a3ff;
    background: linear-gradient(135deg, rgba(224, 163, 255, 0.15), rgba(255, 105, 180, 0.1));
    box-shadow: 0 0 20px rgba(224, 163, 255, 0.4);
    border: 1px solid rgba(224, 163, 255, 0.3);
    text-shadow: 0 0 10px rgba(224, 163, 255, 0.8);
}

.nav-links a:hover {
    color: #e0a3ff;
    background: rgba(224, 163, 255, 0.1);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #e0a3ff, #ff69b4);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 99;
}

.mobile-nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(224, 163, 255, 0.15);
    color: #e0a3ff;
    box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 20px;
}

.hero-content {
    max-width: 1000px;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 40px);
    margin-top: clamp(80px, 15vw, 120px);
    animation: heroAppear 2.5s ease-out;
    width: 100%;
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: #e0a3ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
}

.hero h1 {
    font-size: clamp(1.8rem, 6vw, 4rem);
    margin-bottom: 25px;
    background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 30%, #9370db 60%, #e0a3ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: modernGradient 8s ease infinite;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

@keyframes modernGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    max-width: 700px;
    margin: 30px auto 40px;
}

.hero-description p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #d1d1d1;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(20px, 4vw, 40px);
    background: linear-gradient(135deg, #e0a3ff, #ff69b4);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(224, 163, 255, 0.2);
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(224, 163, 255, 0.3);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: clamp(80px, 15vw, 150px) 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: clamp(40px, 8vw, 80px);
    color: #00ffff;
    position: relative;
}

.features-container {
    max-width: 1240px;
    margin: 0 auto;
}

.diagonal-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 8vw, 60px);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: clamp(30px, 6vw, 80px);
    flex-direction: column;
}

.feature-content {
    flex: 1;
    padding: clamp(25px, 5vw, 50px);
    transition: all 0.4s ease;
    width: 100%;
}

.feature-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}

.feature-visual {
    flex: 1;
    height: clamp(200px, 40vw, 300px);
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
    position: relative;
    min-height: 250px;
}

.feature-visual:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(224, 163, 255, 0.3);
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(224, 163, 255, 0.1), rgba(255, 105, 180, 0.1));
    z-index: 1;
    backdrop-filter: blur(1px);
}

.feature-row:nth-child(1) .feature-visual {
    background-image: url('images/royal-kids-m-con-macon.avif');
}

.feature-row:nth-child(2) .feature-visual {
    background-image: url('images/structure-de-jeux-pour.jpg');
}

.feature-icon {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-content p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #cccccc;
    line-height: 1.8;
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
    padding: clamp(80px, 15vw, 150px) 20px;
    position: relative;
}

.hexagon-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 60px);
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
    row-gap: clamp(40px, 6vw, 80px);
}

.hexagon {
    width: 100%;
    max-width: 220px;
    height: 290px;
    position: relative;
    transition: all 0.4s ease;
}

.hexagon:hover {
    transform: scale(1.1);
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(30deg);
    border-radius: 25px;
    padding: 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hexagon:hover .hexagon-inner {
    transform: rotate(0deg);
    border-radius: 15px;
}

.hexagon:nth-child(odd) .hexagon-inner {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(255, 0, 128, 0.12));
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.hexagon:nth-child(even) .hexagon-inner {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.12), rgba(128, 0, 255, 0.12));
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.hexagon-icon {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
    transform: rotate(-30deg);
    filter: drop-shadow(0 0 10px currentColor);
    transition: all 0.4s ease;
}

.hexagon:hover .hexagon-icon {
    transform: rotate(0deg);
}

.hexagon h4 {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #ffffff;
    transform: rotate(-30deg);
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.hexagon:hover h4 {
    transform: rotate(0deg);
}

.hexagon p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #e0e0e0;
    transform: rotate(-30deg);
    line-height: 1.5;
    transition: all 0.4s ease;
}

.hexagon:hover p {
    transform: rotate(0deg);
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    padding: clamp(60px, 12vw, 100px) 20px;
    position: relative;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e0a3ff, #ff69b4, #9370db);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    padding-left: 80px;
    position: relative;
    margin-bottom: 50px;
}

.timeline-content {
    max-width: 100%;
    padding: clamp(25px, 5vw, 50px) clamp(20px, 4vw, 40px);
    position: relative;
    transition: all 0.4s ease;
    background: rgba(224, 163, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(224, 163, 255, 0.15);
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(224, 163, 255, 0.2);
    border-color: rgba(224, 163, 255, 0.3);
}

.timeline-dot {
    position: absolute;
    left: 30px;
    top: 40px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff69b4, #e0a3ff);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.6);
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: #d1d1d1;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: clamp(80px, 15vw, 150px) 20px;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 60px);
    align-items: start;
}

.contact-info {
    padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 40px);
}

.contact-form {
    padding: clamp(30px, 6vw, 50px) clamp(20px, 4vw, 40px);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(0.9rem, 2vw, 1rem);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00ffff, #ff0080);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.contact-info h3 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #00ffff;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    color: #00ffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: clamp(40px, 8vw, 60px) 20px clamp(20px, 4vw, 40px);
    border-top: 1px solid rgba(224, 163, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 30px);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.footer-links a:hover {
    color: #e0a3ff;
    text-shadow: 0 0 10px rgba(224, 163, 255, 0.5);
}

.footer-links a i {
    margin-right: 5px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.footer-copyright {
    color: #888;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    margin-bottom: 15px;
}

.footer-design {
    color: #666;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    margin-top: 20px;
}

.footer-design a {
    color: #e0a3ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-design a:hover {
    color: #ff69b4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #ff0080);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff0080, #8000ff);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

/* ===== ACCESSIBILITY ===== */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px dashed rgba(224, 163, 255, 0.6);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large tablets and small desktops */
@media (min-width: 769px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .feature-row {
        flex-direction: row;
    }
    
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item {
        justify-content: flex-end;
        padding-right: 60px;
        padding-left: 0;
    }
    
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
        top: 60px;
    }
}

/* Desktop navigation */
@media (min-width: 1001px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Tablets and below */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    header {
        top: 15px;
        padding: 12px 20px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 12px 16px;
    }
    
    .geometric-shapes,
    .neural-lines {
        opacity: 0.3;
    }
    
    .shape {
        animation-duration: 30s;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        width: 100%;
    }
    
    /* FIX IMAGES ON MOBILE */
    .feature-visual {
        height: 250px;
        min-height: 250px;
        max-height: 300px;
        width: 100%;
        background-size: cover;
        background-position: center center;
        border-radius: 15px;
    }
    
    .feature-visual::before {
        backdrop-filter: none;
    }
    
    /* FIX HEXAGONS SPACING ON MOBILE */
    .hexagon-container {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
        gap: 40px;
    }
    
    .hexagon {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 280px;
        margin: 0;
    }
    
    .hexagon-inner {
        transform: rotate(0deg) !important;
        border-radius: 20px;
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .hexagon-icon {
        transform: rotate(0deg) !important;
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .hexagon h4 {
        transform: rotate(0deg) !important;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .hexagon p {
        transform: rotate(0deg) !important;
        font-size: 0.95rem;
    }
    
    .hexagon:hover .hexagon-inner,
    .hexagon:hover .hexagon-icon,
    .hexagon:hover h4,
    .hexagon:hover p {
        transform: rotate(0deg) !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-subtitle::before,
    .hero-subtitle::after {
        display: none;
    }
    
    .social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .glass {
        border-width: 2px;
    }
    
    .nav-links a,
    .mobile-nav a {
        border-width: 2px;
    }
}