/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* BODY */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

/* LOGO */
.logo {
    height: 28px;
    width: auto;
    display: block;
}

/* --- TIMELINE STYLES --- */
.timeline-section {
    width: 100vw;
    min-height: 25vh;
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 80px -40px;
    display: flex;
    justify-content: left;
    align-items: left;
}

.timeline {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1400px;
    align-items: center;
}

/* NEON LINE */
.timeline::before {
    content: "";
    position: absolute;
    top: 39%;
    left: 0;
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, #b16cff, #7f00ff);
    transform: translateY(-50%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(177,108,255,0.9),
                    0 0 25px rgba(127,0,255,0.7);
}

.timeline-item {
    position: relative;
    width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #000;
    border: 3px solid #b16cff;
    box-shadow: 0 0 10px #b16cff, 0 0 20px #7f00ff;
    position: relative;
    top: 0;
    z-index: 3;
}

.timeline-date {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 18px;
    font-size: 12px;
    border-radius: 30px;
    background: linear-gradient(90deg, #b16cff, #7f00ff);
    box-shadow: 0 0 12px rgba(177,108,255,0.8),
                    0 0 28px rgba(127,0,255,0.6);
}

.timeline-card {
    background: #0b0b0f;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(127,0,255,0.15);
    margin-top: 12px;
    width: 100%;
}

.timeline-card h3 {
    margin: 0 0 6px;
    font-size: 9px;
    color: #b16cff;
}

.timeline-card p {
    font-size: 13px;
    color: #ddd;
    margin: 0;
}

.timeline-item:hover .timeline-date {
    box-shadow: 0 0 18px #b16cff, 0 0 40px #7f00ff;
}

/* --- PRICING TABLE STYLES --- */
.pricing-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    /* Inheriting font from body to maintain look, ensuring table text is white/styled */
    color: white; 
    font-family: Arial, Helvetica, sans-serif;
}

.pricing-title {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 500;
}

.pricing-table {
    width: 150%;
    border-collapse: collapse;
    background: #7c3aed;
    border-radius: 14px;
    overflow: hidden;
}

.pricing-table thead th {
    text-align: left;
    padding: 20px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #000000;
    border-bottom: 1px solid rgba(61, 1, 81, 0.08);
}

.pricing-table tbody tr {
    background: #5014b8;
    border-bottom: 1px solid rgba(61, 4, 86, 0.944);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 24px 20px;
    vertical-align: top;
    font-size: 16px;
    color: rgb(255, 255, 255);
}

.plan-name {
    font-weight: 600;
    font-size: 17px;
}

.plan-price {
    font-weight: 600;
    white-space: nowrap;
}

.plan-desc {
    color: #ffffff;
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.5;
}

.highlight {
    color: #facc15;
}

/* --- FOOTER STYLES --- */
.site-footer {
    position: relative;
    background: #00000000;
    padding: 80px 60px 40px;
    border-top: 1px solid rgba(115, 14, 148, 0.1);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
        1100px 420px at 55% -15%,
        rgba(23, 23, 23, 0.28),
        rgba(0,0,0,0.85) 55%,
        rgba(0,0,0,1) 100%
        );
    z-index: 0;
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
        120deg,
        rgba(76, 39, 97, 0.04),
        rgba(46, 20, 67, 0.92) 70%,
        rgba(0,0,0,1)
        );
    z-index: 0;
    pointer-events: none;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-column {
    position: relative;
}

.footer-column::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
}

.footer-column:last-child::after {
    display: none;
}

/* --- LAYOUT & COMPONENTS --- */
.layer-blur{
    height: 0;
    width: 30rem;
    position: fixed;
    top: 20%;
    right: 0;
    box-shadow: 0 0 600px 28px rgb(237, 148, 255);
    rotate: -30deg;
    z-index: -1;
}

.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* HEADER */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
}

header h1{
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: -5%;
}

nav a{
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    z-index: 999;
}

nav a:hover{
    color: #a7a7a7;
}

.btn-signing{
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor:pointer;
    z-index: 999;
}

.btn-signing:hover {
    background-color: white;
}

