:root {
    --primary-color: #1A2A3A;
    --accent-color: #C5A059;
    --bg-color: #FDFBF7;
    --bg-secondary: #F8F6F2;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
}

/* Components */
.btn-primary,
.btn-primary-sm,
.btn-primary-lg {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary-lg {
    padding: 20px 60px;
    font-size: 1.25rem;
    width: 100%;
    border: none;
}

.btn-primary:hover,
.btn-primary-sm:hover,
.btn-primary-lg:hover {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}


.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}


.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}



.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-img {
    height: 26px;
    /* Optimized size for premium feel */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

@media (min-width: 993px) {
    .logo-img {
        height: 34px;
    }
}


.navbar.scrolled .logo-img {
    filter: invert(1) brightness(0.2);
}



.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a:not(.btn-primary-sm) {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-links a:not(.btn-primary-sm) {
    color: var(--text-color);
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--accent-color) !important;
}

@media (max-width: 992px) {
    .nav-links {
        display: flex !important;
        /* Force flex to override any other display:none */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        /* Exactly half of the screen */
        height: 100vh;
        background-color: var(--primary-color);
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 3000;
        /* Ensure it is above the overlay */
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        /* In case menu is long */
    }


    .nav-links.active {
        right: 0;
        /* Slide in */
    }

    .nav-links a {
        font-size: 1.25rem;
        color: var(--white) !important;
        font-weight: 600;
    }


}




.mobile-menu-toggle.active {
    z-index: 3001;
    /* Stay above the drawer */
}


.mobile-menu-toggle.active span {
    background-color: var(--white) !important;
    /* Always white when menu is open */
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Intensified spotlight behind the text, fading to the edges */
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 35%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 95%);
}




.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    /* Center the container itself */
    text-align: center;
    /* Center all child text */
}


.hero h1 {
    margin-bottom: 24px;
    font-weight: 800;
    font-size: 4.5rem;
    /* Larger for better impact */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h1 span {
    color: #E6B964;
    /* More vibrant premium gold */
    display: inline-block;
    padding-top: 10px;
    text-shadow: 0 0 20px rgba(230, 185, 100, 0.3);
}




.hero p {
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}


.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    /* Center align buttons */
}


.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Sections General */
section {
    padding: 120px 0;
}

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

.section-header.align-center {
    text-align: center;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 32px auto;
}

/* Problem Section */
.problem {
    background-color: var(--bg-secondary);
}

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

.problem-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: 1px solid #eee;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-wrap {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 24px;
}

.problem-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    word-break: keep-all;
}

.problem-card p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Solution Section */
.solution-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sub-title {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 600;
}

.solution-text h2 {
    margin-bottom: 24px;
}

.solution-text p {
    margin-bottom: 40px;
    color: var(--text-light);
}

.solution-list {
    list-style: none;
}

.solution-list li {
    margin-bottom: 30px;
    padding-left: 24px;
    position: relative;
}

.solution-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.solution-list li strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.solution-list li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.solution-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.solution-image img {
    width: 100%;
    display: block;
}

/* Performance Section */
.performance {
    background-color: var(--primary-color);
    color: var(--white);
}

.performance .divider {
    background-color: var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 80px;
}

.stat-item .number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 1.125rem;
    opacity: 0.8;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.case-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.case-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}


.case-info .tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent-color);
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.case-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.case-info p {
    opacity: 0.8;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 4px solid var(--bg-color);
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background-color: var(--bg-secondary);
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 80px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.cta-inner h2 {
    margin-bottom: 16px;
}

.cta-inner h2 span {
    color: var(--accent-color);
}

.cta-inner p {
    color: var(--text-light);
    margin-bottom: 48px;
}

.cta-action {
    display: flex;
    justify-content: center;
}

/* Already handled by combined selector above, but keeping for consistency */
.cta-action .btn-primary-lg:hover {
    background-color: #D4AF37;
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}




.form-notice {
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: #0d151e;
    color: rgba(255, 255, 255, 0.6);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand .logo-img {
    margin-bottom: 16px;
}

.footer-bottom {
    font-size: 0.85rem;
}


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

.footer-sns a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }



    .mobile-menu-toggle {
        display: block !important;
        z-index: 1005;
        /* Always above navbar */
    }


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

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

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

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

    .process-steps::before {
        display: none;
    }

    .step {
        padding-top: 0;
        text-align: left;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .step-num {
        margin: 0;
        flex-shrink: 0;
    }

    .cta-inner {
        padding: 40px 24px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        width: 100%;
        text-align: center;
    }

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

    .solution-text h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        gap: 20px;
    }

    .stat-item .number {
        font-size: 3rem;
    }

    .cta-inner {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .cta-inner h2 {
        font-size: 1.5rem;
    }
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    transition: var(--transition-smooth);
}

.navbar.scrolled .mobile-menu-toggle span {
    background-color: var(--primary-color);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Graph Visualization */
.graph-placeholder {
    height: 150px;
    width: 100%;
    margin-top: 60px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    max-width: 400px;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-color), rgba(197, 160, 89, 0.3));
    border-radius: 4px 4px 0 0;
    position: relative;
    transform-origin: bottom;
    transition: transform 2s ease-out;
}

.graph-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0.8;
}

.graph-bar::before {
    content: attr(data-percent);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}