/* INV779 — adapted from site-design/template */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #33334f;
    background:
        radial-gradient(circle at 16% 7%, rgba(255, 252, 240, .88), transparent 36%),
        radial-gradient(circle at 86% 15%, rgba(226, 216, 194, .24), transparent 32%),
        linear-gradient(180deg, #faf6ee 0%, #f4eee3 52%, #fbf8f1 100%);
    line-height: 1.6;
}

a {
    color: #6078ff;
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7em 0.8em;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    color: #000;
    background: transparent;
    box-shadow: inset 0 0 0 1px, 0 1px 2px rgba(0, 0, 0, .17);
}

.btn:hover {
    box-shadow: inset 0 0 0 1px, 0 4px 10px rgba(50, 50, 93, .23), 0 1px 3px rgba(0, 0, 0, .08);
    text-decoration: none;
}

.btn.primary {
    color: #fff;
    background: #000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .17);
}

.btn.primary:hover {
    box-shadow: 0 4px 10px rgba(50, 50, 93, .23), 0 1px 3px rgba(0, 0, 0, .08);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1030px;
    margin: 0 auto;
    background: rgba(250, 246, 238, .76);
    backdrop-filter: blur(10px);
    border-radius: 0 0 22px 22px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #33334f;
    flex-shrink: 0;
    min-width: 0;
}

.header-logo:hover {
    text-decoration: none;
}

.header-logo img {
    width: 51px;
    height: 51px;
    border-radius: 12px;
}

.header-logo span {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 5vw, 24px);
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions .btn {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    color: #767ead;
    transition: color 0.2s;
}

.header-actions .btn:hover {
    color: #333;
    box-shadow: none;
    text-decoration: none;
}

.header-actions svg,
.header-actions img {
    margin-left: 2px;
    flex-shrink: 0;
}

.header-actions .social-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero {
    padding: 40px 0 20px;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-height: 320px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 28px 22px rgba(34, 28, 20, .30)) drop-shadow(0 7px 8px rgba(34, 28, 20, .18));
}

.hero-art {
    position: relative;
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: 6% 2% 2%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(212, 160, 23, .22), rgba(212, 160, 23, .08) 34%, transparent 67%);
    filter: blur(24px);
    opacity: .92;
}

.hero-art::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 14%;
    bottom: 7%;
    height: 42px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(21, 18, 14, .34), rgba(21, 18, 14, .16) 42%, transparent 72%);
    filter: blur(16px);
    opacity: .82;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #eef0ff;
    color: #5b5fc7;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-decoration: none;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-badge:hover {
    text-decoration: none;
    background: #e2e5ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(96, 120, 255, .15);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #33334f;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: #767ead;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-ctas {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
}

.hero2 {
    padding: 10px 0 24px;
}

.hero2-grid {
    display: grid;
    grid-template-columns: minmax(260px, .86fr) minmax(300px, 1.14fr);
    gap: 34px;
    align-items: center;
}

.hero2-image {
    position: relative;
    text-align: left;
}

.hero2-image::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 16%;
    bottom: 3%;
    height: 34px;
    background: radial-gradient(ellipse at center, rgba(21, 18, 14, .22), rgba(21, 18, 14, .10) 42%, transparent 72%);
    filter: blur(16px);
    z-index: 0;
}

.hero2-image img {
    position: relative;
    z-index: 1;
    max-height: 300px;
    filter: drop-shadow(0 18px 18px rgba(34, 28, 20, .20));
}

.hero2-text {
    max-width: 520px;
}

.hero2-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    line-height: 1.18;
    color: #33334f;
    margin-bottom: 12px;
}

.hero2-text p {
    color: #767ead;
    font-size: 16px;
    line-height: 1.68;
}

.social-hero {
    align-items: center;
    gap: 8px;
}

.social-hero img {
    flex-shrink: 0;
}

.features-section {
    padding: 10px 0 30px;
}

.features-grid {
    display: flex;
    gap: 30px;
}

.feature-card {
    flex: 1;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
    padding: 20px 16px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 120, 255, .12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 36px;
    line-height: 48px;
}

.feature-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #33334f;
    margin-bottom: 8px;
}

.feature-desc {
    color: #767ead;
    font-size: 14px;
    line-height: 1.5;
}

.detail-section,
.status-section,
.market-section,
.name-section,
.cta-section {
    padding: 22px 0;
}

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

.detail-card,
.name-card,
.cta-card {
    border: 1px solid #e2e4ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(96, 120, 255, .08);
}

.detail-card {
    padding: 24px;
}

.section-label {
    margin-bottom: 8px;
    color: #6078ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.detail-card h2,
.name-card h2,
.cta-card h2 {
    font-family: 'Sora', sans-serif;
    font-size: 23px;
    line-height: 1.22;
    color: #33334f;
    margin-bottom: 10px;
}

.detail-card p,
.name-card p,
.cta-card p {
    color: #767ead;
    font-size: 15px;
    line-height: 1.65;
}

.status-grid,
.market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.status-card,
.market-grid div {
    border: 1px solid #e2e4ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(96, 120, 255, .08);
}

.status-card {
    padding: 18px;
}

.status-card strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    color: #33334f;
    margin-bottom: 5px;
}

.status-card span {
    color: #767ead;
    font-size: 13px;
}

.market-grid div {
    padding: 15px 17px;
    color: #33334f;
    font-weight: 700;
}

