/* File: styles.css */

body {
    font-family: "Roboto", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

.header {
    background-color: #0055ba;
    text-align: center;
    padding-top: 20px;
    border-bottom: 1px solid #0057be;
}

.header img {
    max-width: 200px;
    height: auto;
}

.navbar {
    background-color: #0055ba;
	margin: 0 auto;
	max-width: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
}


.navbar-container {
    background-color: #0055ba;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.navbar .logo {
    font-size: 1.5em;
    color: #1e88e5;
    font-weight: bold;
    text-decoration: none;
    margin-right: auto;
}

.navbar a {
    color: #b4cae4;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover {
    background-color: #1e88e5;
    color: #ffffff;
}

.navbar a[href="register.php"],
.content a[href="register.php"] {
    background-color: #28a745; /* Green background */
    color: white; /* White text */
}

.navbar a[href="register.php"]:hover,
.content a[href="register.php"]:hover {
    background-color: #218838; /* Darker green on hover */
    color: white;
}


.navbar-left {
    flex: 1;
	font-size: 12px;
	padding-right: 35px;
	
}

.navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.content {
    max-width: 600px;
    margin: auto;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-bottom: 32px;
	margin-top: 20px;
	border-radius: 8px;
}

.content a {
	color: #ffffff;
	background-color: #0055ba;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.content a:hover {
    background-color: #1e88e5;
    color: #ffffff;
}

.yt-content {
    margin: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	background-image: linear-gradient(to bottom, #0055b9 0 66%, #004fab 66% 100%);
    width: 100%;
	padding-top:  10px;
    padding-bottom: 32px;
}




h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.form-container-yt {
	max-width: 568px;
	margin: 0 auto;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.form-container-yt input[type="text"] {
    width: calc(100% - 20px); /* Adjust to ensure consistent spacing */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 100px;
    background-color: #f9f9f9;
}


.form-container-yt label {
    display: block;
    margin-bottom: 10px;
    color: #002438;
    font-weight: bold;
}


.form-container {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.form-container label {
    display: block;
    margin-bottom: 10px;
    color: #002438;
    font-weight: bold;
}


.form-container input[type="text"] {
    width: calc(100% - 20px); /* Adjust to ensure consistent spacing */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 100px;
    background-color: #f9f9f9;
}

.inline-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between select and button */
}

.inline-group select {
    width: auto;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.inline-group button {
    padding: 8px 16px;
    background-color: #151515;
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-weight: bold;
}

.inline-group button:hover {
    background-color: #005cbf;
}


form {
    background-color: #ffffff;
    max-width: 568px;
    border-radius: 12px;
    margin: 0 auto;
    padding: 16px;
}



.form-container input[type="email"],
.form-container input[type="password"],
.form-container select,
.form-container button {
    width: calc(100% - 20px); /* Adjust to ensure consistent spacing */
    padding: 10px;
    margin: 10px 0; /* Add vertical spacing */
    border: 1px solid #ccc;
    border-radius: 100px;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.3s;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="password"]:focus,
.form-container select:focus {
    border-color: #1e88e5;
    outline: none;
}

.form-container input[type="email"],
.form-container input[type="password"] {
    font-size: 0.95em;
}

.form-container small {
    color: #666;
    font-size: 0.85em;
    display: block;
    margin-bottom: 15px;
}

.form-container button {
    background-color: #151515;
    color: white;
	max-width: 85px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    padding: 12px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.form-container button:hover {
    background-color: #005cbf;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3);
}

.form-container input[type="checkbox"] {
    margin-right: 10px;
}

.form-container input[type="checkbox"] + label {
    display: inline-block;
    color: #555;
    font-weight: normal;
}

.token-counter {
    background: #ffffff;
    color: #5e8d00;
    border-radius: 8px;
}

.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.form-links a:hover {
    color: #ffffff;
}

.footer {
    background-color: #ffffff;
    color: #555;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.button-install {
    display: inline-block;
    background-color: #1e88e5;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button-install:hover {
    background-color: #005cbf;
}



.button-start {
    display: inline-block;
    background-color: #76c043; /* Green background color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button-start:hover {
    background-color: #5ca330; /* Darker green for hover */
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #1e88e5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.timestamps-content {
	color: #1e90ff; /* Blue color to mimic YouTube links */
	text-decoration: underline; /* Underline for clickable effect */
	cursor: pointer; /* Pointer cursor to suggest interactivity */
}

.instruction-image {
    max-width: 100%; /* Ensures the image doesn't overflow the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image horizontally */
    margin: 20px auto; /* Adds space around the image and centers it */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a soft shadow */
    border-radius: 10px; /* Optional: Add rounded corners */
}




/* text formatting for description of tool */
#text {
	background-color: #ffffff;
	margin: 2px auto;
	padding: 2px;
}

#text h1 {
	font-size: 24px;
	margin-bottom: 16px;
	color: #333333;
}

#text p {
	font-size: 16px;
	color: #555555;
	line-height: 1.5;
	margin-bottom: 16px;
}

#text a {
	color: #007bff;
	text-decoration: none;
}

#text a:hover {
	text-decoration: underline;
}






