/* Default light theme variables */
:root,
html[data-theme="light"] {
    --primary-color: #db2c67 !important;
    --background-color: #ffffff !important;
    /* light theme should be white */
    --background-infobox-color: #f4f4f4 !important;
    --font-color: #000000 !important;
}

.terminal-accordion-info P {
    margin: 0;
}

.terminal-accordion-info {
    background: #f4f4f4;
    border-radius: 10px;
    padding: 15PX;
}

/* Styling for accordion groups used in email-test results */
.terminal-accordions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.terminal-card.termional-prompt {
    max-width: 900px;
    margin: 0 auto;
}

/* General terminal-card improvements */
.terminal-card {
    max-width: 980px;
    margin: 24px auto;
    background: var(--background-color);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.terminal-card>header {
    font-size: 20px;
    font-weight: 800;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Contact page specific layout */
.page-contact .contact-card {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: start;
}

.page-contact .contact-card p {
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
}

.page-contact .contact-info {
    padding: 6px 2px;
}

/* If there's a form column, style it */
.page-contact form.contact-form {
    background: var(--background-infobox-color);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.page-contact .form-control {
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin: 32px 0 8px 0;
    text-align: left;
}

@media only screen and (max-width: 880px) {
    .page-contact .contact-card {
        grid-template-columns: 1fr;
    }
}

.terminal-accordions .terminal-accordion {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    background: inherit;
}

.terminal-accordions .terminal-accordion button {
    width: 100%;
    text-align: left;
    padding: 12px 14px 12px 16px;
    background: var(--background-infobox-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 16px;
    font-weight: 700;
    color: var(--font-color);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.12s ease;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding-right: 40px;
    /* space for indicator */
}

.terminal-accordions .terminal-accordion button:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Open/close indicator */
.terminal-accordions .terminal-accordion button::after {
    content: '▾';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.18s ease;
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

.terminal-accordions .terminal-accordion.active button::after {
    transform: translateY(-50%) rotate(180deg);
    color: rgba(0, 0, 0, 0.7);
}

.terminal-accordions .terminal-accordion .terminal-accordion-content {
    padding: 12px 14px 18px 14px;
    background: var(--background-color);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* RBL List - 2 Column Layout */
.rbl-list-columns {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

.rbl-list-columns .rbl-item {
    padding: 8px 12px;
    background: var(--background-infobox-color);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid #28a745;
}

.rbl-list-columns .rbl-item.rbl-error {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

.rbl-list-columns .rbl-item.rbl-ok {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.08);
}

/* SpamAssassin Table Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 16px 0;
    -webkit-overflow-scrolling: touch;
}

.spamassassin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: var(--background-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.spamassassin-table thead {
    background: var(--background-infobox-color);
}

.spamassassin-table thead th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.spamassassin-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s ease;
}

.spamassassin-table tbody tr:hover {
    background: var(--background-infobox-color);
}

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

.spamassassin-table tbody td {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.5;
}

.spamassassin-table .score-cell {
    text-align: center;
    font-weight: 700;
    width: 70px;
    color: var(--primary-color);
}

.spamassassin-table .test-cell {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    min-width: 150px;
}

.spamassassin-table .desc-cell {
    color: rgba(0, 0, 0, 0.7);
    font-size: 11px;
    line-height: 1.4;
}

/* Dark theme support for table */
html[data-theme="dark"] .spamassassin-table {
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .spamassassin-table thead {
    background: var(--background-color);
}

html[data-theme="dark"] .spamassassin-table thead th {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .spamassassin-table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .spamassassin-table tbody tr:hover {
    background: var(--background-infobox-color);
}

html[data-theme="dark"] .spamassassin-table .test-cell {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .spamassassin-table .desc-cell {
    color: rgba(255, 255, 255, 0.7);
}

@media only screen and (max-width: 480px) {
    .terminal-accordions {
        padding: 8px;
        gap: 6px;
    }

    .terminal-accordions .terminal-accordion button {
        font-size: 15px;
        padding: 10px 12px;
    }

    .rbl-list-columns {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rbl-list-columns .rbl-item {
        font-size: 12px;
        padding: 6px 10px;
    }

    .spamassassin-table {
        font-size: 11px;
    }

    .spamassassin-table thead th {
        padding: 8px 8px;
        font-size: 10px;
    }

    .spamassassin-table tbody td {
        padding: 6px 8px;
        font-size: 10px;
    }

    .spamassassin-table .score-cell {
        width: 50px;
    }

    .spamassassin-table .test-cell {
        font-size: 10px;
        min-width: 100px;
    }

    .spamassassin-table .desc-cell {
        font-size: 10px;
    }
}

/* Footer styling */
.site-footer {
    background: var(--background-infobox-color);
    color: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Retro public-site redesign */
body.retro-web {
    font-family: Tahoma, Verdana, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.65), transparent 25%),
        linear-gradient(180deg, #1a53b0 0%, #4db7ff 38%, #9be2ff 100%);
    color: #10154d;
}

body.retro-web a {
    color: #0033cc;
}

body.retro-web .container {
    max-width: 980px;
}

.retro-topbar {
    background: linear-gradient(180deg, #1c1573 0%, #3421b8 100%);
    border-bottom: 3px solid #fff;
    color: #fff;
    font-size: 11px;
}

.retro-topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 6px 0;
}

.retro-pill {
    background: #ffef65;
    color: #001a72;
    border: 2px outset #fff7a8;
    padding: 2px 8px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.retro-marquee {
    color: #fff;
    font-weight: 700;
}

.retro-header-shell,
.site-footer,
.retro-hero-window,
.retro-content-box,
.retro-feature-box,
.retro-community-board {
    box-shadow: 4px 4px 0 rgba(16, 21, 77, 0.35);
}

.retro-header-shell {
    background: linear-gradient(180deg, #fff5bd 0%, #ffd44f 100%);
    border-bottom: 4px solid #0e2376;
}

.retro-header {
    padding: 18px 0 16px;
}

.retro-brand-panel {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 3px ridge #d3d3d3;
    padding: 12px 16px;
}

.retro-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #10154d;
}

.retro-brand img {
    max-height: 52px;
}

.retro-brand strong {
    display: block;
    font-size: 24px;
    letter-spacing: 1px;
}

.retro-brand span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.retro-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.blink-soft {
    animation: blink-soft 1s steps(2, start) infinite;
    color: #d10000;
}

@keyframes blink-soft {
    to {
        visibility: hidden;
    }
}

.retro-nav,
.retro-account-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.retro-nav-link,
.retro-account-link {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #c5d7ff 100%);
    border: 3px outset #fff;
    padding: 8px 14px;
    font-weight: 700;
    text-decoration: none;
    color: #102166;
    text-transform: uppercase;
    font-size: 12px;
}

.retro-nav-link.active,
.retro-nav-link:hover,
.retro-account-link:hover {
    border-style: inset;
    color: #c30000;
}

.retro-account-button {
    cursor: pointer;
}

.retro-account-bar form {
    margin: 0;
}

.retro-main {
    padding: 22px 0 28px;
}

.retro-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.retro-home-focus {
    gap: 14px;
}

.retro-page-header,
.retro-hero-window,
.retro-content-box,
.retro-feature-box,
.retro-community-board {
    background: #f6f7ff;
    border: 4px ridge #fff;
    padding: 18px;
}

.retro-window-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(90deg, #11258f 0%, #4f98ff 100%);
    color: #fff;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #d8e7ff;
    margin-bottom: 16px;
}

.retro-hero-grid,
.retro-section-grid,
.retro-community-board {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
}

.retro-kicker {
    margin: 0 0 8px;
    color: #d00000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.retro-hero-copy h1,
.retro-page-header h1 {
    margin: 0 0 10px;
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 0.95;
    color: #0d1f79;
    text-transform: uppercase;
}

.retro-lead,
.retro-page-header p {
    font-size: 16px;
    line-height: 1.5;
}

.retro-badge-row,
.retro-stamps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.retro-badge,
.retro-stamps span {
    background: #11258f;
    color: #fff;
    border: 2px outset #a8b9ff;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.retro-mini-panels,
.retro-feature-columns,
.retro-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.retro-mini-panel {
    background: #fffef2;
    border: 3px groove #f7d652;
    padding: 12px;
}

.retro-toolbox-head {
    background: linear-gradient(90deg, #d90053 0%, #ff7eb7 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 10px;
    margin: -18px -18px 16px;
    border-bottom: 3px solid #771237;
}

.retro-hero-toolbox {
    background: #fff6d8;
    border: 4px ridge #fff;
    padding: 18px;
}

.retro-tool-stage {
    background: linear-gradient(180deg, #f9fbff 0%, #e5eeff 100%);
    border: 4px ridge #fff;
    padding: 18px;
    box-shadow: 4px 4px 0 rgba(16, 21, 77, 0.35);
}

.retro-tool-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
    gap: 18px;
    align-items: stretch;
}

.retro-tool-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 10px 8px 10px 4px;
}

.retro-tool-panel {
    background: #fff6d8;
    border: 4px ridge #fff;
    padding: 18px;
}

.retro-tool-copy h1 {
    margin: 0 0 10px;
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 0.9;
    text-transform: uppercase;
    color: #0d1f79;
}

.retro-signal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.retro-signal-strip span {
    background: #11258f;
    border: 2px outset #a8b9ff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    text-transform: uppercase;
}

.retro-steps {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.retro-steps div {
    background: #fffef2;
    border: 3px groove #f7d652;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}

.retro-steps strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background: #d90053;
    color: #fff;
}

.retro-tool-support {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 14px;
}

.retro-support-box {
    background: #f6f7ff;
    border: 4px ridge #fff;
    padding: 14px 16px;
    box-shadow: 4px 4px 0 rgba(16, 21, 77, 0.35);
}

.retro-support-box h2 {
    margin: 0 0 8px;
    font-size: 18px;
    text-transform: uppercase;
}

.retro-support-box p {
    margin: 0;
}

.retro-terminal-box {
    background: #111;
    color: #39ff14;
    border: 4px ridge #535353;
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.retro-terminal-box div + div {
    margin-top: 6px;
}

.retro-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

body.retro-web form#emailTestForm {
    max-width: none;
    margin: 0;
}

body.retro-web .form-group.email-block input,
body.retro-web .retro-newsletter .form-control,
body.retro-web .retro-contact-form .form-control {
    background: #fff;
    border: 3px inset #d9d9d9;
    border-radius: 0;
    min-height: 46px;
}

body.retro-web .form-group.email-block button,
body.retro-web .btn.retro-primary-button,
body.retro-web .retro-newsletter .btn,
body.retro-web .retro-account-button {
    border-radius: 0;
    border: 3px outset #fff;
    background: linear-gradient(180deg, #ffef65 0%, #ffb300 100%);
    color: #102166;
    font-weight: 700;
    text-transform: uppercase;
}

body.retro-web .form-group.email-block button:active,
body.retro-web .btn.retro-primary-button:active,
body.retro-web .retro-newsletter .btn:active,
body.retro-web .retro-account-button:active {
    border-style: inset;
}

.retro-form-help {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
}

.retro-counter-box {
    margin-top: 14px;
    background: #111;
    color: #39ff14;
    border: 3px inset #3c3c3c;
    padding: 10px;
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.retro-check-list,
.retro-link-list {
    margin: 0;
    padding-left: 18px;
}

.retro-check-list li,
.retro-link-list li {
    margin-bottom: 8px;
}

.retro-feature-box,
.retro-price-box {
    background: linear-gradient(180deg, #ffffff 0%, #e2ebff 100%);
}

.retro-price-tag {
    color: #c30000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-price {
    background: linear-gradient(180deg, #fff0b1 0%, #ffe16f 100%);
}

.retro-board-main,
.retro-board-side {
    background: #fff;
    border: 3px ridge #d5d5d5;
    padding: 16px;
}

.retro-board-side .btn {
    margin-top: 10px;
}

.site-footer {
    margin-top: 20px;
    padding: 18px 0 24px;
    background: linear-gradient(180deg, #f9f0a8 0%, #ffd449 100%);
    color: #112166;
    border-top: 4px solid #102166;
}

.retro-footer-box {
    background: #fffef2;
    border: 4px ridge #fff;
    padding: 16px;
}

.retro-footer-box h5 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.retro-footer-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px dashed #102166;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

body.retro-web .professional-table,
body.retro-web .table-container,
body.retro-web .empty-state {
    background: #f6f7ff;
    border: 4px ridge #fff;
}

body.retro-web .professional-table th,
body.retro-web .professional-table td {
    border-color: #9bb3f5;
}

@media only screen and (max-width: 860px) {
    .retro-topbar-inner,
    .retro-tool-layout,
    .retro-tool-support,
    .retro-hero-grid,
    .retro-section-grid,
    .retro-community-board,
    .retro-mini-panels,
    .retro-feature-columns,
    .retro-footer-grid {
        grid-template-columns: 1fr;
    }

    .retro-brand-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .retro-status {
        align-items: flex-start;
    }
}

/* Directory-style public redesign inspired by adresi.bg */
body.directory-theme {
    background:
        radial-gradient(circle, rgba(188, 184, 220, 0.45) 1px, transparent 1px),
        linear-gradient(180deg, #8f8db4 0%, #9a99c1 100%);
    background-size: 6px 6px, auto;
    color: #1e2b38;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

body.directory-theme .container {
    max-width: 1120px;
}

body.directory-theme .directory-shell {
    margin-top: 28px;
    margin-bottom: 28px;
    background: #3d6ea4;
    border: 1px solid #264f7b;
    box-shadow: 0 10px 22px rgba(30, 35, 70, 0.3);
    padding: 0;
}

body.directory-theme .retro-header-shell {
    background: #3d6ea4;
    border-bottom: 0;
    box-shadow: none;
}

body.directory-theme .retro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 18px 14px;
}

body.directory-theme .retro-brand-panel {
    display: contents;
    background: transparent;
    border: 0;
    padding: 0;
}

body.directory-theme .retro-brand {
    gap: 12px;
    color: #ffffff;
}

body.directory-theme .retro-brand img {
    max-height: 42px;
}

body.directory-theme .retro-brand strong {
    font-size: 22px;
    letter-spacing: 1px;
    font-style: italic;
}

body.directory-theme .retro-brand span {
    color: #d8ebff;
    font-size: 11px;
    text-transform: uppercase;
}

body.directory-theme .retro-status {
    color: #7f8c96;
    font-size: 13px;
    font-weight: 400;
    align-items: flex-start;
}

body.directory-theme .retro-nav,
body.directory-theme .retro-account-bar {
    margin-top: 0;
    align-items: center;
}

body.directory-theme .retro-account-link {
    background: transparent;
    border: 0;
    padding: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
    box-shadow: none;
}

body.directory-theme .retro-account-link:hover {
    color: #ffef7c;
}

body.directory-theme .retro-nav {
    display: none;
}

body.directory-theme .directory-compact-header {
    justify-content: space-between;
}

body.directory-theme .directory-compact-actions {
    gap: 14px;
}

body.directory-theme .oldschool-blue-bar {
    height: 14px;
    background: #2d95d3;
}

body.directory-theme .oldschool-orange-bar {
    height: 3px;
    background: #f18d18;
}

body.directory-theme .retro-main {
    padding: 0;
}

body.directory-theme .oldschool-portal {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) 175px;
    gap: 0;
    background: #3d6ea4;
}

body.directory-theme .oldschool-sidebar {
    background: #2f6197;
    color: #fff;
    min-height: 100%;
}

body.directory-theme .oldschool-sidebar.left {
    border-right: 1px solid #22476f;
}

body.directory-theme .oldschool-sidebar.right {
    border-left: 1px solid #22476f;
    background: #d9d9de;
    color: #1d2b39;
}

body.directory-theme .oldschool-menu-title {
    background: #f28a10;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 6px;
    text-transform: uppercase;
}

body.directory-theme .oldschool-menu-link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
    border-bottom: 1px solid #21466d;
    background: #123f70;
}

body.directory-theme .oldschool-menu-link.active,
body.directory-theme .oldschool-menu-link:hover {
    background: #0d3358;
    color: #ffef7c;
}

body.directory-theme .oldschool-side-box,
body.directory-theme .oldschool-side-panel {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.4;
}

body.directory-theme .oldschool-side-box h4,
body.directory-theme .oldschool-side-panel h4 {
    margin: 0 0 8px;
    font-size: 12px;
}

body.directory-theme .oldschool-main {
    background: #d7d7dc;
    padding: 0;
}

body.directory-theme .oldschool-content-box {
    padding: 14px 10px 18px;
}

body.directory-theme .oldschool-intro {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.35;
}

body.directory-theme .oldschool-title {
    margin: 0 0 12px;
    color: #143f89;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

body.directory-theme .directory-kicker {
    margin: 0 0 10px;
    color: #143f89;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.directory-theme .directory-home {
    display: block;
}

body.directory-theme .directory-hero {
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

body.directory-theme .directory-hero-copy {
    margin-bottom: 16px;
}

body.directory-theme .directory-hero h1 {
    margin: 0 0 8px;
    color: #1f2e3d;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 700;
    max-width: 520px;
}

body.directory-theme .directory-subtitle {
    max-width: 440px;
    margin: 0;
    color: #27384a;
    font-size: 13px;
    line-height: 1.45;
}

body.directory-theme .directory-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
}

body.directory-theme .directory-feature-list span {
    background: transparent;
    color: #4e555f;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    position: relative;
}

body.directory-theme .directory-feature-list span::before {
    content: "• ";
    color: #2e5177;
}

body.directory-theme .directory-side-note {
    margin-top: 10px;
    color: #666;
    font-size: 12px;
}

body.directory-theme .directory-tool-card {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.directory-theme .oldschool-tool-box,
body.directory-theme .oldschool-news-box,
body.directory-theme .oldschool-side-panel {
    background: #d7d7dc;
    border-top: 1px solid #9b9ba6;
}

body.directory-theme .directory-tool-card h2 {
    margin: 0;
    font-size: 18px;
    color: #213647;
}

body.directory-theme .directory-label {
    display: block;
    margin-bottom: 8px;
    color: #2f4052;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

body.directory-theme .oldschool-box-title {
    margin: 0 0 10px;
    padding: 2px 4px;
    background: #dcecff;
    border: 1px solid #5f8dc2;
    color: #2a6cad;
    font-size: 12px;
    font-weight: 700;
}

body.directory-theme .form-group.email-block {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body.directory-theme .form-group.email-block input {
    border: 1px solid #8a8b96;
    border-radius: 0;
    min-height: 30px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    color: #203342;
    padding: 4px 6px;
}

body.directory-theme .directory-copy-btn,
body.directory-theme .directory-primary-btn,
body.directory-theme .retro-newsletter .btn,
body.directory-theme .retro-account-button {
    border: 1px solid #7d8f9f;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    font-weight: 700;
    text-transform: none;
}

body.directory-theme .directory-copy-btn {
    width: auto;
    min-width: 54px;
    background: linear-gradient(180deg, #efefef 0%, #c9c9c9 100%);
    color: #2d4352;
    font-size: 12px;
}

body.directory-theme .directory-primary-btn,
body.directory-theme .retro-newsletter .btn {
    margin-top: 0;
    background: linear-gradient(180deg, #efefef 0%, #c9c9c9 100%);
    color: #2b2a18;
    padding: 5px 10px;
    font-size: 12px;
}

body.directory-theme .oldschool-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

body.directory-theme .oldschool-helper {
    font-size: 12px;
    color: #454f58;
}

body.directory-theme .directory-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #b0b0b7;
    color: #45525d;
    font-size: 12px;
}

body.directory-theme .site-footer {
    margin-top: 0;
    padding: 18px 0 0;
    background: transparent;
    border-top: 0;
    color: #dde5ed;
    box-shadow: none;
}

body.directory-theme .retro-footer-bottom {
    border-top: 1px solid #8ea1b2;
    margin-top: 0;
    padding-top: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
}

body.directory-theme .retro-footer-bottom p {
    margin: 0;
}

body.directory-theme .retro-footer-bottom p + p {
    margin-top: 8px;
}

body.directory-theme .directory-footer-minimal {
    color: #163b61;
}

body.directory-theme .directory-footer-sep {
    margin: 0 8px;
    color: #6f8394;
}

body.directory-theme .retro-link-list {
    padding-left: 18px;
}

body.directory-theme .directory-footer-minimal a {
    color: #163b61;
}

body.directory-theme .oldschool-bullet-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.45;
}

body.directory-theme .oldschool-side-panel p,
body.directory-theme .oldschool-side-box p {
    margin: 0 0 4px;
}

body.directory-theme .blink-soft,
body.directory-theme .retro-window-bar,
body.directory-theme .retro-pill,
body.directory-theme .retro-marquee {
    animation: none;
}

@media only screen and (max-width: 960px) {
    body.directory-theme .retro-header {
        flex-direction: column;
        align-items: flex-start;
    }

    body.directory-theme .oldschool-portal {
        grid-template-columns: 1fr;
    }

    body.directory-theme .oldschool-sidebar.left,
    body.directory-theme .oldschool-sidebar.right {
        border: 0;
    }

    body.directory-theme .directory-shell {
        padding: 0;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    body.directory-theme .directory-steps {
        flex-direction: column;
        gap: 10px;
    }
}

.site-footer .container {
    max-width: 1200px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-col h6 {
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 16px;
    color: var(--font-color);
}

.footer-brand .brand {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--primary-color);
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(219, 44, 103, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-newsletter .newsletter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-newsletter .newsletter-row .form-control {
    flex: 1 1 auto;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 12px;
}

.footer-newsletter .btn {
    white-space: nowrap;
    padding: 10px 16px;
}

.footer-trust {
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 24px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badge {
    background: rgba(219, 44, 103, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media only screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media only screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-newsletter .newsletter-row {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-badges {
        justify-content: center;
    }
}


/* Dark theme variables */
html[data-theme="dark"] {
    --primary-color: #db2c67 !important;
    --background-color: #121212 !important;
    --background-infobox-color: #1e1e1e !important;
    --font-color: #ffffff !important;
}

form#emailTestForm {
    width: 100%;
    max-width: 500px;
    margin: 50px auto;
    position: relative;
}

.form-group.email-block {
    position: relative;
}

.form-group.email-block input {
    border-radius: 0px;
    width: 100%;
    border: 1px solid #000;
    padding: 12px 0px;
    text-indent: 9px;
    font-size: 20px;
}

button#copyBtn {
    position: absolute;
    right: 0;
}

button#copyBtn {
    position: absolute;
    right: 3px;
    border: 1px solid #000;
    border-radius: 0px;
    padding: 9px 14px 9px 14px;
    top: 3px;
    font-size: 20px;
}

.btn-block {
    width: 100%;
    border-radius: 0px;
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 10px 0;
    font-size: 18px;
}

/* Remove border-radius from all buttons globally */
.btn,
button,
.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary,
.btn-default,
.btn-ghost,
.btn-block,
.copy-email-btn,
.copy-link-btn {
    border-radius: 0 !important;
}

.btn-primary,
.btn-block {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-block:hover {
    background: #333 !important;
    border-color: #333 !important;
    color: #ffffff !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

div-headings h1 {
    font-size: 55px;
}

.div-headings {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 150px;
    text-align: center;
}

.div-headings h2 {
    font-size: 21px;
    color: #4d4d4d;
}

section#infobox {
    border-radius: 14px;
    padding: 20px;
}

.auth-page {
    position: relative;
    float: left;
    width: 100%;
}

.auth-info {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: #f8f9fa;
}

.auth-body:after {
    /* reverted: watermark positioned at bottom like before, with reduced size */
    content: 'MXValidation';
    position: absolute;
    bottom: -35px;
    color: #c12257;
    width: 100%;
    font-size: clamp(48px, 8vw, 100px);
    /* decreased and responsive */
    font-weight: bold;
    text-align: center;
    left: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.auth-body {
    background: var(--primary-color);
    margin: 40px;
    border-radius: 20px;
    padding: 50px;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.auth-form {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    background: #f8f9fa;
    width: 50%;
}

.auth-form form {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid #f1f1f1;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.auth-body-headings {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 350px;
    max-width: calc(100% - 24px);
    z-index: 2;
    /* sit above watermark */
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--background-color);
}

@media only screen and (max-width: 480px) {
    .auth-body:after {
        font-size: clamp(32px, 20vw, 80px);
        opacity: 0.05;
    }

    .auth-body-headings {
        font-size: clamp(18px, 5vw, 28px);
        padding: 8px 12px;
    }
}

/* Tablet and Mobile responsive layout for auth pages */
@media only screen and (max-width: 992px) {
    .auth-info {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .auth-body {
        margin: 20px;
        padding: 30px 20px;
        height: auto;
        min-height: 280px;
    }

    .auth-body:after {
        font-size: clamp(40px, 12vw, 80px);
        bottom: -25px;
    }

    .auth-body-headings {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 40px 0;
        padding: 0;
    }

    .auth-body-headings h1 {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 12px;
    }

    .auth-body-headings p {
        font-size: clamp(14px, 3.5vw, 18px);
    }

    .auth-form {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 20px 60px;
        background: var(--background-color);
    }

    .auth-form form {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
        max-width: 450px;
        padding: 30px 20px;
    }

    .get-back {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
    }
}

/* Extra small mobile adjustments */
@media only screen and (max-width: 480px) {
    .auth-body {
        margin: 15px;
        padding: 25px 15px;
        min-height: 250px;
    }

    .auth-body-headings {
        margin: 30px 0;
    }

    .auth-form {
        padding: 20px 15px 40px;
    }

    .auth-form form {
        padding: 25px 15px;
        border: none;
        box-shadow: none;
    }
}

/* Professional validation badges for valid / not-valid states */
.valid,
.not-valid {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* Valid -- green */
.valid {
    color: #0b4f2f;
    /* dark green text */
    background: linear-gradient(180deg, rgba(11, 79, 47, 0.06), rgba(11, 79, 47, 0.03));
    border: 1px solid rgba(11, 79, 47, 0.12);
    box-shadow: 0 2px 6px rgba(11, 79, 47, 0.04);
}

.valid::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0b4f2f;
    color: #fff;
    font-size: 12px;
}

/* Not valid -- red */
.not-valid {
    color: #611111;
    /* dark red text */
    background: linear-gradient(180deg, rgba(97, 17, 17, 0.06), rgba(97, 17, 17, 0.03));
    border: 1px solid rgba(97, 17, 17, 0.12);
    box-shadow: 0 2px 6px rgba(97, 17, 17, 0.04);
}

.not-valid::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #611111;
    color: #fff;
    font-size: 12px;
}

/* Variants for buttons inside accordions */
.terminal-accordions .terminal-accordion button.valid,
.terminal-accordions .terminal-accordion button.not-valid {
    padding-left: 16px;
}

/* Accessibility: ensure contrast in dark mode */
html[data-theme="dark"] .valid {
    background: linear-gradient(180deg, rgba(11, 79, 47, 0.14), rgba(11, 79, 47, 0.08));
    border: 1px solid rgba(11, 79, 47, 0.18);
}

html[data-theme="dark"] .not-valid {
    background: linear-gradient(180deg, rgba(97, 17, 17, 0.14), rgba(97, 17, 17, 0.08));
    border: 1px solid rgba(97, 17, 17, 0.18);
    color: #fff;
}

a.get-back {
    color: #ffff;
    text-decoration: none;
    float: right;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Professional table styling for Email Tests History */
.table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.professional-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-color);
    font-size: 15px;
}

.professional-table thead {
    background: var(--background-infobox-color);
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.professional-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.professional-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background-color 0.15s ease;
}

.professional-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

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

.professional-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    color: var(--font-color);
}

/* Status badges for table */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge::before {
    content: '●';
    font-size: 10px;
}

.status-badge.status-success {
    color: #0b5d2f;
    background: rgba(11, 93, 47, 0.1);
    border: 1px solid rgba(11, 93, 47, 0.15);
}

.status-badge.status-warning {
    color: #8b5a00;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.status-badge.status-error {
    color: #991b1b;
    background: rgba(153, 27, 27, 0.1);
    border: 1px solid rgba(153, 27, 27, 0.15);
}

/* Date cell formatting */
.date-cell {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* Action cell styling */
.action-cell {
    text-align: center;
    width: 120px;
}

.action-cell .btn {
    min-width: 80px;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: rgba(0, 0, 0, 0.6);
    background: var(--background-infobox-color);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 24px 0;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Dark theme adaptations */
html[data-theme="dark"] .professional-table thead th {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .professional-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .date-cell {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .status-badge.status-success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.25);
}

html[data-theme="dark"] .status-badge.status-warning {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

html[data-theme="dark"] .status-badge.status-error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.25);
}

html[data-theme="dark"] .empty-state {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive table adjustments */
@media only screen and (max-width: 768px) {

    .professional-table thead th,
    .professional-table tbody td {
        padding: 12px 16px;
    }

    .professional-table {
        font-size: 14px;
    }

    .status-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .date-cell {
        font-size: 13px;
    }

    .action-cell {
        width: 100px;
    }

    .action-cell .btn {
        min-width: 70px;
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ===== PROFESSIONAL HOMEPAGE REDESIGN ===== */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Enhanced Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(248, 249, 250, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(219, 44, 103, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(219, 44, 103, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-infobox-color) 100%);
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(219, 44, 103, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(219, 44, 103, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(219, 44, 103, 0.1);
    border: 1px solid rgba(219, 44, 103, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--font-color);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
}

.hero-feature i {
    color: var(--primary-color);
    font-size: 20px;
}

.test-form-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.test-form-help {
    text-align: center;
    margin-top: 16px;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

/* Trust Section */
.trust-section {
    background: var(--background-color);
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.trust-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--background-infobox-color);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--font-color);
}

.section-header p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--background-color);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--font-color);
}

.feature-card p {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 6px 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Code Section */
.code-section {
    padding: 100px 0;
    background: var(--background-color);
}

.code-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.code-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--font-color);
}

.code-content p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.code-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.code-tab {
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(0, 0, 0, 0.6);
}

.code-tab:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.15);
}

.code-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.code-block {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-block code {
    color: #f8f8f2;
}

.hidden {
    display: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--background-infobox-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--background-color);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-content {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    font-size: 48px;
    color: var(--primary-color);
    line-height: 1;
    float: left;
    margin-right: 8px;
    margin-top: -8px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.author-name {
    font-weight: 700;
    color: var(--font-color);
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e91e63 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white !important;
    border-color: white !important;
    color: var(--primary-color) !important;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid white;
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Dark theme adaptations */
html[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .hero-feature {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .trust-label {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .section-header p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .testimonial-content {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .feature-list li {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .code-content p {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .code-tab {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .code-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .author-title {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .test-form-help {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {
    .code-demo {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-features {
        gap: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-section {
        padding: 60px 0 80px 0;
    }

    .features-section,
    .code-section,
    .testimonials-section,
    .cta-section {
        padding: 80px 0;
    }
}

@media only screen and (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
    }
}

/* Legal Pages Styling */
.page-legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--font-color);
}

.page-subtitle {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

.legal-content {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--background-infobox-color);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(219, 44, 103, 0.1);
    padding-bottom: 8px;
}

.legal-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--font-color);
}

.legal-section p {
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.8);
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.8);
}

.service-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tier {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.tier h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

.tier p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Dark theme adaptations for legal pages */
html[data-theme="dark"] .page-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .legal-section p,
html[data-theme="dark"] .legal-section li {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .tier p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PRICING PAGE STYLING ===== */

.pricing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--font-color);
}

.pricing-subtitle {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.pricing-card {
    background: var(--background-color);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(219, 44, 103, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-basic .pricing-badge {
    background: linear-gradient(135deg, #4ade80, #22c55e);
}

.pricing-card-enterprise .pricing-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.pricing-header-card {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-header-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--font-color);
}

.pricing-price {
    margin-bottom: 12px;
}

.pricing-price .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    margin-left: 8px;
}

.pricing-description {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Pricing Features */
.pricing-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item span {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* FAQ Section */
.pricing-faq {
    margin-bottom: 80px;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--font-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.faq-item {
    background: var(--background-infobox-color);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--font-color);
}

.faq-item p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.pricing-final-cta {
    text-align: center;
    background: var(--background-infobox-color);
    padding: 60px 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-final-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--font-color);
}

.pricing-final-cta p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    font-weight: 600;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Dark Theme Adaptations */
html[data-theme="dark"] .pricing-subtitle,
html[data-theme="dark"] .pricing-description,
html[data-theme="dark"] .feature-item span,
html[data-theme="dark"] .faq-item p,
html[data-theme="dark"] .pricing-final-cta p,
html[data-theme="dark"] .trust-item {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .pricing-price .period {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .trust-indicators {
        gap: 20px;
    }

    .pricing-final-cta {
        padding: 40px 24px;
    }
}

@media only screen and (max-width: 480px) {
    .pricing-page {
        padding: 40px 0;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-price .price {
        font-size: 40px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== ABOUT US PAGE STYLING ===== */

.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* About Hero */
.about-hero {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-infobox-color) 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(219, 44, 103, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(219, 44, 103, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero h1 {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--font-color);
    position: relative;
    z-index: 2;
}

.about-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* About Sections */
.about-section {
    margin-bottom: 100px;
    padding: 0 24px;
}

.about-section.bg-light {
    background: var(--background-infobox-color);
    margin: 100px -24px;
    padding: 80px 48px;
    border-radius: 16px;
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--font-color);
}

/* Mission Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.about-text .lead {
    font-size: 20px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Story Timeline */
.about-story h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--font-color);
}

.story-timeline {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    align-items: start;
    padding: 32px;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: -20px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(to bottom, var(--primary-color), rgba(219, 44, 103, 0.3));
    z-index: -1;
}

.timeline-item:first-child::before {
    top: 50%;
    height: 50%;
}

.timeline-item:last-child::before {
    height: 50%;
}

.timeline-year {
    background: var(--primary-color);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--font-color);
}

.timeline-content p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-item {
    background: var(--background-color);
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.value-icon i {
    font-size: 36px;
    color: white;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--font-color);
}

.value-item p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team-intro {
    text-align: center;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 48px auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background: var(--background-color);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    margin-bottom: 24px;
}

.member-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.team-member h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--font-color);
}

.member-role {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.member-bio {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.member-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(219, 44, 103, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.member-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
    text-align: center;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--background-infobox-color);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-stat i {
    font-size: 32px;
    color: var(--primary-color);
}

.trust-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--font-color);
}

.trust-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    text-transform: uppercase;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(219, 44, 103, 0.1);
    border: 1px solid rgba(219, 44, 103, 0.2);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e91e63 100%);
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.about-cta h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.about-cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.about-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-cta .btn-outline-primary {
    border-color: white;
    color: white;
}

.about-cta .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Dark Theme Adaptations */
html[data-theme="dark"] .about-subtitle,
html[data-theme="dark"] .about-text .lead,
html[data-theme="dark"] .about-text p,
html[data-theme="dark"] .timeline-content p,
html[data-theme="dark"] .value-item p,
html[data-theme="dark"] .team-intro,
html[data-theme="dark"] .member-bio {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .stat-label,
html[data-theme="dark"] .trust-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .about-section.bg-light {
        margin: 80px -12px;
        padding: 60px 24px;
    }

    .story-timeline {
        gap: 32px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .timeline-item::before {
        display: none;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .security-badges {
        gap: 16px;
    }

    .about-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 480px) {
    .about-page {
        padding: 40px 0;
    }

    .about-hero {
        margin-bottom: 80px;
        padding: 40px 20px;
    }

    .about-section {
        margin-bottom: 80px;
        padding: 0 12px;
    }

    .about-stats {
        flex-direction: column;
    }

    .about-cta {
        padding: 60px 24px;
    }
}

/* ===== CONTACT PAGE STYLING ===== */

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Contact Hero */
.contact-hero {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-infobox-color) 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(219, 44, 103, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(219, 44, 103, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero h1 {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--font-color);
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Contact Sections */
.contact-section {
    margin-bottom: 100px;
    padding: 0 24px;
}

.contact-section.bg-light {
    background: var(--background-infobox-color);
    margin: 100px -24px;
    padding: 80px 48px;
    border-radius: 16px;
}

/* Contact Content Grid */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: var(--background-color);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.form-header {
    background: var(--background-infobox-color);
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.form-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--font-color);
}

.form-header p {
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    padding: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--font-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: var(--background-color);
    color: var(--font-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(219, 44, 103, 0.1);
}

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

.contact-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-form .btn:hover {
    background: #b8245a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 44, 103, 0.3);
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--background-color);
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.info-icon i {
    font-size: 24px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--font-color);
}

.info-card p {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.contact-link:hover {
    text-decoration: underline;
}

.response-time {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
    margin-top: 8px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.faq-item {
    background: var(--background-color);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--font-color);
}

.faq-item p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Office Information */
.office-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.office-details h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--font-color);
}

.office-address {
    background: var(--background-infobox-color);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.office-address p {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin: 0;
}

.office-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.office-map {
    background: var(--background-infobox-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary-color);
}

.map-placeholder h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--font-color);
}

.map-placeholder p {
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Trust Stats (reusing existing styles with contact-specific adjustments) */
.contact-section .trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section .trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.contact-section .trust-stat i {
    font-size: 32px;
    color: var(--primary-color);
}

.contact-section .trust-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--font-color);
}

.contact-section .trust-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    text-transform: uppercase;
}

.contact-section .security-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-section .security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(219, 44, 103, 0.1);
    border: 1px solid rgba(219, 44, 103, 0.2);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e91e63 100%);
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.contact-cta h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.contact-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-cta .btn-outline-primary {
    border-color: white;
    color: white;
    background: transparent;
    border: 2px solid white;
    font-weight: 700;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-cta .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Dark Theme Adaptations */
html[data-theme="dark"] .contact-subtitle,
html[data-theme="dark"] .form-header p,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .faq-item p,
html[data-theme="dark"] .office-address p,
html[data-theme="dark"] .feature-item,
html[data-theme="dark"] .map-placeholder p,
html[data-theme="dark"] .response-time {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .contact-section .trust-label {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .form-control {
    background: var(--background-infobox-color);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--font-color);
}

html[data-theme="dark"] .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(219, 44, 103, 0.2);
}

/* ===== EMAIL TEST RESULT: SCORE BANNER & CAT LOADER ===== */
.score-banner {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.score-banner .score-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.score-banner .score-left h3 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
}

.score-banner.score-excellent {
    background: linear-gradient(90deg, rgba(0, 200, 83, 0.06), rgba(255, 255, 255, 0));
}

.score-banner.score-good {
    background: linear-gradient(90deg, rgba(100, 221, 23, 0.06), rgba(255, 255, 255, 0));
}

.score-banner.score-fair {
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.06), rgba(255, 255, 255, 0));
}

.score-banner.score-poor {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.06), rgba(255, 255, 255, 0));
}

.score-banner.score-critical {
    background: linear-gradient(90deg, rgba(244, 67, 54, 0.06), rgba(255, 255, 255, 0));
}




/* Responsive adjustments for score banner */
@media only screen and (max-width: 768px) {
    .score-banner .score-inner {
        padding: 12px;
    }

    .score-banner .score-left h3 {
        font-size: 13px;
    }
}

/* ===== EMAIL TEST RESULT PAGE: PROFESSIONAL HEADER (900px) ===== */

.result-header-section {
    width: 100%;
    padding: 40px 20px 60px 20px;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-infobox-color) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.result-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(219, 44, 103, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Score-based background tints */
.result-header-section.score-excellent::before {
    background-image: radial-gradient(circle at 25% 25%, rgba(0, 200, 83, 0.04) 0%, transparent 50%);
}

.result-header-section.score-good::before {
    background-image: radial-gradient(circle at 25% 25%, rgba(100, 221, 23, 0.04) 0%, transparent 50%);
}

.result-header-section.score-fair::before {
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 235, 59, 0.04) 0%, transparent 50%);
}

.result-header-section.score-poor::before {
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 152, 0, 0.04) 0%, transparent 50%);
}

.result-header-section.score-critical::before {
    background-image: radial-gradient(circle at 25% 25%, rgba(244, 67, 54, 0.04) 0%, transparent 50%);
}

.result-header-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Test Status Badge */
.test-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--background-color);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.status-icon {
    font-size: 24px;
    line-height: 1;
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.5);
}

.status-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--font-color);
}

/* Progress Bar Loader */
.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-bar-animated {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #e91e63, var(--primary-color));
    background-size: 200% 100%;
    animation: progress-slide 2s linear infinite;
    border-radius: 2px;
}

@keyframes progress-slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Score Display Card */
.score-display-card {
    background: var(--background-color);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.score-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--font-color);
}

.test-id {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.score-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.score-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
}

.score-max {
    font-size: 32px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
}

.score-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.issues-summary {
    text-align: center;
    padding: 12px;
    background: rgba(255, 152, 0, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.issues-summary.success {
    background: rgba(0, 200, 83, 0.08);
    border-color: rgba(0, 200, 83, 0.2);
}

.issues-count {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
}

/* Score Pending State */
.score-pending-state {
    text-align: center;
    padding: 40px 20px;
}


.score-pending-state p {
    font-size: 18px;
    font-weight: 600;
    color: var(--font-color);
    margin-bottom: 8px;
}

.score-pending-state small {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    display: block;
    margin-bottom: 20px;
}

/* Pending Email Display with Copy Button */
.pending-email-display {
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
}

.email-to-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--background-infobox-color);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.email-to-copy code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--font-color);
    background: transparent;
    padding: 0;
    word-break: break-all;
    overflow-wrap: break-word;
}

.copy-email-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
}

.copy-email-btn:hover {
    color: #b8245a;
    transform: scale(1.1);
}

.copy-email-btn:active {
    transform: scale(0.95);
}

/* Test Meta Grid */
.test-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--background-color);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon i {
    font-size: 18px;
    color: white;
}

.meta-content {
    flex: 1;
    min-width: 0;
}

.meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--font-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta Item Link (Share Result) */
.meta-item-link .meta-value {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: normal;
    overflow: visible;
}

.meta-item-link input[type="text"] {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--font-color);
    background: var(--background-infobox-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 6px 10px;
    outline: none;
    transition: all 0.2s ease;
}

.meta-item-link input[type="text"]:focus {
    border-color: var(--primary-color);
    background: var(--background-color);
}

.copy-link-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: scale(1);
}

.copy-link-btn:hover {
    color: #b8245a;
    transform: scale(1.1);
}

.copy-link-btn:active {
    transform: scale(0.95);
}

/* Result Actions */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.result-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Dark Theme Adaptations */
html[data-theme="dark"] .test-status-badge,
html[data-theme="dark"] .score-display-card,
html[data-theme="dark"] .meta-item {
    background: var(--background-infobox-color);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .status-label,
html[data-theme="dark"] .meta-label,
html[data-theme="dark"] .test-id {
    color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .score-max {
    color: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .progress-bar-container {
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .score-pending-state small,
html[data-theme="dark"] .issues-count {
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .email-to-copy {
    background: var(--background-color);
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .email-to-copy code {
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .meta-item-link input[type="text"] {
    background: var(--background-color);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .meta-item-link input[type="text"]:focus {
    border-color: var(--primary-color);
    background: var(--background-infobox-color);
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .result-header-section {
        padding: 24px 12px 40px 12px;
    }

    .score-display-card {
        padding: 24px 20px;
    }

    .score-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .score-number {
        font-size: 56px;
    }

    .score-max {
        font-size: 24px;
    }

    .test-meta-grid {
        grid-template-columns: 1fr;
    }

    .result-actions {
        flex-direction: column;
        width: 100%;
    }

    .result-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pending-email-display {
        margin-top: 16px;
        padding: 0;
    }

    .email-to-copy {
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 10px 12px;
    }

    .email-to-copy code {
        font-size: 12px;
        flex: 1;
        min-width: 0;
    }
}

/* PDF Download Button Styling */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c91d57;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 44, 103, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

@media only screen and (max-width: 480px) {
    .test-status-badge {
        padding: 10px 16px;
    }

    .score-number {
        font-size: 48px;
    }

    .score-header h2 {
        font-size: 18px;
    }

    .meta-item {
        padding: 12px;
    }

    .email-to-copy {
        padding: 8px 10px;
        gap: 6px;
    }

    .email-to-copy code {
        font-size: 11px;
    }

    .copy-email-btn {
        padding: 2px 6px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 18px;
        font-size: 14px;
    }
}
