:root {
    --primary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --bg-color: #f8fafc;
    --grid-color: rgba(148, 163, 184, 0.2);
}

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

body {
    font-family: 'Pretendard', 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Layer 1: White Blueprint Grid */
.blueprint-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.82);
    /* Subtle glass background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-logo {
    height: 40px;
    /* Adjusted size for header */
    width: auto;
    object-fit: contain;
}

.header-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

/* Main Container */
.branding-container {
    padding-top: 6rem;
    /* Increased padding for header */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* Text Section */
.text-section {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
}

.main-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(245, 158, 11, 0.2);
    z-index: -1;
}

.ref-code {
    display: block;
    font-size: 0.6rem;
    font-family: 'Courier New', monospace;
    color: #94a3b8;
    margin-top: 4px;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Partner Identity Block (Block Design) */
.partner-identity-block {
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    /* Subtle Under Layer */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.partner-org {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.partner-name {
    font-size: 2.4rem;
    font-weight: 800;
    /* Extra Bold */
    color: #1e293b;
    line-height: 1.1;
    margin: 0.2rem 0 0.5rem 0;
    letter-spacing: -1.5px;
    position: relative;
}

.name-accent {
    color: var(--accent-color);
    font-size: 2.4rem;
    line-height: 0;
    position: relative;
    top: -2px;
    margin-left: 2px;
}

.partner-role {
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 1px;
    /* Signature style */
    color: #475569;
    position: relative;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    text-align: center;
}

/* Interaction Area */
.interaction-area {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

/* Layer 2: Human */
.human-layer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 5;
    padding-bottom: 0;
}

.human-img {
    width: auto;
    height: 90%;
    max-width: 120%;
    object-fit: cover;
    transform-origin: bottom center;
    transition: transform 0.1s linear;
}

/* Layer 3: Objects (Glass Cards) */
.object-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 110px;
}

.card-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
}

.card-value {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-slow {
    animation: float 4s ease-in-out infinite;
}

.float-medium {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.float-fast {
    animation: float 2.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.fab-btn:hover {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

.fab-btn:active {
    transform: scale(0.95);
}

.fab-icon {
    font-size: 1.2rem;
}

.fab-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Contact Banner (Notification Toast) */
.contact-banner {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 110;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 280px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-banner.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.banner-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.banner-link {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 380px) {
    .main-title {
        font-size: 1.7rem;
    }
}