/*------------------------------------------------------
· ICTK Ver 1.0
· Type : main.css
· Author : Albatrosss Pictures Kim Hyun Gyu
· Data : 2026.02.23
· Copyright @ 2026 ICTK all rights reserved
---------------------------------------------------------
· SUMMARY:
0) Responsive Area
1) Hero Section
---------------------------------------------------------*/

@charset "utf-8";

/* #################################### 01.Hero Section #################################### */
.ictk-main-hero-wrap {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.ictk-main-hero-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.ictk-main-hero-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.ictk-main-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ictk-main-hero-screen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--base-color-black);
    opacity: var(--hero-screen-opacity);
}

.ictk-main-hero-gradient-bottom,
.ictk-main-hero-gradient-left,
.ictk-main-hero-gradient-right {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.ictk-main-hero-gradient-bottom {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, var(--base-color-black));
}

.ictk-main-hero-gradient-left {
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(270deg, transparent, var(--base-color-black));
}

.ictk-main-hero-gradient-right {
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--base-color-black));
}

.ictk-main-hero-contents {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--contents-wrap-width);
    text-align: center;
    z-index: 1;
}

.ictk-main-hero-title {
    font-size: var(--hero-title-size);
    font-weight: var(--hero-title-weight);
    color: var(--base-color-white);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ictk-main-hero-subtitle {
    margin-top: clamp(1.25rem, 2.0833vw, 2.5rem);
    font-size: var(--hero-subtitle-size);
    font-weight: var(--hero-subtitle-weight);
    color: var(--base-color-white);
    line-height: 1.7;
}


/* #################################### 02.About Section #################################### */
.ictk-main-about-wrap {
    width: 100%;
    background: var(--base-color-white);
    padding: var(--about-padding-y) 0;
}

.ictk-main-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--about-gap);
    align-items: center;
    width: var(--contents-wrap-width);
    margin: 0 auto;
}

.ictk-main-about-images {
    display: flex;
    flex-direction: column;
    gap: var(--about-img-gap);
}

.ictk-main-about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.ictk-main-about-text {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.0833vw, 2.5rem);
}

.ictk-main-about-title {
    font-size: var(--about-title-size);
    font-weight: var(--about-title-weight);
    color: var(--base-color-darkGrey);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ictk-main-about-desc {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.5625vw, 1.875rem);
}

.ictk-main-about-desc p {
    font-size: var(--about-desc-size);
    font-weight: 300;
    color: var(--base-color-darkGrey);
    line-height: 1.8;
}

.ictk-main-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: var(--about-btn-padding-y) var(--about-btn-padding-x);
    background: var(--point-color);
    color: var(--base-color-white);
    font-size: var(--about-btn-font-size);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.ictk-main-about-btn:hover {
    opacity: 0.85;
}


/* #################################### 03.Tech Section #################################### */
.ictk-main-tech-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--tech-padding-y) 0;
}

.ictk-main-tech-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.ictk-main-tech-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ictk-main-tech-screen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--base-color-black);
    opacity: var(--tech-screen-opacity);
}

.ictk-main-tech-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 3.125vw, 3.75rem);
    width: var(--contents-wrap-width);
    margin: 0 auto;
    z-index: 1;
}

.ictk-main-tech-text {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 1.5625vw, 1.875rem);
}

.ictk-main-tech-subtitle {
    font-size: var(--tech-subtitle-size);
    font-weight: 300;
    color: var(--base-color-lightGrey);
    letter-spacing: 0.02em;
}

.ictk-main-tech-title {
    font-size: var(--tech-title-size);
    font-weight: var(--tech-title-weight);
    color: var(--base-color-white);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.ictk-main-tech-desc {
    font-size: var(--tech-desc-size);
    font-weight: 300;
    color: var(--base-color-lightGrey);
    line-height: 1.7;
}

/* Diagram */
.ictk-main-tech-diagram {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: clamp(20rem, 28.125vw, 33.75rem);
    margin: 0 auto;
}

/* Dark backdrop behind bottom nodes */
.ictk-main-tech-diagram::before {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -10%;
    right: -10%;
    height: 40%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

/* SVG Triangle */
.ictk-main-tech-triangle-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Traveling Line Animation */
.ictk-main-tech-line {
    stroke-dasharray: 150 1086;
    stroke-dashoffset: 0;
    animation: travelLine 3s linear infinite;
}

@keyframes travelLine {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1236; }
}

.ictk-main-tech-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.375rem, 0.5208vw, 0.625rem);
    z-index: 2;
}

