
/* 2. Optional: Visual indicator that the field is disabled */
.field-group {
    transition: opacity 0.3s ease, filter 0.3s ease;
}



svg {
  all: unset;
  display: block;
  max-width: 100%;
  height: auto;
}
/*#e8e5db  #4A4A4A    #CC5500  a00030  #808000*/

/* Basic Typography Styling */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222; /* Darker text for better contrast */
  background-color: #e8e5db;
  padding: 0 20px 20px 20px; /* Removes top padding */
  font-weight: 500; /* Slightly bolder base text */
}
.info-box {
    border-left: 3px solid #b32d2d;
    background: #fcfcfc;
    padding: 15px;
    margin: 20px 0;
    font-size: 12px;
    color: #444;
}
/* Headers */
header h1 {
  margin-top: 0;
}
h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a; /* Deeper header color */
  font-weight: 700; /* Stronger emphasis */
}

/* Paragraphs */
p {
  margin-bottom: 1em;
  font-size: 1.05rem;
  color: #333; /* More contrast than #555 */
}

.legal-content {
  max-width: 1000px;
  margin: 28px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
}

label{
  margin-bottom: 1em;
  font-size: 1.05rem;
  color: #333; /* More contrast than #555 */
}

h1, h2 {
  border-bottom: 2px solid #dcdcdc;
  padding-bottom: 0.3em;
}
/* purple third colour */
.h2-header {
  border-bottom: 2px solid #a00030;
  padding-bottom: 0.3em;
}


li {

  margin: 0px;
  list-style: none; /* removes bullet */
}

li a {
  color: #4A4A4A; /*secondary colour */
  text-decoration: none;
  font-weight: bold;
}

li a:hover {
  color: black; /* hover colour */
}
ul {
display: flex;
padding: 0;
margin: 0;
list-style: none;
}


.full-width-container {
  width: 100%;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;

  border: 2px solid black;   /* button-like border */
  border-radius: 8px;          /* rounded corners */
  text-align: center;          /* center text inside */
  font-size: 1.2rem;            /* slightly larger text */
  font-weight: bold;            /* make it stand out */
  color: #007BFF;               /* match border colour */
  transition: all 0.2s ease;    /* smooth hover animation */
}

.full-width-container:hover {
  background-color: gray;    /* fill on hover */
  color: white;                 /* text turns white */

}


select {
  background-color: #f5f5f5;
  color: #4A4A4A;
  border: 2px solid #6C7A89;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: #4A4A4A;
}






button,
.button {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
  user-select: none;
}

button:hover,
.button:hover {
  background-color: #FFFFFF;
  color: #000000;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

button:active,
.button:active {
  transform: translateY(1px);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25);
}

button:focus,
.button:focus {
  background-color: #FFFFFF;
  color: #000000;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}



input.form-control[type="text"],
input.form-control[type="email"],
input.form-control[type="password"],
input.form-control[type="number"],
textarea.form-control {
  background-color: #f5f5f5;
  color: #4A4A4A;
  border: 2px solid #6C7A89;
  padding: 8px 12px;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 4px;
  appearance: none;
  box-sizing: border-box;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: #aaa;
}

input.form-control:focus,
textarea.form-control:focus {
  outline: none;
  border-color: #4A4A4A;
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.4);
}


.horizontal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.horizontal-menu li {
  flex: 0 0 auto;
}