.stripe-logo {
	margin-top: 15px;
	width: 150px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


.subscription-plan-details {
	color: #3e9c35;
	font-weight: 600;
	font-size: 20px;
	text-align: center;
	margin-bottom: 20px;
}

.subscription-plan-details-small {
    color: #48484A;
	font-weight: 300;
	font-size: 14px;
	text-align: center;
	margin-bottom: 20px;
}


.subscription-content {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background-color: #e1edfc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-bottom: 32px;
	border-radius: 8px;
}



.subscription-content a {
	display: inline-block;
	text-align: center;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 1em;
	box-shadow: 0 4px 10px rgba(0, 86, 179, 0.5);
}

.subscription-content  a:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 10px rgba(0, 86, 179, 0.5);
}

.subscription-card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	align-items: center;
	background: #fff;
	border: 2px solid #0055ba; /* Yellow border */
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 350px;
	margin: 0 auto;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.subscription-card h2 {
	font-size: 1.6em;
	margin-bottom: 15px;
	color: #48484A;
}

.subscription-card p {
	margin: 10px 0;
	color: #48484A;
	font-size: 1.1em;
	
}

.subscription-card .price {
	font-size: 1.8em;
	font-weight: 300;
	text-align: center;
}

.subscription-card a {
	display: inline-block;
	text-align: center;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 6px;
	margin-top: 12px;
	font-weight: bold;
	font-size: 1em;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-card a:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 10px rgba(0, 86, 179, 0.5);
}

.button-install {
	display: inline-block;
	text-align: center;
	background-color: #6c757d;
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	border-radius: 4px;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.button-install:hover {
	background-color: #5a6268;
}

.cta-buttons {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	gap: 20px;
}


.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

#message {
    width: 100%;
    max-width: 700px;
    height: 200px;
    font-size: 1rem;
    padding: 10px;
    box-sizing: border-box;
}



.ai-response-card {
    background-color: #fdfdff;
    border: 1px solid #d4e3f6;
    border-left: 5px solid #0055ba;
    padding: 20px 24px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 85, 186, 0.1);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.ai-response-card h3 {
    font-size: 1.3rem;
    color: #0055ba;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.ai-response-card h3::before {
    content: "🤖";
    margin-right: 8px;
    font-size: 1.4rem;
}

.ai-response-card .tokens {
    font-size: 0.9rem;
    color: #555;
    margin-top: 15px;
    font-weight: bold;
}

.ai-response-card a.ask-another {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 16px;
    background-color: #0055ba;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.ai-response-card a.ask-another:hover {
    background-color: #003f8c;
}



.copy-box {
    background: #f4f4f4;
    border: 1px solid #ccc;
    padding: 12px;
    white-space: pre-wrap;
    font-family: monospace;
    position: relative;
    cursor: pointer;
    user-select: all;
}

.copy-box:hover {
    background: #eaeaea;
					 
					
}

.copy-notification {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 12px;
    color: green;
    display: none;
}

.youtube-time {
    color: #065fd4;
    font-weight: bold;
    cursor: pointer;
    margin-right: 6px;
}

.youtube-desc {
    color: #000;
}

