/* Index Page Styles - TrueWeb Introduction (WO Global Style) */

/* Hero Section with Canvas */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    margin: 0;
    padding: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.4) contrast(1.1) saturate(0.8);
    will-change: transform;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 14, 39, 0.7) 0%, rgba(26, 26, 46, 0.6) 50%, rgba(22, 33, 62, 0.7) 100%),
        radial-gradient(circle at 50% 50%, rgba(103, 61, 230, 0.15) 0%, transparent 70%);
    z-index: 2;
}

.tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.8;
}

.innovation-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(103, 61, 230, 0.2);
    border: 1px solid rgba(103, 61, 230, 0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Solution Section */
.solution-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1a2e 100%);
    color: white;
    position: relative;
    margin: 0;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(103, 61, 230, 0.5);
    box-shadow: 0 20px 40px rgba(103, 61, 230, 0.2);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.tech-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(103, 61, 230, 0.5));
}

.solution-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.solution-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    position: relative;
    z-index: 1;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* Vision Sections */
.vision-section {
    padding: 8rem 0;
    background: #0a0e27;
    color: white;
    position: relative;
    margin: 0;
}

.vision-section:nth-child(even) {
    background: #1a1a2e;
}

.vision-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-reverse .vision-item {
    direction: rtl;
}

.vision-reverse .vision-item > * {
    direction: ltr;
}

.vision-content {
    padding: 2rem;
}

.vision-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(103, 61, 230, 0.2);
    border: 1px solid rgba(103, 61, 230, 0.5);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.vision-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.vision-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.vision-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.vision-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
}

.vision-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(0.3) contrast(1.2) brightness(0.7);
    z-index: 1;
}

.tech-visualization {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tech-visualization::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 300px;
    background: 
        radial-gradient(ellipse at center, rgba(103, 61, 230, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.vision-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Coin Section */
.coin-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
    margin: 0;
}

.coin-cta {
    margin-top: 3rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0e27 100%);
    color: white;
    text-align: center;
    margin: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.cta-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Parallax Effect */
.parallax-section {
    position: relative;
    will-change: transform;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 고급 시각 효과 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(103, 61, 230, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(52, 152, 219, 0.15) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Hero 배경 이미지 패럴랙스 효과 */
.hero-section[data-parallax-speed] .hero-bg-image {
    transform: translateZ(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-bg-image {
        filter: brightness(0.3) contrast(1.1) saturate(0.7);
    }
    
    .vision-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .vision-reverse .vision-item {
        direction: ltr;
    }
    
    .vision-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-bg-image {
        filter: brightness(0.25) contrast(1.2) saturate(0.6);
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .solution-section,
    .vision-section,
    .coin-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 2rem 1.5rem;
    }
    
    .vision-item {
        gap: 2rem;
    }
    
    .vision-content {
        padding: 1.5rem;
    }
    
    .vision-image {
        height: 300px;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .solution-section,
    .vision-section,
    .coin-section,
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        margin-bottom: 2.5rem;
    }
    
    .solution-card {
        padding: 1.5rem 1.25rem;
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .vision-item {
        gap: 1.5rem;
    }
    
    .vision-content {
        padding: 1rem;
    }
    
    .vision-image {
        height: 250px;
    }
    
    .vision-list li {
        padding: 0.5rem 0;
        padding-left: 1.25rem;
        font-size: 0.85rem;
    }
    
    .cta-content {
        padding: 0 0.75rem;
    }
    
    .cta-title {
        margin-bottom: 1rem;
    }
    
    .cta-description {
        margin-bottom: 1.5rem;
    }
}
