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

body{
    font-family:Inter,sans-serif;
    background:#f6f8fb;
    color:#222;
    font-size:14px;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header{
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:70px;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#00a86b;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#444;
    font-weight:500;
}

.button{
    background:#00a86b;
    color:white;
    padding:10px 20px;
    border-radius:8px;
}

.breadcrumb{
    margin-top:12px;
    font-size:13px;
    color:#666;
}

.breadcrumb a{
    color:#666;
    text-decoration:none;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f2937;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* Hero */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 25px;
    border-bottom: 1px solid #e5e7eb;
}

.hero-left {
    max-width: 650px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 32px;
    color: #111827;
}

.hero p {
    margin: 0 0 16px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 11px;
    border-radius: 15px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
}

.tag.blue {
    background: #eff6ff;
    color: #2563eb;
}
.robot-arm {
    position: relative;
    width: 190px;
    height: 120px;
}

.joint {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #374151;
    border: 5px solid #d1d5db;
    z-index: 3;
}

.joint-one {
    left: 25px;
    top: 65px;
}

.joint-two {
    left: 105px;
    top: 35px;
}

.link {
    position: absolute;
    height: 14px;
    background: #6b7280;
    border-radius: 10px;
    transform-origin: left center;
}

.link-one {
    width: 90px;
    left: 40px;
    top: 77px;
    transform: rotate(-20deg);
}

.link-two {
    width: 75px;
    left: 120px;
    top: 47px;
    transform: rotate(35deg);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 10px;
    overflow-x: auto;
}

.tab {
    padding: 15px 4px 12px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

/* Main content */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.main-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px;
    background: white;
}

.main-card h2 {
    margin-top: 0;
    font-size: 20px;
    color: #111827;
}

.main-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

/* Bullet list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    margin: 12px 0;
    font-size: 14px;
    color: #374151;
}

.feature-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
}

/* Block diagram */
.diagram {
    margin-top: 25px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.diagram-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #374151;
}

.diagram-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.diagram-box {
    min-width: 130px;
    padding: 15px 12px;
    background: white;
    border: 1px solid #9ca3af;
    border-radius: 5px;
    font-size: 12px;
    color: #374151;
}

.arrow {
    font-size: 20px;
    color: #6b7280;
}

/* Quick facts */
.quick-facts {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #f9fafb;
    height: fit-content;
}

.quick-facts h3 {
    margin-top: 0;
    font-size: 16px;
    color: #111827;
}

.fact {
    margin: 18px 0;
}

.fact-title {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 5px;
}

.fact-value {
    font-size: 13px;
    color: #111827;
    font-weight: 500;
}

/* Hidden sections */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 800px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .hero-visual {
        width: 100%;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .tabs {
        gap: 18px;
    }
}

#downloads .main-card p {
margin-bottom: 20px;
}

#downloads .button {
    display: inline-block;
    position: relative;
    margin-top: 5px;
    text-decoration: none;
    line-height: 1.4;
}

#simulation .main-card p,
#downloads .main-card p {
    margin-bottom: 20px;
}

#simulation .button,
#downloads .button {
    display: inline-block;
    margin-top: 5px;
    position: relative;
}

.hero-visual {
    width: 420px;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.hero-visual iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


 footer{
    background:#1b1f24;
    color:#ccc;
    margin-top:80px;
    padding:50px 0;
    text-align:left;
}

footer h3{
    color:white;
    margin-bottom:15px;
} 

/* Footer */
.main-footer {

    /* background: var(--surface-dark);
    border-top: 1px solid var(--glass-border); */
    padding: 0rem 0 2rem;
    /* margin-top: 8rem; */
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
  padding-top: 0.5%;
  position: absolute;
  left: 0;
  /* bottom: 1.4%; */
  width: 100%;
  font-size: 0.75em;
  text-align: center;
 
}

#id_version{
  position: absolute;
  font-family: Verdana;
  bottom: 0.5%;
 
  right: 5%;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}