.copy-box div {
							  
							  
								   
					   
    margin-bottom: 6px;
					   
												
					
					 
				
}

.clean-timestamps {
    background-color: #fff; /* White background */
    border: 1px solid #ccc;
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
    font-family: monospace;
    border-radius: 6px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.clean-timestamps div {
    margin: 0; /* Removes gaps between lines */
    padding: 2px 0;
					  
}

.youtube-time {
					  
    color: #065fd4;
					 
    font-weight: bold;
    cursor: pointer;
    margin-right: 4px;
}


.yt-timestamp-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 14px;
    max-height: 300px;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.56;
    border-radius: 6px;
    cursor: pointer;
}

.yt-timestamp-box div {
    margin: 0;
    padding: 1px 0;
}

.yt-time {
						  
					 
					   
    color: #065fd4;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
					  
										   
}

.copy-notification {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 12px;
    color: green;
    display: none;
}


.tutorial-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.tutorial-images img.tutorial-step {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.tab-content {
    display: none !important;
}
.tab-content.active {
    display: block !important;
}

.tab-section {
    max-width: 600px;
    margin: 40px auto 0 auto;
    border-radius: 12px;
    background: none; /* We'll style content below */
    box-shadow: none;
    position: relative;
					
					 
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #ccc;
    background: #f1f1f1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-button {
	flex: 1;
    padding: 12px 0;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #555;
    transition: background-color 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    background-color: #ffffff;
    border-bottom: 3px solid #0055ba;
    color: #0055ba;
    font-weight: bold;
					
					  
}

.tab-button:hover {
    background-color: #e6e6e6;
}

.tab-content {
    border-radius: 0 0 12px 12px;
    background: #fff;
		   
		
    margin-top: -1px;
    box-shadow: 0 4px 32px rgba(0, 85, 186, 0.05);
    display: none;
	 
	  
	
}

.tab-content.active {
    display: block;
						   
				  
					  
					 
						   
					   
					 
						  
}

/* Different background for the "Ask a YouTube Video Question" tab */
#question-tab.tab-content.active {
    background: #f6f8fa;
	   
}


.tab-section {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    background: none;
					  
					
					  
}



.yt-tab-wrapper {
  max-width: 600px;
  margin: 0 auto;
}


.bubble {
    display: inline-block;
    padding: 10px 16px;
    margin: 6px 0;
    border-radius: 12px;
    background: #f1f1f1;
    max-width: 80%;
}
.bubble.user {
    background: #e3f2fd;
    color: #1a237e;
    align-self: flex-end;
}
.bubble.assistant {
    background: #e8f5e9;
    color: #256029;
    align-self: flex-start;
}
.msg {
    display: flex;
    margin-bottom: 8px;
}


/* ----- AI Chat Layout ----- */
/* --- Modern Neutral Chat Bubbles --- */

.ai-chat-container {
    max-width: 60%;
    margin: 10px auto 0 auto;
    background: #f8fafd;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(80,100,140,0.11), 0 1.5px 7px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    height: 80vh;
    overflow: hidden;
	margin-bottom: 6px;
}

#chat-bubbles {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 32px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    background: #f5f6fa;
    min-height: 0;
}

.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bubble {
    padding: 14px 18px;
    border-radius: 16px;
		
				   
    font-size: 1.08em;
    word-break: break-word;
    white-space: pre-line;
    box-shadow: 0 1.5px 6px rgba(150,160,180,0.08);
    max-width: 98%;
    position: relative;
    border: 1px solid #ececec;
    line-height: 1.6;
}

.bubble.user {
    background: #f1f3f6;
    color: #2a2d34;
    margin-left: auto;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 16px;
}

.bubble.assistant {
    background: #fff;
    color: #2a2d34;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 16px;
}

