/**
 * very&more - 메인 페이지 리디자인 (2025 Light Glassmorphism)
 * Concept: Bright, Friendly, Clean, Nanobanana Soft
 * Colors: White, Soft Pink, Sky Blue, Dark Text
 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --bg-color: #fdfbf7;
    --bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #fff0f5 100%);
    --primary-color: #E91E8C;
    --accent-color: #00d2ff;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --card-radius: 24px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Effects - Soft & Bright */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Will be replaced by image if generated, otherwise soft gradient */
    /* Subtle, clean background - Temporary fallback until image gen */
    background: linear-gradient(135deg, #fdfbf7 0%, #ffffff 100%);
    z-index: -2;
    opacity: 1;
}

/* Force remove gap */
.main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Common Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Banner Section ===== */
.banner-section {
    width: 100%;
    margin-top: -80px !important;
    /* Pull under sticky header */
    padding: 0 !important;
    /* Override global section padding to remove gaps/strips */
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
    font-size: 0;
}

.banner-swiper {
    width: 100%;
    height: 500px;
    background: transparent;
    /* Remove white bg */
}

.swiper-slide {
    height: 100%;
    /* Ensure slide takes full height */
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    z-index: 20;
    /* Ensure above image */
    text-align: center;
    width: 100%;
}

.banner-html {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

/* Swiper Navigation - Dark for visibility */
/* Swiper Navigation - Creative & Polished */
.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px !important;
    font-weight: 900;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 15px 35px rgba(233, 30, 140, 0.2);
    color: #d81b60 !important;
}

@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

.swiper-pagination-bullet {
    background: #000 !important;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 0.8;
    transform: scale(1.2);
}

/* ===== Hero Section ===== */
.hero-new {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0 100px;
}

.hero-content-new {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-new {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    margin-bottom: 60px;
    /* Original Logo Styles Restored */
    filter: none;
    transition: transform 0.3s ease;
    display: block;
}

.hero-logo-new:hover {
    transform: scale(1.02);
}

.hero-slogan {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons - Bright & Pop */
.btn-new {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary-new {
    background: linear-gradient(45deg, var(--primary-color), #ff4081);
    color: #fff;
    box-shadow: 0 10px 20px rgba(233, 30, 140, 0.3);
    border: none;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(233, 30, 140, 0.4);
    color: #fff !important;
    /* Ensure text remains white */
}

.btn-outline-new {
    background: #fff;
    border: 2px solid #eee;
    color: #333;
}

.btn-outline-new:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* ===== Features Section ===== */
.features-long {
    padding: 150px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
}

.section-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 100px;
}

/* ===== Bento Grid Feature Section ===== */
.features-long {
    padding: 100px 0;
    background: transparent;
}

.feature-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
    padding: 20px;
}

/* Feature Badge - Restored Design */
.feature-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(233, 30, 140, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
    border: 1px solid rgba(233, 30, 140, 0.2);
}

/* Bento Item - Common Styles */
.bento-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 50px;
    /* Increased padding */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Background Image Support */
.bento-item.bento-bg-dark,
.bento-item.bento-bg-accent {
    /* Background moved to .bento-bg-image for zoom effect */
    color: white !important;
    /* Force white text */
    position: relative;
}

.bento-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 0;
}

.bento-item:hover .bento-bg-image {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 1;
    border-radius: 32px;
    /* Match parent radius */
}

.bento-overlay-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 30, 140, 0.85);
    /* Primary color overlay */
    z-index: 1;
    border-radius: 32px;
    /* Match parent radius */
}

.bento-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Specific text colors for dark backgrounds */
.bento-item.bento-bg-dark .bento-title,
.bento-item.bento-bg-dark .bento-desc,
.bento-item.bento-bg-dark .bento-text,
.bento-item.bento-bg-accent .bento-title,
.bento-item.bento-bg-accent .bento-desc,
.bento-item.bento-bg-accent .bento-text {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Add shadow for better contrast */
}

.bento-item.bento-bg-dark .feature-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Grid Spans for Variety (7 Items - Balanced Layout) */
/* Row 1: Search (Large) + Bookmark (Small) */
.bento-item:nth-child(1) {
    grid-column: span 8;
}

.bento-item:nth-child(2) {
    grid-column: span 4;
    background: #fff0f5;
}

/* Row 2: Upload (Small) + Portfolio (Large) */
.bento-item:nth-child(3) {
    grid-column: span 4;
}

.bento-item:nth-child(4) {
    grid-column: span 8;
}

/* Row 3: DM (Small) + Free (Small) + Meeting (Small) */
.bento-item:nth-child(5) {
    grid-column: span 4;
}

.bento-item:nth-child(6) {
    grid-column: span 4;
    background: #f0f9ff;
}

.bento-item:nth-child(7) {
    grid-column: span 4;
}

/* Make visuals larger and fit properly */
.bento-visual {
    width: 100%;
    height: 300px;
    /* Increased height for better visibility */
    background: transparent;
    /* Remove gray background */
    border-radius: 20px;
    margin-top: 30px;
    /* Add spacing between text and image */
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Add subtle shadow */
}

.bento-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Revert to cover to fill the box */
    object-position: top center;
    /* Focus on top/center of image */
    transition: transform 0.5s ease;
}

.bento-item:hover .bento-visual img {
    transform: scale(1.03);
    /* Subtle zoom */
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .feature-grid-container {
        grid-template-columns: 1fr;
    }

    .bento-item {
        grid-column: span 1 !important;
    }
}

/* ===== Stats Section ===== */
.stats-new {
    padding: 100px 0;
    background: #fff;
}

.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: #f8f9fa;
    padding: 40px 20px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.stat-box:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: #555;
    font-weight: 600;
}

/* ===== CTA Section ===== */
.cta-new {
    padding: 150px 0;
    text-align: center;
    background: linear-gradient(to top, #fff0f5, #fff);
}

.cta-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 100px 40px;
    border-radius: 60px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(233, 30, 140, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}

.cta-box h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.cta-box p {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 50px;
}

.btn-white-new {
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(233, 30, 140, 0.3);
}

.btn-white-new:hover {
    transform: scale(1.05);
    background: #d81b60;
    box-shadow: 0 15px 30px rgba(233, 30, 140, 0.4);
    color: #fff !important;
    /* Ensure text remains white */
}

.btn-outline-white-new {
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white-new:hover {
    background: #fff0f5;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-item {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .feature-right {
        flex-direction: column;
    }

    .feature-list li {
        padding-left: 0;
        list-style-position: inside;
    }

    .feature-list li::before {
        display: none;
    }

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

@media (max-width: 768px) {
    .hero-slogan {
        font-size: 2.5rem;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-new {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}