/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: #111111;
    color: #FFFFFF;
    line-height: 1.5;
}

/* ===========================
   LAYOUT CONTAINER
   =========================== */
.rt-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 132px;
}

/* ===========================
   HEADER STYLES
   =========================== */
.rt-header {
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: transparent;
}

.rt-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    height: 100%;
    padding: 0 60px;
    position: relative;
    max-width: 1440px;
}

/* Logo */
.rt-logo img {
    height: 28px;
    width: auto;
    cursor: pointer;
}

/* ===========================
   NAVIGATION STYLES
   =========================== */
.rt-nav {
    display: flex;
    gap: 48px;
    height: 60px;
    align-items: center;
    position: absolute;
    left: 390px;
    top: 10px;
    width: 660px;
}

.rt-nav-item {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 24px;
    border-radius: 8px;
    transition: background-color 0.3s;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}

.rt-nav-item:hover {
    animation: blink-effect 0.3s ease-out;
}

.rt-section-title {
    font-size: 48px;
}

.rt-section-description {
    font-size: 18px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(0, 0, 0, 0.693);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 165px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    pointer-events: none;
    /* 이 줄 추가 */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 6px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: background-color 0.2s;
    border-radius: 6px;
    margin: 4px 8px;
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1);
    background: linear-gradient(90deg, #155DFC 0%, #0F79FC 52.5%, #00C6FB 84.5%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.dropdown-item:first-child {
    margin-top: 8px;
}

.dropdown-item:last-child {
    margin-bottom: 8px;
}

/* ===========================
   HAMBURGER MENU STYLES
   =========================== */