.bubble .role-label {
    font-size: 0.95em;
    font-weight: 500;
    opacity: 0.46;
    margin-right: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.loading-bubble {
    display: flex;
    align-items: center;
    background: #fff;
    color: #2a2d34;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 1.08em;
    min-height: 32px;
    margin-right: auto;
    max-width: 78%;
    border: 1px solid #ececec;
    opacity: 0.9;
}
.loading-dots {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}
.loading-dots span {
    display: inline-block;
    width: 7px; height: 7px;
    background: #d0d5db;
    border-radius: 50%;
    margin: 0 2px;
    opacity: 0.7;
    animation: typing-dot 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.18s;}
.loading-dots span:nth-child(3) { animation-delay: 0.36s;}
@keyframes typing-dot {
    0%, 80%, 100% { opacity: 0.2;}
    40% { opacity: 1;}
}

/* Input bar sticks to chat bottom, not screen bottom */
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 18px 18px;
    background: #f8fafd;
    border-top: 1px solid #ececec;
}
.chat-input-bar input[type="text"] {
    flex: 1;
    font-size: 1.08em;
    border: 1.5px solid #e2e5ea;
    border-radius: 8px;
    padding: 12px 15px;
    background: #fff;
    outline: none;
    transition: border 0.17s;
}
.chat-input-bar input[type="text"]:focus {
    border: 1.5px solid #b1b8c8;
    background: #fff;
}
.chat-input-bar button {
    padding: 11px 25px;
    border-radius: 8px;
    border: none;
    background: #23262e;
    color: #fff;
    font-weight: 600;
    font-size: 1.07em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(110,110,110,0.06);
    transition: background 0.16s;
}
.chat-input-bar button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.chat-input-bar button:hover:enabled {
    background: #555a63;
}

/* Title bar */
.chat-title-bar {
    padding: 18px 18px 12px 18px;
    font-size: 1.13rem;
    color: #23262e;
    background: #f8fafd;
    border-bottom: 1px solid #ececec;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .ai-chat-container {
        max-width: 98vw;
        margin: 18px auto 0 auto;
    }
}
@media (max-width: 700px) {
    .ai-chat-container {
        max-width: 100vw;
        border-radius: 0;
        min-height: 60vh;
        height: 93vh;
        margin: 0;
    }
    .chat-title-bar, .chat-input-bar, #chat-bubbles {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .bubble, .loading-bubble {
        font-size: 0.99em;
        padding: 9px 11px;
    }
}

/* Section for the index page when out of free tokens, asks to subscribe */

.token-alert h2 {
  color: #247cff;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 12px;
}

.token-alert .token-desc {
  color: #444950;
  font-size: 1.13em;
  margin-bottom: 32px;
}


 .center-section {
    display: flex;
    gap: 1.2em;
    justify-content: center;
    align-items: flex-start;
    margin: 1em auto 0 auto;
    max-width: 1100px;
    flex-wrap: wrap;
}


