/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0d0f12;
    color: #f5f5f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    width: 100%;
    background-color: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1a1d24;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.btn-services-nav {
    background-color: #1a1d24;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #2a2e3b;
    transition: all 0.2s ease;
}

.btn-services-nav:hover {
    border-color: #0070f3;
    background-color: #0070f3;
}

/* Hero Container Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto 40px auto; 
    padding: 2rem;
    gap: 3rem;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Left Section: Skin Viewer Container Box */
.viewer-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

#skin-container {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle, #1a1d24 0%, #111318 100%);
    border: 1px solid #2a2e3b;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s ease;
}

#skin-container:active {
    cursor: grabbing;
}

#skin-container:hover {
    border-color: #0070f3;
}

/* FIX: Force rendering output to stay pixelated and incredibly sharp */
#customSkinCanvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Right Section: Content Column Styles */
.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

@media (min-width: 768px) {
    .content-section {
        text-align: left;
    }
}

.brand-badge {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1a1d24;
    border: 1px solid #2a2e3b;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #9898a0;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .brand-badge {
        align-self: flex-start;
    }
}

.badge-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #9898a0;
    margin-bottom: 2rem;
    max-width: 480px;
}

.btn-services {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1a1d24;
    color: #ffffff;
    text-decoration: none;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #2a2e3b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-services:hover {
    background-color: #0070f3;
    border-color: #0070f3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 112, 243, 0.3);
}

.arrow-symbol, .link-symbol {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-services:hover .arrow-symbol {
    transform: translateX(4px);
}

/* Footer Section */
.site-footer {
    width: 100%;
    border-top: 1px solid #1a1d24;
    background-color: #0a0c0e;
    padding: 1.5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copy {
    font-size: 0.9rem;
    color: #52525b;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #9898a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-link:hover {
    color: #0070f3;
}