.hamburger-menu {
    display: none;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger-menu.active {
    gap: 10.5px;
}

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

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

/* ===========================
   MOBILE MENU STYLES
   =========================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 32px 24px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    height: calc(100vh - 80px);
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu-section {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
}

.mobile-menu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-menu-title {
    color: #FFFFFF;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #155DFC 0%, #0F79FC 52.5%, #00C6FB 84.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-item {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: 16px;
    position: relative;
}

.mobile-menu-item:hover {
    color: #00C6FB;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 8px;
    margin-left: 24px;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #155DFC 0%, #0F79FC 52.5%, #00C6FB 84.5%);
    transition: width 0.3s ease;
}

.mobile-menu-item:hover::before {
    width: 12px;
}

/* Mobile Menu Scrollbar */
.mobile-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ===========================
   FOOTER STYLES
   =========================== */
.rt-footer {
    position: relative;
    padding: 105px 0;
    background-color: #111111;
}

.rt-footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rt-footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-footer-content {
    position: relative;
    z-index: 2;
}

.rt-footer-main {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.rt-footer-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.rt-footer-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.167;
    letter-spacing: -0.417%;
    color: #FFFFFF;
}

.rt-footer-description {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -1%;
    color: #FFFFFF;
}

.rt-footer-separator {
    width: 100%;
    height: 1px;
    background-color: #A1A1A1;
}

.rt-footer-bottom {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.rt-footer-logo {
    width: 128px;
    height: 58px;
    flex-shrink: 0;
}

.rt-footer-logo img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.rt-footer-text {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: flex-start;

}

.rt-footer-left {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -1.429%;
    color: #FFFFFF;
}

.rt-footer-right {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -1.429%;
    color: #FFFFFF;
    padding-top: 30px;
}

.rt-section-tag {
    background: linear-gradient(90deg, #155DFC 0%, #0F79FC 52.5%, #00C6FB 84.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25;
    width: fit-content;
}

/* ===========================
   MAIN CONTENT
   =========================== */
.content {
    margin-top: 120px;
    padding: 40px;
    color: white;
    text-align: center;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.active .mobile-menu-section {
    animation: fadeInUp 0.4s ease-out forwards;
}

.mobile-menu.active .mobile-menu-section:nth-child(2) {
    animation-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-section:nth-child(3) {
    animation-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-section:nth-child(4) {
    animation-delay: 0.3s;
}

.mobile-menu.active .mobile-menu-section:nth-child(5) {
    animation-delay: 0.4s;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */

/* Desktop Navigation Control */
@media (max-width: 1440px) {
    .rt-nav {
        left: 55%;
        transform: translateX(-50%);
        width: auto;
    }
}

/* Mobile Menu Control */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .rt-nav {
        display: none;
    }
}

@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Tablet (769px ~ 1279px) */
@media (max-width: 1279px) and (min-width: 769px) {
    .rt-header-container {
        padding: 0 40px;
    }

    .rt-nav {
        gap: 32px;
    }

    .rt-nav-item {
        font-size: 14px;
    }

    .rt-container {
        padding: 0 80px;
    }

    .rt-footer-title {
        font-size: 36px;
    }

    .rt-footer-description {
        font-size: 18px;
    }
}

/* Mobile Landscape (481px ~ 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .rt-header-container {
        padding: 0 24px;
    }

    .rt-header {
        height: 66px;
    }

    .rt-container {
        padding: 0px 50px;
    }

    .rt-footer {
        padding: 80px 0;
    }

    .rt-footer-main {
        gap: 60px;
    }

    .rt-footer-title {
        font-size: 28px;
    }

    .rt-footer-description {
        font-size: 16px;
    }

    .rt-footer-bottom {
        gap: 24px;
    }

    .rt-footer-text {
        gap: 16px;
    }

    .rt-footer-right {
        padding-top: 0;
    }
}

/* Mobile Portrait (~480px) */
@media (max-width: 480px) {
    .rt-header-container {
        padding: 0 16px;
    }

    .rt-header {
        height: 66px;
    }

    .rt-logo img {
        height: 24px;
    }

    .rt-container {
        padding: 0 16px;
    }

    .rt-footer {
        padding: 60px 0;
    }

    .rt-footer-main {
        gap: 40px;
    }

    .rt-footer-header {
        gap: 16px;
    }

    .rt-footer-title {
        font-size: 22px;
    }

    .rt-footer-description {
        font-size: 14px;
    }

    .rt-footer-bottom {
        gap: 20px;
    }

    .rt-footer-logo {
        width: 100px;
        height: 45px;
        font-size: 12px;
    }

    .rt-footer-text {
        gap: 12px;
    }

    .rt-footer-left,
    .rt-footer-right {
        font-size: 9px;
    }

    .rt-footer-right {
        padding-top: 0;
    }
}

/* Mobile Menu Responsive */
@media (max-width: 480px) and (orientation: portrait) {
    .mobile-menu {
        padding: 24px 16px;
    }

    .mobile-menu-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .mobile-menu-item {
        font-size: 14px;
        padding: 10px 0;
    }

    .mobile-menu-section {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .mobile-menu {
        top: 60px;
        padding: 16px 24px;
    }

    .mobile-menu-section {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .mobile-menu-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .mobile-menu-item {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* ===========================
   ACCESSIBILITY & SPECIAL CASES
   =========================== */

/* Focus Styles */
.hamburger-menu:focus {
    outline: 2px solid #00C6FB;
    outline-offset: 2px;
}

.mobile-menu-item:focus {
    outline: 2px solid #00C6FB;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.05);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .hamburger-menu span,
    .mobile-menu,
    .mobile-menu-item {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mobile-menu {
        background: rgba(0, 0, 0, 0.95);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hamburger-menu span {
        height: 2px;
    }
}

/* ==========================
   CONTACT CTA SECTION
   =========================== */
.contact-cta {
    position: relative;
    padding: 115px 273px;
    background-color: #111111;
    overflow: hidden;
    margin: 200px 0px;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 0 auto;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.contact-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.167;
    letter-spacing: -0.417%;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

.contact-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -1%;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

.contact-button {
    background: linear-gradient(90deg, #155DFC 0%, #0F79FC 52.5%, #00C6FB 84.5%);
    border-radius: 8px;
    padding: 10px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 93, 252, 0.3);
}

.btn-contact {
    background: none;
    border: none;
    padding: 10px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.286;
    letter-spacing: -0.714%;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-contact:hover {
    opacity: 0.9;
}


/* 모바일 (~480px) */
@media (max-width: 480px) {

    /* Contact CTA Section */
    .contact-cta {
        padding: 60px 20px;
        margin: 80px 0;
    }

    .contact-content {
        gap: 23px;
    }

    .contact-text {
        gap: 20px;
    }

    .contact-title {
        font-size: 19px;
        line-height: 1.2;
        letter-spacing: -0.5%;
    }

    .contact-description {
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: -0.8%;
        padding: 0 10px;
    }

    .contact-button {
        padding: 8px 20px;
        border-radius: 6px;
    }

    .btn-contact {
        padding: 8px;
        font-size: 16px;
        line-height: 1.25;
        letter-spacing: -0.5%;
    }

    .rt-section-title {
        font-size: 24px;
    }
}

/* 태블릿 세로 (481px~768px) */
@media (min-width: 481px) and (max-width: 768px) {

    /* Contact CTA Section */
    .contact-cta {
        padding: 80px 40px;
        margin: 120px 0;
    }

    .contact-content {
        gap: 48px;
    }

    .contact-text {
        gap: 28px;
    }

    .contact-title {
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: -0.45%;
    }

    .contact-description {
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: -0.9%;
        padding: 0 20px;
    }

    .contact-button {
        padding: 9px 22px;
        border-radius: 7px;
    }

    .btn-contact {
        padding: 9px;
        font-size: 20px;
        line-height: 1.3;
        letter-spacing: -0.6%;
    }

    .rt-section-title {
        font-size: 28px;
    }
}

/* 태블릿 가로/소형 데스크톱 (769px~1279px) */
@media (min-width: 769px) and (max-width: 1279px) {

    /* Contact CTA Section */
    .contact-cta {
        padding: 100px 80px;
        margin: 160px 0;
    }

    .contact-content {
        gap: 54px;
    }

    .contact-text {
        gap: 30px;
    }

    .contact-title {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -0.4%;
    }

    .contact-description {
        font-size: 18px;
        line-height: 1.48;
        letter-spacing: -0.95%;
        max-width: 600px;
    }

    .contact-button {
        padding: 9px 23px;
        border-radius: 7px;
    }

    .btn-contact {
        padding: 9px;
        font-size: 24px;
        line-height: 1.28;
        letter-spacing: -0.65%;
    }

    .rt-section-title {
        font-size: 32px;
    }


}