.alpha-banner {
  background: linear-gradient(to right, #003cff, #007bff);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid #0050c1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.alpha-icon {
  font-size: 20px;
}
.alpha-message {
  line-height: 1.3;
}
.alpha-message strong {
  margin-right: 6px;
  font-weight: 600;
}



.subscription-card-upgrade {
    max-width: 400px;
    margin: 35px auto 25px auto;
    padding: 30px 30px 18px 30px;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #247cff44;
    box-shadow: 0 6px 28px 0 #213e5b12;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s;
}
.subscription-card-upgrade:hover {
    box-shadow: 0 12px 36px 0 #1a3e7a26;
    border-color: #247cff;
}
.subscription-card-upgrade h2 {
    margin-top: 0;
    font-size: 2.0rem;
    color: #224588;
    letter-spacing: 0.2px;
    font-weight: 700;
}
.subscription-card-upgrade .plan-perks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 24px 0 18px 0;
    padding-left: 0;
    gap: 12px;
}
.subscription-card-upgrade .plan-perks li {
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 1.02rem;
    color: #39495f;
}
.subscription-card-upgrade .plan-perks li .perk-icon {
    color: #23c55e;
    margin-right: 11px;
    font-size: 1.4rem;
}
.subscription-card-upgrade .plan-price {
    font-size: 2.3rem;
    color: #1b3666;
    font-weight: 600;
    margin-bottom: 3px;
}
.subscription-card-upgrade .per-month {
    font-size: 1.1rem;
    color: #4263a0;
    font-weight: 400;
    margin-bottom: 18px;
}
.subscription-card-upgrade .subscribe-btn {
    width: 100%;
    background: linear-gradient(90deg, #247cff 60%, #2e72ef 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 0;
    border-radius: 6px;
    border: none;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 #247cff23;
    transition: background 0.15s;
}
.subscription-card-upgrade .subscribe-btn:hover {
    background: #1558d6;
}
.subscription-card-upgrade .stripe-powered {
    display: inline-block;
    margin-top: 0px;
    font-size: 0.98rem;
    padding: 7px 13px;
    border: 1.6px solid #6366f1;
    color: #2c3575;
    border-radius: 7px;
    background: #f7faff;
    letter-spacing: 0.06em;
}
.subscription-card-upgrade .stripe-powered img {
    height: 1.1em;
    vertical-align: middle;
    margin-left: 4px;
}
@media (max-width: 600px) {
    .subscription-card-upgrade { padding: 17px 4vw; }
    .subscription-card-upgrade h2 { font-size: 1.25rem; }
    .subscription-card-upgrade .plan-price { font-size: 1.4rem; }
}
.plan-perks {
    list-style: none;
    padding-left: 0;
}
.plan-perks li {
    display: flex;
    align-items: center;
    font-size: 1.04rem;
    margin-bottom: 8px;
    /* No bullet, spacing between items */
}
.plan-perks .perk-icon {
    margin-right: 0.7em;
    font-size: 1.2em;
}

.out-of-tokens-message {
    text-align: center;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 1.5em 1em 1em 1em;
    margin: 0 auto 2em auto;
    max-width: 420px;
    box-shadow: 0 1px 8px 0 #fbe9e7;
}
.out-of-tokens-message h2 {
    color: #de6a00;
    margin-bottom: 0.3em;
    font-size: 1.5em;
}
.out-of-tokens-message p {
    color: #575555;
    font-size: 1.08em;
    margin: 0;
}

.subscription-card form .plan-button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 3px;
    font-weight: bold;
    font-size: 1.07em;
    border-radius: 8px;
    border: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(36,124,255,0.07);
    letter-spacing: 0.5px;
}

/* Blue for Basic */
.subscription-card .plan-button.basic {
    background: #247cff;
    color: #fff;
}

.subscription-card .plan-button.basic:hover {
    background: #1651b5;
}

/* Platinum for Premium (clean light platinum look) */
.subscription-card .plan-button.premium {
    background: linear-gradient(90deg, #c0c8d2 0%, #e5e7ea 100%);
    color: #2d333a;
}

.subscription-card .plan-button.premium:hover {
    background: linear-gradient(90deg, #b0b8c2 0%, #dadce0 100%);
    color: #1a1a1a;
}

.plan-button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 44px; /* Increased left/right padding */
  font-weight: 700;
  font-size: 1.12em;
  border-radius: 8px;
  border: 2px solid #247cff;  /* Both now have the same blue border */
  cursor: pointer;
  transition: 
    box-shadow 0.12s, 
    background 0.12s, 
    color 0.12s, 
    border-color 0.12s, 
    transform 0.09s;
  box-shadow: 0 2px 8px rgba(36,124,255,0.08);
  outline: none;
  letter-spacing: 0.2px;
}

/* Blue for Basic */
.plan-button.basic {
  background: linear-gradient(90deg, #247cff 75%, #186fd4 100%);
  color: #fff;
}
.plan-button.basic:hover {
  background: linear-gradient(90deg, #1651b5 60%, #247cff 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(36,124,255,0.22);
  transform: translateY(-1px) scale(1.022);
}

/* Platinum/Premium for Premium */
.plan-button.premium {
  background: linear-gradient(90deg, #e3e5e8 70%, #babfc6 100%);
  color: #23272f;
  border: 2px solid #247cff;  /* Same blue border as Basic */
}
.plan-button.premium:hover {
  background: linear-gradient(90deg, #d3d6da 40%, #b0b6bd 100%);
  color: #11141a;
  box-shadow: 0 4px 16px rgba(160,170,180,0.19);
  transform: translateY(-1px) scale(1.022);
  border-color: #1651b5; /* subtle blue on hover */
}