.horizontal-menu a {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 18px;
  background: linear-gradient(to bottom, #f9f9f9 0%, #e0e0e0 100%);
  border: 1px solid #ccc;
  border-bottom: 3px solid #bbb;
  border-radius: 3px;

  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  transition: all 0.1s ease-in-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.horizontal-menu a:hover {
  background: linear-gradient(to bottom, #ffffff 0%, #ebebeb 100%);
  border-color: #bbb;
  border-bottom-color: #999;
  transform: translateY(-1px); /* Slight lift on hover */
}

/* The Active State - Maintaining your orange but adding depth */
.horizontal-menu a.active {
  background: #d35400;
  border: 1px solid #a04000;
  border-bottom: 1px solid #a04000; /* Flatten the bottom border when "pressed" */
  color: #fff;
  transform: translateY(1px); /* Moves down to look pressed */
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}



.coin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coin-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 2px solid #6C7A89;
  border-radius: 8px; /* use 50% for circle */
  padding: 10px 14px;
  background-color: #e8e5db;
  transition: all 0.2s ease;
}



.coin-option input[type="checkbox"]:checked + .coin-label {

}

.coin-label {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;


}



input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #CC5500;
  border: 1px solid #000;
  width: 16px;
  height: 16px;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -1px; /* raises the box */
}


input[type="checkbox"]:checked::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

input[type="checkbox"]:disabled {
  background-color: #f0f0f0; /* light gray default */
  border-color: #ccc;
  cursor: not-allowed;
}

input[type="checkbox"]:disabled::before {
  content: ""; /* no tick */
}



.header-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 150px;
  width: auto;
  max-width: 100%;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        height: 80px;
    }
    
    .ws-logo-text {
        font-size: 16px;
    }
}


form {
  background-color: transparent;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  max-width: 90%;
  margin: 20px auto;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.7);
}

form.auth-form-unified {
  border: none !important;
  background-color: transparent;
  padding: 20px;
  max-width: 90%;
  margin: 20px auto;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.7);
}

form.auth-form-clean {
  border: none !important;
  background-color: transparent;
  padding: 20px;
  max-width: 90%;
  margin: 20px auto;
  box-shadow: none !important; /* This removes the "fucking line" and the shadow box */
}

.tab-group:focus {
  outline: none;
  border-color: #4A4A4A;
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.4);
}



/* Tab group for Buy/Sell options */
.tab-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-group input[type="radio"] {
  display: none;
}

.tab-group .tab {
  background-color: #e8e5db;
  color: #4A4A4A;
  border: 2px solid #6C7A89;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-group input[type="radio"]:checked + .tab {
  background-color: #4A4A4A;
  color: white;
  border-color: #4A4A4A;
  transform: translateY(1px);

}


/* Default hover (fallback) */
.tab-group .tab:hover {
  background-color: #CC5500;
  color: white;
  border-color: #CC5500;
}

/* Buy tab: refined bullish green */
.tab-group .buy-tab:hover {
  background-color: #4F7F4F; /* earthy, muted green */
  color: white;
  border-color: #4F7F4F;
}

/* Sell tab: refined red-orange blend */
.tab-group .sell-tab:hover {
  background-color: #B24A3F; /* warm, muted red */
  color: white;
  border-color: #B24A3F;
}


/* --- High-Specificity Tab States --- */

.tab-group input[type="radio"]:checked + .tab.buy-tab.custom-buy-active {
  background-color: #4F7F4F !important; /* Forces your bullish green */
  box-shadow: 0 4px 12px rgba(79, 127, 79, 0.4);
}

/* 2. Very Specific SELL Checked State */
.tab-group input[type="radio"]:checked + .tab.sell-tab.custom-sell-active {
  background-color: #B24A3F !important; /* Forces your muted red */
  box-shadow: 0 4px 12px rgba(178, 74, 63, 0.4);
}

/* 3. Global Tab Transition (Apply to all) */
.tab.custom-buy-active, .tab.custom-sell-active {
  transition: all 0.3s ease-in-out;
}


form button {
  display: block;
 margin: 20px auto 0 auto; /* top margin + auto horizontal */
  }

/* Match form fields to your design system */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

input[type="number"].form-control {
  width: 100%;
  margin-bottom: 20px;
}


#chart {
  width: 100%;
  height: 100%;
  display: block;
}


a.active {
  background-color: #CC5500;
  font-weight: bold;
}

.loading-overlay{
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}







/* Hide by default */
.coin-grid-wrapper {
  display: none;
}

/* Show when checkbox is checked */
#toggleCoinGrid:checked ~ .coin-grid-wrapper {
  display: block;
}

/* Optional styling */
.toggle-button {
  display: inline-block;
  padding: 8px 12px;
  background-color: #eee;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px;
}


