*{
    color:white;
    box-sizing: border-box;
}
body,html{
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #1d1d1d;
}
html {
    scroll-behavior: smooth;
}
header{
    height: 59px;
}



.foot {
    width: 100%;
    margin-top: 30px;
    font-family: sans-serif,Arial;
    background: #171717;
}
.foot .foot_row{
    display: flex;
    flex-direction: row;
}
.foot .foot_row .foot_logo img{
    margin-top: 25px;
    margin-left: 20px;
    width: 85px;
    height: 100px;
}
.foot .foot_row_detail{
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.foot .foot_row_detail_column img{
    width: 45px;
    height: 45px;
}
.foot li, .foot a {
    list-style-type: none;
    text-decoration: none;
}

@media screen and (max-width: 80px) {
    .topnav .index_search_box {
        display: none;
    }
    .topnav .index_search_box_button{
        display: block;
    }
}

/* On small screens: hide "DecompilerAI" text, keep logo + buttons */
@media (max-width: 640px) {
  /* hide the middle title text */
  #site-title {
    display: none;
  }

  /* tighten padding a bit on mobile (optional) */
  .topnav {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* let logo + button groups use space more freely */
  .topnav .topnavitem {
    max-width: none;
  }
}


.profile_button{
    display: flex;
    justify-content: center;
}
.profile_avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.profile_avatar:hover{
    border: #1b75bd solid 2px;
}





/* === Modal (Cancel Subscription) === */
.modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: grid;              /* centrally align card */
  place-items: center;
  z-index: 9999;
}

/* ensure the HTML hidden attr actually hides it */
.modal_overlay[hidden] {
  display: none !important;
}




