:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;

    --color-black: #000000;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-gray: #d3d3d3;
    --color-dark-gray: #2d3748;
    --color-charcoal: #333333;
    --border-radius-lg: 25px;
    --border-radius-md: 15px;
    --border-radius-sm: 8px;

    --bg-primary: var(--color-light-gray);
    --bg-secondary: var(--color-white);    /* Card backgrounds, input backgrounds */
    --text-primary: var(--color-charcoal); /* Main headings, strong text */
    --text-secondary: var(--color-dark-gray); /* Paragraphs, general text */
    --text-tertiary: var(--color-gray);    /* Placeholders, small notes */
    --color-accent-blue: #007bff; /* Derived from previous CSS, used for active states, links if needed */
    --color-status-green: #28a745; /* For verified icons, success */
    --color-status-red: #dc3545; /* For errors */
    --color-status-yellow: #ffc107;

    --border-color: var(--color-gray);

    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

    --font-size-sm: 0.9em;
    --font-size-md: 1em;
    --font-size-lg: 1.1em;
    --font-size-xl: 1.2em;
}

body.dark-theme {
    --bg-primary: #121212;
    --bg-secondary: #1f1f1f;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;/*//e0e0e0;*/
    --text-tertiary: #999999;/*//a0a0a0;*/
    --color-black: #ffffff;
    --color-white: #1f1f1f;
    --color-light-gray: #3a3a3a;/*//303030*/
    --color-gray: #555555;/*//424242*/
    --color-dark-gray: #aaaaaa;/*//b0b0b0*/
    --color-charcoal: #e0e0e0;/*//var(--color-white)*/
    --color-accent-blue: #8ab4f8;
    --color-status-green: #6aa96e;
    --color-status-red: #cf6679;
    --color-status-yellow: #fdd835;
    --border-color: #444444;/*//505050*/
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.5);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--color-dark-gray);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4, h5, p, a, span, label, input, textarea {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.material-symbols-rounded {
    color: var(--text-primary);
}

h1, h2, h3 {
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

.singleline, .consultation-div .small-font {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.flexwrap {
    flex-wrap: wrap;
}

.flexrow {
    display: flex;
    flex-direction: row;
}

.flexrowreverse {
    display: flex;
    flex-direction: row-reverse;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.horizontalcenter {
    justify-content: center;
}

.verticalcenter {
    align-items: center;
}

.vhcenter, .fab {
    justify-content: center;
    align-items: center;
}

.spacebetween {
    justify-content: space-between;
    width: 100%;
}

.sb {
    align-content: space-between;
    width: 100%;
}

.frspvc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.frvc {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flexstart {
    align-self: flex-start;
}

.flexend {
    justify-content: flex-end;
}

.circular {
    border-radius: 50%;
    padding: 5px;
}

.dynamic {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-black);
    padding: 12px 25px;
    border: 2px solid var(--color-black);
    border-radius: var(--border-radius-lg);
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

header {
    background-color: var(--color-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--color-charcoal);
    border-radius: var(--border-radius-sm);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li.active {
    border-bottom: 2px solid var(--color-black);
}

.dp.active {
    border: 2px solid var(--color-black);
}

.dp {
    border-radius: 50%;
}

.dp svg, .dp svg path {
    fill: var(--text-primary);
    stroke: var(--text-primary);
}

nav ul li a {
    text-decoration: none;
    color: var(--color-dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
}

nav ul li a:hover {
    color: var(--color-black);
    background-color: var(--bg-primary);
}


/* Common section styles */
.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.intro-card {
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    padding: 24px;
    margin-bottom: 30px;
}

.intro-card p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-charcoal);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .material-symbols-rounded {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-card h4 {
    color: var(--color-charcoal);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.cta-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    margin-top: 30px;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Khumo AI specific styles */
.coach-features,
.khumo-features {
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item .material-symbols-rounded {
    color: var(--primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.khumo-intro-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.khumo-intro-card h3 {
    color: #856404;
    margin-bottom: 12px;
}

/* Blog categories */
.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    padding: 24px;
    text-align: center;
}

.category-card .material-symbols-rounded {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}


.btn-signup {
    background-color: var(--color-black);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius-lg);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-signup:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-2px);
}

.cta-signup-section {
    padding: 80px 0;
    background-color: var(--color-charcoal);
    transition: background-color 0.3s ease;
}

.cta-signup-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--color-white);
}

.cta-signup-section p {
    font-size: 1.2em;
    color: var(--bg-primary);
    margin-bottom: 40px;
}

.signup-form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    background-color: var(--bg-secondary); /* Form background matches cards */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md); /* Apply medium shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form input[type="email"],
.signup-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color); /* Uses border color */
    border-radius: var(--border-radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: var(--text-primary); /* Input text matches primary text */
    background-color: var(--bg-secondary); /* Input background matching card/secondary background */
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.signup-form input::placeholder {
    color: var(--text-tertiary); /* Placeholder text uses tertiary color */
}

.signup-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: var(--text-tertiary);
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.or-separator:not(:empty)::before {
    margin-right: .25em;
}

.or-separator:not(:empty)::after {
    margin-left: .25em;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #4285F4; /* Google blue border */
    border-radius: var(--border-radius-lg);
    background-color: var(--color-white); /* White background for light theme */
    color: var(--text-primary); /* Text color from primary text variable */
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .btn-google {
    background-color: #4285F4; /* Google blue background in dark theme */
    color: var(--color-white); /* White text in dark theme (explicitly var(--color-white) here for contrast) */
    border-color: #4285F4;
}

.btn-google img {
    margin-right: 10px;
    height: 24px;
    width: 24px;
}

.btn-google:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--bg-primary); /* Slightly grey background on hover for light theme */
}

body.dark-theme .btn-google:hover {
    background-color: #357ae8; /* Darker Google blue on hover in dark theme */
}

.hero-section {
    background-color: var(--bg-primary);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-text h1 {
    text-align: left;
    font-size: 3.5em;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-dark-gray);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.small-text {
    font-size: 0.9em;
    color: var(--color-gray);
    margin-top: 15px;
}

 .benefits-section {
     background-color: var(--color-white);
     padding: 80px 0;
 }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card h3 {
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon-placeholder {
    background-color: var(--color-white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 3em;
    color: var(--color-charcoal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.benefit-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

 .how-it-works-section {
     background-color: var(--bg-primary);
     padding: 80px 0;
 }

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-icon {
    background-color: var(--color-white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 3.5em;
    color: var(--color-black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: translateY(-5px);
}

.step-item p {
    font-size: 1.1em;
    color: var(--color-dark-gray);
}

.step-connector {
    width: 50px;
    height: 2px;
    background-color: var(--color-gray);
    position: relative;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    background-color: var(--color-gray);
    border-radius: 50%;
}

.step-connector::before {
    left: -5px;
}

.step-connector::after {
    right: -5px;
}

 .pricing-section {
     background-color: var(--color-white);
     padding: 80px 0;
 }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-end;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--color-charcoal);
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 1.5em;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-primary);
    color: var(--color-dark-gray);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card.featured {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-black);
    padding: 50px 40px;
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: var(--color-white);
}

.pricing-card.featured ul li {
    color: var(--color-gray);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.featured .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.pricing-card.featured .btn-primary:hover {
    background-color: var(--bg-primary);
}

 .testimonials-section {
     background-color: var(--bg-primary);
     padding: 80px 0;
 }

.testimonial-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 450px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-gray);
}

blockquote {
    font-style: italic;
    margin: 0 0 15px;
    color: var(--color-dark-gray);
    font-size: 1.1em;
}

.author {
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 10px;
}

.stars {
    color: var(--color-gray);
    font-size: 1.2em;
}

 .contact-section {
     background-color: var(--color-white);
     padding: 80px 0;
 }

.contact-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--color-dark-gray);
}

.contact-info .material-symbols-rounded, .contact-info a {
    margin-right: 15px;
    color: var(--color-charcoal);
}

.contact-info .frvc {
    margin-bottom: 24px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-md);
    font-size: 1em;
    color: var(--color-dark-gray);
    background-color: var(--bg-primary);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
}

.btn-text {
    background-color: transparent;
    color: var(--color-charcoal);
    outline: none;
    border: none;
}

 footer {
     background-color: var(--color-black);
     color: var(--color-white);
     padding: 40px 0;
     font-size: 0.9em;
 }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left .logo-footer {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-left p {
    color: var(--color-gray);
}

.footer-middle ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.footer-middle ul li a {
    text-decoration: none;
    color: var(--color-gray);
    transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
    color: var(--color-white);
}

.footer-right {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-charcoal);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-gray);
    transform: translateY(-2px);
}

.small-font {
    font-size: 0.9em;
    color: var(--color-dark-gray);
}

.medium-font {
    font-size: 1.1em;
    font-weight: 600;
}

.big-font {
    font-size: 2em;
    font-weight: 700;
    color: var(--color-black);
}

.flexrow {
    display: flex;
    flex-direction: row;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.verticalcenter {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.frspvc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-sm {
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
    box-shadow: var(--box-shadow-sm);
}

.card-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pill {
    background-color: var(--color-black); /* Default pill button */
    color: var(--color-white);
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius-lg); /* Rounded pill shape */
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.pill:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-black);
    padding: 12px 25px;
    border: 2px solid var(--color-black);
    border-radius: var(--border-radius-lg);
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

.material-symbols-rounded {
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 48;
    vertical-align: middle;
}

/* Header */
.main-header {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: var(--box-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-main {
    height: 40px;
    width: auto;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav-list li {
    margin-left: 25px;
}

.main-nav-list li a {
    text-decoration: none;
    color: var(--color-dark-gray);
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
}

.main-nav-list li a:hover,
.main-nav-list li a.active {
    color: var(--color-black);
    background-color: var(--bg-primary);
}

.user-profile-icon {
    margin-left: 30px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.user-profile-icon:hover {
    border-color: var(--color-gray);
}

.dashboard-section {
    padding: 40px 0;
    background-color: var(--bg-primary);
}

.dashboard-section h2, .dashboard-section h3 {
    margin-bottom: 25px;
    color: var(--color-charcoal);
}

.section-header {
    width: 100%;
    margin-bottom: 25px;
}
.section-header h2, .section-header h3 {
    margin-bottom: 0;
}

.section-header .status-tag {
    background-color: #e0ffe0;
    color: #28a745;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: var(--border-radius-md);
    margin-left: 20px;
}

.report-card {
    padding: 40px;
    text-align: center;
    background-color: var(--color-white);
    margin-top: 20px;
}
.report-card p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.summary-card {
    padding: 25px;
}

.credit-account-card, .loan-account-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
}

.credit-account-card h4, .loan-account-card h4 {
    font-size: 1.6em;
    margin: 0;
    color: var(--color-black);
}

.account-number, .monthly-payment {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1em;
    color: var(--color-dark-gray);
    margin: 10px 0;
}

.expiry-date, .due-date, .interest-rate {
    font-size: 0.95em;
    color: var(--color-gray);
}

.bank-logo, .payment-logo {
    border-radius: var(--border-radius-sm);
}

/*!ABOUT START*/
/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Nice Header */
.about-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
}

.about-header h1 {
    color: var(--text-secondary);
    font-size: 3rem;
    margin-bottom: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.4;
}

.header-description {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}

.header-description p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a5568;
    text-align: center;
}

/* Three Cards Grid */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    margin-bottom: 24px;
}

.card-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    display: block;
}

.about-card h3 {
    color: var(--text-secondary);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.about-card p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Card Features */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.feature:hover .material-symbols-rounded {
    color: white;
}

.feature .material-symbols-rounded {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature span:last-child {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature:hover span:last-child {
    color: white;
}

/* Individual Card Styling */
.experience-card {
    border-top: 4px solid var(--primary);
}

.innovation-card {
    border-top: 4px solid #48bb78;
}

.promise-card {
    border-top: 4px solid #ed8936;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .promise-card {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }

    .about-header {
        margin-bottom: 60px;
    }

    .about-header h1 {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }

    .header-description {
        padding: 24px;
    }

    .header-description p {
        font-size: 1.1rem;
    }

    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }

    .about-card {
        padding: 40px 24px;
    }

    .card-icon {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .header-description {
        padding: 20px;
    }

    .about-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 3.5rem;
    }

    .about-card h3 {
        font-size: 1.4rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
/*!ABOUT ENDS*/

/*!INSIGHTS STARTS*/
.insights-section {
    height: calc(100vh - 116px);
}
.insights-section .container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    overflow-y: hidden;
}

.chat-card {
    flex: 2;
    min-height: 400px;
    height: calc(100vh - 240px);
}

.chat-top h2 {
    margin-bottom: 0;
}

.ai-response {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
    color: var(--color-charcoal);
}

.chat-input-box {
    width: 100%;
    gap: 10px;
}

.chat-input-box textarea {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-lg);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    resize: none;
    min-height: 50px;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.chat-input-box textarea::placeholder {
    color: var(--color-gray);
}
.chat-input-box img {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.chat-input-box img:hover {
    transform: scale(1.1);
}

.insights-content {
    overflow-y: hidden;
}
.ai-insights-list {
    flex: 3;
    overflow-y: auto;
    height: 100%;
}

.insights-list-items {
    list-style: none;
    padding: 0;
}

.insights-list-items li {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow-sm);
}

.khumo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.khumo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.khumo-column {
    display: flex;
    flex-direction: column;
}

/* Introduction Card */
.khumo-intro-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: 100%;
}

.khumo-intro-card h2 {
    color: var(--text-secondary);
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.khumo-meaning {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.khumo-description p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.khumo-job h3 {
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.khumo-job p {
    color: #718096;
    line-height: 1.6;
}

/* Topics Card */
.khumo-topics-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: 100%;
}

.khumo-topics-card h3 {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.topic-item:hover {
    background: #f7fafc;
}

.topic-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.topic-content h4 {
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.topic-content p {
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Benefits Card */
.khumo-benefits-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: 100%;
}

.khumo-benefits-card h3 {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.benefit-item:hover {
    background: #f7fafc;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-content h4 {
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.benefit-content p {
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

.khumo-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .khumo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .khumo-intro-card,
    .khumo-topics-card,
    .khumo-benefits-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .khumo-section {
        padding: 60px 0;
    }

    .khumo-intro-card h2 {
        font-size: 1.8rem;
    }

    .topic-item,
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
/*!INSIGHTS SECTION ENDS*/

/*!EMPOWER SECTION STARTS*/
.security-score-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
    margin-bottom: 40px;
}

.score-display {
    text-align: center;
}
.score-display hr {
    width: 60%;
    border: 1px solid var(--color-gray);
    margin: 10px 0;
}
.score-display .big-font {
    font-size: 3em;
}

.security-score-card .vertical-line {
    width: 2px;
    height: 80px;
    background-color: var(--color-gray);
    margin: 0 20px;
}

.breaches {
    flex-grow: 1;
    text-align: center;
    font-size: 1.1em;
    color: var(--color-charcoal);
}

.action-card, .learn-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.action-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: var(--border-radius-sm); /* Bubbly checkbox */
    accent-color: var(--color-black);
    cursor: pointer;
}

.action-card label {
    font-size: 1.1em;
    color: var(--color-dark-gray);
    cursor: pointer;
}

.learn-card h4 {
    margin-bottom: 5px;
}

/* Account Settings Page */
.settings-page-wrapper {
    padding: 40px 0;
    min-height: 80vh; /* Ensure content pushes footer down */
}

.settings-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.settings-menu-sidebar {
    flex: 1;
    min-width: 250px;
    max-width: 250px;
    padding: 20px;
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.settings-menu-item {
    padding: 15px 10px;
    margin-bottom: 10px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.settings-menu-item:hover, .settings-menu-item.active {
    background-color: var(--bg-primary);
    color: var(--color-black);
}

.settings-menu-item span:first-child { /* Material Symbols Icon */
    font-size: 1.6em;
    margin-right: 15px;
    color: var(--color-charcoal);
}
.settings-menu-item.active span:first-child {
    color: var(--color-black);
}

.settings-menu-item span:last-child { /* Text label */
    font-size: 1.1em;
    font-weight: 600;
}

.settings-content-area {
    flex: 3;
    padding: 30px;
    min-height: 600px; /* Ensure content area has some height */
}

.settings-content-area h2 {
    margin-bottom: 30px;
    text-align: left;
}
.settings-content-area h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: left;
}

/* Account Settings Sub-section */
.user-profile-section {
    padding-left: 12px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.profile-picture-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 15px;
}

.profile-picture-upload img {
    border: 3px solid var(--color-gray);
    transition: border-color 0.3s ease;
}
.profile-picture-upload img:hover {
    border-color: var(--color-black);
}
.profile-picture-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.customer-info-main {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 5px;
}

.customer-info-sub {
    font-size: 0.95em;
    color: var(--color-dark-gray);
    margin-bottom: 3px;
}

.customer-contact-info .material-symbols-rounded {
    font-size: 1.2em;
    margin-left: 10px;
    color: var(--color-status-green); /* Verified icon color */
}

.section-sub-header {
    margin-top: 40px;
    margin-bottom: 25px;
    width: 100%;
    justify-content: space-between;
}

.edit-profile-btn .material-symbols-rounded {
    font-size: 1.5em;
    color: var(--color-charcoal);
    transition: color 0.3s ease;
}
.edit-profile-btn .material-symbols-rounded:hover {
    color: var(--color-black);
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0; /* Remove default ul padding */
    list-style: none; /* If it's a ul */
}

.info-group {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
}

.info-group span {
    font-weight: 600;
    color: var(--color-charcoal);
}

/* Security Settings Sub-section */
.settings-card.input-group {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.settings-card.input-group label {
    margin-bottom: 5px;
    color: var(--color-dark-gray);
}
.settings-card.input-group input[type="text"],
.settings-card.input-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: var(--color-charcoal);
    background-color: var(--color-white);
}
.settings-card.input-group input::placeholder {
    color: var(--color-gray);
}

#recaptcha-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Billing Settings Sub-section */
.subscription-status {
    font-size: 1.1em;
    color: var(--color-charcoal);
    margin-bottom: 30px;
}

.subs-grid {
    padding: 12px;
}

.subscription-card {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 200px;
    margin: 12px;
}

.subscription-card .big-font {
    margin: 10px 0 20px;
}
.subscription-card .big-font span {
    font-size: 0.5em; /* For "/month" */
    font-weight: normal;
    color: var(--color-dark-gray);
}

.subscription-card.featured-plan {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    transform: scale(1.03); /* Slightly larger for emphasis */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.subscription-card.featured-plan .medium-font,
.subscription-card.featured-plan .big-font,
.subscription-card.featured-plan .big-font span {
    color: var(--color-white);
}
.subscription-card.featured-plan .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
}
.subscription-card.featured-plan .btn-primary:hover {
    background-color: var(--bg-primary);
}


/* Support Settings Sub-section */
.support-channels {
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-channel-link {
    text-decoration: none;
    color: var(--color-dark-gray);
    padding: 15px 25px;
    border-radius: var(--border-radius-lg);
    background-color: var(--color-white);
    box-shadow: var(--box-shadow-sm);
    transition: background-color 0.3s ease, transform 0.3s ease;
    gap: 10px;
}

.support-channel-link:hover {
    background-color: var(--bg-primary);
    transform: translateY(-2px);
}

.support-channel-link img {
    height: 24px;
    width: 24px;
}

.support-channel-link span {
    font-weight: 600;
}

.contact-form-support {
    padding: 30px;
    background-color: var(--color-white);
}

.contact-form-support h3 {
    text-align: center;
    margin-bottom: 25px;
}

.contact-form-support .input-group {
    margin-bottom: 20px;
}

.contact-form-support input[type="text"],
.contact-form-support textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: var(--color-charcoal);
    background-color: var(--bg-primary);
    box-sizing: border-box; /* Include padding in width */
}

.contact-form-support textarea {
    min-height: 100px;
    resize: vertical;
}

/* Theme Settings Sub-section */
.theme-setting {
    align-items: center;
}

.theme-switch-container {
    padding: 25px;
}

/* Notifications Settings Sub-section */
.notifications-list {
    padding: 12px;
    list-style: none;
}

.notifications-list .notification-item {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    padding: 15px;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.2s ease;
}
.notifications-list .notification-item:hover {
    transform: translateX(5px);
}
.notification-item p {
    margin-bottom: 5px;
    color: var(--color-charcoal);
}
.notification-item .notification-time {
    font-size: 0.85em;
    color: var(--color-gray);
}

/*SNACKBAR*/
#snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: 40vw;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 7;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 30px;
    border-radius: 32px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/*!PROFILE PAGE*/
.profile {
    padding: 40px 0;
    background-color: var(--bg-primary);
}

.profile h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.profile .dynamic {
    padding-bottom: 40px;
    justify-content: center;
    gap: 20px;
}

.consult-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.consult-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
}

.consult-card span.small-font {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.consult-card input[type="text"],
.consult-card input[type="date"],
.consult-card input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.consult-card input::placeholder {
    color: var(--text-tertiary);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-wrapper .custom-select.open {
    z-index: 100;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-select__trigger {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1em;
    color: var(--text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 12;
    margin-top: 5px;
    display: block;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    padding: 10px 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
    display: block;
}

.custom-option:hover,
.custom-option.selected {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.arrow {
    position: relative;
    height: 15px;
    width: 15px;
}

.arrow::before, .arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0.15rem;
    height: 100%;
    transition: all 0.5s;
}

.arrow::before {
    left: -5px;
    transform: rotate(45deg);
    background-color: var(--text-primary);
}

.arrow::after {
    left: 5px;
    transform: rotate(-45deg);
    background-color: var(--text-primary);
}

.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}

.profile .flexrow {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.photo-group {
    align-items: center;
}

.photo-group span.small-font {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.photo-group label.logo {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.photo-group label.logo:hover {
    border-color: var(--color-charcoal);
    box-shadow: var(--box-shadow-md);
}

.photo-group label.logo img {
    display: block;
    object-fit: cover;
    width: 350px;
    height: 200px;
    border: none;
    transition: filter 0.3s ease;
}

.photo-group label.logo img:hover {
    filter: brightness(0.9);
}

.photo-group label.logo input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.profile button.pill {
    margin-top: 20px;
    padding: 12px 40px;
}

.theme-setting {
    align-items: center;
    margin-bottom: 30px;
}

.theme-setting h3 {
    margin-bottom: 20px;
    text-align: center;
}

.theme-switch-container {
    padding: 20px 25px;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.app, .body, .phone {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.phone {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    height: 60px;
    width: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .phone {
    background-color: var(--color-charcoal);
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
}

.circle {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease, left 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    filter: brightness(1);
}

.crescent {
    width: 25px;
    height: 25px;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 10px;
    box-shadow: inset -5px -5px 0 0 var(--color-white);
    transform: rotate(-30deg);
    opacity: 0;
    transition: box-shadow 0.3s ease, left 0.3s ease, opacity 0.3s ease;
}

.theme-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.toggle {
    position: absolute;
    height: 50px;
    width: 80px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    left: 5px;
    transition: left 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.names {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 15px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 3; /* Ensure names are above the toggle knob */
}

.names p {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--color-charcoal);
    transition: opacity 0.3s ease, color 0.3s ease;
    min-width: 40px; /* Give text elements a minimum width to prevent collapse */
    text-align: center;
}

.names .light {
    opacity: 1;
}

.names .dark {
    opacity: 0;
    margin-right: 20px;
}

.theme-toggle-checkbox:checked + .app .phone {
    background-color: var(--color-charcoal);
}

.theme-toggle-checkbox:checked + .app .circle {
    left: calc(100% - 50px);
    background-color: var(--text-primary);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.theme-toggle-checkbox:checked + .app .crescent {
    left: calc(100% - 60px);
    box-shadow: inset -5px -5px 0 0 var(--bg-primary);
    opacity: 1;
}

.theme-toggle-checkbox:checked + .app .toggle {
    left: calc(100% - 85px);
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-toggle-checkbox:checked + .app .names .light {
    opacity: 0;
}

.theme-toggle-checkbox:checked + .app .names .dark {
    opacity: 1;
    color: white;
}

body.dark-theme .names p {
    color: var(--text-secondary);
}

body.dark-theme .names .dark {
    color: var(--text-primary);
}

@media (max-width: 600px) {
    /* Typography */
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    .hero-text p,
    .cta-signup-section p {
        font-size: 1em;
    }
    .cta-signup-section h2 {
        font-size: 2em;
    }

    /* Header & Navigation */
    .main-header {
        padding: 10px 0;
    }
    .logo-main {
        height: 35px;
    }
    .main-nav-list li {
        margin: 5px 8px;
    }
    .main-nav-list li a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
    .user-profile-icon {
        margin-left: 15px;
    }

    /* Hero & CTA Sections */
    .signup-form {
        padding: 20px;
        gap: 10px;
    }
    .btn-primary,
    .btn-signup-lg {
        width: 100%;
        box-sizing: border-box;
    }

    /* Pricing & Cards */
    .pricing-card {
        padding: 30px;
    }
    .subscription-card.featured-plan {
        transform: scale(1);
    }

    /* Dashboard & Sections */
    .dashboard-section {
        padding: 30px 0;
    }
    .section-header h2,
    .section-header h3 {
        text-align: center;
    }
    .section-header.flexrow {
        flex-direction: column;
        align-items: center;
    }
    .section-header .status-tag {
        margin-left: 0;
        margin-top: 10px;
    }
    .security-score-card {
        flex-direction: column;
        text-align: center;
    }
    .security-score-card .vertical-line {
        width: 80px;
        height: 2px;
        margin: 20px 0;
    }

    /* Forms & Inputs */
    .contact-form input,
    .contact-form textarea,
    .chat-input-box textarea {
        width: 100%;
        box-sizing: border-box;
    }
    .chat-input-box {
        flex-direction: column;
        gap: 10px;
    }
    .chat-input-box img {
        align-self: flex-end;
    }

    /* Support & Settings */
    .support-channels {
        flex-direction: column;
        align-items: center;
    }
    .support-channel-link {
        width: 80%;
        justify-content: center;
    }
    .settings-menu-sidebar {
        padding: 10px;
    }
    .settings-menu-item {
        padding: 10px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-middle ul {
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    .footer-right {
        width: 100%;
        justify-content: center;
    }

    .profile {
        padding: 20px 0;
    }
    .profile h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .profile .dynamic {
        padding-bottom: 20px;
        gap: 15px;
    }
    .consult-card {
        padding: 12px 15px;
    }
    .consult-card span.small-font {
        font-size: 0.85em;
    }
    .consult-card input[type="text"],
    .consult-card input[type="date"],
    .consult-card input[type="number"],
    .custom-select__trigger,
    .custom-option {
        font-size: 0.9em;
        padding: 8px 10px;
    }
    .profile .flexrow {
        gap: 15px;
    }
    .photo-group label.logo {
        padding: 10px;
    }
    .photo-group label.logo img {
        height: 150px;
    }
    .profile button.pill {
        width: 100%;
        padding: 10px 20px;
        font-size: 1em;
    }
}

@media (max-width: 992px) {
    /* Typography */
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }

    /* Layout & Structure */
    .hero-content,
    .header-content,
    .insights-section .container,
    .settings-layout {
        flex-direction: column;
        gap: 20px;
    }

    /* Hero Section */
    .hero-content {
        text-align: center;
    }
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    .hero-image {
        margin-top: 40px;
    }

    /* Grid Systems */
    .benefits-grid,
    .pricing-grid,
    .testimonial-grid,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        align-items: center;
    }

    /* How It Works Section */
    .how-it-works-section .steps-grid {
        flex-direction: column;
        gap: 20px;
    }
    .step-connector {
        width: 2px;
        height: 50px;
    }
    .step-connector::before {
        top: -5px;
        left: -4px;
    }
    .step-connector::after {
        top: auto;
        bottom: -5px;
        right: -4px;
    }

    /* Pricing */
    .pricing-card.featured {
        transform: scale(1);
    }

    /* Forms */
    .signup-form {
        flex-direction: column;
        align-items: center;
    }

    /* Navigation */
    nav ul,
    .settings-menu-sidebar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    nav ul {
        margin-top: 20px;
    }
    nav ul li,
    .main-nav-list li {
        margin: 10px 15px;
    }
    .nav-controls {
        flex-direction: column;
        gap: 15px;
    }

    /* Dashboard */
    .dashboard-section .container {
        padding: 15px;
    }

    /* Settings */
    .settings-menu-sidebar {
        width: 100%;
        max-width: none;
        position: static;
        padding: 15px;
    }
    .settings-menu-item {
        margin-bottom: 0;
    }
    .settings-content-area {
        width: 100%;
        padding: 20px;
    }

    /* Cards */
    .chat-card,
    .ai-insights-list {
        width: 100%;
        flex: auto;
    }

    .profile .dynamic {
        padding-bottom: 30px;
    }
    .consult-card {
        min-width: 100%;
        max-width: 450px;
    }
    .profile .flexrow {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .photo-group label.logo,
    .photo-group label.logo img {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 180px;
    }
    .profile .dynamic {
        padding-bottom: 30px;
    }
}

.accounts-summary-grid,
.accounts-list,
.security-actions-grid,
.learn-more-grid,
.profile-info-grid,
.subs-grid {
    display: grid;
    grid-template-columns: 1fr;
    list-style: none;
    padding: 0;
}

.accounts-summary-grid { gap: 20px; }
.accounts-list { gap: 20px; }
.security-actions-grid { gap: 20px; }
.learn-more-grid { gap: 20px; }
.profile-info-grid { gap: 20px; }
.subs-grid { gap: 25px; }

@media screen and (min-width: 1px) {
    .consult-card, .notification-item {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 5px;
    }
}

@media (min-width: 600px) {
    .accounts-summary-grid,
    .accounts-list,
    .security-actions-grid,
    .learn-more-grid,
    .profile-info-grid,
    .subs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consult-card, .notification-item {
        flex: 0 0 50%;
        margin: 5px;
        max-width: calc(50% - 10px);
    }
}

@media (min-width: 768px) {
    .accounts-summary-grid,
    .accounts-list,
    .security-actions-grid,
    .learn-more-grid,
    .profile-info-grid,
    .subs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .consult-card {
        flex: 0 0 33.333%;
        margin: 5px;
        max-width: calc(33.333% - 10px);
    }
}

@media (min-width: 1024px) {
    .accounts-summary-grid,
    .accounts-list,
    .security-actions-grid,
    .learn-more-grid,
    .profile-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen  and (min-width: 1280px){
    .consult-card {
        flex: 1 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
}

@media screen  and (min-width: 1280px){
    .consult-card {
        flex: 1 0 20%;
        max-width: calc(20% - 10px);
        margin: 5px;
    }
}

/* Table Styles - Integrates with existing design system */
.table-container {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    overflow: hidden;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
}

.data-table thead {
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--border-color);
}

.data-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    user-select: none;
    position: relative;
}

.data-table th.sortable {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.data-table th.sortable:hover {
    background-color: var(--color-light-gray);
}

.data-table th .sort-indicator {
    margin-left: 8px;
    opacity: 0.5;
    font-size: 0.8em;
}

.data-table th.sort-asc .sort-indicator::after {
    content: "↑";
}

.data-table th.sort-desc .sort-indicator::after {
    content: "↓";
}

.data-table th.sortable:hover .sort-indicator {
    opacity: 1;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: var(--bg-primary);
}

.data-table td {
    padding: 16px 20px;
    font-size: var(--font-size-md);
}

.data-table .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.data-table .status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--color-status-green);
}

.data-table .status-inactive, .data-table .status-tester {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--color-status-red);
}

.data-table .status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--color-status-yellow);
}

.data-table .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin: 2px;
}

.data-table .badge-primary {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
}

.data-table .badge-secondary {
    background-color: rgba(114, 9, 183, 0.1);
    color: var(--secondary);
}

.data-table .badge-gray {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
}

.data-table .actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.data-table .btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    color: var(--text-tertiary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-table .btn-icon:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.data-table .btn-icon.edit:hover {
    color: var(--primary);
}

.data-table .btn-icon.delete:hover {
    color: var(--color-status-red);
}

.data-table .btn-icon.view:hover {
    color: var(--color-status-green);
}

/* Table Footer */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.table-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-pagination button {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.table-pagination button:hover:not(:disabled) {
    background-color: var(--color-light-gray);
    color: var(--text-primary);
}

.table-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.table-pagination .page-numbers {
    display: flex;
    gap: 4px;
}

.table-pagination .page-number {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-pagination .page-number:hover {
    background-color: var(--bg-primary);
}

.table-pagination .page-number.active {
    background-color: var(--primary);
    color: white;
}

.table-info {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
}

/* Empty State */
.table-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-tertiary);
}

.table-empty .material-symbols-rounded {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.table-empty p {
    margin: 0;
    font-size: var(--font-size-lg);
}

/* Loading State */
.table-loading {
    padding: 40px;
    text-align: center;
    color: var(--text-tertiary);
}

.table-loading .loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        border-radius: var(--border-radius-md);
    }

    .data-table {
        min-width: 600px;
    }

    .table-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Striped Table Variation */
.data-table.striped tbody tr:nth-child(even) {
    background-color: var(--bg-primary);
}

.data-table.striped tbody tr:hover {
    background-color: var(--color-light-gray);
}

/* Compact Table Variation */
.data-table.compact td,
.data-table.compact th {
    padding: 12px 16px;
    font-size: var(--font-size-sm);
}

/* Dark Theme Adjustments */
body.dark-theme .data-table thead {
    background-color: var(--bg-tertiary);
}

body.dark-theme .data-table tbody tr:hover {
    background-color: var(--bg-tertiary);
}

body.dark-theme .table-pagination button:hover:not(:disabled) {
    background-color: var(--bg-tertiary);
}

body.dark-theme .status-active {
    background-color: rgba(106, 169, 110, 0.2);
}

body.dark-theme .status-inactive {
    background-color: rgba(207, 102, 121, 0.2);
}

body.dark-theme .status-pending {
    background-color: rgba(253, 216, 53, 0.2);
}

body.dark-theme .badge-primary {
    background-color: rgba(138, 180, 248, 0.2);
}

body.dark-theme .badge-secondary {
    background-color: rgba(114, 9, 183, 0.2);
}
