/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD600;
    --secondary-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-gray: #E8E8E8;
    --blue: #4A90E2;
    --yellow: #FFC700;
    --orange: #FF9500;
    --purple: #8B7AB8;
    --green: #4CAF50;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-black);
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-black);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #E8EEF2 100%);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.hero-text .highlight {
    display: inline-block;
    color: var(--secondary-black);
    background: var(--primary-yellow);
    padding: 8px 20px;
    border-radius: 8px;
    margin-top: 10px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    background: var(--secondary-black);
    border-radius: 45px;
    padding: 15px;
    width: 320px;
    height: 640px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
    transform: perspective(1200px) rotateY(-12deg) rotateX(3deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.phone-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 35px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.app-icons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.app-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-icon.yellow {
    background: linear-gradient(135deg, #FFD600 0%, #FFA500 100%);
    animation: float 3s ease-in-out infinite;
}

.app-icon.gray {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
    animation: float 3s ease-in-out infinite 1s;
}

.app-icon.green {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    animation: float 3s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-arrow {
    margin-top: 10px;
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 0.4s;
}

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

/* Features Overview Section */
.features-overview {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

.phone-feature-display {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.phone-interface {
    width: 360px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-interface:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.interface-time {
    font-weight: 600;
    font-size: 14px;
}

.interface-icons {
    font-size: 20px;
    font-weight: bold;
}

.interface-title {
    margin-bottom: 25px;
}

.interface-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.interface-buttons {
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
}

.interface-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interface-btn.active {
    background: var(--blue);
    color: var(--white);
}

.interface-btn:hover {
    transform: translateY(-2px);
}

.interface-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.job-tag {
    display: inline-block;
    background: rgba(74, 144, 226, 0.1);
    color: var(--blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.job-tag.tag-security {
    background: rgba(139, 122, 184, 0.1);
    color: var(--purple);
}

.job-tag.tag-cleaning {
    background: rgba(255, 199, 0, 0.15);
    color: #CC9900;
}

.job-tag.tag-promoter {
    background: rgba(255, 149, 0, 0.1);
    color: var(--orange);
}

.job-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.job-info {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.job-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Features Detail Section */
.features-detail {
    padding: 120px 0;
    background: var(--white);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 150px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-text {
    max-width: 500px;
}

.feature-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(74, 144, 226, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.feature-text h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    width: 100%;
    max-width: 500px;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    image-rendering: auto;
    will-change: transform;
    content-visibility: auto;
}

.feature-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Trust Section */
.trust-section {
    padding: 120px 0;
    background: var(--white);
}

.trust-header {
    text-align: center;
    margin-bottom: 80px;
}

.trust-header h2 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.trust-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.trust-card {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 배경 이미지 (그라디언트 플레이스홀더) */
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

/* 각 카드별 다른 배경 이미지 */
.trust-card:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
                url('../img/3-3. 운영/AH0151.jpg');
    background-size: cover;
    background-position: center;
}

.trust-card:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
                url('../img/기타이미지들/JZ0090.jpg');
    background-size: cover;
    background-position: center;
}

.trust-card:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
                url('../img/3-4. 미화/JZ0128.jpg');
    background-size: cover;
    background-position: center;
}

.trust-card:nth-child(4)::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
                url('../img/기타이미지들/AH0076.jpg');
    background-size: cover;
    background-position: center;
}

/* 다크 오버레이 */
.trust-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* 텍스트 컨테이너 */
.trust-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 3;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.trust-card h4 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.trust-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 호버 효과 */
.trust-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.trust-card:hover::before {
    transform: scale(1.1);
}

.trust-card:hover::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.trust-card:hover .trust-card-content {
    transform: translateY(-10px);
}

.trust-card:hover h4 {
    transform: translateY(-5px);
}

.trust-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--secondary-black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer .container {
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-yellow);
}

.footer-info p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .section-header h2,
    .trust-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu li {
        padding: 15px 40px;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
    }

    .section-header h2,
    .trust-header h2 {
        font-size: 32px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .trust-card {
        height: 350px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-text {
        max-width: 100%;
        text-align: center;
    }

    .feature-text h2 {
        font-size: 32px;
    }

    .phone-interface {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .app-icon {
        width: 70px;
        height: 70px;
    }

    .section-header h2,
    .trust-header h2 {
        font-size: 26px;
    }

    .trust-card {
        padding: 35px 25px;
    }

    .reference-image {
        height: 350px;
        max-width: 100%;
    }

    .feature-label {
        font-size: 12px;
    }

    .feature-text p {
        font-size: 16px;
    }

    .nav-brand {
        font-size: 22px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}
