:root {
    --point-color: #d62800;
    --bg-dark: #0a0a0a;
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    overflow-x: hidden;
}

/* Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#bg-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Layout Wrapper */
.layout-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.layout-header {
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-main);
}

.logo img {
    height: 40px;
    width: auto;
}

/* Main Content */
.layout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    min-height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--point-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-zzan {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--point-color);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--point-color);
}

.btn-zzan:hover {
    background-color: transparent;
    color: var(--point-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(214, 40, 0, 0.3);
}

/* Preview Section */
.preview-section {
    width: 100%;
    max-width: 1200px;
    padding: 100px 0;
    margin-top: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.preview-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.preview-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--point-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.preview-card.has-overlay {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 5;
}

.preview-card.has-overlay:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
}

.btn-overlay {
    display: block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-overlay:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-overlay.accent {
    background: var(--point-color);
    border-color: var(--point-color);
}

.btn-overlay.accent:hover {
    background: transparent;
    color: var(--point-color);
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--point-color);
    background: rgba(214, 40, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--point-color);
    transition: var(--transition);
}

.preview-card:hover .card-link {
    gap: 12px;
}

/* Footer (Copied/Modified from zzan_designfactory) */
.footer {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.4);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 24px;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-logo img.grayscale {
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
}

.footer-logo img.grayscale:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--point-color);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.info-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.info-line span {
    display: inline-flex;
    align-items: center;
}

.info-line .company-name {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.info-line .bar {
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.1);
    margin: 0 2px;
}

.info-line a {
    color: inherit;
    transition: color 0.2s;
    text-decoration: none;
}

.info-line a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.2px;
}

.customer-center {
    margin-top: 15px;
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-radius: 8px;
    width: fit-content;
}

.customer-center .label {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.customer-center .tel {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.customer-center .time {
    color: rgba(255,255,255,0.4);
}

.btn-kakao-chat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee500;
    color: #191919 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-kakao-chat:hover {
    background: #fada00;
    transform: translateY(-2px);
}

.footer-admin {
    position: absolute;
    right: 18px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.footer-admin:hover {
    opacity: 1;
}

.footer-admin .admin-status {
    font-size: 10px;
    color: var(--point-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-admin a {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-admin a:hover {
    color: #fff;
}

.footer-admin .btn-admin-logout {
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
}

@media screen and (max-width: 1024px) {
    .layout-header { padding: 20px; }
    .hero-content h1 { font-size: 2.5rem; }
    .preview-grid { grid-template-columns: 1fr; }
    .preview-section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .footer { padding: 50px 0 80px; text-align: left; }
    .footer-content { gap: 30px; }
    .footer-links { gap: 15px; }
    .info-line { gap: 10px; }
    .footer-admin { left: 18px; right: auto; bottom: -40px; }
}
