/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --purple: #6f4797;
    --skyblue: #3dbbd2;
    --white: #ffffff;
    --ai-blue: #0084ff;
    --danger: #ff0000;
    --gray: #ddd;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --text-blue: #64748b;
    --text-black: #0f172a;
    --box-shadow: rgba(111, 71, 151, 0.08);
    --box-lighter-shadow: rgba(0,0,0,0.12);
}

body {
    background-color: var(--white);
    width: 100%;
}

.logo {
    width: 20%;
    height: 10vh;
    background-image: url('public/logo/logo.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.logo-footer {
    width: 20%;
    height: 30px;
    background-image: url('public/logo/logo.svg');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    cursor: pointer;
}

.navbar {
    width: 100%;
    background-color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--purple);
    font-weight: 500;
    transition: 0.3s;
}

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

.btn-wallet {
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600 !important;
}

.btn-wallet:hover {
    opacity: 0.8;
}

.btn {
    background-color: var(--white);
    color: var(--purple) !important;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600 !important;
    padding: 2vh;
}

.btn:hover {
    transition: 0.5s;
    background-color: var(--purple);
    color: var(--white) !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--purple) !important;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--purple);
    font-weight: 600 !important;
    padding: 2vh;
}

.btn:hover {
    opacity: 0.8;
}

/* --- 반응형 (모바일) 디자인 --- */
.menu-toggle, .hamburger {
    display: none;
}

@media (max-width: 992px) {
    .logo {
        width: 50%;
        height: 5vh;
    }

    .navbar{
        width: 100%;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--purple);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    /* 체크박스가 체크되면 메뉴가 나타남 */
    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .menu-toggle {
        display: none;
    }
}

.problem-hero {
    background-color: var(--white);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 80px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--purple);
}

.sub-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-btn {
    background-color: var(--purple);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(111, 71, 151, 0.2);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--white);
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: var(--purple);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(111, 71, 151, 0.08);
    transform: translateY(-5px);
}

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.problem-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .main-title { font-size: 2.5rem; }
    .problem-grid { gap: 15px; }
}

.command-center-section {
    width: 100%;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    background-color: var(--white);
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    padding: 5vh;
}

.image-wrapper img {
    height: 40vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.aura-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(111, 71, 151, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-tagline {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-black);
    margin-bottom: 20px;
}

.highlight {
    color: var(--purple);
}

.product-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-tagline { font-size: 1.8rem; }
    .image-wrapper img { max-width: 100%; height: auto;}
}

.ops-feature-section {
    width: 100%;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    background-color: var(--white);
    display: flex;
}

.container-large {
    width: 100%;
    height: 100%;
    padding: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5vh;
}

.ops-visual {
    width: 100%;
    flex: 1.5;
}

.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 60px var(--box-lighter-shadow);
    overflow: hidden;
}

.browser-header {
    background: var(--white);
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.browser-header .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gray);
}

.browser-mockup img {
    width: 100%;
    display: block;
}

.ops-info {
    width: 100%;
    flex: 0.5;
}

.ops-title {
    font-size: 2.8rem;
    font-weight: lighter;
    color: var(--text-black);
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--purple);
}

.ops-desc {
    font-size: 1.15rem;
    color: var(--text-blue);
    line-height: 1.7;
    margin-bottom: 30px;
}

.ops-points {
    list-style: none;
    padding: 0;
}

.ops-points li {
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ops-points li::before {
    content: "✓";
    color: var(--purple);
    font-weight: bold;
}

@media (max-width: 992px) {
    .ops-feature-section {
        width: 100%;
    }

    .container-large {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    .ops-title { font-size: 2.2rem; }
    .ops-points li { justify-content: center; }
}

.crm-feature-section {
    width: 100%;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    background-color: var(--white);
    display: flex;
}

.container-large.reversed {
    width: 100%;
    height: 100%;
    padding: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5vh;
}

.ops-visual { flex: 1.3; }
.ops-info { flex: 1; }

.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 60px var(--box-lighter-shadow);
    overflow: hidden;
    border: 1px solid var(--white);
}

.highlight { color: var(--purple); }

@media (max-width: 992px) {
    .crm-feature-section {
        width: 100%;
    }
    .container-large.reversed {
        flex-direction: column;
        text-align: center;
    }
}



/* 끝 */

.main-title {
    font-weight: lighter;
    font-size: 7vh;
    color: var(--purple);
}

.main-footer {
    background-color: var(--white);
    color: var(--purple);
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(206, 255, 0, 0.1); /* 상단에 아주 연한 형광색 선 */
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: var(--purple);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--skyblue);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: 0.3s;
}

.social-icon:hover {
    opacity: 1;
    color: var(--purple);
}

.footer-divider {
    border: 0;
    border-top: 2px solid var(--purple);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-links a {
    color: var(--ai-blue);
    text-decoration: none;
    margin-right: 25px;
    transition: 0.3s;
}

.bottom-links a:hover {
    color: var(--skyblue);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .main-footer {
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.error-section {
    background-color: transparent;
}

.error-container {
    position: relative;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgba(15, 23, 42,0.9);
}

.error-container::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url('public/images/error_bg.png');
    background-size: cover;
    /* opacity: 0.1; */
}

.error-card {
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    border-radius: 3vh;
    padding: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vh;
}

.error-title {
    font-weight: lighter;
    font-size: 5rem;
    margin: 0;
    color: var(--skyblue);
    font-style: italic;
}

.error-text {
    font-size: 2rem;
    color: var(--white);
    margin: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .error-card {
        width: 90%;
        height: auto;
        aspect-ratio: auto;
        padding: 8vh 5vh;
    }

    .error-title {
        font-size: 4rem;
        font-style: italic;
    }

    .error-text {
        font-size: 2rem;
    }
}