.name-card,
.cta-card {
    padding: 26px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: #eef0ff;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-buttons {
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e2e4ef, 0 1px 2px rgba(0, 0, 0, .06);
    color: #33334f;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.social-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px #6078ff, 0 6px 18px rgba(96, 120, 255, .18);
}

.tradingview-section {
    padding: 10px 0 48px;
}

.tradingview-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(226, 228, 239, .55);
    border-radius: 22px;
    background: rgba(255, 255, 255, .24);
    backdrop-filter: blur(8px);
    box-shadow: none;
}

.tradingview-open-link {
    align-self: flex-end;
    font-weight: 700;
    color: #5b5fc7;
    text-decoration: none;
}

.tradingview-open-link:hover {
    text-decoration: underline;
}

.tradingview-widget-frame {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(247, 248, 255, .18);
    border: 1px solid rgba(226, 228, 239, .42);
}

.tradingview-widget-frame iframe {
    width: 100%;
    height: calc(100% + 46px);
    min-height: 466px;
    display: block;
    border: 0;
    transform: translateY(-46px);
}

.social-linkedin-btn:hover {
    color: #0A66C2;
}

.social-x-btn:hover {
    color: #000;
}

.x-mark {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    line-height: 1;
}

.site-footer {
    padding: 30px 0 15px;
    border-top: 1px solid #eee;
}

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

.footer-inner span {
    color: #999;
    font-size: 14px;
}

.footer-inner a {
    color: #999;
    transition: color 0.2s;
}

.footer-inner a:hover {
    color: #6078ff;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.footer-social a {
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: color 0.25s, transform 0.25s;
}

.footer-social a svg path,
.footer-social a img {
    display: block;
    width: 24px;
    height: 24px;
}

.footer-social a:hover {
    transform: scale(1.2);
    text-decoration: none;
}

.footer-social .social-x {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
}

.footer-social .social-linkedin:hover { color: #0A66C2; }
.footer-social .social-youtube:hover { color: #FF0000; }
.footer-social .social-x:hover { color: #000; }
.footer-social .social-instagram:hover { color: #E4405F; }
.footer-social .social-github:hover { color: #333; }
.footer-social .social-tradingview:hover { color: #000; }
.footer-social .social-telegram:hover { color: #0088cc; }
.footer-social .social-devto:hover { color: #000; }

.footer-social .social-tradingview img {
    border-radius: 4px;
}

.footer-social .social-tradingview .tv-logo-dark {
    display: none;
}

[data-theme="dark"] body {
    background: #0f0f1a;
    color: #e0e0e0;
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .header-logo,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .tradingview-copy h2,
[data-theme="dark"] .detail-card h2,
[data-theme="dark"] .name-card h2,
[data-theme="dark"] .cta-card h2,
[data-theme="dark"] .status-card strong,
[data-theme="dark"] .market-grid div {
    color: #e0e0e0;
}

[data-theme="dark"] .header-actions .btn,
[data-theme="dark"] .footer-inner span,
[data-theme="dark"] .footer-inner a,
[data-theme="dark"] .footer-social a {
    color: #888;
}

[data-theme="dark"] .footer-social .social-github img,
[data-theme="dark"] .footer-social .social-x img {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

[data-theme="dark"] .footer-social .social-tradingview .tv-logo-light {
    display: none;
}

[data-theme="dark"] .footer-social .social-tradingview .tv-logo-dark {
    display: block;
}

[data-theme="dark"] .header-actions .btn:hover,
[data-theme="dark"] .footer-inner a:hover {
    color: #818cf8;
}

[data-theme="dark"] .hero-badge {
    background: #1a1a2e;
    color: #818cf8;
}

[data-theme="dark"] .detail-card,
[data-theme="dark"] .name-card,
[data-theme="dark"] .tradingview-card,
[data-theme="dark"] .status-card,
[data-theme="dark"] .market-grid div {
    background: #151525;
    border-color: #2a2a40;
}

[data-theme="dark"] .cta-card {
    background: #1a1a2e;
    border-color: #2a2a40;
}

[data-theme="dark"] .tradingview-widget-frame {
    background: #0f0f1a;
    border-color: #2a2a40;
}

[data-theme="dark"] .social-btn {
    background: #151525;
    color: #e0e0e0;
    box-shadow: inset 0 0 0 1px #2a2a40;
}

[data-theme="dark"] .site-footer {
    border-top-color: #2a2a40;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.theme-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

.theme-toggle:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }

    .header-logo img {
        width: 64px;
        height: 64px;
    }

    .hero-grid {
        flex-direction: column;
        gap: 20px;
    }

    .tradingview-card {
        padding: 14px;
    }

    .tradingview-open-link {
        align-self: flex-start;
    }

    .tradingview-widget-frame,
    .tradingview-widget-frame iframe {
        min-height: 360px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-badge {
        display: none;
    }

    .hero-image {
        display: none;
    }

    .hero-ctas {
        display: flex;
    }

    .hero-ctas .btn.primary {
        background: linear-gradient(135deg, #7c3aed, #6366f1);
        box-shadow: 0 2px 8px rgba(99, 102, 241, .3);
    }

    .features-grid,
    .detail-grid,
    .status-grid,
    .market-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 14px;
    }

    .feature-card {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 0;
    }

    .feature-card .feature-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .feature-card .feature-title {
        display: none;
    }

    .feature-card .feature-desc {
        font-size: 12px;
        line-height: 1.4;
    }

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

    .contact-actions {
        width: 100%;
    }

    .footer-inner {
        text-align: left;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

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