/* KRYFT - Minimal & Clean */

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

:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #b0b0b0;
    --gray-dark: #444444;
    --border: #2a2a2a;
    --surface: #222222;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo a {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 13px;
    color: var(--gray-light);
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-hamburger {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

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

.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-scroll-hint span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Intro */
.intro {
    padding: 160px 24px;
    display: flex;
    justify-content: center;
}

.intro-content {
    max-width: 900px;
    text-align: center;
}

.intro-text {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--white);
}

.intro-text span {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

/* Marquee */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee {
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 300;
    color: var(--gray);
    white-space: nowrap;
}

.marquee-content .dot {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Common */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
}

/* Work Section - Card Grid */
.work {
    padding: 120px 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-card {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.work-card-wide {
    grid-column: span 2;
}

.work-card-img {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.work-card-wide .work-card-img {
    aspect-ratio: 21/9;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.work-card:hover .work-card-img img {
    transform: scale(1.05);
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-info {
    padding: 20px 0;
}

.work-card-info h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
}

.work-card-info p {
    font-size: 14px;
    color: var(--gray);
}

.work-more {
    margin-top: 60px;
    text-align: center;
}

.work-more a {
    font-size: 14px;
    color: var(--gray-light);
    transition: color 0.2s;
}

.work-more a:hover {
    color: var(--white);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-arrow:hover {
    border-color: var(--gray-light);
    gap: 16px;
}

.btn-arrow svg {
    transition: transform 0.3s;
}

.btn-arrow:hover svg {
    transform: translateX(4px);
}

/* Clients */
.clients {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.client {
    padding: 40px 24px;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0;
    transform: translateY(20px);
}

.client:hover {
    border-color: var(--gray);
    color: var(--white);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    color: var(--black);
    padding: 16px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--surface);
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
}

.service-num {
    font-size: 14px;
    color: var(--gray);
}

.service-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 600px;
}

.service-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item {
    position: relative;
}

.service-item:hover .service-img {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Process */
.process {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--border);
}

.process-item {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.process-dot {
    width: 12px;
    height: 12px;
    background: var(--black);
    border: 2px solid var(--gray);
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: all 0.3s;
}

.process-item:hover .process-dot {
    background: var(--white);
    border-color: var(--white);
}

.process-card {
    padding: 0 16px;
}

.process-num {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 12px;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.process-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Investment - 강조 스타일 */
.investment {
    padding: 160px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    position: relative;
}

.investment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.investment .container {
    position: relative;
    z-index: 1;
}

.investment .section-header h2 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.investment-content {
    max-width: 1000px;
}

.investment-text p {
    font-size: 18px;
    color: var(--white);
    line-height: 1.9;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.investment-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.investment-feature {
    opacity: 0;
    transform: translateY(20px);
    padding: 32px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.investment-feature:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.investment-feature h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.investment-feature p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.7;
}

/* About */
.about {
    padding: 160px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.about-left h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
}

.about-right p {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.stat {
    opacity: 0;
    transform: translateY(20px);
}

.stat-num {
    display: block;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
}

.stat-num::after {
    content: '+';
    font-size: 28px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Awards */
.awards {
    padding: 120px 0;
    background: var(--surface);
}

.awards-list {
    border-top: 1px solid var(--border);
}

.award-item {
    display: grid;
    grid-template-columns: 100px 1fr 200px;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: padding 0.2s;
}

.award-item:hover {
    padding-left: 12px;
}

.award-year {
    font-size: 14px;
    color: var(--gray);
}

.award-name {
    font-size: 18px;
    font-weight: 400;
}

.award-project {
    font-size: 14px;
    color: var(--gray);
    text-align: right;
}

/* CTA */
.cta {
    padding: 160px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* Contact */
.contact {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--gray-light);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    color: var(--gray);
}

.form-group input,
.form-group textarea {
    padding: 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gray);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-btn {
    padding: 16px 32px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.form-btn:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 8px;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-light);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom span {
    font-size: 13px;
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--gray);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .process-timeline {
        flex-wrap: wrap;
        gap: 40px;
    }

    .process-item {
        flex: 0 0 33.33%;
    }

    .process-line {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .nav-hamburger span {
        width: 20px;
        height: 1px;
        background: var(--white);
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card-wide {
        grid-column: span 1;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .investment-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .investment-feature {
        padding: 24px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-item {
        flex: 0 0 50%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .award-item {
        grid-template-columns: 60px 1fr;
    }

    .award-project {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-item {
        flex: 0 0 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
