@charset "UTF-8";

/* ==========================================================================
   0. RESET & DESIGN TOKENS
   ========================================================================== */
:root {
    --bg-dark-primary: #030712;
    --bg-dark-secondary: #080f1e;
    --accent-blue: #2ebcf9;
    --accent-blue-rgb: 46, 188, 249;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --transition-fast: 0.25s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.certificate-page {
    background-color: var(--bg-dark-primary);
    color: var(--text-primary);
    font-family: 'Jost', 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

.max-layout-width {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ==========================================================================
   1. HERO BANNER ZONE
   ========================================================================== */
.about-hero {
    height: 60vh;
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding-top: 80px;
    box-sizing: border-box;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay-filter {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
    rgba(3, 7, 18, 0.4) 0%,
    rgba(3, 7, 18, 0.85) 80%,
    var(--bg-dark-primary) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-flex-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eng-sub {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 15px rgba(46, 188, 249, 0.45);
}

.hero-main-title {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a5e3ff 50%, #2ebcf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 20px rgba(46, 188, 249, 0.25))
    drop-shadow(0 0 50px rgba(46, 188, 249, 0.15));
}

.brand-logo-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-center-logo {
    height: 2.2rem;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.reveal-element {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-hero-inner .reveal-element {
    letter-spacing: 0.18em;
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.about-hero-inner .reveal-element.active { letter-spacing: 0.08em; }
.about-hero-inner .eng-sub.reveal-element.active { letter-spacing: 0.25em; }

/* ==========================================================================
   2. CERTIFICATE INTRO SECTION
   ========================================================================== */
.cert-intro-section {
    padding: 80px 0 60px;
    background-color: var(--bg-dark-primary);
    width: 100%;
    box-sizing: border-box;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center .gold-title {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 15px;
}

.font-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-header-center .desc-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.cert-flex-block {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: 100%;
}

.cert-img-box {
    width: 50%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.01);
}

.cert-img-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

.cert-text-box {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.cert-main-lead {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cert-sub-lead {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-sub-lead .blue-highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-blue);
    line-height: 1.5;
    margin: 0;
}

.cert-desc-p {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-desc-p p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    word-break: keep-all;
}

/* ==========================================================================
   3. PATENT GRID SECTION
   ========================================================================== */
.patent-grid-section {
    width: 100%;
    padding: 100px 0;
    background-color: var(--bg-dark-primary);
    box-sizing: border-box;
}

.patent-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.patent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.patent-card-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
    border: 1px solid var(--border-subtle);
}

.patent-card-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.patent-item:hover .patent-card-wrap {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-blue-rgb), 0.4);
}

.patent-item:hover .patent-card-wrap img {
    opacity: 1;
}

.patent-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 15px;
    letter-spacing: -0.01em;
    text-align: center;
}

/* ==========================================================================
   4. SYSTEM & INFRASTRUCTURE CARDS SECTION
   ========================================================================== */
.cleanliness-cards-section {
    width: 100%;
    padding: 80px 0 120px;
    background-color: var(--bg-dark-primary);
    box-sizing: border-box;
}

.clean-section-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}

.auth-card-row {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-bottom: 60px;
}

.cert-auth-card {
    width: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 40px 35px;
    box-sizing: border-box;
    transition: border-color var(--transition-fast);
}

.cert-auth-card:hover {
    border-color: rgba(var(--accent-blue-rgb), 0.3);
}

.card-body-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.auth-logo-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.auth-logo-box img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.auth-info-text {
    display: flex;
    flex-direction: column;
}

.auth-info-text h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.auth-info-text h6 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.auth-info-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

.cert-bottom-notice {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-bottom-notice .notice-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
    word-break: keep-all;
    max-width: 800px;
}

.badge-center-wrap {
    display: inline-block;
}

.brand-oval-badge {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    padding: 10px 35px;
    border-radius: 30px;
    letter-spacing: 0.1em;
    background: transparent;
    transition: all var(--transition-fast);
}

.brand-oval-badge:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(46, 188, 249, 0.2);
}

/* ==========================================================================
   5. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .about-hero { height: 50vh; padding-top: 70px; }
    .cert-flex-block { gap: 3rem; }
    .cert-main-lead { font-size: 1.7rem; }
    .patent-container { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .about-hero { height: 45vh; }
    .cert-flex-block { flex-direction: column; gap: 40px; }
    .cert-img-box, .cert-text-box { width: 100%; }
    .auth-card-row { flex-direction: column; gap: 20px; }
    .cert-auth-card { width: 100%; }
}

@media (max-width: 768px) {
    .about-hero { height: 40vh; padding-top: 60px; }
    .hero-main-title { font-size: 2.8rem; }
    .patent-container { grid-template-columns: repeat(2, 1fr); }
    .card-body-flex { flex-direction: column; text-align: center; }
}