* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@viewport {
    width: device-width;
    zoom: 1;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #17191b;
    min-height: 100vh;
    position: relative;
    line-height: 1.5;
    font-weight: 400;
    font-size: 16px;
}

.paper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 8px),
        radial-gradient(circle at 20% 30%, rgba(23,25,27,0.03) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(49,60,72,0.03) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 4rem;
    display: flex;
    gap: 4rem;
    min-height: 80vh;
}

.brand-section {
    flex: 1.1;
    padding-top: 2rem;
    position: relative;
}

.logo-wrapper {
    margin-bottom: 2.2rem;
    padding: 1rem 1rem 1rem 0;
    display: inline-block;
    position: relative;
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #17191b 0%, #313c48 50%, transparent 100%);
    opacity: 0.3;
}

.logo-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.tagline {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #17191b;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #17191b 0%, #313c48 80%);
    border-radius: 2px;
}

.description {
    font-size: 1.1rem;
    color: #313c48;
    margin: 2.2rem 0 2.8rem 0;
    max-width: 400px;
    border-left: 3px solid #17191b;
    padding-left: 1.5rem;
    opacity: 0.9;
    font-weight: 350;
    line-height: 1.6;
}

.mirror-block {
    background: #f8fafc;
    border: 1px solid #e6eaef;
    padding: 1.8rem;
    margin-bottom: 2.2rem;
    box-shadow: 6px 6px 0 rgba(23,25,27,0.08);
    transition: box-shadow 0.2s ease;
}

.mirror-block:hover {
    box-shadow: 8px 8px 0 rgba(23,25,27,0.12);
}

.mirror-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #313c48;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.mirror-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.mirror-item {
    background-color: #FFFFFF;
    border: 1px solid #d6dce4;
    padding: 0.8rem 1.2rem;
    color: #17191b;
    text-decoration: none;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.9rem;
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
    word-break: break-all;
    display: inline-block;
    box-shadow: 3px 3px 0 #d6dce4;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.mirror-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.mirror-item:hover {
    background-color: #313c48;
    border-color: #17191b;
    color: #FFFFFF;
    box-shadow: 6px 6px 0 #17191b;
    transform: translate(-3px, -3px);
}

.mirror-item:hover::before {
    left: 100%;
}

.mirror-footnote {
    margin-top: 1.2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #5a6874;
    letter-spacing: 1.2px;
    text-align: right;
    font-weight: 500;
}

.feature-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.7rem;
    border-left: 3px solid #17191b;
    font-weight: 500;
    background: linear-gradient(90deg, rgba(49,60,72,0.03) 0%, transparent 90%);
    transition: background 0.2s ease;
}

.feature-item:hover {
    background: linear-gradient(90deg, rgba(49,60,72,0.06) 0%, transparent 90%);
}

.feature-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.gallery-section {
    flex: 2;
    position: relative;
    min-height: 650px;
}

.gallery-card {
    position: absolute;
    background: #FFFFFF;
    border: 2px solid #17191b;
    box-shadow: 10px 10px 0 #313c48;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    max-width: 290px;
    cursor: default;
    will-change: transform, box-shadow;
}

.gallery-card:hover {
    transform: scale(1.03) translate(-3px, -3px);
    box-shadow: 16px 16px 0 #17191b;
    border-color: #313c48;
}

.card-image {
    padding: 0.9rem 0.9rem 0.4rem 0.9rem;
    background: #fcfcfd;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eef2f6;
    filter: grayscale(8%) contrast(102%);
    transition: filter 0.2s ease;
}

.gallery-card:hover .card-image img {
    filter: grayscale(0%) contrast(105%);
}

.card-label {
    padding: 0.7rem 1rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #17191b;
    border-top: 1px dashed #313c48;
    text-align: right;
    background: #f9fbfd;
    text-transform: uppercase;
}

.card-login {
    top: 0;
    left: 0;
    z-index: 5;
    transform: rotate(-1.2deg);
}