.info-button {
  display: inline-block;
  width: 27.2px;       /* 32px × 0.85 */
  height: 27.2px;
  background: #111;
  color: #fff;
  font-family: monospace;
  font-size: 15.3px;    /* 18px × 0.85 */
  font-weight: bold;
  text-align: center;
  line-height: 27.2px;
  border: 1px solid #555;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease-in-out, border-color 0.2s;
}

.info-button:hover {
  background: #4A4A4A;
  border-color: #4A4A4A;
  color: #fff;
}
hr {
  border: none;
  height: 0;
  border-top: 1px solid var(--ws-border, #3c3c3c);
  border-bottom: none;
  display: block; margin-top: 0.5em; margin-bottom: 0.5em; box-sizing: border-box; height: 0;
}














/* Wrapper for layout control */
.pnx-menu-wrapper {
  max-width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Horizontal menu container */
.pnx-horizontal-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* align left */
  background: none;
  border-bottom: 2px solid #4A4A4A;
  padding: 8px 0;
  margin: 10px 0;
  list-style: none;
}

/* Menu items */
.pnx-menu-item {
  margin: 0 10px 0 0; /* space only on the right */
}

/* Menu links styled like form controls with small vertical spacing */
.pnx-menu-link {
  display: block;
  padding: 8px 14px;
  margin: 1px 0; /* 1px space above and below */
  background-color: #e8e5dc;
  color: #4A4A4A;
  border: 2px solid #6C7A89;
  border-radius: 4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}


/* Hover effect */
.pnx-menu-link:hover {
  background-color: black;
  color: white;
  border-color: #808000;
}

/* Active link */
.pnx-active {
  background-color: black;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}


/* Initial overlay style */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.9s ease;
  /* FF */
  pointer-events: none;

}

select,
option {
  background-color: #eae9e4;
  color: #000;
}

#coinSearchTo {
  background-color: #eae9e4; /* or #e8e5db for stronger match */
}
#coinSearch {
  background-color: #eae9e4; /* or #e8e5db for stronger match */
}


#wallet {
  background-color: #eae9e4; /* or #e8e5db for stronger match */

}


#extraField{
  background-color: #eae9e4; /* or #e8e5db for stronger match */
margin-bottom: 8px;
}








.site-footer {
    background: #2b2b37;          /* ChangeNOW footer tone */
    color: #eaeaea;               /* light text for contrast */
    font-family: Roboto, Arial, Helvetica, sans-serif;
    line-height: 1.42857143;
    padding: 40px 0;
    text-align: center;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer li {
    margin: 0 12px;
}

.site-footer a {
    color: #eaeaea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #00c896; /* accent hover color */
}








.header-with-logo {
    display: flex;
    justify-content: space-between; /* Now only sees TWO items: .logo-group and the menu */
    align-items: center;
    padding: 10px 20px;
}

/* Keeps the logo and the H2 next to each other */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Adds space between logo and text */
}

/* Simple Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto; /* Force to right if flex is being stubborn */
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    z-index: 100;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left; /* Keep text aligned left even if header is centered */
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1;}


/* Container & Table Setup */
.credits-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.credits-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eef0f2;
}

/* Asset Column Logic */
.coin-cell {
    padding: 16px;
}

.coin-names {
    display: flex;
    align-items: center; /* Vertically centers logo, ticker, and name */
    gap: 12px;
}

.coin-names img {
    border-radius: 50%; /* Clean circular look for logos */
    background: #f8f9fa;
}

