/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #14b8a6;
    --light-bg: #111827;
    --dark-bg: #050505;
    --text-color: #f5f5f7;
    --text-light: rgba(245, 245, 247, 0.7);
    --white: #ffffff;
    --card-bg: rgba(15, 23, 42, 0.88);
    --card-border: rgba(99, 102, 241, 0.12);
    --page-bg: var(--dark-bg);
    --page-gradient: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.28), transparent 70%), #050505;
    --success: #22c55e;
    --warning: #facc15;
    --danger: #ef4444;
    --info: #38bdf8;
    --light-accent: rgba(30, 41, 59, 0.6);
    --medium-accent: rgba(51, 65, 85, 0.55);
}

/* Body and Basic Styles */
body {
    background: var(--page-gradient);
    color: var(--text-color);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Navbar Styles */
.navbar.custom-nav {
    background: transparent;
    padding: 12px 0;
    box-shadow: none;
}

.navbar.custom-nav .navbar-brand img {
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.navbar.custom-nav .brand-gradient {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.navbar.custom-nav .nav-link {
    color: rgba(248, 250, 252, .78);
    font-weight: 500;
    margin-right: 18px;
    white-space: nowrap;
    padding-left: .5rem;
    padding-right: .5rem;
    border-radius: 999px;
    transition: .25s;
}

.navbar.custom-nav .nav-link.active,
.navbar.custom-nav .nav-link:hover {
    color: #f8fafc;
    background-color: rgba(99, 102, 241, .22);
    box-shadow: 0 6px 14px rgba(99, 102, 241, .25);
}

/* Language Button Styles */
.language-btn {
    color: rgba(248, 250, 252, 0.9);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: .375rem .75rem;
    border-radius: 6px;
    transition: .3s;
}

.language-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: 12px !important;
    background-color: rgba(30, 41, 59, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    color: rgba(248, 250, 252, 0.95) !important;
    padding: 0.625rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(99, 102, 241, 0.3) !important;
    color: #fff !important;
}

.dropdown-item:active {
    background-color: rgba(99, 102, 241, 0.4) !important;
    color: #fff !important;
}

/* Footer Styles */
footer {
    color: var(--text-color);
    background: transparent !important;
}

footer .text-muted {
    color: rgba(245, 245, 247, 0.7) !important;
}

footer .text-muted:hover {
    color: rgba(245, 245, 247, 0.9) !important;
}

footer h4,
footer h6 {
    color: var(--text-color);
}

footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Toggle Button */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar.custom-nav .nav-link {
        margin-right: 12px;
        font-size: .9rem;
        padding: .4rem .5rem;
    }

    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===================================
   HOME PAGE STYLES
   =================================== */

body.page {
    background-color: #050505;
}

body.page main {
    background: transparent;
}

.page {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f5f7;
    line-height: 1.6;
    padding-bottom: 120px;
}

.page a {
    color: inherit;
    text-decoration: none;
}

.page a:hover {
    opacity: 0.9;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 72px 0 24px;
}

.hero-section {
    padding-top: 48px;
    text-align: center;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.switcher {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(18, 18, 18, 0.75);
    border-radius: 999px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d6d6dc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.icon {
    width: 20px;
    height: 20px;
}

.chip-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.chip {
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(245, 245, 247, 0.65);
    background: transparent;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.chip:hover {
    color: #ffffff;
}

.chip.active {
    background: linear-gradient(135deg, #4338ca, #6366f1, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    background: #f8f9ff;
    color: #0c0c12;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(15, 15, 20, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.hero-title {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 36px;
    color: rgba(245, 245, 247, 0.65);
}

.upload-card {
    width: min(720px, 90vw);
    margin: 0 auto;
}

.upload-card__body {
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    padding: 48px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.2), transparent 70%), rgba(17, 17, 19, 0.88);
    box-shadow: 0 18px 50px rgba(8, 8, 10, 0.65);
}

.upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 140px;
    width: 260px;
    margin: 0 auto;
}

.upload-preview img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    border: 2.5px solid rgba(99, 102, 241, 0.6);
    transition: all 0.3s ease;
    position: absolute;
}

.upload-preview img:first-child {
    left: 10px;
    top: 10px;
    z-index: 1;
    transform: rotate(-12deg);
}

.upload-preview img:last-child {
    right: 10px;
    bottom: 10px;
    z-index: 2;
    transform: rotate(12deg);
}

.upload-card__body:hover .upload-preview img:first-child {
    transform: rotate(-18deg) translateY(-3px);
}

.upload-card__body:hover .upload-preview img:last-child {
    transform: rotate(18deg) translateY(-3px);
}

.upload-title {
    font-size: 20px;
    font-weight: 600;
}

.upload-hint {
    color: rgba(245, 245, 247, 0.62);
    font-size: 14px;
    margin-bottom: 8px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

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

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

.section-header h2,
.steps h2,
.faq h2 {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3rem);
    font-weight: 700;
}

.section-header p {
    color: rgba(245, 245, 247, 0.6);
    margin-top: 10px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.example-card {
    background: rgba(18, 18, 21, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    max-width: 280px;
    margin: 0 auto;
}

.example-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.steps {
    padding: 100px 0 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    border-radius: 32px;
    background: rgba(16, 16, 19, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.step-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    background: rgba(13, 13, 18, 0.5);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 600;
}

.step-card p {
    color: rgba(245, 245, 247, 0.66);
    font-size: 15px;
}

.step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    font-weight: 600;
    font-size: 15px;
}

.features {
    padding: 100px 0 60px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0;
}

.feature-card--reverse {
    direction: rtl;
}

.feature-card--reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-text p {
    color: rgba(245, 245, 247, 0.68);
    font-size: 16px;
    line-height: 1.7;
}

.feature-media {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.feature-media img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-media img {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.faq {
    padding: 100px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 18px;
    background: rgba(17, 17, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 22px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    background: rgba(24, 24, 30, 0.95);
    border-color: rgba(99, 102, 241, 0.35);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-item summary h3 {
    font-weight: 600;
    font-size: 17px;
    margin: 0;
    flex: 1;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: ">";
    font-size: 18px;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
    opacity: 0.75;
    color: rgba(248, 250, 252, 0.82);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    opacity: 0.9;
}

.faq-item p {
    margin-top: 14px;
    color: rgba(245, 245, 247, 0.65);
}

/* Responsive Styles for MaxStudio */
@media (max-width: 960px) {
    .hero-top {
        flex-direction: column;
    }

    .upload-preview {
        width: 240px;
        height: 140px;
    }

    .upload-preview img {
        width: 110px;
        height: 110px;
    }

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

    .feature-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0;
    }

    .feature-card--reverse {
        direction: ltr;
    }
}

@media (max-width: 640px) {
    .switcher {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .chip-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .chip {
        padding: 10px 18px;
    }

    .upload-card__body {
        padding: 36px 20px;
    }

    .upload-preview {
        width: 220px;
        height: 130px;
    }

    .upload-preview img {
        width: 100px;
        height: 100px;
    }

    .upload-preview img:first-child {
        left: 8px;
        top: 5px;
    }

    .upload-preview img:last-child {
        right: 8px;
        bottom: 5px;
    }

    .upload-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .feature-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .feature-list {
        gap: 36px;
    }

    .feature-card--reverse {
        direction: ltr;
    }

    .feature-text h2 {
        font-size: 22px;
    }

    .feature-text p {
        font-size: 15px;
    }
}

/* ====
= Attractiveness Test Upload Styles ===== */

/* Upload Card States */
.upload-card {
    position: relative;
    min-height: 400px;
    transition: all 0.3s ease;
}

.upload-card.upload-dragover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.upload-card__body {
    padding: 2rem;
}

/* Loading State */
.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.loading-spinner {
    margin-bottom: 0.5rem;
}

.loading-spinner .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.3rem;
}

/* Progress Bar */
.loading-progress {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.progress-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 500;
}

/* Loading Steps */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.step i {
    font-size: 1.25rem;
    color: var(--text-light);
    min-width: 20px;
}

.step span {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.step.step-complete {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.step.step-complete i {
    color: #22c55e;
}

.step.step-complete span {
    color: var(--text-color);
}

/* Result State */
.upload-result {
    padding: 2rem !important;
}

.result-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.result-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.result-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.result-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Rating Card */
.result-rating-card {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.rating-badge i {
    font-size: 1rem;
    color: #fbbf24;
}

.rating-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Action Buttons */
.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-share:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.btn-download {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-download:hover {
    background: rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Score Circle */
.result-score {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.score-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
}

.score-max {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 500;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Result Details */
.result-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.detail-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Features List */
.result-features {
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.features-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.875rem;
    text-align: left;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: left;
}

.features-list li i {
    color: #22c55e;
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Button Styles */
.btn-secondary {
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    color: var(--text-color) !important;
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .result-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .result-left {
        order: 2;
    }

    .result-content {
        order: 1;
    }

    .result-image img {
        max-height: 400px;
    }

    .score-value {
        font-size: 3rem;
    }

    .score-max {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .upload-card__body {
        padding: 1.5rem;
    }

    .upload-result {
        padding: 1rem !important;
    }

    .result-details {
        gap: 0.75rem;
        padding: 1rem;
    }

    .detail-item {
        grid-template-columns: auto 1fr;
        gap: 0.5rem;
    }

    .detail-label {
        font-size: 0.8125rem;
    }

    .detail-value {
        font-size: 1rem;
    }

    .score-value {
        font-size: 2.5rem;
    }

    .score-max {
        font-size: 1.25rem;
    }
}

/* Notification Styles */
.notification {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}


/* ===== MaxStudio Page Sections ===== */

/* Section Spacing */
.section,
.faq {
    padding: 3rem 0;
    margin: 0;
}

.section:last-of-type,
.faq:last-of-type {
    padding-bottom: 3rem;
    margin-bottom: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 3rem 0 2rem;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    padding-right: 1rem;
}

.faq-item p {
    margin: 1rem 0 0 0;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Remove extra spacing at page bottom */
.page {
    margin-bottom: 0;
    padding-bottom: 0;
}

footer {
    margin-top: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item summary h3 {
        font-size: 1rem;
    }

    .section,
    .faq {
        padding: 2rem 0;
    }

    .faq {
        padding-bottom: 1.5rem;
    }
}


/* ===== Hero Section ===== */
.hero-section {
    padding: 3rem 0 2rem;
    margin: 0;
}

/* ===== Examples Section ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.example-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.example-card img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* ===== Steps Section ===== */
.steps {
    padding: 3rem 0;
    margin: 0;
}

.steps h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.step-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== Features Section ===== */
.features {
    padding: 4rem 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-card--reverse {
    direction: rtl;
}

.feature-card--reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin: 0;
}

.feature-media {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.feature-media:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-media img {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ===== Responsive Sections ===== */
@media (max-width: 992px) {
    .feature-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-card--reverse {
        direction: ltr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        gap: 4rem;
    }
    
    .feature-media {
        max-width: 100%;
    }
    
    .feature-media img {
        min-height: 300px;
        max-height: 450px;
    }
    
    .feature-text h2 {
        font-size: 1.75rem;
    }
    
    .feature-text p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .example-card img {
        min-height: 250px;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .steps,
    .features {
        padding: 2rem 0;
    }

    .section-header h2,
    .steps h2 {
        font-size: 2rem;
    }

    .feature-text h2 {
        font-size: 1.5rem;
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .example-card img {
        min-height: 280px;
        max-height: 400px;
    }
    
    .feature-list {
        gap: 3rem;
    }
    
    .feature-media {
        max-width: 100%;
    }
    
    .feature-media img {
        min-height: 280px;
        max-height: 400px;
    }
    
    .feature-text h2 {
        font-size: 1.5rem;
    }
    
    .feature-text p {
        font-size: 0.9375rem;
    }
}

/* Eye Types Section */
.eye-types-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 5rem 0;
}

.eye-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.eye-type-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.eye-type-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.eye-type-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.eye-type-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.eye-type-card:hover .eye-type-image img {
    transform: scale(1.05);
}

.eye-type-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.eye-type-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eye-type-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .eye-types-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .eye-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .eye-type-image {
        height: 180px;
    }
    
    .eye-type-content {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .eye-types-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .eye-type-image {
        height: 160px;
    }
}


/* Lip Types Section Styles */
.eye-types-section {
    padding: 80px 0;
}

.eye-types-section .section-header h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
}

.eye-types-section .section-header p {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
}

.lip-type-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.lip-type-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25);
    background: rgba(30, 41, 59, 1);
}

.lip-type-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lip-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.lip-type-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lip-type-content h3 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.lip-type-content p {
    color: #ffffff;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .eye-types-section {
        padding: 60px 0;
    }
    
    .eye-types-section .section-header h2 {
        font-size: 2rem;
    }
    
    .lip-type-image {
        height: 180px;
    }
    
    .lip-type-content h3 {
        font-size: 1.1rem;
    }
    
    .lip-type-content p {
        font-size: 0.9rem;
    }
}


/* ===================================
   XUPER TV APK DOWNLOAD HERO SECTION
   =================================== */

/* Hero Section Override for Download Page */
.hero-section {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.28), transparent 70%), #050505;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 247, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Card */
.download-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.download-card__body {
    padding: 2.5rem;
}

/* Download Layout - Two Column */
.download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.download-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-right {
    position: sticky;
    top: 100px;
}

/* App Preview */
.app-preview {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Download Info */
.download-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    padding: 8px;
}

.app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-details {
    flex: 1;
    text-align: left;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 0.5rem;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(245, 245, 247, 0.7);
}

.app-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.app-meta i {
    color: #6366f1;
}

/* Download Actions */
.download-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.download-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
    color: #ffffff;
}

.download-btn.secondary {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-btn.secondary:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

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

.download-hint {
    font-size: 0.9rem;
    color: rgba(245, 245, 247, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.download-hint i {
    color: #22c55e;
}

/* App Information Table */
.app-info-table {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.info-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.info-row {
    display: flex;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.info-row:nth-child(odd) {
    border-right: 1px solid rgba(99, 102, 241, 0.1);
}

.info-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(245, 245, 247, 0.6);
    min-width: 120px;
    flex-shrink: 0;
}

.info-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #f5f5f7;
    margin-left: auto;
}

/* Responsive Design for Download Section */
@media (max-width: 992px) {
    .download-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-right {
        position: relative;
        top: 0;
        order: -1;
    }

    .app-preview {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .download-card__body {
        padding: 1.5rem;
    }

    .download-info {
        flex-direction: column;
        text-align: center;
    }

    .app-details {
        text-align: center;
    }

    .app-meta {
        justify-content: center;
    }

    .download-btn {
        width: 100%;
        padding: 1rem 2rem;
    }

    .info-table-grid {
        grid-template-columns: 1fr;
    }

    .info-row:nth-child(odd) {
        border-right: none;
    }

    .info-row:not(:last-child) {
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .app-name {
        font-size: 1.2rem;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .info-label {
        min-width: 100px;
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 0.8rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card {
    animation: fadeInUp 0.6s ease-out;
}
/* Xuper TV homepage recreation */
.home-page { background: #fff; color: #25213d; }
.home-page .topbar-gradient { background: #fff; }
.home-page .custom-nav { padding: 18px 0; }
.home-page .custom-nav .nav-link { color: #514b68; }
.home-page .custom-nav .brand-gradient { background: none; color: #31245e; }
.xuper-hero { position: relative; overflow: hidden; background: linear-gradient(120deg,#4b2aa5 0%,#7652d8 52%,#9d7be8 100%); color:#fff; }
.xuper-hero:after { content:""; position:absolute; inset:0 -10% -55% 48%; background:rgba(255,255,255,.1); transform:skewX(-24deg); pointer-events:none; }
.xuper-hero-inner { position:relative; z-index:1; display:flex; align-items:center; min-height:510px; padding:74px 0 86px; }
.xuper-hero-copy { width:52%; max-width:610px; }
.xuper-eyebrow,.xuper-kicker { display:inline-block; letter-spacing:.16em; font-size:.73rem; font-weight:700; text-transform:uppercase; }
.xuper-eyebrow { color:#ddd3ff; margin-bottom:18px; }
.xuper-hero h1 { font-size:clamp(3.2rem,7vw,6rem); font-weight:800; letter-spacing:-.06em; margin:0 0 18px; }
.xuper-hero p { color:#f3efff; font-size:1.1rem; line-height:1.75; max-width:590px; }
.xuper-hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.xuper-btn { display:inline-flex; align-items:center; gap:9px; padding:13px 23px; border-radius:9px; font-weight:700; text-decoration:none; transition:.2s; }
.xuper-btn-primary { background:#fff; color:#4b2aa5; }.xuper-btn-light { border:1px solid rgba(255,255,255,.6); color:#fff; }.xuper-btn:hover { transform:translateY(-2px); color:inherit; box-shadow:0 10px 24px rgba(24,10,71,.18); }
.xuper-hero-art { width:48%; display:flex; justify-content:center; }.xuper-hero-art img { width:min(100%,510px); max-height:380px; object-fit:contain; filter:drop-shadow(0 24px 30px rgba(30,12,85,.25)); }
.xuper-section { padding:100px 0; }.xuper-heading { max-width:680px; margin:0 auto 52px; text-align:center; }.xuper-kicker { color:#7652d8; }.xuper-heading h2 { color:#292244; font-size:clamp(2rem,4vw,3.15rem); font-weight:800; margin:12px 0 15px; }.xuper-heading p { color:#716b84; font-size:1.05rem; }
.xuper-feature-card { height:100%; padding:30px 26px; text-align:center; border:1px solid #ece9f7; border-radius:17px; background:#fff; box-shadow:0 9px 28px rgba(47,26,101,.06); transition:.2s; }.xuper-feature-card:hover { transform:translateY(-5px); box-shadow:0 18px 38px rgba(47,26,101,.13); }.xuper-feature-icon { height:82px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }.xuper-feature-icon img { max-width:82px; max-height:82px; object-fit:contain; }.xuper-feature-card h3 { color:#342361; font-size:1.15rem; font-weight:750; }.xuper-feature-card p { color:#77718a; line-height:1.65; margin:0; }
.xuper-showcase { background:#faf9fe; }.xuper-showcase-row { display:flex; align-items:center; gap:9%; padding:45px 0; }.xuper-showcase-row + .xuper-showcase-row { border-top:1px solid #ebe8f5; }.xuper-showcase-reverse { flex-direction:row-reverse; }.xuper-showcase-copy,.xuper-showcase-image { flex:1; }.xuper-showcase-copy h2 { color:#302152; font-size:clamp(2rem,4vw,3.1rem); font-weight:800; margin:14px 0; }.xuper-showcase-copy p { color:#706980; font-size:1.08rem; line-height:1.8; max-width:470px; }.xuper-showcase-image { text-align:center; }.xuper-showcase-image img { max-width:100%; width:440px; max-height:300px; object-fit:contain; border-radius:18px; filter:drop-shadow(0 18px 24px rgba(53,30,111,.13)); }.xuper-text-link { color:#6945c2; font-weight:700; text-decoration:none; }.xuper-text-link i { margin-left:7px; font-size:.85em; }
.xuper-faq { background:#fff; }.xuper-faq-list { max-width:820px; margin:auto; }.xuper-faq-item { border-bottom:1px solid #e9e5f3; padding:22px 0; }.xuper-faq-item summary { list-style:none; cursor:pointer; color:#322353; font-size:1.1rem; font-weight:700; display:flex; justify-content:space-between; gap:20px; }.xuper-faq-item summary::-webkit-details-marker { display:none; }.xuper-faq-item summary i { color:#7652d8; transition:.2s; }.xuper-faq-item[open] summary i { transform:rotate(45deg); }.xuper-faq-item p { color:#746d85; line-height:1.7; margin:15px 35px 0 0; }
.xuper-blog { background:#faf9fe; }.xuper-post-card { display:block; overflow:hidden; height:100%; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(47,26,101,.08); color:inherit; text-decoration:none; transition:.2s; }.xuper-post-card:hover { transform:translateY(-4px); box-shadow:0 15px 32px rgba(47,26,101,.14); }.xuper-post-card > img { display:block; width:100%; aspect-ratio:1.65; object-fit:cover; }.xuper-post-body { padding:21px 22px 24px; }.xuper-post-body h3 { color:#322353; font-size:1.1rem; line-height:1.4; min-height:3.1em; }.xuper-post-body span { color:#7652d8; font-weight:700; font-size:.92rem; }
@media (max-width: 767.98px) { .xuper-hero-inner { display:block; padding:60px 20px 55px; }.xuper-hero-copy { width:100%; }.xuper-hero h1 { font-size:3.4rem; }.xuper-hero-art { width:100%; margin-top:35px; }.xuper-section { padding:70px 0; }.xuper-showcase-row,.xuper-showcase-reverse { display:flex; flex-direction:column; gap:28px; align-items:flex-start; }.xuper-showcase-image { width:100%; order:2; }.xuper-showcase-copy { width:100%; }.xuper-showcase-image img { width:100%; max-height:250px; } }

/* Target hero: white canvas with the signature purple diagonal panel. */
.home-page .topbar-gradient { position:absolute; inset:0 0 auto; z-index:5; background:transparent; }
.home-page .topbar-gradient .navbar-brand, .home-page .topbar-gradient .navbar-nav { display:none !important; }
.home-page .topbar-gradient .navbar-collapse { justify-content:flex-end; }
.home-page .topbar-gradient .navbar-toggler { display:none; }
.home-page .custom-nav .brand-gradient, .home-page .custom-nav .nav-link { color:#2b2349; }
.xuper-hero { background:#fff; color:#24212b; min-height:720px; }
.xuper-hero:before { content:""; position:absolute; inset:0 0 12% 40%; background:#625d7d; clip-path:polygon(8% 0,100% 0,90% 100%,58% 68%,0 18%); }
.xuper-hero:after { display:none; }
.xuper-hero-inner { min-height:720px; padding:120px 0 64px; align-items:center; }
.xuper-hero-logo { position:absolute; left:0; top:18px; z-index:2; display:block; }
.xuper-hero-logo img { width:150px; height:auto; }
.xuper-hero-copy { position:relative; z-index:2; width:66%; max-width:744px; padding-top:80px; }
.xuper-eyebrow { color:#514a69; }
.xuper-hero h1 { color:#17151b; font-size:clamp(3rem,5vw,4.6rem); letter-spacing:-.04em; margin-bottom:16px; }
.xuper-hero h2 { color:#3f3b45; font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.2; max-width:620px; margin:0 0 22px; }
.xuper-hero p { color:#4d4953; max-width:620px; }
.xuper-hero-actions { display:grid; gap:18px; max-width:744px; }
.xuper-btn-primary { justify-content:center; border-radius:8px; background:linear-gradient(110deg,#40355f,#251d48); color:#fff; box-shadow:0 8px 16px rgba(50,37,88,.22); }
.xuper-btn-primary:hover { color:#fff; }
.xuper-btn-light { display:flex; justify-content:center; border-radius:8px; }
.xuper-security { display:flex; flex-direction:column; gap:4px; margin-top:28px; color:#3b3544; }
.xuper-security span { color:#706b76; font-size:.9rem; max-width:520px; }
.xuper-hero-art { position:relative; z-index:2; width:34%; align-self:flex-end; padding-bottom:0; justify-content:flex-end; }
.xuper-hero-art img { width:min(100%,410px); max-height:650px; object-fit:contain; object-position:bottom; }
.xuper-security-badges { display:flex; align-items:center; gap:34px; margin:18px 0 20px; }
.xuper-security-badges span { display:flex; align-items:center; gap:7px; color:#706b76; font-size:.92rem; }
.xuper-security-badges img { width:32px; height:32px; object-fit:contain; }
.xuper-editorial { background:#fafafa; padding:72px 0 96px; color:#6d6877; }
.xuper-editorial .container { max-width:1220px; }
.xuper-editorial-icon { display:block; width:148px; height:148px; object-fit:cover; border-radius:24px; margin:0 auto 40px; }
.xuper-editorial p, .xuper-editorial li { font-size:1.05rem; line-height:1.75; }
.xuper-editorial h2 { color:#302152; text-align:center; font-size:2rem; margin:34px 0 18px; }
.xuper-editorial ul, .xuper-editorial ol { padding-left:2rem; margin:18px auto; max-width:1100px; }
.xuper-editorial strong { color:#2f2a3a; }
@media (max-width:767.98px) {
  .xuper-hero:before { inset:0 0 38% 0; clip-path:polygon(0 0,100% 0,100% 72%,55% 100%,0 52%); }
  .xuper-hero-inner { min-height:0; padding:90px 20px 56px; }
  .xuper-hero-logo { left:20px; }
  .xuper-hero-copy { width:100%; padding-top:80px; }
  .xuper-hero h1,.xuper-hero h2,.xuper-hero p,.xuper-security { color:#fff; }
  .xuper-hero h2 { color:#f5f2ff; }
  .xuper-eyebrow { color:#ddd3ff; }
  .xuper-hero p { color:#eee9fa; }
  .xuper-hero-art { width:100%; margin-top:34px; text-align:center; }
  .xuper-security-badges { gap:16px; flex-wrap:wrap; }
}

/* Preserve the existing footer layout while keeping its links readable on the light homepage. */
.home-page footer.footer-gradient { background:#fff !important; color:#322353; }
.home-page footer.footer-gradient h4, .home-page footer.footer-gradient h6 { color:#322353 !important; }
.home-page footer.footer-gradient .text-muted,
.home-page footer.footer-gradient .text-muted a,
.home-page footer.footer-gradient a.text-muted { color:#746d85 !important; }
.home-page footer.footer-gradient .text-muted:hover,
.home-page footer.footer-gradient a.text-muted:hover { color:#5f3db0 !important; }
.home-page footer.footer-gradient .footer-divider { border-color:#e8e3f2 !important; opacity:1; }

/* Lower homepage sections mirror the competitor's icon row and gradient panels. */
.xuper-features { background:#fff; padding:82px 0 72px; }
.xuper-features .xuper-kicker, .xuper-features .xuper-heading p { display:none; }
.xuper-features .xuper-heading { margin-bottom:40px; }
.xuper-features .xuper-heading h2 { color:#20202a; font-size:2.35rem; margin:0; }
.xuper-features .row { display:grid; grid-template-columns:repeat(5,1fr); gap:34px; }
.xuper-features .row > div { width:auto; padding:0; }
.xuper-feature-card { border:0; box-shadow:none; border-radius:0; padding:0; background:transparent; }
.xuper-feature-card:hover { transform:none; box-shadow:none; }
.xuper-feature-icon { width:128px; height:128px; margin:0 auto 22px; border-radius:50%; background:#f5f5f5; }
.xuper-feature-icon img { width:72px; height:72px; max-width:none; max-height:none; }
.xuper-feature-card h3 { color:#292934; font-size:1.03rem; line-height:1.45; font-weight:400; margin:0 auto; max-width:150px; }
.xuper-feature-card p { display:none; }
.xuper-showcase { background:#fff; padding:18px 0 92px; }
.xuper-showcase-row, .xuper-showcase-reverse { display:block; max-width:990px; margin:0 auto 42px; padding:36px 30px 0; border:0; border-radius:8px; overflow:hidden; text-align:center; }
.xuper-showcase-row:nth-child(1) { background:linear-gradient(120deg,#3d82f6,#51cce4); }
.xuper-showcase-row:nth-child(2) { background:linear-gradient(120deg,#3fc89e,#43c85a); }
.xuper-showcase-row:nth-child(3) { background:linear-gradient(120deg,#52d34f,#f6bf20); }
.xuper-showcase-copy, .xuper-showcase-image { width:100%; }
.xuper-showcase-copy h2 { color:#fff; font-size:1.65rem; margin:0 0 14px; }
.xuper-showcase-copy p { color:#fff; max-width:none; margin:0 auto 20px; font-size:1.05rem; line-height:1.5; }
.xuper-showcase-copy .xuper-kicker, .xuper-showcase-copy .xuper-text-link { display:none; }
.xuper-showcase-image { margin-top:8px; }
.xuper-showcase-image img { width:318px; max-width:100%; max-height:none; border-radius:0; filter:none; }
.xuper-faq { background:#222 !important; padding:72px 0 88px; }
.xuper-faq .xuper-kicker { display:none; }
.xuper-faq .xuper-heading h2 { color:#f2d52c; }
.xuper-faq-item { border-color:#444; }
.xuper-faq-item summary { color:#fff; }
.xuper-faq-item summary i { color:#f2d52c; }
.xuper-faq-item p { color:#c8c8c8; }
@media (max-width:767.98px) {
  .xuper-features .row { grid-template-columns:repeat(2,1fr); gap:32px 12px; }
  .xuper-showcase-row, .xuper-showcase-reverse { margin-left:12px; margin-right:12px; padding-left:16px; padding-right:16px; }
}

