/* ===== PREMIUM DARK THEME — 3AM Software Solutions v2.0 ===== */
/* Clean Mesh Gradient Background - No Grid Pattern */

html {
    background-color: #0b0d14;
}

body {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: transparent !important;
    background: transparent !important;
    color: #E0E8FF;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== CUSTOM BACKGROUND IMAGE - ORIGINAL COLORS ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2 !important;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none !important;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1 !important;
    background: linear-gradient(135deg, 
        rgba(11, 13, 20, 0.3) 0%,
        rgba(15, 23, 42, 0.2) 50%,
        rgba(11, 13, 20, 0.3) 100%
    );
    pointer-events: none !important;
}

@keyframes techPatternFlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(200px, 200px);
    }
}

@keyframes meshGradientFlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.85;
        transform: scale(1.05) rotate(1deg);
    }
    66% {
        opacity: 0.9;
        transform: scale(1.02) rotate(-1deg);
    }
}

a,
.btn-link {
    color: #00C8FF;
    transition: color 0.2s ease;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #33D4FF;
}

.btn {
    transition: all 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #00C8FF, #0088CC);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #33D4FF, #00A8DD);
    box-shadow: 0 6px 30px rgba(0, 200, 255, 0.45);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #1e1b4b;
}

.btn-light:hover {
    background: #f1f5f9;
    color: #1e1b4b;
    transform: translateY(-1px);
}

h1:focus {
    outline: none;
}

.page-intro {
    padding-bottom: 1.2rem;
}

.page-title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.1;
    color: #E0E8FF;
}

.page-subtitle {
    margin-top: 0.8rem;
    color: rgba(224, 232, 255, 0.8);
    max-width: 72ch;
    font-size: 1.02rem;
}

.section-block {
    padding: 2.2rem 0;
}

.section-surface {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 0.8rem;
}

.section-header {
    margin-bottom: 1.1rem;
}

.section-kicker {
    color: #818cf8;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #E0E8FF;
}

h1, h2, h3, h4, h5, h6 {
    color: #E0E8FF;
    letter-spacing: -0.01em;
}

body, p, li {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #E0E8FF;
}

.hero-title, .page-title, .section-title {
    font-weight: 700;
}

.hero-subtitle, .page-subtitle {
    font-weight: 400;
}

.surface-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.surface-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.entity-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.entity-card p {
    color: #94a3b8;
    margin-bottom: 0;
}

/* ===== HERO ===== */

