:root {
    --primary: #00a8ff;
    --background: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #fbbf24;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

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

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--glass);
    padding: 0.3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections specific styles */
.tech-section {
    background: linear-gradient(180deg, var(--background) 0%, #1e293b 100%);
}

.wellness-section {
    background: linear-gradient(180deg, #1e293b 0%, #134e4a 100%);
}

.wellness-card {
    border-color: rgba(45, 212, 191, 0.2);
}

.wellness-card:hover {
    border-color: #2dd4bf;
    background: rgba(19, 78, 74, 0.4);
}

.wellness-card h3 {
    color: #2dd4bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background grid effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 168, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Users/lucianobalzano/.gemini/antigravity/brain/caf2fbd4-f53b-460b-9502-d1d3cae7d046/industrial_consultancy_hero_mockup_1772611723061.png') center/cover;
    filter: brightness(0.4) saturate(1.2);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.6);
    filter: brightness(1.1);
}

/* Value Props Section */
.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    margin-top: 4rem;
}

.highlight-box blockquote {
    font-size: 2rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* --- Instruments App Styles --- */

.inst-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inst-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inst-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.play-badge {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.play-badge:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.play-badge svg {
    margin-right: 0.8rem;
    width: 24px;
    height: 24px;
}

.inst-desc-section {
    background: var(--background);
    padding: 4rem 0;
    text-align: center;
}

.inst-desc-section p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text);
    line-height: 1.8;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--card-bg);
    border: 1px solid var(--border);
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary);
}

/* Feature list specifics */
.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: inline-block;
}

.feat-card {
    text-align: center;
    padding: 2rem;
}

/* Visit Counter Styles */
.visit-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.visit-counter #counter-value {
    color: var(--primary);
    font-weight: 700;
}