.ticker {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.full-name {
    font-size: 13px;
    color: #6c757d;
    font-weight: 400;
}

/* Balance & Value Formatting */
.credits-cell {
    font-family: 'Roboto Mono', monospace; /* Monospace makes numbers easier to read */
    font-weight: 600;
    color: #1a1a1a;
}

.coin-row td {
    padding: 16px;
    border-bottom: 1px solid #120422;
    transition: background 0.2s ease;
    display: table-cell;     /* Back to default to follow the row line */
    height: auto;           /* Let padding/row height control it */
    vertical-align: middle; /* This now works properly */
}

.coin-row:hover {
background-color: #f0f2f5; /* Distinctly gray, clean look */
}


/* 1. The Container (Logo + Ticker + Full Name) */
.coin-names {
    display: flex;
    align-items: center; /* Vertically centers everything */
    gap: 10px;           /* Perfect spacing between logo, ticker, and name */
}

.coin-names img {
    display: block;
    object-fit: contain;
}

.ticker {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
    min-width: 45px; /* Keeps tickers aligned even if they are 3 or 4 letters */
}

.full-name {
    font-size: 13px;
    color: #888;
    border-left: 1px solid #ddd; /* Tiny separator for a premium look */
    padding-left: 10px;
}


/* Ensure the container itself is centered in the table cell */
/* Container for buttons - Using inline-block so it sits on the text baseline */
.actions {
    display: inline-block;
    vertical-align: middle;
    line-height: 1; /* Strips extra height from the container */
}

/* Ensure all table cells are identical in padding and alignment */
.credits-table td {
    vertical-align: middle;
    padding: 8px 12px;
    height: 40px; /* Optional: setting a fixed height helps force everything to the middle */
}


/* The Buttons - Solid, compact, and aligned */
.btn-action {
    display: inline-block;
    padding: 3px 10px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;

    /* The Sharp Etch Fix */
    /* Controlled Boldness - Weight + Micro-Stroke */

    border-radius: 2px;
    color: #ffffff !important;
    line-height: 1.2;
    margin-right: 4px; /* Manual gap instead of flex gap */
    vertical-align: middle;
}

.btn-action:last-child {
    margin-right: 0;
}

/* Darker default colors (using your previous hover values) */
.btn-deposit {
    background-color: #218838;
}

.btn-withdraw {
    background-color: #0069d9;
}

/* Hover effect shifted darker to match the new style */
.btn-deposit:hover { background-color: #1a6d2c; }
.btn-withdraw:hover { background-color: #0056b3; }


/* Container using the Discord-style dark background */
.session-command-center {
    max-width: 480px;
    margin: 40px auto;
    background: #2f3136; /* Discord dark theme gray */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

/* Red Gradient Header Block from 1.png */
.session-banner {
    height: 80px;
    background: linear-gradient(to bottom, #8b0000 0%, #3a0000 100%);
    position: relative;
}

/* The Rounded "Pillar" or Status Avatar Area */
.status-avatar-wrap {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 70px;
    height: 70px;
    background: #18191c;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #2f3136;
}

/* Glowing Pulse for the Active Session */
.active-pulse {
    width: 15px;
    height: 15px;
    background: #3ba55d; /* Discord Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #3ba55d;
}

/* Lower Content Area */
.session-body {
    padding: 40px 20px 25px 20px;
    text-align: left;
}

.session-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.session-subtitle {
    color: #b9bbbe;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Keeping your exact class name: btn-terminate */
.btn-terminate {
    width: 100%;
    height: 75px; /* Tall AF */
    background: #000000;
    color: #ffffff;
    border: 2px solid #444;
    padding: 10px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.1s steps(2); /* Instant mechanical swap, no fade */
    box-shadow: 4px 4px 0px #222;
}

/* High Contrast Serious Hover */
.btn-terminate:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 2px 2px 0px #000;
    transform: translate(-1px, -1px);
}

.btn-terminate:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

/* Container to handle the width */
.button-row {
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
    box-sizing: border-box;
}

/* The Wide and Tall "Discord-High-Contrast" Button */
.btn-backtest {
    width: 100%;
    /* Red Gradient based on your session-banner style */
    background: linear-gradient(to bottom, #8b0000 0%, #3a0000 100%);
    color: #ffffff;

    /* Tall AF Requirement */
    height: 70px;

    /* Typography */
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;

    /* Border & Shape */
    border: 2px solid #444;
    border-radius: 8px;
    cursor: pointer;

    /* Transitions */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-backtest:hover {
    /* Discord-style Red/Delete color on hover */
    background: #f04747;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(240, 71, 71, 0.4);
    transform: translateY(-2px);
}

.btn-backtest:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


.btn-generate {
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #e0e0e0;
    border: 1px solid #444; /* Subtle border makes it look 'carved' */
    padding: 14px 34px;
    border-radius: 3px; /* Sharper corners look more serious than round ones */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 8px rgba(0,0,0,0.4);
    transition: all 0.2s ease-in-out;
}

.btn-generate:hover {
    color: #fff;
    border-color: #666;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
    transform: translateY(1px); /* 'Pressing' effect instead of 'Floating' */
}
/* --- Base Card Styles --- */
.plan-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, z-index 0s, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

/* Ensure the list container allows overlapping */
.membership-container ul {
    overflow: visible;
}

.membership-container ul li {
    /* Slower transition for a more "Institutional" feel */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    z-index: 1;
}

.membership-container ul li:hover {
    /* Controlled growth: 1.1 instead of 1.25 */
    transform: scale(1.1);
    z-index: 100;

    background-color: #fff;
    border-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.plan-card h3 {
    text-transform: uppercase;
    font-size: 14px;
    color: #888;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* --- Standard Hover State --- */
.plan-card:hover {
    transform: scale(1.05);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Featured (Professional) Base State --- */
.plan-card.featured {
    border: 2px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(1.05) !important;
    z-index: 10 !important;
}

/* --- Featured Hover (Inversion) State --- */
.plan-card.featured:hover {
    transform: scale(1.10) !important;
    z-index: 9999 !important;
    background-color: #1a1a1a !important;
    color: #fff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* --- Elements inside Featured Card on Hover --- */
.plan-card.featured:hover h3,
.plan-card.featured:hover .price,
.plan-card.featured:hover .price span,
.plan-card.featured:hover .reveal-text {
    color: #fff !important;
}

.plan-card.featured:hover .badge {
    background: #fff !important;
    color: #1a1a1a !important;
    border: 1px solid #1a1a1a;
}

.plan-card.featured:hover .btn-generate {
    background: #fff !important;
    color: #1a1a1a !important;
    font-weight: 800;
}

/* --- List Items Inversion (Boxes stay white, text goes black) --- */
.plan-card.featured:hover ul li {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    border-color: #000 !important;
}

/* --- Reveal Text Animation --- */
.reveal-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.plan-card:hover .reveal-text {
    opacity: 1;
    max-height: 100px;
    margin-top: 20px;
    margin-bottom: 10px;
}


.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
/* 1. The Hidden State */
.reveal-text {
    opacity: 0;
    max-height: 0;      /* Force height to zero */
    margin: 0;          /* Remove margins so they don't take space */
    padding: 0;         /* Remove padding */
    overflow: hidden;   /* Ensure text doesn't 'leak' out of the 0px height */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Professional 'slide' curve */
    font-size: 13px;
    text-align: center;
    color: #666;
}



.price {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: #999;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.plan-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #444;
}

/* Use your specific button fix here */
.plan-card .btn-generate {
    width: 100%;
    text-align: center;
}



.membership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Inter', sans-serif;
}

.membership-header {
    text-align: center;
    margin-bottom: 50px;
}

.membership-header h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.membership-header p {
    color: #666;
}

/* This fixes the vertical stacking */
.plans-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start; /* Keeps neighbors from growing when one expands */
}

/* --- Base Plan Card --- */
.plan-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card h3 {
    text-transform: uppercase;
    font-size: 14px;
    color: #888;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.plan-card .price span {
    font-size: 16px;
    color: #999;
}

/* --- The Feature Boxes (Little boxes inside) --- */
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    min-height: 80px;
}

.plan-card ul li {
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 3px;
    font-size: 12px;
    color: #444;
}

.plan-card ul li.heavy {
    border: 1px solid #1a1a1a;
    color: #000;
    font-weight: 600;
}

/* --- Featured (Professional) Card Specifics --- */
.plan-card.featured {
    border: 2px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Hover Effects & Animations --- */
.plan-card:hover {
    transform: scale(1.05);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.featured:hover {
    transform: scale(1.10);
    background-color: #1a1a1a;
    color: #fff;
}

/* Invert colors for Professional card features on hover */
.plan-card.featured:hover h3,
.plan-card.featured:hover .price,
.plan-card.featured:hover .price span {
    color: #fff;
}

.plan-card.featured:hover ul li {
    background: #fff;
    color: #000;
    border-color: #000;
}

/* --- Reveal Text logic --- */
.reveal-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.plan-card:hover .reveal-text {
    opacity: 1;
    max-height: 200px; /* Adjust based on content */
    margin-bottom: 10px;
}

.btn-generate {
    margin-top: auto;
}

/* 1. GLOBAL & LAYOUT CONTAINERS */
.form-container {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-row {
    display: grid;
    gap: 15px;
    align-items: end; /* Aligns inputs to the bottom */
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Row 1: 5 Columns | Row 2: 6 Columns */
.main-config { grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; }
.trading-params { grid-template-columns: repeat(6, 1fr); }

/* 2. GENERAL FIELD STYLING */
.field-group label,
.date-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4A4A4A;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    height: 50px;
    padding: 8px 12px;
    border: 2px solid #6C7A89;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #4A4A4A;
    box-sizing: border-box;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* 3. TOGGLE BUTTONS (RADIO LOGIC) */
.toggle-state { display: none; }

.toggle-label {
    display: inline-block;
    background-color: #f5f5f5;
    color: #4A4A4A;
    border: 2px solid #6C7A89;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 5px;
    letter-spacing: 0.5px;
    user-select: none;
}

.toggle-label:hover { border-color: #4A4A4A; }

.toggle-container {
    display: flex;
    height: 50px;
    align-items: center;
}

/* Specific Toggle Checked Styles (Triggered by hidden radios) */
#time_whole:checked + #time_custom + .field-group + .field-group + .field-group .toggle-label[for="time_whole"],
#time_custom:checked + .field-group + .field-group + .field-group .toggle-label[for="time_custom"] {
    background-color: #4A4A4A;
    color: #ffffff;
    border-color: #4A4A4A;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.4);
}

/* 4. DATE INPUTS & GRAY-OUT LOGIC */
.date-input-group {
    transition: opacity 0.3s ease;
    margin-top: 0 !important; /* Keep aligned in horizontal grid */
}

#time_whole:checked ~ .date-input-group {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(1);
}

input.form-control[type="date"] {
    padding: 12px 16px;
    font-size: 1.1rem;
    min-width: 200px;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    transform: scale(1.3);
    filter: invert(0.3);
}

/* 5. RESPONSIVENESS */
@media (max-width: 1200px) {
    .main-config, .trading-params {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
</style>
<style>
/* Reward Hierarchy Table Styles */
h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4A4A4A;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Courier New', monospace; /* Keeping the technical/monospace feel */
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

table th {
    background: #333333;
    color: #ffffff;
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #444;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

table td {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    color: #333;
}

/* Zebra striping for readability */
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect to track rows easily */
table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.2s ease;
}

/* Specific column alignment */
table td:nth-child(1), /* LVL */
table td:nth-child(3), /* MIN PNX */
table td:nth-child(4), /* USD COST */
table td:nth-child(5), /* DAILY $ */
table td:nth-child(6), /* APR % */
table td:nth-child(7)  /* BREAKEVEN */ {
    text-align: right;
}

/* Highlight Efficiency Column */
table td:last-child {
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
}



/* Dynamic highlight row */
#dynamic-results tr {
    transition: all 0.3s ease;
}

#res-status {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 900;
}

/* Make table responsive on small screens */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
    }
}


.results-banner {
    background: #000000; /* Solid black to match the button */
    border-left: 5px solid #3498db; /* Sharp blue accent edge */
    padding: 20px;
    margin: 20px;
    font-family: 'Courier New', monospace;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}

.results-banner h3 {
    color: #3498db; /* Blue title */
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.results-banner p {
    color: #ffffff; /* Stark white text - no more invisible text */
    margin: 5px 0;
    font-size: 15.6px;
}

.results-banner .highlight {
    color: #f1c40f; /* Yellow for specific strategy names/values */
    font-weight: bold;
}




/* Reusable PayNexor Bot Components */
.pnx-bot-container { font-family: sans-serif; line-height: 1.6; color: #333; max-width: 1000px; margin: 20px auto; padding: 20px; }
.pnx-bot-hero-title { color: #2d5a27; font-size: 2.5rem; margin-bottom: 10px; }

/* Badges */
.pnx-bot-badge { display: inline-block; color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }
.pnx-bg-green { background: #00c853; }
.pnx-bg-red { background: #d32f2f; }

/* Grid and Cards */
.pnx-bot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 30px 0; }
.pnx-bot-card { background: #f9fdf9; border: 1px solid #e0eee0; padding: 20px; border-radius: 8px; border-left: 4px solid #2d5a27; }
.pnx-bot-card h3 { margin-top: 0; color: #2d5a27; }

/* Technical Panel */
.pnx-bot-math-panel { background: #1a1a1a; color: #00ff41; padding: 20px; border-radius: 6px; font-family: 'Courier New', monospace; margin: 20px 0; white-space: pre-wrap; }
.pnx-bot-math-panel.pnx-math-short { color: #ff5252; } /* Only the text color changes for short math */

.pnx-accent { color: #00c853; font-weight: bold; }



/* 1. RESET & FOUNDATION */
.pnx-aff-wrapper {
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --accent-glow: #00c853;
    --text-main: #ffffff;
    --text-dim: #b1b1b1;
    font-family: 'Inter', sans-serif;
    background: #0a0a0a; /* Deep dark background */
    color: var(--text-main) !important;
    padding: 60px 5%;
    margin: 0;
}

/* Force visibility on all headers and paragraphs within this container */
.pnx-aff-wrapper h1,
.pnx-aff-wrapper h2,
.pnx-aff-wrapper h3 {
    color: var(--text-main) !important;
    margin-top: 0;
}

.pnx-aff-wrapper p,
.pnx-aff-wrapper li {
    color: var(--text-dim) !important;
    font-size: 1.1rem;
}

/* 2. ULTRA-WIDE HERO */
.pnx-aff-hero {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 80px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.pnx-aff-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #ffffff, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. GLASS CARDS */
.pnx-aff-workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto 100px auto;
}

.pnx-glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.pnx-glass-card:hover {
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.pnx-card-num {
    color: var(--accent-glow) !important;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

/* 4. DATA TABLE (FORCE VISIBILITY) */
.pnx-data-section {
    max-width: 1600px;
    margin: 0 auto 100px auto;
}

.pnx-wide-table {
    width: 100%;
    border-spacing: 0 12px;
    border-collapse: separate;
}

.pnx-wide-table th {
    text-align: left;
    padding: 20px;
    color: #ffffff !important; /* Forced White */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pnx-table-row {
    background: var(--glass);
}

.pnx-table-row td {
    padding: 25px 20px;
    color: var(--text-dim) !important;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.pnx-table-row td:first-child { border-left: 1px solid var(--glass-border); border-radius: 12px 0 0 12px; color: #fff !important; }
.pnx-table-row td:last-child { border-right: 1px solid var(--glass-border); border-radius: 0 12px 12px 0; }

/* 5. THE CONSOLE */
.pnx-console {
    background: #000;
    border-radius: 12px;
    padding: 35px;
    font-family: monospace;
    color: var(--accent-glow);
    border: 1px solid #333;
    line-height: 1.5;
}

/* 6. BUTTON */
.pnx-btn-glow {
    background: var(--accent-glow);
    color: #000 !important;
    padding: 20px 40px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.pnx-btn-glow:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}




@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


:root {
    --bg-main: #0a0b0d;
    --bg-card: #16171a;
    --border-color: #2d2f36;
    --text-main: #ffffff;
    --text-muted: #a1a8b1; /* Brightened for better contrast */
    --accent-blue: #3498db;
    --success: #02c076;
    --danger: #cf304a;
}
.btn-main-action {
    width: 100%; /* Spans the full width of the dashboard's inner container */
    margin-top: 30px;
    padding: 22px;
    border: none;
    border-radius: 12px;

    /* The "Purple-Red" Bold Gradient */
    background: linear-gradient(135deg, #8E2DE2 0%, #F00000 100%);

    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;

    /* Smooth interaction effects */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.2);
}

.btn-main-action:hover {
    transform: translateY(-3px); /* Subtle lift */
    filter: brightness(1.1); /* Makes the colors pop more */
    box-shadow: 0 15px 30px rgba(240, 0, 0, 0.3); /* Intense red glow */
}

.btn-main-action:active {
    transform: translateY(1px);
    filter: brightness(0.9);
}

/* Ensure the button stays perfectly aligned on mobile */
@media (max-width: 600px) {
    .btn-main-action {
        font-size: 14px;
        padding: 18px;
    }
}

.summary-dashboard {
    background: var(--bg-main);
    padding: 32px; /* More breathing room */
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 20px auto;
}

.section-divider {
    color: var(--text-muted);
    font-size: 14px; /* Increased from 11px */
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
    margin-left: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Wider tiles */
    gap: 20px;
}

.metric-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px; /* Bigger padding */
    border-radius: 12px;
}

.metric-tile.full-width {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #16171a 0%, #1e2026 100%);
    border-bottom: 2px solid var(--accent-blue);
}

.metric-tile .label {
    color: var(--text-muted);
    font-size: 14px; /* Increased from 12px */
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.metric-tile .value {
    font-size: 1.75rem; /* Large, readable numbers */
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Specific treatments for primary numbers */
.main-value {
    font-size: 3rem !important; /* Massive main heading */
    color: var(--text-main);
}

.main-value small {
    font-size: 18px; /* Readable sub-labels */
    color: var(--text-muted);
    font-weight: 500;
}

.metric-tile.highlight-green .value { color: var(--success); }
.metric-tile.highlight-red .value { color: var(--danger); }
.metric-tile.accent-blue { border-top: 4px solid var(--accent-blue); }

/* Mobile readability */
@media (max-width: 768px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .main-value { font-size: 2.2rem !important; }
}


/* --- Layout Containers --- */
.membership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Inter', sans-serif;
}

.membership-header {
    text-align: center;
    margin-bottom: 50px;
}

.membership-header h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.membership-header p {
    color: #666;
}

/* This fixes the vertical stacking */
.plans-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start; /* Keeps neighbors from growing when one expands */
}

/* --- Base Plan Card --- */
.plan-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card h3 {
    text-transform: uppercase;
    font-size: 14px;
    color: #888;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.plan-card .price span {
    font-size: 16px;
    color: #999;
}

/* --- The Feature Boxes (Little boxes inside) --- */
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    min-height: 80px;
}

.plan-card ul li {
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 3px;
    font-size: 12px;
    color: #444;
}

.plan-card ul li.heavy {
    border: 1px solid #1a1a1a;
    color: #000;
    font-weight: 600;
}

/* --- Featured (Professional) Card Specifics --- */
.plan-card.featured {
    border: 2px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Hover Effects & Animations --- */
.plan-card:hover {
    transform: scale(1.05);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.featured:hover {
    transform: scale(1.10);
    background-color: #1a1a1a;
    color: #fff;
}

/* Invert colors for Professional card features on hover */
.plan-card.featured:hover h3,
.plan-card.featured:hover .price,
.plan-card.featured:hover .price span {
    color: #fff;
}

.plan-card.featured:hover ul li {
    background: #fff;
    color: #000;
    border-color: #000;
}

/* --- Reveal Text logic --- */
.reveal-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.plan-card:hover .reveal-text {
    opacity: 1;
    max-height: 200px; /* Adjust based on content */
    margin-bottom: 10px;
}

.btn-generate {
    margin-top: auto;
}
