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

body.xiv-site {
    --xiv-bg: #070807;
    --xiv-surface: #111513;
    --xiv-surface-2: #171d1a;
    --xiv-border: rgba(233, 238, 227, 0.14);
    --xiv-text: #f4f7f1;
    --xiv-muted: rgba(244, 247, 241, 0.72);
    --xiv-accent: #21c58a;
    --xiv-accent-2: #f0b64a;
    --xiv-danger: #ef6b5a;
    background:
        radial-gradient(circle at 18% 0%, rgba(33, 197, 138, 0.18), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(240, 182, 74, 0.14), transparent 28rem),
        var(--xiv-bg);
    color: var(--xiv-text);
}

body.xiv-site .topbar-gradient {
    background: rgba(7, 8, 7, 0.82);
    border-bottom: 1px solid var(--xiv-border);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
}

body.xiv-site .navbar.custom-nav .brand-gradient {
    background: linear-gradient(90deg, #f4f7f1 0%, #21c58a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.xiv-site .navbar.custom-nav .nav-link:hover {
    background-color: rgba(33, 197, 138, 0.14);
    box-shadow: none;
}

body.xiv-site .navbar.custom-nav .navbar-brand img,
body.xiv-site footer img {
    border-radius: 8px;
}

.xiv-hero,
.content-hero {
    padding: 72px 0 40px;
}

.xiv-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 32px;
    align-items: center;
}

.xiv-hero h1,
.content-hero h1 {
    font-size: clamp(2.4rem, 5vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: 0;
    margin: 0 0 20px;
    max-width: 820px;
}

.content-hero h1 {
    max-width: 980px;
}

.lead,
.xiv-hero .lead,
.content-hero .lead {
    color: var(--xiv-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 780px;
}

.eyebrow {
    color: var(--xiv-accent-2);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 16px;
}

.btn-primary {
    background: var(--xiv-accent);
    border-color: var(--xiv-accent);
    color: #04110c;
    font-weight: 700;
}

.btn-primary:hover,
.btn-success:hover,
.btn-primary:focus {
    background: #35d99e;
    border-color: #35d99e;
    color: #04110c;
}

.btn-success {
    background: #2ab879;
    border-color: #2ab879;
    color: #04110c;
    font-weight: 700;
}

.source-note {
    color: var(--xiv-muted);
    font-size: 0.95rem;
    max-width: 720px;
}

.download-panel,
.notice-card,
.warning-box,
.info-card,
.faq-list article,
.steps-grid article {
    background: linear-gradient(180deg, rgba(23, 29, 26, 0.96), rgba(13, 16, 14, 0.96));
    border: 1px solid var(--xiv-border);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.download-panel {
    padding: 24px;
}

.panel-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h2 {
    font-size: 1.05rem;
    margin: 0;
}

.panel-header p {
    margin: 0;
    color: var(--xiv-muted);
}

.fact-list {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
}

.fact-list div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--xiv-border);
}

.fact-list dt {
    color: var(--xiv-muted);
    font-weight: 600;
}

.fact-list dd {
    margin: 0;
}

.xiv-section {
    padding: 56px 0;
}

.xiv-section.compact {
    padding-top: 18px;
}

.container.narrow {
    max-width: 900px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.section-heading h2,
.xiv-section h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.xiv-section p,
.xiv-section li,
.intent-table {
    color: var(--xiv-muted);
}

.trust-row,
.steps-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.trust-row div {
    border: 1px solid var(--xiv-border);
    border-radius: 8px;
    padding: 18px;
    background: rgba(17, 21, 19, 0.72);
}

.trust-row strong,
.trust-row span {
    display: block;
}

.trust-row span {
    color: var(--xiv-muted);
    margin-top: 6px;
}

.steps-grid article,
.info-card,
.faq-list article {
    padding: 22px;
}

.steps-grid span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(33, 197, 138, 0.16);
    color: var(--xiv-accent);
    font-weight: 800;
    margin-bottom: 14px;
}

.info-card i {
    color: var(--xiv-accent);
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.info-card a,
.text-link,
.related-links a,
.xiv-section a {
    color: #7ee6b9;
    font-weight: 700;
}

.media-grid,
.split-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.media-grid figure {
    margin: 0;
}

.media-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--xiv-border);
}

.media-grid figcaption {
    color: var(--xiv-muted);
    font-size: 0.92rem;
    margin-top: 10px;
}

.warning-box,
.notice-card {
    padding: 24px;
    border-left: 4px solid var(--xiv-accent-2);
    margin: 22px 0;
}

.intent-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--xiv-border);
    border-radius: 8px;
}

.intent-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    background: rgba(17, 21, 19, 0.72);
}

.intent-table th,
.intent-table td {
    padding: 16px;
    border-bottom: 1px solid var(--xiv-border);
    vertical-align: top;
}

.intent-table th {
    color: var(--xiv-text);
    font-weight: 800;
}

.content-steps {
    display: grid;
    gap: 14px;
    padding-left: 1.2rem;
}

.check-list {
    display: grid;
    gap: 10px;
    padding-left: 1.2rem;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list h2,
.faq-list h3,
.steps-grid h3,
.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.related-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.related-links a {
    border: 1px solid var(--xiv-border);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(33, 197, 138, 0.08);
}

.download-countdown-modal {
    background: #111513;
    color: #f4f7f1;
    border: 1px solid rgba(233, 238, 227, 0.14);
    border-radius: 8px;
}

.countdown-inline {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(33, 197, 138, 0.12);
}

.countdown-inline strong {
    color: var(--xiv-accent);
    font-size: 2.4rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .xiv-hero-grid,
    .media-grid,
    .split-content,
    .trust-row,
    .steps-grid,
    .cards-grid,
    .cards-grid.two {
        grid-template-columns: 1fr;
    }

    .xiv-hero,
    .content-hero {
        padding-top: 48px;
    }

    .fact-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

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