.modal_card {
  background: #171717;
  border: 1px solid #323234;
  border-radius: 6px;
  width: min(680px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.modal_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #171717;
  border-bottom: 1px solid #323234;
  padding: 12px 14px;
}
.modal_head h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.modal_close {
  background: transparent;
  color: #fff;
  border: 1px solid #323234;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  line-height: 1;
}
.modal_close:hover { border-color: #1b75bd; }
.modal_close:focus-visible {
  outline: 2px solid #1b75bd;
  outline-offset: 2px;
}

.modal_body { padding: 14px; color: #ddd; }
.modal_body p, .modal_body li { color: #ccc; }

.modal_scroll {
  max-height: 46vh;
  overflow: auto;
  background: #1d1d1d;
  border: 1px solid #323234;
  border-radius: 4px;
  padding: 12px;
}

/* optional nicer scrollbar */
.modal_scroll::-webkit-scrollbar { width: 10px; }
.modal_scroll::-webkit-scrollbar-track { background: #1a1a1a; }
.modal_scroll::-webkit-scrollbar-thumb { background: #2d2d2f; border-radius: 8px; }
.modal_scroll::-webkit-scrollbar-thumb:hover { background: #3a3a3d; }

.modal_status {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
  color: #a8d1ff;
  opacity: 0.95;
}

.modal_actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 14px;
  border-top: 1px solid #323234;
  background: #171717;
}

/* Buttons (match site theme) */
.btn_primary, .btn_secondary {
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #323234;
  font-weight: 600;
  font-family: inherit;
}

.btn_primary {
  background: #1b75bd;
  color: #fff;
}
.btn_primary:hover { background: #18619c; }
.btn_primary:focus-visible {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
}

.btn_secondary {
  background: #323234;
  color: #fff;
}
.btn_secondary:hover { border-color: #1b75bd; }
.btn_secondary:focus-visible {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
}


.icon_button,
.login_window button {
    border-radius: 6px;
}


.icon_button {
    display: flex;
    padding: 8px 10px;
    background: #1d1d1d;
    justify-content: center;
    margin-left: 10px;
    white-space: nowrap;
    border: 1px solid #323234;
    font-size: 16px;
    text-decoration: none;
}
.icon_button img{
    margin-right: 3px;
    width: 20px;
    height: 20px;
}
.icon_button span {
    line-height: 22px;
}


.icon_button:hover{
    opacity: 0.9;
}

.topnav{
    padding-right: 20px; /* adjust until it looks right */
    padding-left: 20px; /* adjust until it looks right */
    overflow-y: auto;
    scrollbar-width:thin;
    z-index: 2;
    position:fixed;
    width: 100%;
    display:flex;
    justify-content: space-between;
    font-family: Arial;
    background: #171717;
}
.topnav .topnav_logo{
    display: flex;
    margin: 4px 0;
    background: #171717;
    padding: 3px 3px;
    width: 120px;
    height: 60px;
}


.topnav .topnavitem{
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    max-width: 60%;
    white-space: nowrap; 
}
.topnav .topnavitem .index_search_box_button{
    display: block;
    visibility: hidden;
    background: #1d1d1d;
}
.seperated_text {
    font-family: Arial, sans-serif;
    font-size: 25px;
    margin: 10px 0;
}

.topnavitem svg{
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.4;
}

.topnav #site-title {
    font-family: 'Open Sans', 'Lato', 'Helvetica Neue', 'Arial', sans-serif;



    font-weight: bold;
    font-size: 22px;
    letter-spacing: 0.5px;
    font-variant: small-caps;
    color: white;
}




.index_search_box{ /*Surrounding of input*/
    display: flex;
    width: 800px;
    padding: 5px 6px;
    border-radius: 2px;
    background: #1d1d1d;
    border:solid 2px #323234;
}
.index_search_box:hover{
    border:solid 2px #1b75bd;
}
.index_search_box svg {
  fill: white;                    /* Make SVG icon white */
  width: 24px;
  height: 24px;
  margin-right: 8px;
}




.searchbox{
    background: #1d1d1d;
    outline: none;
    -webkit-appearance: none;
    border: none;
    width: 100%;
    padding: 0 4px;
    font-family: Arial, sans-serif, Georgia;
    font-size: 17px;
}
.input_box{
    background: #323234;
    outline: none;
    -webkit-appearance: none;
    border: 2px solid transparent;
    width: 100%;
    padding: 0 4px;
    font-family: Arial, sans-serif, Georgia;
    font-size: 17px;
}
.input_box_missing{
    color: red;
    font-size: 11px;
}
.insert_github_box{
    background: #171717;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    border: none;
    padding: 0 4px;
    font-family: Arial, sans-serif, Georgia;
    font-size: 20px;
}
.content {
    margin-top: 20px;
    flex: 1;
}
.page{
    display: none;
    flex-direction: column;
    min-height: 100%;
    border-radius: 3px;
    font-family: Arial, sans-serif;
}
.page .projects_bar .project_header{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.page .projects_bar .project_header .project_header_element{
    border: 1px solid black;
    flex-direction: row;
    cursor: pointer;
    padding: 10px 10px;
    border-radius: 1px;
    background: #323234;
}
.page .projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-gap: 10px;
}
.page .project{
    overflow-wrap: break-word;
    scrollbar-width:thin;
    position: relative;
    display: grid;
    border: 2px solid #1d1d1d;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 20px;
    width: 350px;
    height: 380px;
    background: #323234;
    text-align: left;
    padding:7px;
    border-radius: 2px;
}
.page .project:hover{
    border: 2px solid #1b75bd;
}
.page .project .project_thumbnail{
    grid-column: 1/2;
    grid-row:1;
    border-radius: 2px;
    background: #cccccc;
    width:200px;
    height:200px;
}
.page .project_detail{
    grid-row: 2/3;
    grid-column: 1/4;
}
.page .project_detail h3{
    font-size: 20px;
    margin: 8px 0;
}
.page .project_detail p{
    overflow-wrap: break-word;
    font-family: Arial, sans-serif;
    font-size: 17px;
    margin:3px 0;
    opacity: 0.7;
}
.page .project_price{
    position: absolute;
    white-space: nowrap;
    padding: 10px 10px;
    background: #1b75bd;
    color: white;
    font-size: 27px;
    cursor: pointer;
    border-radius: 3px;
}
.page .project_minor {
    grid-row: 1;
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0.8;
}

.page .project_minor_left{
    margin-left: 10px;
    grid-column: 1;
}
.page .project_minor_right{
    margin-left: 10px;
    grid-column: 2;
}
.page .project_minor_left img{
    width: 16px;
    height: 16px;
}


.login {
    margin: 10px;
    display: flex;
    justify-content: center;
}
.login_window{
    border: 1px solid #1b75bd;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 400px;
    text-align: left;
    padding: 25px;
    border-radius: 2px;
    background: #171717;
    font-size: 17px;
}
.login_window .login_symbol_top_right{
    position: absolute;
    top:5px;
    right: 15px;
    width: 25px;
    height: 25px;
}



.login_window input {
    font-size: 17px;
    padding: 2px 5px;
    margin-bottom: 5px; /* spacing below each input */
    width: 100%;
}
.login_window button{
    width: 100%;
    background: #1b75bd;
    border:none;
    border-radius: 4px;
    color: white;
    height: 30px;
    margin: 1% 0% 1% 0%;
}
.login_window button:hover{
    background: #18619c;
}
.login_window .forgot_password{
    font-size: 14px;
    opacity: 0.7;
}

.login_window label{
    opacity: 0.7;
    
    margin-top: 3px; /* spacing above each label */
    margin-bottom: 2px; /* spacing below label */
}
.login_window p{
    font-size: 22px;
}
#my-signin2 {
  display: flex;
  justify-content: center;
}

.company {
    padding: 10px;
}
.company .company_window {
    border: 2px solid #1b75bd;
    padding: 5px 40px;
    border-radius: 2px;
    background: #171717;
    font-family: Arial, sans-serif;
}


.upload {
    background: #1d1d1d;
    padding: 0px 100px;
}
.upload_step {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-bottom: #2b2b2b 1px solid;
    background: #171717;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
}
.upload_step button{
    background: #1b75bd;
    border: none;
    border-radius: 4px;
    width: 200px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    height: 45px;
}

.upload_step button:hover{

    background: #1868a8;
}
.upload_step_number{
    overflow: hidden;           /* hides anything overflowing */
    display: flex;              /* allow control of children */
    margin: 20px 0;
    font-size: 22px;
}
.upload_step_number span {

    padding: 5px 20px;
    border-radius: 2px;
    white-space: nowrap;
}
.upload_step_detail input[type="checkbox"] {
    height: 15px;
    width: 15px;
}
.dropContainer{
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-family: Arial, sans-serif;
    border:4px dashed #323234;
    height:200px;
}
#fileInput{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.upload_index_search_box{
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    padding: 5px 6px;
    border-radius: 2px;
    border:solid 2px #454545;
}
.upload_index_search_box:hover{
    border:solid 2px #1b75bd;
}
.upload_insert_github_box{
    background: #171717;
    width: 100%;
    resize: vertical;
    outline: none;
    -webkit-appearance: none;
    border: none;
    padding: 0 4px;
    font-family: Arial, sans-serif, Georgia;
    font-size: 20px;
}


.upload_step.collapsed .upload_step_detail,
.upload_step.collapsed .dropContainer {
    display: none;
}

/* optional visual hint */
.upload_step.collapsed .upload_step_number span::after {
    content: " ▼";
    font-size: 14px;
}





.split-hero {
  width: 100%;
  height: 40vh;
  display: flex;
  overflow: hidden;

}

/* shared panel behaviour */
.split-hero .panel{
  flex: 1 1 50%;         /* each panel gets half the width              */
  position: relative;

}

.split-hero .panel img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fill the panel, cropping if necessary       */
  object-position: center top;  /* or left, right, bottom etc. */
  display: block;
}

/* clip the LEFT image into an arrow-head pointing right */
.split-hero .disassembly img{
  clip-path: polygon(
    0 0,          /* TL */
    85% 0,        /* just before arrow base (top) */
    100% 50%,     /* arrow tip                     */
    85% 100%,     /* arrow base (bottom)           */
    0 100%        /* BL */
  );
}

.split-hero .decompilation img{
  clip-path: polygon(
    0   0,        /* TL */
    100% 0,       /* TR */
    100% 100%,    /* BR */
    0   100%,     /* BL */
    15% 50%,
    0% 0%
  );
}
.split-hero .disassembly {
  z-index: 0; /* stay on top */
  margin-right: -15%; /* tweak this to align arrow overlap */
}
.split-hero .decompilation {
  z-index: 0;
}

.split-hero .disassembly::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind the image */
  background-color: #1b75bd; /* your blue */
  clip-path: polygon(
    0 0,
    85% 0,
    100% 50%,
    85% 100%,
    0 100%
  );
  filter: blur(2px);      /* soft glow-like edge */
  transform: scale(1.01); /* slight scale for border effect */
}

.split-hero .decompilation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Behind the image */
  background-color: #1b75bd; /* Blue accent */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    15% 50%,
    0% 0%
  );
  filter: blur(2px);       /* Creates a soft glow */
  transform: scale(1.01);  /* Slight enlargement to show behind */
}

.index_sections {

       overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center; /* centers the inline-table when it fits */
  padding: 56px 5%;
  margin: 0;
  background: #1d1d1d;
  background-image: linear-gradient(to bottom, #1d1d1d, #191919);
  text-align: center;
}


  

.index_sections .image-wrapper {
  display: flex;
  flex-direction: column; /* stack image above caption */
  align-items: center;    /* center caption under image */
  margin-top: 0.5rem;
}

.index_sections .image-wrapper img {
  max-width: 60%;  /* adjust size if desired */
  height: auto;
  display: block;
}

.index_sections .image-wrapper figcaption {
  font-size: 22px;
  color: #aaa;
  margin-top: 6px; /* space between image and caption */
  text-align: center;
}



.video_wrapper iframe {
  display: block;
  margin: 0 auto;       /* ✅ centers the iframe horizontally */
  border: none;
}


.dark_table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1d1d1d;
  color: white;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.dark_table th, .dark_table td {
  border: 1px solid #323234;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.dark_table thead {
  background-color: #171717;
  font-weight: bold;
}

.dark_table ul {
  padding-left: 20px;
  margin: 0;
}

.dark_table li {
  list-style-type: disc;
  margin-bottom: 5px;
}
/* Profile-only tweaks */
.profile{padding:72px 12px 24px}
.profile .dark_table{table-layout:fixed;word-break:break-word;overflow-wrap:anywhere}

@media(max-width:600px){
  .profile .dark_table th,.profile .dark_table td{padding:10px}
}

/* Mobile: rows → two-line cards, clean corners */
@media(max-width:560px){
  .profile .dark_table{display:block;background:transparent;border-collapse:separate;border-spacing:0;width:100%}
  .profile .dark_table thead{display:none}
  .profile .dark_table tbody{display:grid;gap:12px}
  .profile .dark_table tbody tr{display:block;background:#1d1d1d;border:1px solid #323234;border-radius:10px;overflow:hidden}
  .profile .dark_table td{display:block;background:transparent;border:0;padding:12px 14px;margin:0;word-break:break-word;overflow-wrap:anywhere}
  .profile .dark_table td:first-child{font-weight:600;color:#a9a9a9;border-bottom:1px solid #2a2a2a;margin:0}
  .profile .dark_table td:last-child{color:#fff;border-bottom:0} /* no border so bottom corners stay clean */
  #cancelSubscriptionBtn,#deleteAccountBtn{width:100%}
  .profile .shop_card{padding:14px}
  .profile .profile_avatar{width:72px;height:72px}
}





#chat_box {
  display: flex;
  flex-direction: column;
  height: 400px;                 /* tweak to taste */
  max-width: 100%;
  background: #171717;
  border: 1px solid #323234;
  border-radius: 2px;
  overflow: hidden;
  resize: vertical;           /* allow vertical resizing */
  min-height: 200px;          /* optional minimum height */
  transition: height 0.5s ease;   /* smooth expand / collapse */
}

/* scrolling message pane */
#chat_messages {
  flex: 1 1 auto;
  padding: 12px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

#chat_input {
  overflow-y: auto;              /* allow scroll when capped */
  -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
  scrollbar-width: none;         /* Firefox */
}
#chat_input::-webkit-scrollbar { display: none; } /* WebKit/iOS */

/* individual bubbles */
.chat_msg {
  margin-bottom: 8px;
  line-height: 1.4;
}
.chat_me   { text-align: left; }
.chat_them   { text-align: left; }

/* only style the actual bubble span (typing), not hljs spans */
.chat_me span.chat_bubble   { background:#1b75bd; }
.chat_them span.chat_bubble { background:#323234; }
/* Only style the top-level span bubble (typing indicator),
   not every span inside (so hljs token spans keep their colors) */
.chat_msg > span.chat_bubble {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  max-width: 70%;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Keep a basic style for any bare <pre> you might render */
.chat_msg pre {
  background: #121212;
  border-radius: 8px;
  padding: 8px 12px;
  color: #f1f1f1;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre;
}


/* input field */
#chat_form {
  border-top: 1px solid #323234;
}
#chat_input {
  width: 100%;
  padding: 10px;
  background: #1d1d1d;
  border: none;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 15px;
  resize: none;      /* allow manual resize */
    overflow-y: auto;        /* allow it to scroll once maxed-out */
  line-height: 1.4em;      /* a known line-height */
  max-height: calc(1.4em * 5); /* cap at 5 lines */
}

#chat_input:focus {
  outline: none;
}

.chat_msg {
  display: flex;                 /* avatar + bubble side-by-side */
  align-items: flex-end;
}
.chat_me   { flex-direction: row-reverse; } /* avatar on the right */
.chat_avatar {
  width: 28px;
  height: 28px;
  border-radius: 90%;
  object-fit: cover;
  margin: 0 6px;

  user-select: none;        /* Prevent selection */
  -webkit-user-drag: none;  /* Prevent drag in Safari */
  pointer-events: none;     /* Optional: disables right-click context menu */
}



/* enlarge chat when file is uploaded */
#chat_box.expanded {
    height: clamp(300px, 55vh, 55vh);
}


.chat_code {
  background-color: #1e1e1e;
  color: #dcdcdc;
  padding: 10px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.5;
  margin-top: 5px;
}

.chat_code code {
  color: inherit;
  background: none;
}

.chat_block {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 80%;       /* Limit width */
  overflow-x: auto;     /* Enable horizontal scrolling if needed */
  background: #323234;
  color: #fff;
  word-wrap: break-word;
  white-space: normal;
}
.chat_me .chat_block {
  background: #1b75bd;
}

.chat_block p {
  margin: 0 0 8px 0;
}

.chat_block p:last-child {
  margin-bottom: 0;
}
/* style.css */
.chat_code_wrapper {
  position: relative;
  background: #1a1a1a; 
  border-radius: 6px;
  padding: 1rem 1rem 1rem 1.25rem;
  overflow-x: auto;
}

.chat_code_wrapper pre {
  margin: 0;
  font-family: Consolas, Menlo, monospace;
  font-size: 0.9rem;
  color: #c9d1d9;
  background: none;
  white-space: pre;
  overflow-x: auto;

  display: block;
  min-width: 100%;   /* ⬅️ this makes it fill the wrapper */
  box-sizing: border-box;
}


.chat_attachment {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #151515;
  border: 1px solid #323234;
}

.chat_attachment_icon img {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

.chat_attachment_body {
  flex: 1;
  min-width: 0;
}

.chat_attachment_name {
  font-size: 13px;
  color: #e8edf3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat_attachment_meta {
  font-size: 11px;
  color: #a7b3bf;
}

.chat_attachment_btn {
  border-radius: 6px;
  border: 1px solid #323234;
  padding: 6px 10px;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  background: #1b75bd;
  white-space: nowrap;
}

.chat_attachment_btn:hover {
  background: #18619c;
  border-color: #1b75bd;
}




/* copy icon */
.copy_icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  fill: #8b949e;
  cursor: pointer;
  transition: fill 0.15s ease;
}

.copy_icon:hover {
  fill: #58a6ff;
}

.copy_icon.copied {
  fill: #2ea043;            /* turns green briefly after copy */
}



/* === Pricing === */

@media (max-width: 650px) {
  .pricing_grid--eval {
    grid-template-columns: 1fr !important;
  }
}

.pricing_section {
  width: 100%;
  padding: 56px 0;
  margin: 0;
  background: #1d1d1d;
  background-image: linear-gradient(to bottom, #1d1d1d, #191919);
}

.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing_title {
  margin: 0 0 14px 0;
  font-size: 28px;
  text-align: center;
  letter-spacing: .3px;
}

.pricing_toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.toggle_btn {
  background: #171717;
  border: 1px solid #323234;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}
.toggle_btn:hover { border-color: #1b75bd; }
.toggle_btn.is-active {
  background: #1b75bd; /* matches your accent */
  border-color: #1b75bd;
}

.toggle_btn .save {
  opacity: .8;
  font-size: 12px;
  margin-left: 4px;
}

.pricing_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.plan-card {
  overflow: visible; /* allows tooltip to escape */
  position: relative;
  background: #171717;          /* your dark panels */
  border: 1px solid #323234;    /* your border color */
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.plan-card:hover {
    
  z-index: 1;
  border-color: #1b75bd;        /* blue edge on hover, like .project */
  transform: translateY(-2px);
}

.plan-card--popular {
  border: 2px solid #1b75bd;
  box-shadow: 0 0 0 3px rgba(27,117,189,0.15);
}
.plan-card--popular .plan-cta { background: #1b75bd; } /* strong CTA */

.plan-head {
  display: flex;
  flex-direction: column;
  gap: 4px;        /* 🔑 consistent space between h3, price, note */
  margin-bottom: 12px;
}

.plan-head h3,
.plan-head .price,
.plan-head .price_note {
  margin: 0;       /* remove default browser margins */
  padding: 0;
}


.price {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.1;
}
.price_note {
  margin-top: 2px;
  opacity: .7;
  font-size: 13px;
}

.plan-features {
  margin: 12px 0 14px 0;
  padding: 0;
  list-style: none;
}
.plan-features li {
  margin: 6px 0;
  padding-left: 22px;
  position: relative;
  opacity: .9;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .9;
  /* subtle blue check to match theme */
  color: #1b75bd;
}

.plan-cta {
  align-self: stretch;
  text-align: center;
  margin-top: auto;
  background: #323234;          /* rests on dark background */
  border-color: #323234;
}
.plan-cta:hover {
  border-color: #1b75bd;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(180deg, #1c1b18, #0f0f0f); /* blackened bronze vibe */
  border: 1px solid #323234;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: .3px;
  border-radius: 999px;
  opacity: .95;
}


.info-icon {
  display: inline-block;
  position: relative;
  margin-left: 5px;
  cursor: pointer;
  top: -1px; /* fine-tune if needed */
}

.info-icon img {
  filter: brightness(0) invert(1);
  width: 23px;
  height: 23px;
  vertical-align: middle;
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%; /* position above the icon */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  white-space: normal;
  width: 200px;
  font-size: 0.85em;
  line-height: 1.4em;

  z-index: 9999; /* or a suitably high value */
  /* fade effect */
  transition: opacity 0.2s;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%; /* arrow on bottom */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.info-icon:hover .tooltip,
.info-icon:focus .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .pricing_grid { grid-template-columns: 1fr; }
}


/* === Shop / Checkout (scoped to .shop) === */
.shop {
  padding: 30px 20px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.shop .shop_title {
  margin: 0 0 14px 0;
  font-size: 28px;
  text-align: center;
}

.shop .shop_grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.shop .shop_form { display: grid; gap: 16px; }
.shop .shop_sidebar { display: grid; gap: 16px; }

.shop .shop_card {
  background: #171717;
  border: 1px solid #1b75bd;  /* blue border like login */
  border-radius: 6px;
  padding: 16px;
}

.shop .shop_head {
  margin: 6px 0 12px 0;
  font-size: 18px;
}

.shop .field { margin: 10px 0; }
.shop .field.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shop .field label {
  display: block;
  opacity: .85;
  margin-bottom: 6px;
  font-size: 14px;
}
.shop .field .muted { opacity: .7; font-size: 12px; }

.shop .input_box {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #323234;
  background: #111;
  color: #fff;
}

.shop .radio_row { display: flex; gap: 12px; flex-wrap: wrap; }
.shop .radio input { margin-right: 6px; }
.shop .checkbox input { margin-right: 8px; }

.shop .paypal_area,
.shop .card_area { margin-top: 8px; }
.shop .card_area.is-hidden { display: none; }

.shop .paypal_btn {
  width: 100%;
  height: 42px;
  border: 1px solid #323234;
  background: #323234;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  cursor: not-allowed;
}

.shop .summary_list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.shop .summary_list .row,
.shop .grand.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid #323234;
}
.shop .summary_list .row:last-child { border-bottom: none; }
.shop .grand { margin-top: 6px; font-size: 18px; }

.shop .order_btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  background: #1b75bd;
  color: white;
  margin-top: 8px;
  opacity: .6;
  cursor: not-allowed;
}
.shop .order_btn.is-enabled { opacity: 1; cursor: pointer; }
.shop .order_btn.is-enabled:hover { background: #18619c; }

.shop .agree a { color: #1b75bd; text-decoration: none; }
.shop .agree a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
  .shop .shop_grid { grid-template-columns: 1fr; }
  .shop .shop_sidebar { order: 2; }
}
@media (max-width: 520px) {
  .shop .field.inline { grid-template-columns: 1fr; }
}



/* === Shop / Checkout (scoped to .shop) === */
.shop {
  padding: 30px 20px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.shop .shop_title {
  margin: 0 0 14px 0;
  font-size: 28px;
  text-align: center;
}

.shop .shop_grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.shop .shop_form { display: grid; gap: 16px; }
.shop .shop_sidebar { display: grid; gap: 16px; }

.shop .shop_card {
  background: #171717;
  border: 1px solid #1b75bd;  /* blue border like login */
  border-radius: 6px;
  padding: 16px;
}

.shop .shop_head {
  margin: 6px 0 12px 0;
  font-size: 18px;
}

.shop .field { margin: 10px 0; }
.shop .field.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shop .field label {
  display: block;
  opacity: .85;
  margin-bottom: 6px;
  font-size: 14px;
}
.shop .field .muted { opacity: .7; font-size: 12px; }

.shop .input_box {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #323234;
  background: #111;
  color: #fff;
}

.shop .radio_row { display: flex; gap: 12px; flex-wrap: wrap; }
.shop .radio input { margin-right: 6px; }
.shop .checkbox input { margin-right: 8px; }

.shop .paypal_area,
.shop .card_area { margin-top: 8px; }
.shop .card_area.is-hidden { display: none; }

.shop .paypal_btn {
  width: 100%;
  height: 42px;
  border: 1px solid #323234;
  background: #323234;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  cursor: not-allowed;
}

.shop .summary_list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.shop .summary_list .row,
.shop .grand.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid #323234;
}
.shop .summary_list .row:last-child { border-bottom: none; }
.shop .grand { margin-top: 6px; font-size: 18px; }

.shop .order_btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  background: #1b75bd;
  color: white;
  margin-top: 8px;
  opacity: .6;
  cursor: not-allowed;
}
.shop .order_btn.is-enabled { opacity: 1; cursor: pointer; }
.shop .order_btn.is-enabled:hover { background: #18619c; }

.shop .agree a { color: #1b75bd; text-decoration: none; }
.shop .agree a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
  .shop .shop_grid { grid-template-columns: 1fr; }
  .shop .shop_sidebar { order: 2; }
}
@media (max-width: 520px) {
  .shop .field.inline { grid-template-columns: 1fr; }
}


.legal-wrapper {
  background: #171717;       /* match your panels */
  border: 1px solid #323234; /* subtle border */
  border-radius: 6px;
  padding: 20px 30px;
  max-width: 1000px;
  margin: 0 auto;            /* center it */
}
.legal-wrapper h1, 
.legal-wrapper h2, 
.legal-wrapper p, 
.legal-wrapper li, 
.legal-wrapper table {
  color: #fff;               /* keep consistent text color */
}





/* Make profile tables roundy on all corners */
/* Round all corners on .dark_table without changing anything else */
.dark_table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  /* Visually clip the corners so header/background can't poke out */
  clip-path: inset(0 round 12px);
}

.dark_table thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.dark_table thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

/* Row hover effect for profile tables */
.dark_table tbody tr {
  transition: background-color 0.2s ease;
}

.dark_table tbody tr:hover {
  background-color: #171717; /* dark gray hover */
}





/* === Syntax highlighting for code blocks === */
.code_body.hljs {
  color: #e5e7eb;
}

/* keywords, types, etc. */
.hljs-keyword,
.hljs-literal,
.hljs-symbol,
.hljs-name {
  color: #60a5fa;
}

/* strings, function names, attrs */
.hljs-string,
.hljs-title,
.hljs-attr {
  color: #a3e635;
}

/* numbers */
.hljs-number {
  color: #f97316;
}

/* comments */
.hljs-comment {
  color: #9ca3af;
  font-style: italic;
}

/* builtins / functions */
.hljs-built_in,
.hljs-function {
  color: #22c55e;
}


/* ===========================
   Legal / TOS page layout
   =========================== */

/* Desktop / default styling */
.legal-wrapper {
  max-width: 900px;          /* keep the text from becoming too wide */
  margin: 0 auto;            /* center within .content */
  padding: 2rem 1.5rem 3rem;
  line-height: 1.6;
  overflow-wrap: break-word; /* break long URLs/words on small screens */
}

.legal-wrapper h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.legal-wrapper h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-wrapper p {
  margin-bottom: 0.75rem;
}

.legal-wrapper ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-wrapper li {
  margin-bottom: 0.4rem;
}

/* ===========================
   Footer tweaks (stack cols)
   =========================== */

/* assumes .foot_row_detail is already display:flex on desktop */
@media (max-width: 900px) {
  .foot_row_detail {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .foot_row_detail_column {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .foot {
    padding: 1.5rem 1rem;
  }

  .foot_row_detail_column {
    flex: 1 1 100%;  /* one column per row on small screens */
  }

  .foot_row_detail_column ul {
    margin: 0;
  }
}

/* ===========================
   Mobile typography
   =========================== */

@media (max-width: 768px) {
  .legal-wrapper {
    padding: 1.5rem 1.25rem 2.5rem;
  }

  .legal-wrapper h1 {
    font-size: 1.7rem;
  }

  .legal-wrapper h2 {
    font-size: 1.2rem;
  }

  .legal-wrapper p,
  .legal-wrapper li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .legal-wrapper {
    padding: 1.25rem 1rem 2rem;
  }

  .legal-wrapper h1 {
    font-size: 1.5rem;
  }

  .legal-wrapper h2 {
    font-size: 1.1rem;
  }

  .legal-wrapper p,
  .legal-wrapper li {
    font-size: 0.9rem;
  }
}
.table_note,
.benchmark_notes {
  max-width: 1100px;
  margin: 12px auto 0;
  text-align: left;
  font-family: Arial, sans-serif;
}

.benchmark_notes {
  margin-top: 20px;
}

.benchmark_notes h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: white;
  opacity: 1;
}

.benchmark_notes p {
  margin: 0 0 10px 0;
}

.benchmark_notes ul {
  margin: 0;
  padding-left: 14px;
}

.benchmark_notes li {
  margin-bottom: 6px;
}

/* Match pricing-page prose style for selected homepage sections */
#benchmark,
.supported-section,
section .faq,
#benchmark p,
#benchmark li,
#benchmark td,
#benchmark th,
#benchmark .table_note,
#benchmark .benchmark_notes,
.supported-section p,
.supported-section li,
.supported-section td,
.supported-section th,
section .faq p,
section .faq summary {
  font-family: Arial, sans-serif;
}

/* Body copy */
#benchmark .table_note,
#benchmark .benchmark_notes p,
#benchmark .benchmark_notes li,
.supported-section td,
.supported-section li,
section .faq p {
  font-size: 14px;
  line-height: 1.75;
  color: white;
  opacity: .88;
}

/* Table text */
#benchmark .dark_table,
.supported-section .dark_table {
  font-size: 14px;
}

#benchmark .dark_table th,
.supported-section .dark_table th {
  font-weight: 700;
  opacity: 1;
}

/* Section labels/headings */
#benchmark .section_kicker,
.supported-section .section_kicker,
section .section_kicker {
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #b8c3cf;
}

#benchmark .section_head,
.supported-section .section_head,
section .video_title {
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
}

/* FAQ specifics */
.faq summary {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: white;
}

.faq p {
  margin-top: 10px;
}

/* Evaluation Details block stays fully white */
#benchmark .benchmark_notes,
#benchmark .benchmark_notes p,
#benchmark .benchmark_notes li,
#benchmark .benchmark_notes strong,
#benchmark .benchmark_notes h3 {
  color: white;
  opacity: 1;
}