/* MAIN CONTENT */
main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content{
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box{
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.336);
}

@keyframes animationGradient {
    to{
        background-position: 200%;
    }
}

.tag-box .tag{
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover{
    color: #5300a0;
}

/* CONTENT HEADINGS */
.content h1 {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}
.content .hero-logo {
    display: block;
    width: 260px;
    max-width: 90%;
    height: auto;
    margin-bottom: 0.6rem;
}

.content h2 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.content h3 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.content h4 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.content h5 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.content h6 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.content h7 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started{
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    background-color: #1a1a1a;
}

.btn-signing-main {
    text-decoration: none;
    background-color: lightgrey;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-signing-main:hover {
    background-color: gray;
}

.robot-3d {
    position: absolute;
    top: 0;
    right: -5%;
    height: 1000px;
    width: 1000px;
}

/* TABLE RESPONSIVE */
@media (max-width: 1300px) {
    header{
        padding: 1rem 0.5rem;
    }
    
    .robot-3d{
        scale: 0.8;
        top: -20%;
        right: 2%;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .robot-wrapper + br,
    .robot-wrapper + br + br,
    .robot-wrapper + br + br + br {
        display: none;
    }
    main {
        min-height: 0;
        padding-top: 0;
    }
    .content .tag-box + br,
    .content .tag-box + br + br {
        display: none;
    }
    .tag-box {
        margin-bottom: 0;
    }
    /* Timeline adjustments */
    .timeline-section {
        padding: 40px 20px;
    }

    .timeline {
        flex-direction: column;
        width: auto;
        align-items: center;
        gap: 40px;
    }

    .timeline-item {
        width: 180px;
    }

    .timeline-card {
        width: 220px;
        margin-top: 12px;
    }

    .timeline-dot {
        margin-bottom: 6px;
    }

    /* Footer adjustments */
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    /* Header/Main adjustments */
    header{
        padding: 1rem 0.1em;
    }
    
    nav{
        display: none;
    }

    header h1, header h2, header h3, header h4, header h5, header h6, header h7 {
        font-size: 2rem;
    }

    .btn-signing{
        padding: 0.6rem 1.5rem;
    }

    .content{
        margin-top: 0;
        max-width: 30rem;
        margin-left: 10%;
    }

    .robot-3d{
        scale: 0.5;
        top: -25%;
        right: 0;
    }

    .tag-box{
        width: 12rem;
    }

    .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, .content h7 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-get-started{
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .btn-signing-main{
        font-size: 0.8rem;
        padding: 0.5rem 2rem;
    }
}

@media (max-width: 1024px) {
    .timeline {
        gap: 40px;
    }
    .timeline-item {
        width: 180px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 1rem 2rem;
    }
    nav {
        gap: 1.5rem;
        margin: 0;
    }
    .content {
        margin-left: 5%;
        max-width: 36rem;
    }
    .robot-3d {
        right: -10%;
        height: 800px;
        width: 800px;
    }
    .pricing-table {
        width: 100%;
    }
    .carousel-wrapper {
        width: 100%;
    }
    .wb-container {
        margin-left: 0;
        padding: 0 2rem;
        width: 100%;
    }
    .workbench {
        grid-template-columns: 200px 1fr;
        height: auto;
    }
    .agent-shell {
        grid-template-columns: 180px 1fr;
        height: auto;
    }
    .esign-split {
        grid-template-columns: 1fr 300px;
    }
    .esign-view {
        padding: 3rem;
    }
}

@media (max-width: 900px) {
    .kanban {
        grid-template-columns: 1fr 1fr;
    }
    .q-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    .logo {
        height: 24px;
    }
    .content {
        margin-left: 0;
        max-width: 100%;
    }
    .hero-logo {
        width: 200px;
    }
    .pricing-wrapper {
        margin: 40px auto;
        padding: 0 16px;
    }
    .wb-container {
        padding: 0 1rem;
    }
    .workbench {
        grid-template-columns: 1fr;
    }
    .wb-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
    .agent-shell {
        grid-template-columns: 1fr;
    }
    .agent-list {
        border-right: none;
        border-bottom: 1px solid var(--line);
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }
    .agent-tab {
        white-space: nowrap;
    }
    .esign-split {
        grid-template-columns: 1fr;
    }
    .esign-side {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .esign-view {
        padding: 2rem 1.5rem;
    }
    .kanban {
        grid-template-columns: 1fr;
    }
}

/* ============ BASE STYLES ============ */
/* * {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background: #0c0c0c;
font-family: system-ui, sans-serif;
color: white;
overflow-x: hidden;
display: flex;
flex-direction: column;
align-items: center;
} */

/* ============ WRAPPER ============ */
.carousel-wrapper {
width: 180%;
max-width: 2000px; /* Increased to fit 3 cards */
position: relative;
margin-top: 50px;
}

/* ============ CAROUSEL CONTAINER ============ */
.carousel {
display: flex;
gap: 20px; /* Adjusted gap for 3-card layout */
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
padding: 40px 0; 
}

.carousel::-webkit-scrollbar {
display: none;
}

/* ============ CARD ============ */
.card {
/* Calculation: (100% / 3 cards) - (total gap / 3) */
flex: 0 0 calc(33.333% - 14px); 
height: 450px;
scroll-snap-align: start;
border-radius: 20px;
background: linear-gradient(135deg, #7f00ff, #e100ff);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 30px;
text-align: center;
position: relative;
cursor: pointer;
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
            box-shadow 0.4s ease;
box-shadow: 0 10px 20px rgba(127, 0, 255, 0.2);
}

.card:hover {
transform: translateY(-15px) scale(1.03);
box-shadow: 0 25px 50px rgba(127, 0, 255, 0.5);
}

.card h3 {
margin-bottom: 15px;
font-size: 1.6rem;
}

.card p {
font-size: 0.95rem;
line-height: 1.6;
opacity: 0.95;
}

/* ============ NAV BUTTONS ============ */
.nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
color: white;
width: 45px;
height: 45px;
border-radius: 50%;
cursor: pointer;
font-size: 1.5rem;
z-index: 10;
transition: 0.3s;
display: flex;
align-items: center;
justify-content: center;
}

.nav-btn:hover {
background: white;
color: #7f00ff;
}

.prev { left: -60px; }
.next { right: -60px; }

/* ============ DOT INDICATORS ============ */
.dots-container {
display: flex;
gap: 10px;
margin-top: 10px;
margin-bottom: 40px;
}

.dot {
width: 8px;
height: 8px;
background: rgba(255,255,255,0.3);
border-radius: 50%;
transition: 0.3s;
}

.dot.active {
background: white;
width: 20px;
border-radius: 10px;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 1024px) {
    .card { flex: 0 0 calc(50% - 10px); } /* 2 cards on tablet */
}

@media (max-width: 650px) {
    .nav-btn { display: none; }
    .carousel-wrapper { width: 85%; }
    .card { flex: 0 0 100%; } /* 1 card on mobile */
}

@media (max-width: 650px) {
    .wb-container {
        display: none;
    }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Offset for fixed header */
#about-vyas,
#who-we-help,
#problem-objective,
#pricing {
  scroll-margin-top: 120px;
}

/* 🔥 Animate section when navigated via anchor */
#about-vyas:target,
#who-we-help:target,
#problem-objective:target,
#pricing:target {
  animation: focusGlow 1.2s ease-out;
}

/* Keyframes for arrival animation */
@keyframes focusGlow {
  0% {
    transform: scale(0.95);
    opacity: 0;
    filter: blur(4px);
  }
  60% {
    transform: scale(1.02);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: scale(1);
  }
}

/* Documentation button styled like INTRODUCING pill */
.doc-pill {
  position: relative;
  display: inline-block;
  padding: 3px;
  border-radius: 50px;
  background: linear-gradient(
    to right,
    #656565,
    #7f42a7,
    #6600c5,
    #5300a0,
    #757575,
    #656565
  );
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  text-decoration: none;
}

.doc-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  background: black;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: 0.3s ease;
}

.doc-pill:hover span {
  color: #5300a0;
}


/* ============================= */
/* 📱 MOBILE RESPONSIVE FIXES */
/* ============================= */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* HEADER */
  header {
    padding: 1rem;
  }

  header h1 {
    font-size: 2rem;
  }

  nav {
    display: none;
  }

  /* MAIN CONTENT */
  .content {
    margin: 0 auto;
    padding: 1rem;
    max-width: 100%;
    margin-top: 0;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
  }

  /* ROBOT FIX */
  .robot-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
  }

  .robot-3d {
    position: relative;
    width: 100%;
    height: 280px;
    top: 0;
    right: 0;
    scale: 1;
  }

  /* WHO WE HELP */
  .who-we-help-container {
    flex-direction: column;
  }

  .who-we-help-visual {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 0;
  }

  /* TIMELINE */
  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline::before {
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  /* CAROUSEL */
  .carousel-wrapper {
    width: 100%;
  }

  .card {
    flex: 0 0 100%;
    height: auto;
  }

  .nav-btn {
    display: none;
  }

  /* PRICING */
  .pricing-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-table {
    width: 100%;
    min-width: 720px;
  }
  .pricing-table thead th,
  .pricing-table td {
    padding: 14px 14px;
    font-size: 13px;
  }

  /* FOOTER */
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column::after {
    display: none;
  }
}


/* ===== REMOVE SPLINE BRANDING BADGE ===== */
spline-viewer::part(logo),
spline-viewer::part(branding) {
    display: none !important;
}

/* Fallback: hide any iframe Spline might inject */
iframe[src*="spline.design"] {
    display: none !important;
}



/* addition for the new code */

/* WORKBENCH ARCHITECTURE */
.wb-container { margin-left: -50px; padding: 0 4rem; width: 200%}
.workbench {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 850px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  margin-bottom: 10rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.6);
}
.wb-sidebar { border-right: 1px solid var(--line); padding: 2.5rem 1.2rem; background: #0c0c0c; }
.label-caps { font-size: 0.6rem; font-weight: 800; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 1.2rem; }
.nav-item {
  width: 100%; text-align: left; padding: 12px 14px; background: transparent; border: none; color: var(--muted);
  font-size: 0.85rem; font-weight: 500; cursor: pointer; border-radius: 6px; margin-bottom: 4px; transition: 0.2s;
}
.nav-item:hover { background: rgba(255,255,255,0.03); color: var(--fg); }
.nav-item.active { background: var(--line); color: var(--fg); font-weight: 600; }

.wb-main { padding: 3rem; overflow-y: auto; position: relative; }
.module { display: none; }
.module.active { display: block; animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* COMMON SEARCH BLOCK */
.search-block { background: #111; padding: 1.5rem; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 2.5rem; }
.search-bar-wrap { display: flex; align-items: center; gap: 14px; background: #000; border: 1px solid var(--line); padding: 10px 18px; border-radius: 8px; margin-bottom: 14px; }
.search-input { flex: 1; background: transparent; border: none; color: #fff; font-size: 0.95rem; outline: none; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.f-chip { background: var(--line); padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; color: var(--muted); border: 1px solid transparent; cursor: pointer; }
.f-chip:hover { border-color: var(--muted); color: #fff; }

/* ANNOTATIONS */
.clause { margin-bottom: 1.5rem; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.mark { border-bottom: 1.5px solid var(--red); background: rgba(255, 77, 77, 0.1); color: var(--fg); cursor: pointer; padding: 0 2px; }

/* TIMELINE (Proper Source Linking) */
.t-event { border-left: 1px solid var(--line); padding-left: 25px; position: relative; margin-bottom: 3rem; }
.t-event::before { content: ''; position: absolute; left: -5px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); border: 2px solid var(--bg); }
.t-date { font-size: 0.7rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; text-transform: uppercase; }
.t-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.t-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.t-ref { font-size: 0.75rem; color: var(--muted); text-decoration: underline; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }

/* PLANNING (High Fidelity Cards) */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.k-card { background: #181818; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.k-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.k-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px; }
.k-icons { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); align-items: center; }
.k-avatar { width: 28px; height: 28px; background: #2a2a2a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; border: 1px solid var(--line); color: var(--muted); }

/* LEGAL AGENTS (Improved Chat UI) */
.agent-shell { border: 1px solid var(--line); border-radius: 12px; height: 650px; display: grid; grid-template-columns: 200px 1fr; overflow: hidden; background: #0c0c0c; }
.agent-list { background: transparent; border-right: 1px solid var(--line); padding: 1.5rem 1rem; }
.agent-tab { padding: 12px 14px; font-size: 0.8rem; cursor: pointer; color: var(--muted); border-radius: 6px; margin-bottom: 4px; transition: 0.2s; }
.agent-tab:hover { background: rgba(255,255,255,0.03); }
.agent-tab.active { background: var(--line); color: var(--fg); font-weight: 600; }
.agent-chat { display: flex; flex-direction: column; background: #0f0f0f; }
.chat-scroll { flex: 1; padding: 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem; }
.bubble { display: flex; flex-direction: column; max-width: 75%; }
.bubble.user { align-self: flex-end; align-items: flex-end; }
.bubble.bot { align-self: flex-start; }
.bubble-content { padding: 14px 18px; border-radius: 16px; line-height: 1.6; font-size: 0.9rem; }
.user .bubble-content { background: #1a1a1a; border: 1px solid var(--line); color: var(--fg); border-radius: 16px 16px 4px 16px; }
.bot .bubble-content { background: transparent; color: var(--fg); border-left: 3px solid var(--blue); padding-left: 16px; border-radius: 0; }
.asset-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.asset-pill { display: inline-flex; align-items: center; gap: 6px; background: #141414; border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-size: 0.72rem; color: var(--muted); }
.chat-input-area { padding: 1.5rem 2rem; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: #0c0c0c; }
.chat-input-area input { flex: 1; background: #000; border: 1px solid var(--line); padding: 12px 16px; border-radius: 8px; color: #fff; font-size: 0.88rem; outline: none; }
.chat-input-area input::placeholder { color: var(--muted); }

/* eSIGN (Real Contract + Comments) */
.esign-split { display: grid; grid-template-columns: 1fr 360px; height: 100%; }
.esign-view { padding: 5rem; overflow-y: auto; background: #fff; color: #111; font-family: 'Georgia', serif; box-shadow: inset 0 0 50px rgba(0,0,0,0.05); }
.contract-body { max-width: 650px; margin: 0 auto; font-size: 1rem; line-height: 1.6; }
.sig-block { margin-top: 80px; border-top: 1px dashed #ccc; padding-top: 20px; width: 280px; position: relative; }
.digital-signature { font-family: 'Cedarville Cursive', cursive; font-size: 2.2rem; position: absolute; top: -45px; color: #000; }
.esign-side { background: #0c0c0c; border-left: 1px solid var(--line); padding: 2rem; display: flex; flex-direction: column; }
.comment-card { background: #181818; padding: 15px; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 1.2rem; font-size: 0.85rem; }
.comment-status-chip { display: inline-block; font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; background: var(--green); color: #000; text-transform: uppercase; }

/* GLOBAL QUERY TABLE */
.q-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.q-table th { text-align: left; padding: 16px; border-bottom: 2px solid var(--line); font-size: 0.7rem; text-transform: uppercase; color: var(--muted); letter-spacing: 1.5px; }
.q-table td { padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; }
.status-tag { padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }

/* TOOLTIP */
.vy-tooltip {
  position: fixed; background: #ffffff; color: #000; padding: 1.5rem; border-radius: 8px; 
  width: 320px; z-index: 2000; pointer-events: none; opacity: 0; visibility: hidden; 
  transition: 0.1s; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.vy-tooltip.active { opacity: 1; visibility: visible; }
.tt-risk { color: var(--red); font-size: 0.75rem; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.tt-body { font-size: 1.15rem; font-weight: 500; line-height: 1.4; margin-bottom: 20px; letter-spacing: -0.01em; }
