/* 
  Sechsmeter.de - Ultra Modern Landing Page
  Premium Futuristic Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    --bg-deep: #020202;
    --bg-card: #0a0a0a;
    --primary: #84cc16; /* New Brand Lime Green */
    --accent: #a3e635;  /* Lighter Lime for accents */
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0) 0%, var(--bg-deep) 100%);
    z-index: 1;
}

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

html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    max-width: 100%;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- UTILS --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-glow {
    text-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

/* --- MOBILE MENU --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
}

.mobile-menu.active {
    right: 0;
    opacity: 1;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu-links a {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

body.no-scroll {
    overflow: hidden;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
    letter-spacing: -0.02em;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #4d7c0f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #000;
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.4);
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(132, 204, 22, 0.4); }
    50% { box-shadow: 0 0 40px rgba(132, 204, 22, 0.8); }
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 40px rgba(132, 204, 22, 0.4);
}

.btn-outline {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(10px);
    position: relative;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.2);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    max-width: 850px;
    z-index: 5;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(132, 204, 22, 0.1);
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 3.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Video Background hides the static visual image */
.hero-visual {
    display: none;
}

.hero-gradient {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* --- BENTO GRID --- */
.section-header {
    text-align: center;
    margin-bottom: 8rem;
}

#intelligence {
    padding-top: 15rem !important;
    padding-bottom: 15rem !important;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.bento-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 5;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 80%;
    position: relative;
    z-index: 5;
    line-height: 1.6;
}

.bento-item.medium p,
.bento-item.large p {
    max-width: 50%; /* Strictly limit width to leave space for images */
}

.bento-visual-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.1;
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
}

.bento-ui-card {
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 60%;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: perspective(1000px) rotateX(10deg) rotateY(-15deg);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    overflow: hidden;
}

.bento-item:hover .bento-ui-card {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-20px) translateX(-20px);
    box-shadow: 0 40px 80px rgba(132, 204, 22, 0.2);
    border-color: rgba(132, 204, 22, 0.3);
}

.bento-ui-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.8;
}

/* Removed bento-image-preview as requested */

/* --- PHILOSOPHY --- */
.stats {
    padding: 15rem 0;
    background: linear-gradient(to bottom, var(--bg-deep), #050505);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
}

.stat-card {
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    width: 100px;
    height: 100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.05);
    transition: all 0.4s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden; /* Prevent wide images from scrolling */
}

.hero-visual img {
    width: 100%;
    max-width: 120%;
    transform: perspective(1000px) rotateY(-20deg) rotateX(10deg);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    transition: all 0.8s ease-out;
}

.stat-card:hover .stat-number {
    background: rgba(132, 204, 22, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.2);
    color: #fff;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* --- CTA --- */
.cta {
    padding: 10rem 0;
    position: relative;
}

.cta-card {
    background: radial-gradient(circle at 0% 0%, rgba(132, 204, 22, 0.2), transparent), var(--bg-card);
    border: 1px solid var(--border);
    padding: 6rem;
    border-radius: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.cta-card p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* --- FOOTER --- */
footer {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1 1 300px;
    min-width: 250px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-col {
    flex: 1 1 150px;
    min-width: 120px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* --- ANIMATIONS --- */
@keyframes reveal {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.reveal {
    animation: reveal 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .hero h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
    .bento-grid { 
        grid-template-columns: repeat(2, 1fr); 
        grid-template-rows: auto;
        gap: 1rem;
    }
    .bento-item.large, .bento-item.medium { grid-column: span 2; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; width: 100%; overflow: hidden; }
    .hero { padding-top: 100px; padding-bottom: 50px; min-height: auto; }
    .hero-visual { margin-top: 3rem; width: 100%; }
    .hero-visual img { max-width: 100%; transform: none; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    
    .bento-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
    }
    .bento-item.large, .bento-item.medium { grid-column: span 1; }
    .bento-item { padding: 2rem; min-height: 250px; }
    .bento-item p { max-width: 100%; }
    .bento-ui-card { display: none; } /* Hide heavy UI cards on mobile for clarity */

    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .cta-card { padding: 3rem 1.5rem; border-radius: 32px; }
    .cta-card h2 { font-size: clamp(1.8rem, 9vw, 2.8rem); word-break: normal; hyphens: none; }
    .cta-trust { flex-direction: column; gap: 1rem !important; align-items: center; margin-top: 2rem !important; }

    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    
    footer { padding: 4rem 0 2rem 0; }
    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-brand { margin: 0 auto; }
    .footer-brand p { margin: 1.5rem auto 0 auto; }
    .footer-col { width: 100%; }
}