.hero-section {
    background: linear-gradient(135deg, #0A0F1F 0%, #101632 50%, #0A0F1F 100%);
    color: #E0E8FF;
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0.25rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 1.2rem;
    color: #a5b4fc;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #f8fafc, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #94a3b8;
    max-width: 56ch;
    font-size: 1.08rem;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-metrics {
    display: grid;
    gap: 0.85rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.metric-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.metric-value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #818cf8, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

/* ===== LOGO STRIP ===== */

.logo-strip-section {
    padding-top: 1.5rem;
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
}

.logo-pill {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    text-align: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.logo-pill:hover {
    border-color: rgba(99, 102, 241, 0.2);
    color: #94a3b8;
}

/* ===== SERVICE CARDS ===== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
    color: #f1f5f9;
}

.service-category {
    margin: 0 0 0.5rem;
    color: #818cf8;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== CASE STUDIES ===== */

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.case-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
}

.case-card {
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    min-height: 250px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.case-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.case-card h3 {
    font-size: 1.2rem;
    color: #f1f5f9;
}

.case-industry {
    color: #818cf8;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== CONTACT ===== */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
}

.contact-panel h2 {
    font-size: 1.3rem;
    color: #f1f5f9;
}

.contact-panel ul {
    margin: 0.85rem 0 0;
    padding-left: 1.15rem;
    color: #94a3b8;
}

.contact-panel li + li {
    margin-top: 0.35rem;
}

.contact-note {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

.contact-form-card .form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    color: #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card .form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: #f1f5f9;
    outline: none;
}

.contact-form-card .form-control::placeholder {
    color: #475569;
}

.contact-form-card .form-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-status {
    margin-bottom: 0;
    color: #60a5fa;
    font-weight: 500;
}

/* ===== CTA SECTION ===== */

.cta-section {
    margin-top: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    margin-bottom: 0.5rem;
    color: #fff;
}

.cta-description {
    margin-bottom: 0;
    color: #a5b4fc;
    max-width: 64ch;
}

.cta-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */

.site-footer {
    margin-top: auto;
    background: #101632;
    border-top: 1px solid #2E3A6A;
    color: #E0E8FF;
    padding-top: 2.5rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-brand {
    font-weight: 700;
    color: #E0E8FF;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.footer-copy {
    margin: 0;
    color: rgba(224, 232, 255, 0.7);
}

.footer-title {
    color: #E0E8FF;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.footer-links a {
    color: rgba(224, 232, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00C8FF;
}

.footer-bottom {
    margin-top: 1.5rem;
    border-top: 1px solid #2E3A6A;
    padding: 0.9rem 0 1.2rem;
    color: rgba(224, 232, 255, 0.6);
    font-size: 0.88rem;
}

/* ===== FORM VALIDATION ===== */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #22c55e;
}

.invalid {
    outline: 1px solid #ef4444;
}

.validation-message {
    color: #ef4444;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== RESPONSIVE ===== */

/* ===== PRICING ===== */

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-plans {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-plan-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pricing-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
}

.pricing-cycle {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 400;
}

.pricing-plan-name {
    font-size: 0.82rem;
    color: #818cf8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.billing-label {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s ease;
}

.billing-label.active {
    color: #f1f5f9;
    font-weight: 600;
}

.billing-discount {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.billing-toggle {
    position: relative;
    width: 56px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.billing-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.billing-toggle.yearly {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    border-color: transparent;
}

.billing-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.billing-toggle.yearly .billing-toggle-slider {
    transform: translateX(28px);
}

/* Currency Selector */
.currency-selector-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.currency-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.currency-select:hover {
    background: rgba(255, 255, 255, 0.12);
}

.currency-select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
}

.currency-select option {
    background: #1e293b;
    color: #f1f5f9;
}

.currency-approx-note {
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
}

.pricing-original {
    text-decoration: line-through;
    color: #64748b;
    font-size: 1rem;
    margin-left: 0.5rem;
    font-weight: 400;
}

.pricing-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.featured-plan {
    position: relative;
    border: 2px solid rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2) !important;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}


@media (max-width: 1024px) {
    .hero-grid,
    .service-grid,
    .entity-grid,
    .site-footer-grid,
    .case-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .content-wrapper {
        width: min(1200px, 94vw);
    }

    .logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }
}

/* ===== FEATURE COMPARISON TABLE ===== */

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(99, 102, 241, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #f1f5f9;
    font-size: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.comparison-table .feature-column {
    width: 40%;
    min-width: 200px;
}

.comparison-table .plan-column {
    width: 20%;
    text-align: center;
}

.comparison-table .plan-featured {
    background: rgba(99, 102, 241, 0.12);
    position: relative;
    padding-top: 2.5rem;
}

.comparison-table .plan-featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 0 0 8px 8px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.comparison-table td {
    padding: 1rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.comparison-table .category-row {
    background: rgba(99, 102, 241, 0.05);
}

.comparison-table .category-row td {
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: #a5b4fc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table .check-icon {
    color: #22c55e;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
}

.comparison-table .x-icon {
    color: #64748b;
    font-size: 1.2rem;
    display: inline-block;
}

.comparison-table .plan-column {
    text-align: center;
}

.comparison-table .feature-column {
    text-align: left;
    font-weight: 500;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .comparison-table .feature-column {
        min-width: 150px;
    }
}

/* ===== ADMIN PANEL ===== */

.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background: #0b0d14;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
}

.admin-brand {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.admin-brand h2 {
    margin: 0;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #818cf8, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #e2e8f0;
}

.admin-nav-icon {
    font-size: 1.2rem;
}

.admin-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 1rem 0;
}

.admin-main {
    overflow-y: auto;
}

.admin-header {
    padding: 2rem;
    border-bottom: 1px solid #2E3A6A;
    background: #0A0F1F;
}

.admin-page-title {
    margin: 0;
    font-size: 2rem;
    color: #E0E8FF;
}

.admin-content {
    padding: 2rem;
}

.admin-dashboard {
    max-width: 1200px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    font-size: 2.5rem;
}

.admin-stat-value {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #f1f5f9;
}

.admin-stat-label {
    margin: 0.25rem 0 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.admin-section {
    margin-bottom: 2rem;
}

.admin-section h2 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.admin-action-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-action-card:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.admin-action-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-action-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #f1f5f9;
}

.admin-action-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.admin-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
}

.admin-card h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: #f1f5f9;
}

.admin-subtitle {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead {
    background: rgba(99, 102, 241, 0.08);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #f1f5f9;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.admin-table td {
    padding: 1rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.badge-public {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-custom {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.2);
}

.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.admin-modal {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-modal-header h3 {
    margin: 0;
    color: #f1f5f9;
}

.admin-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-modal-body {
    padding: 2rem;
}

.admin-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-note {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid #6366f1;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    border-radius: 8px;
}

.code-block {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    color: #94a3b8;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

