/* 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;
}

/* ===================================
   SHABAKATY APK HOME PAGE
   =================================== */

html[dir="rtl"] body {
    font-family: "Tajawal", "Noto Kufi Arabic", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="rtl"] .navbar.custom-nav .navbar-brand img,
html[dir="rtl"] footer .brand-icon-img {
    margin-left: .5rem !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .navbar.custom-nav .nav-link {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

.nav-download-btn {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(20, 184, 166, 0.35);
    background: rgba(20, 184, 166, 0.16);
    color: #ecfeff;
    font-weight: 700;
    padding: .58rem 1rem;
}

.nav-download-btn:hover,
.nav-download-btn:focus {
    background: rgba(20, 184, 166, 0.26);
    color: #ffffff;
    border-color: rgba(20, 184, 166, 0.55);
}

.shabakaty-home {
    background:
        radial-gradient(circle at 80% 0%, rgba(20, 184, 166, 0.2), transparent 34%),
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.22), transparent 38%),
        #05070b;
}

.shabakaty-home .page {
    color: #f8fafc;
    line-height: 1.75;
}

.sh-hero {
    padding: 72px 0 48px;
}

.sh-hero__grid,
.sh-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 32px;
    align-items: center;
}

.sh-split--reverse {
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
}

.sh-eyebrow {
    color: #5eead4;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.sh-hero h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(2.15rem, 5vw, 4.2rem);
    line-height: 1.15;
    font-weight: 800;
}

.sh-hero__subtitle,
.sh-section__header p,
.sh-split__content > p,
.sh-text-card p,
.sh-app-card p,
.sh-mini-block p,
.sh-faq-item p {
    color: rgba(226, 232, 240, 0.78);
}

.sh-hero__subtitle {
    max-width: 780px;
    font-size: 1.1rem;
    margin-bottom: 26px;
}

.sh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sh-btn,
.sh-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.sh-btn {
    padding: 12px 18px;
    border: 0;
    cursor: pointer;
}

.sh-btn--primary {
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(20, 184, 166, 0.22);
}

.sh-btn--secondary {
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
}

.sh-link {
    color: #99f6e4;
    padding: 0 8px;
}

.sh-download-panel,
.sh-info-card,
.sh-steps-card,
.sh-check-card,
.sh-app-card,
.sh-text-card,
.sh-table-wrap,
.sh-faq-item {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.sh-download-panel,
.sh-info-card,
.sh-steps-card,
.sh-check-card {
    border-radius: 18px;
    padding: 24px;
}

.sh-download-panel__header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.sh-app-icon,
.sh-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ecfeff;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.88), rgba(37, 99, 235, 0.86));
}

.sh-app-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.55rem;
    flex: 0 0 auto;
}

.sh-download-panel h2,
.sh-info-card h3,
.sh-steps-card h3,
.sh-check-card h3 {
    font-size: 1.25rem;
    margin: 0 0 8px;
    font-weight: 800;
}

.sh-download-panel p {
    color: rgba(226, 232, 240, 0.72);
    margin: 0;
}

.sh-meta-list,
.sh-info-table {
    margin: 0;
}

.sh-meta-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.sh-meta-list div,
.sh-info-table div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.42);
}

.sh-meta-list dt,
.sh-info-table dt {
    color: rgba(148, 163, 184, 0.95);
    font-weight: 700;
}

.sh-meta-list dd,
.sh-info-table dd {
    margin: 0;
    color: #f8fafc;
    font-weight: 700;
}

.sh-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sh-stat {
    padding: 12px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.16);
}

.sh-stat span {
    display: block;
    color: rgba(148, 163, 184, 0.95);
    font-size: .87rem;
}

.sh-stat strong {
    display: block;
    margin-top: 4px;
    color: #f8fafc;
    font-size: .98rem;
}

.sh-section {
    padding: 64px 0;
}

.sh-section--muted {
    background: rgba(2, 6, 23, 0.26);
}

.sh-section__header {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
}

.sh-section__header h2,
.sh-split__content h2 {
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    line-height: 1.24;
    font-weight: 800;
    margin-bottom: 14px;
}

.sh-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sh-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sh-app-card,
.sh-text-card {
    position: relative;
    border-radius: 14px;
    padding: 22px;
    min-height: 100%;
}

.sh-app-card__image {
    width: 96px;
    height: 96px;
    display: block;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 24px;
}

.sh-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.sh-app-card h3,
.sh-text-card h3,
.sh-mini-block h3,
.sh-faq-item h3 {
    font-size: 1.16rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.sh-keywords {
    display: block;
    color: #99f6e4;
    font-size: .88rem;
    margin-top: 12px;
}

.sh-card-link {
    position: absolute;
    inset: 0;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.sh-install-btn {
    min-width: 148px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    background: #ffffff;
    color: #5f130d;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sh-install-btn:hover,
.sh-install-btn:focus {
    background: #fff7ed;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.sh-mini-block {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.sh-table-wrap {
    border-radius: 14px;
    overflow-x: auto;
}

.sh-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.sh-table th,
.sh-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    vertical-align: top;
}

.sh-table th {
    background: rgba(20, 184, 166, 0.12);
    color: #f8fafc;
    font-weight: 800;
}

.sh-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-right: 1.2rem;
}

html[dir="ltr"] .sh-steps {
    padding-left: 1.2rem;
    padding-right: 0;
}

.sh-steps li {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.42);
    color: #e2e8f0;
}

.sh-check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sh-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #e2e8f0;
}

.sh-check-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #052e2b;
    background: #5eead4;
    font-size: .8rem;
}

.sh-faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.sh-faq-item {
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}

.sh-faq-item summary {
    cursor: pointer;
    list-style: none;
    min-height: 56px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

.sh-faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #99f6e4;
    transition: transform .2s ease;
}

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

.sh-faq-item h3 {
    margin: 0;
}

.sh-faq-item p {
    margin: 0;
    padding: 0 20px 20px;
}

.sh-instructions-page {
    min-height: 70vh;
}

.sh-instruction-image {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.sh-instruction-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sh-facts-grid {
    max-width: 980px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.sh-instruction-content {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.sh-steps--large {
    padding-top: 8px;
}

.sh-steps--large li {
    padding: 18px;
}

.sh-steps--large h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #f8fafc;
}

.sh-steps--large p {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
}

.sh-instructions-faq {
    margin-top: 8px;
}

.sh-instructions-faq > h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 800;
}

.sh-instructions-actions {
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 1100px) {
    .sh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .sh-hero__grid,
    .sh-split,
    .sh-split--reverse {
        grid-template-columns: 1fr;
    }

    .nav-download-btn {
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .sh-hero {
        padding: 46px 0 32px;
    }

    .sh-section {
        padding: 44px 0;
    }

    .sh-hero__actions,
    .sh-btn,
    .sh-link {
        width: 100%;
    }

    .sh-card-grid,
    .sh-card-grid--three,
    .sh-card-grid--two,
    .sh-stat-grid,
    .sh-facts-grid {
        grid-template-columns: 1fr;
    }

    .sh-meta-list div,
    .sh-info-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sh-download-panel,
    .sh-info-card,
    .sh-steps-card,
    .sh-check-card,
    .sh-app-card,
    .sh-text-card {
        padding: 18px;
    }
}