.card-home {
    top: 50px;
    right: 10px;
    z-index: 6;
    transform: rotate(2.5deg);
    max-width: 310px;
}

.card-market {
    bottom: 70px;
    left: 30px;
    z-index: 7;
    transform: rotate(-3.2deg);
    max-width: 330px;
}

.card-wallet {
    bottom: 10px;
    right: 40px;
    z-index: 8;
    transform: rotate(4.5deg);
    max-width: 270px;
}

.content-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 4rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    position: relative;
    z-index: 2;
}

.text-section {
    margin-bottom: 3rem;
}

.text-section h2 {
    font-size: 1.7rem;
    font-weight: 500;
    color: #17191b;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #17191b;
    padding-bottom: 0.6rem;
    display: inline-block;
    line-height: 1.3;
}

.text-section h3 {
    font-size: 1.25rem;
    font-weight: 550;
    color: #1e262e;
    margin: 2rem 0 0.9rem;
    letter-spacing: -0.01em;
}

.text-section p {
    margin-bottom: 1.3rem;
    color: #262c33;
    font-size: 1rem;
    line-height: 1.7;
}

.text-section ul {
    margin-left: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.text-section li {
    margin-bottom: 0.6rem;
    color: #262c33;
    line-height: 1.6;
    padding-left: 0.3rem;
}

.text-section li::marker {
    color: #313c48;
    font-weight: 600;
}

.stats-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin: 2.5rem 0 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem 0.5rem;
    align-items: baseline;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.stat-item {
    display: contents;
}

.stat-label {
    font-weight: 600;
    color: #17191b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0.4rem 0;
    border-bottom: 1px dotted #cdd5de;
}

.stat-value {
    color: #1f2a33;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 1px dotted #cdd5de;
    font-weight: 450;
}

.seo-block {
    margin-top: 4rem;
    padding: 1.8rem;
    background: #f3f6f9;
    border-left: 5px solid #17191b;
    font-size: 0.7rem;
    color: #2d3843;
    line-height: 1.7;
    word-break: break-word;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.seo-block h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #17191b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-block h3::before {
    content: '◆';
    color: #313c48;
    font-size: 0.8rem;
}

.seo-block p {
    margin-bottom: 1rem;
    color: #2e3a45;
}

footer {
    text-align: center;
    padding: 2rem 1.5rem 2.2rem;
    font-size: 0.7rem;
    color: #8f9aa8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-top: 1px solid #dae0e8;
    margin: 0 4rem 1rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .container {
        padding: 2.5rem;
        gap: 2.5rem;
    }
    
    .content-grid {
        padding: 2rem 2.5rem 4rem;
        gap: 2.5rem;
    }
}

@media (max-width: 1000px) {
    .container {
        flex-direction: column;
        padding: 2rem;
    }
    
    .gallery-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: static;
    }
    
    .gallery-card {
        position: static;
        transform: none !important;
        margin: 0 auto;
        max-width: 100%;
        width: fit-content;
    }
    
    .card-login, .card-home, .card-market, .card-wallet {
        transform: none;
        max-width: 450px;
        width: 100%;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1rem;
    }
    
    .stats-block {
        grid-template-columns: 1fr 1fr;
    }
    
    footer {
        margin: 0 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .container, .content-grid {
        padding: 1.5rem;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .stats-block {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px dotted #cdd5de;
        padding: 0.3rem 0;
    }
    
    .stat-label, .stat-value {
        border-bottom: none;
        padding: 0;
    }
    
    footer {
        margin: 0 1rem 0.5rem;
        letter-spacing: 1.5px;
    }
}

@supports (font-variation-settings: normal) {
    body {
        font-family: 'Inter Variable', 'Inter', sans-serif;
    }
}

::selection {
    background: #313c48;
    color: #FFFFFF;
}

::-moz-selection {
    background: #313c48;
    color: #FFFFFF;
}