.ictk-main-tech-node-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--tech-node-size);
    height: var(--tech-node-size);
    clip-path: circle(50%);
    font-size: var(--tech-node-font-size);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.ictk-main-tech-node-circle.point {
    background: var(--point-color);
    color: var(--base-color-white);
    box-shadow: 0 0 0 0 rgba(0, 190, 181, 0);
}

.ictk-main-tech-node-label {
    font-size: var(--tech-node-label-size);
    font-weight: 300;
    color: var(--base-color-lightGrey);
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

/* PQC - Top Center */
.ictk-main-tech-pqc {
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
}

.ictk-main-tech-pqc .ictk-main-tech-node-label {
    order: -1;
}

/* ROOT KEY - Bottom Left */
.ictk-main-tech-rootkey {
    bottom: 3%;
    left: 0;
}

/* PUF - Bottom Center */
.ictk-main-tech-puf {
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
}

.ictk-main-tech-puf-title {
    font-size: var(--tech-puf-title-size);
    font-weight: 600;
    color: var(--base-color-white);
    letter-spacing: 0.05em;
}

/* SECURE STORAGE - Bottom Right */
.ictk-main-tech-secure {
    bottom: 3%;
    right: 0;
}

/* Diagram Glow Animation */
@keyframes nodeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 190, 181, 0); }
    50% { box-shadow: 0 0 20px 6px rgba(0, 190, 181, 0.35); }
}

.ictk-main-tech-node-circle.glow {
    animation: nodeGlow 2.5s ease-in-out infinite;
}

@keyframes triangleShimmer {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.ictk-main-tech-triangle-svg.shimmer {
    animation: triangleShimmer 3s ease-in-out infinite;
}


/* #################################### 04.Media Section #################################### */
.ictk-main-media-wrap {
    width: 100%;
    background: var(--base-color-white);
    padding: var(--media-padding-y) 0;
}

.ictk-main-media-inner {
    width: var(--contents-wrap-width);
    margin: 0 auto;
}

.ictk-main-media-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(2rem, 3.125vw, 3.75rem);
}

.ictk-main-media-title {
    font-size: var(--media-title-size);
    font-weight: var(--media-title-weight);
    color: var(--base-color-darkGrey);
    letter-spacing: 0.02em;
}

.ictk-main-media-title span {
    color: var(--point-color);
}

.ictk-main-media-more {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-color-darkGrey);
    transition: color 0.3s ease;
    text-decoration: none;
}

.ictk-main-media-more-icon {
    position: relative;
    display: block;
    width: var(--media-more-size);
    height: var(--media-more-size);
}

.ictk-main-media-more-icon::before,
.ictk-main-media-more-icon::after {
    content: '';
    position: absolute;
    background: var(--base-color-darkGrey);
    transition: background 0.3s ease;
}

.ictk-main-media-more:hover .ictk-main-media-more-icon::before,
.ictk-main-media-more:hover .ictk-main-media-more-icon::after {
    background: var(--point-color);
}

.ictk-main-media-more-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.ictk-main-media-more-icon::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.ictk-main-media-more:hover {
    color: var(--point-color);
}

/* **************************************************************
    0) Responsive Area
************************************************************** */
@media all and (max-width: 1024px) {
    .ictk-main-about-inner {
        grid-template-columns: 1fr;
    }

    .ictk-main-tech-inner {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 4.1667vw, 5rem);
    }

    .ictk-main-tech-diagram {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ictk-main-tech-line {
        animation: none;
    }

    .ictk-main-tech-node-circle.glow {
        animation: none;
    }

    .ictk-main-tech-triangle-svg.shimmer {
        animation: none;
    }
}

@media all and (max-width: 640px) {
    .ictk-main-tech-node-circle {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 0.625rem;
    }

    .ictk-main-tech-node-label {
        font-size: 0.6875rem;
    }

    .ictk-main-tech-puf-title {
        font-size: 1rem;
    }

    .ictk-main-tech-rootkey {
        bottom: 5%;
        left: 0;
    }

    .ictk-main-tech-secure {
        bottom: 5%;
        right: 0;
    }

    .ictk-main-tech-puf {
        bottom: 8%;
    }
}
