@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700;900&display=swap');

/* 기본 설정 */
:root {
    /* 색상 */
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --success-color: #28a745;
    --danger-color: #dc3545;
    
    /* 레이아웃 */
    --header-height: 80px;
    --container-padding: 20px;
    --container-width: 1200px;
    
    /* 그림자 */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    
    /* 테두리 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
}

/* 뷰포트 설정 */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

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

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 var(--container-padding);
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000000;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
}

.header-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px !important;
    height: 40px !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
}

/* 애니메이션 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInOut1 {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes slideInOut2 {
    0%, 100% {
        opacity: 0;
        transform: translateX(100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-100px);
    }
}

/* 반응형 스타일 */
@media screen and (max-width: 1024px) {
    :root {
        --header-height: 70px;
        --container-padding: 15px;
    }
    
    html {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 60px;
        --container-padding: 12px;
    }
    
    html {
        font-size: 14px;
    }

    .header-content {
        gap: 10px;
    }

    .logo img {
        height: 32px;
    }

    .header-description {
        display: none;
    }

    .download-btn {
        height: 36px !important;
        padding: 0 15px !important;
        font-size: 0.85rem !important;
    }

    .p-button {
        height: 48px;
        font-size: 0.9rem;
    }

    .p-button__left {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .hero-text .hero-title {
        font-size: clamp(2.8rem, 7vw, 4rem);
    }
}

@media screen and (max-width: 480px) {
    :root {
        --header-height: 50px;
        --container-padding: 10px;
    }
    
    html {
        font-size: 13px;
    }

    .header-content {
        gap: 8px;
    }

    .logo img {
        height: 28px;
    }

    .header-description {
        font-size: 0.8rem;
    }

    .download-btn {
        height: 32px !important;
        padding: 0 12px !important;
        font-size: 0.8rem !important;
    }

    .p-button {
        height: 40px;
        font-size: 0.85rem;
    }

    .p-button__left {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .hero-text .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
}

/* 기존 애니메이션 유지 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInOut1 {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes slideInOut2 {
    0%, 100% {
        opacity: 0;
        transform: translateX(100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-100px);
    }
}

/* 기존 레이아웃 스타일 유지 */
header h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 900;
}

header p {
    font-size: 1.2em;
    color: #7f8c8d;
}

#hero {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: left;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-text .animated-text {
    position: relative;
    display: inline-block;
    min-width: 500px;
    line-height: 1;
    margin-bottom: 50px;
    margin-top: 20px;
}

.hero-text .animated-text .text-1,
.hero-text .animated-text .text-2 {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    animation: textSwap 6s infinite;
    width: 100%;
    white-space: nowrap;
    line-height: 1;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
}

.hero-text .animated-text .text-1 {
    animation-delay: 0s;
}

.hero-text .animated-text .text-2 {
    animation-delay: 3s;
}

.hero-text .cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
}

.hero-text .no-signup {
    font-size: 1rem;
    color: #777;
    margin-top: 15px;
    text-align: center;
}

.hero-image {
    flex-basis: 40%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    mix-blend-mode: multiply;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.cta-buttons a {
    padding: 15px 20px;
    margin: 10px 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.app-store-btn {
    background-color: #007aff; /* Apple Blue */
    color: white;
}

.app-store-btn:hover {
    background-color: #005bb5;
}

.google-play-btn {
    background-color: #4CAF50; /* Google Green */
    color: white;
}

.google-play-btn:hover {
    background-color: #3e8e41;
}

section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.8em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

section p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#why-traiding {
    background-color: #e9f5ff; /* 연한 하늘색 배경 */
}

#why-traiding .bold {
    font-weight: 700;
}

#why-traiding .highlight-green {
    color: #27ae60;
    font-weight: 700;
}

#ask-anything {
    background-color: #ffffff;
    padding: 80px 0;
}

.ask-anything-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.questions-left, .questions-right {
    flex: 1;
    max-width: 400px;
}

.questions-left ul, .questions-right ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-screenshot {
    flex: 1;
    max-width: 400px;
    padding: 0 20px;
    animation: smoothFadeUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.app-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.app-screenshot img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.questions-left li, .questions-right li {
    background: rgba(17, 17, 17, 0.95);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1em;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: smoothFadeUp 0.8s ease-out forwards;
}

/* 왼쪽 질문들 애니메이션 */
.questions-left li:nth-child(1) {
    animation-delay: 0.1s;
}

.questions-left li:nth-child(2) {
    animation-delay: 0.2s;
}

.questions-left li:nth-child(3) {
    animation-delay: 0.3s;
}

.questions-left li:nth-child(4) {
    animation-delay: 0.4s;
}

/* 오른쪽 질문들 애니메이션 */
.questions-right li:nth-child(1) {
    animation-delay: 0.5s;
}

.questions-right li:nth-child(2) {
    animation-delay: 0.6s;
}

.questions-right li:nth-child(3) {
    animation-delay: 0.7s;
}

.questions-left li:hover, .questions-right li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: rgba(22, 22, 22, 0.98);
    border-color: rgba(255, 255, 255, 0.2);
    animation: subtleFloat 2s ease-in-out infinite;
}

@media (max-width: 1200px) {
    .questions-left, .questions-right {
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .ask-anything-content {
        flex-direction: column;
    }

    .questions-left, .questions-right {
        max-width: 100%;
        width: 100%;
    }

    .app-screenshot {
        order: -1;
        margin: 30px 0;
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .questions-left li, .questions-right li {
        padding: 14px 20px;
        font-size: 1em;
    }

    .questions-left ul, .questions-right ul {
        gap: 15px;
    }

    body {
        padding-top: 80px;
    }

    .container { width: 95%; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .main-nav {
        display: none; /* Hide for mobile */
        position: absolute;
        top: 100%; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
    }
    .main-nav.active { display: block; } /* Show when active */

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .main-nav ul li { width: 100%; text-align: center;}
    .main-nav a {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
    }
    .main-nav a::after { display: none; } /* Remove underline for mobile nav items */

    .mobile-menu-btn { display: block; } /* Show hamburger */

    .hero-section { padding-top: 7rem; padding-bottom: 4rem; }
    .hero-image-container { max-width: 350px; }
    .app-buttons img { height: 40px; }

    .feature-grid { grid-template-columns: 1fr; }
    .app-screens-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .app-screen-img, .app-screen-img:nth-child(2) { max-height: 350px; }

    .no-signup {
        text-align: center;
    }
}

#features {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

#recommended {
    padding: 60px 0;
    background-color: var(--white);
}

.recommended-list {
    margin-top: 40px;
}

.recommended-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.recommended-item:hover {
    background: #e8f4fd;
}

.check-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--success-color);
}

.recommended-item span:last-child {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

#why-special {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.special-features {
    margin-top: 40px;
}

.special-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.special-item:hover {
    transform: translateY(-3px);
}

.special-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.special-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

#hashtags {
    padding: 60px 0;
    background-color: var(--white);
}

.hashtag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.hashtag {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hashtag:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-basis: calc(50% - 40px); /* 2열 레이아웃 */
    text-align: left;
}

.feature-item svg, .feature-item span { /* 아이콘 또는 이모지 스타일 */
    font-size: 2.5em; /* 아이콘 크기 */
    color: #3498db; /* 아이콘 색상 */
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
    text-align: left; /* 각 항목 내 p 태그 왼쪽 정렬 */
}

#try-now {
    background-color: #3498db; /* 메인 CTA 배경색 */
    color: white;
}

#try-now h2 {
    color: white;
}

#try-now p {
    color: #f0f0f0;
}

#try-now .app-store-btn {
    background-color: #ffffff;
    color: #007aff;
}
#try-now .app-store-btn:hover {
    background-color: #e6e6e6;
}

#try-now .google-play-btn {
    background-color: #ffffff;
    color: #4CAF50;
}
#try-now .google-play-btn:hover {
    background-color: #e6e6e6;
}


footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links a:visited {
    color: #ffffff;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    #hero .container {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .hero-text {
        margin-bottom: 20px;
        text-align: left;
    }

    .hero-text .hero-title {
        font-size: clamp(2.8rem, 7vw, 4rem);
        text-align: left;
    }

    .hero-text .animated-text {
        min-width: 400px;
        margin-bottom: 50px;
        margin-top: 20px;
    }

    .hero-text .animated-text .text-1,
    .hero-text .animated-text .text-2 {
        font-size: clamp(2.5rem, 7vw, 3.8rem);
    }

    .hero-text .cta-buttons {
        justify-content: center;
    }

    .hero-text .no-signup {
        text-align: center;
    }

    .hero-image {
        margin-top: 30px; /* 모바일에서 이미지 상단 여백 추가 */
    }

    .feature-item {
        flex-basis: 100%; /* 모바일에서는 1열 */
    }

    section h2 {
        font-size: 2.2em;
    }

    section p {
        font-size: 1.1em;
    }

    .example-questions ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .example-questions li {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .cta-buttons {
        text-align: left;
    }

    .no-signup {
        text-align: center;
    }
}

/* 바운스 애니메이션 키프레임 정의 */
@keyframes bounce1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes bounce2 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes bounce3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}

@keyframes bounce4 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-25px) rotate(-1deg); }
}

@keyframes bounce5 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.03); }
}

@keyframes bounce6 {
    0%, 100% { transform: translateY(0) rotate(-0.5deg); }
    50% { transform: translateY(-15px) rotate(0.5deg); }
}

@keyframes bounce7 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-22px) scale(1.01); }
}

/* 부드러운 페이드 업 애니메이션 */
@keyframes smoothFadeUp {
    0% { 
        transform: translateY(10px);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* 부드러운 호버 효과를 위한 키프레임 */
@keyframes subtleFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

.chat-bubbles {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.bubble-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    position: relative;
    height: 250px;
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 1.1em;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    position: absolute;
    text-align: left;
}

/* 첫 번째 그룹 애니메이션 */
.chat-bubble:nth-child(1) {
    animation: slideInOut1 8s infinite;
    top: 0;
    width: 85%;
}

.chat-bubble:nth-child(2) {
    animation: slideInOut1 8s infinite 0.5s;
    top: 70px;
    width: 75%;
}

.chat-bubble:nth-child(3) {
    animation: slideInOut1 8s infinite 1s;
    top: 140px;
    width: 80%;
}

/* 두 번째 그룹 애니메이션 */
.chat-bubble:nth-child(4) {
    animation: slideInOut2 8s infinite 4s;
    top: 0;
    width: 80%;
}

.chat-bubble:nth-child(5) {
    animation: slideInOut2 8s infinite 4.5s;
    top: 70px;
    width: 70%;
}

.chat-bubble:nth-child(6) {
    animation: slideInOut2 8s infinite 5s;
    top: 140px;
    width: 85%;
}

@keyframes slideInOut1 {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes slideInOut2 {
    0%, 100% {
        opacity: 0;
        transform: translateX(100px);
    }
    5%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-100px);
    }
}

.chat-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.4em;
    color: #555;
    margin: 30px 0;
    line-height: 1.6;
    animation: subtleFade 3s ease-in-out infinite;
    animation-delay: 1.4s;
}

@keyframes subtleFade {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .bubble-container {
        gap: 8px;
    }

    .chat-bubble {
        padding: 10px 16px;
        font-size: 1em;
    }

    .subtitle {
        font-size: 1.2em;
        margin: 20px 0;
    }
}

#comparison {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.comparison-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
}

.comparison-item {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.comparison-item h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 20px 0;
    font-weight: 700;
    text-align: center;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.comparison-item li {
    padding: 12px 0;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    line-height: 1.4;
}

.comparison-item li:last-child {
    border-bottom: none;
}

.comparison-item.chatgpt li::before {
    content: "";
    margin-right: 10px;
    flex-shrink: 0;
}

.comparison-item.traiding li::before {
    content: "";
    margin-right: 10px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 1.2em;
    color: #3498db;
    line-height: 1.6;
    margin: 20px auto 40px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
}

@media (max-width: 768px) {
    .highlight-text {
        font-size: 1.1em;
        padding: 12px;
        margin: 15px auto 30px;
    }
}

@media (max-width: 480px) {
    .highlight-text {
        font-size: 0.9em;
        padding: 10px;
        margin: 10px auto 20px;
    }
}

@media (max-width: 992px) {
    .comparison-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .comparison-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    #comparison {
        padding: 60px 0;
    }

    .comparison-item h3 {
        font-size: 1.5em;
    }

    .comparison-item li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .comparison-wrapper {
        flex-direction: row;
        gap: 10px;
    }

    .comparison-item {
        padding: 15px;
    }

    .comparison-item h3 {
        font-size: 1.2em;
    }

    .comparison-item li {
        font-size: 0.9em;
        padding: 8px 0;
    }
}

.feature-section {
    padding: 100px 0;
    background: #fff;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.feature-section:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-section:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-section:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-section:nth-child(4) {
    animation-delay: 0.8s;
}

.feature-section:nth-child(even) {
    background: #f8f9fa;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.3s;
}

.feature-text p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
    max-width: 1200px;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-image {
    flex: 1;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-image:hover img {
    transform: translateY(-10px);
}

/* 애니메이션 효과 */
.feature-text {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s ease forwards;
}

.feature-section.reverse .feature-text {
    transform: translateX(30px);
}

.feature-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.8s ease forwards 0.2s;
}

.feature-section.reverse .feature-image {
    transform: translateX(-30px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .feature-section {
        padding: 60px 0;
    }

    .feature-content {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }

    .feature-section.reverse .feature-content {
        flex-direction: column-reverse;
    }

    .feature-text h2 {
        font-size: 2em;
    }

    .feature-text p {
        font-size: 1.1em;
    }

    .feature-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 40px 0;
    }

    .feature-content {
        gap: 30px;
    }

    .feature-text h2 {
        font-size: 1.8em;
    }

    .feature-text p {
        font-size: 1em;
    }
}

.store-btn {
    display: inline-block;
    margin: 10px 5px;
    transition: transform 0.3s ease;
}

.store-btn img {
    height: 100px;
    width: auto;
}

.store-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .store-btn img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .store-btn {
        margin: 0;
    }
}

.store-button {
    align-items: center;
    appearance: none;
    background-color: rgba(0, 12, 30, 0.8);
    background-image: none;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: 7px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: flex;
    font-family: "Toss Product Sans", Tossface, -apple-system, "system-ui", "Bazier Square", "Noto Sans KR", "Segoe UI", "Apple SD Gothic Neo", Roboto, "Noto Sans KR", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 17px;
    font-weight: 600;
    height: 46px;
    justify-content: center;
    line-height: 18px;
    margin: 0 4px 0 0;
    overflow-wrap: break-word;
    padding: 11px 16px 11px 14px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-size-adjust: 100%;
    transition: background 0.2s ease, color 0.1s ease;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    width: 138.891px;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.store-button:hover {
    background-color: rgba(0, 12, 30, 0.9);
}

@media (max-width: 768px) {
    .store-button {
        font-size: 15px;
        height: 42px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
    }

    .store-button {
        margin: 0;
    }
}

.p-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: rgb(18, 28, 45);
    border: none;
    border-radius: 12px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    height: 56px;
    width: 200px;
    padding: 0 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    user-select: none;
    backdrop-filter: blur(10px);
}

.p-button:has(img[src*="applestore"]) {
    padding: 0 30px;
}

.p-button:hover {
    background-color: rgba(18, 28, 45, 0.9);
    transform: translateY(-2px);
}

.p-button__left {
    display: flex;
    align-items: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.p-button span {
    display: flex;
    align-items: center;
    height: 100%;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .p-button {
        font-size: 18px;
        height: 48px;
        width: 180px;
        padding: 0 20px;
    }

    .p-button__left {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
    }

    .p-button {
        width: 180px;
        height: 44px;
        font-size: 0.9rem;
        padding: 0 12px;
    }

    .p-button__left {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

    .hero-text .cta-buttons {
        justify-content: flex-start;
    }
}

.download-btn {
    width: 120px !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}


@media (max-width: 768px) {
    .download-btn {
        width: 100px !important;
        height: 36px !important;
    }
    
    .download-btn span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .download-btn {
        width: 90px !important;
        height: 32px !important;
    }
    
    .download-btn span {
        font-size: 13px;
    }
}

.animated-text {
    position: relative;
    display: inline-block;
    min-width: 500px;
    line-height: 1;
    margin-bottom: 50px;
}

.animated-text .text-1,
.animated-text .text-2 {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    animation: textSwap 6s infinite;  /* 애니메이션 시간 증가 */
    width: 100%;
    white-space: nowrap;
    line-height: 1;
    transition: all 0.3s ease;  /* 부드러운 전환 효과 */
}

.animated-text .text-1 {
    animation-delay: 0s;
}

.animated-text .text-2 {
    animation-delay: 3s;  /* 딜레이 시간 조정 */
}

@keyframes textSwap {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    45% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .chat-bubbles {
        top: 35%;
    }

    .chat-bubble:nth-child(1) {
        top: 0;
    }

    .chat-bubble:nth-child(2) {
        top: 55px;
    }

    .chat-bubble:nth-child(3) {
        top: 110px;
    }

    .chat-bubble:nth-child(4) {
        top: 0;
    }

    .chat-bubble:nth-child(5) {
        top: 55px;
    }

    .chat-bubble:nth-child(6) {
        top: 110px;
    }
}

.comparison-item.traiding li {
    padding: 12px 0;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 500px;
    height: 67.48px;
}

@media (max-width: 992px) {
    .comparison-item.traiding li {
        width: 100%;
        height: auto;
    }
}

/* 스크롤 애니메이션 관련 코드 제거 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* 각 섹션별 애니메이션 딜레이 */
#comparison.fade-in { transition-delay: 0.2s; }
#why-traiding.fade-in { transition-delay: 0.3s; }
.feature-section.fade-in { transition-delay: 0.4s; }
#try-now.fade-in { transition-delay: 0.5s; }

.comparison-item.chatgpt li {
    padding: 12px 0;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    line-height: 1.4;
    width: 500px;
    height: 67.46px;
}

@media (max-width: 992px) {
    .comparison-item.chatgpt li {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero-text .animated-text .text-1,
    .hero-text .animated-text .text-2 {
        font-size: clamp(2.5rem, 7vw, 3.8rem);
    }
}

@media (max-width: 480px) {
    .hero-text .animated-text .text-1,
    .hero-text .animated-text .text-2 {
        font-size: clamp(2.3rem, 8vw, 3.3rem);
    }
}

.hero-text .animated-text {
    position: relative;
    display: inline-block;
    min-width: 500px;
    line-height: 1;
    margin-bottom: 50px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hero-text .animated-text {
        min-width: 400px;
        margin-bottom: 50px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text .animated-text {
        min-width: 300px;
        margin-bottom: 50px;
        margin-top: 20px;
    }
}

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

.terms-container h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.terms-container .effective-date {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.terms-container .disclaimer {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.terms-container .disclaimer p {
    margin-bottom: 10px;
}

.terms-container .disclaimer p:last-child {
    margin-bottom: 0;
}

.terms-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-section h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 40px 0 20px;
}

.terms-section h2:first-child {
    margin-top: 0;
}

.terms-section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.terms-section ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 20px;
}

.terms-section ul li {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.terms-section ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .terms-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .terms-container h1 {
        font-size: 2em;
    }

    .terms-section {
        padding: 25px;
    }

    .terms-section h2 {
        font-size: 1.5em;
        margin: 30px 0 15px;
    }

    .terms-section p,
    .terms-section ul li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .terms-container {
        margin: 15px auto;
        padding: 0 10px;
    }

    .terms-container h1 {
        font-size: 1.8em;
    }

    .terms-section {
        padding: 20px;
    }

    .terms-section h2 {
        font-size: 1.3em;
        margin: 25px 0 12px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-option {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: white;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-option:hover {
    border-color: #3498db;
    color: #3498db;
}

.lang-option.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

@media (max-width: 768px) {
    .language-select {
        gap: 8px;
    }
    
    .lang-option {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .language-select {
        gap: 6px;
    }
    
    .lang-option {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: white;
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 40px;
    width: 120px;
}

.language-dropdown-btn:hover {
    border-color: #3498db;
    transform: translateY(-2px);
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.3s ease;
    color: #333;
}

.language-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-option:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

@media (max-width: 768px) {
    .language-dropdown-btn {
        width: 100px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .language-dropdown-btn {
        width: 90px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 400px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }

    .hero-text .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-text .animated-text {
        min-width: 280px;
        margin-bottom: 30px;
        margin-top: 15px;
    }

    .hero-text .animated-text .text-1,
    .hero-text .animated-text .text-2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        font-size: 0.85rem;
    }

    .p-button {
        width: 100%;
        height: 40px;
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .p-button__left {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }

    .store-btn img {
        height: 35px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 90%;
    }
} 

/* 실시간 검색어 섹션 스타일 */
.trending-section {
    flex-basis: 40%;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 25px;
    margin-left: 20px;
    max-width: 450px;
    position: relative;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.trending-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.trending-section.loading {
    opacity: 0.7;
}

.trending-section.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.trending-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}





.update-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.refresh-btn {
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.refresh-btn:hover {
    background: rgba(52, 152, 219, 1);
    transform: scale(1.1);
}

.refresh-btn:active {
    transform: scale(0.95);
}

.refresh-btn span {
    transition: transform 0.5s ease;
}

.trending-container {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.trending-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trending-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.trending-item:nth-child(1) { animation-delay: 0.1s; }
.trending-item:nth-child(2) { animation-delay: 0.2s; }
.trending-item:nth-child(3) { animation-delay: 0.3s; }
.trending-item:nth-child(4) { animation-delay: 0.4s; }
.trending-item:nth-child(5) { animation-delay: 0.5s; }
.trending-item:nth-child(6) { animation-delay: 0.6s; }
.trending-item:nth-child(7) { animation-delay: 0.7s; }
.trending-item:nth-child(8) { animation-delay: 0.8s; }
.trending-item:nth-child(9) { animation-delay: 0.9s; }
.trending-item:nth-child(10) { animation-delay: 1.0s; }

.trending-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trending-item .rank {
    font-size: 1rem;
    font-weight: 700;
    min-width: 20px;
    margin-right: 10px;
}

.trending-item .keyword {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin-right: 8px;
}

.trending-item .keyword-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex: 1;
    transition: all 0.3s ease;
}

.trending-item .keyword-link:hover {
    color: #3498db;
    transform: translateX(2px);
}

.trending-item .trend-arrow {
    font-size: 1rem;
    font-weight: 700;
    color: #2ecc71;
    min-width: 16px;
    text-align: center;
}

/* 순위별 색상 - 1,2,3위는 파란색, 4~6위는 회색 */
.trending-item[data-rank="1"] .rank {
    color: #3498db;
    font-size: 1.1rem;
}

.trending-item[data-rank="2"] .rank {
    color: #3498db;
    font-size: 1.05rem;
}

.trending-item[data-rank="3"] .rank {
    color: #3498db;
    font-size: 1rem;
}

.trending-item[data-rank="4"] .rank,
.trending-item[data-rank="5"] .rank,
.trending-item[data-rank="6"] .rank {
    color: #95a5a6;
}

.trending-item[data-rank="7"] .rank,
.trending-item[data-rank="8"] .rank,
.trending-item[data-rank="9"] .rank,
.trending-item[data-rank="10"] .rank {
    color: #bdc3c7;
}

.trending-note {
    margin-top: 15px;
    text-align: center;
}

.trending-note p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .trending-section {
        margin-left: 0;
        margin-top: 30px;
        max-width: 100%;
    }
    
    .trending-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 0 !important;
    }
    
    .hero-text {
        margin: 0 !important;
    }
    
    .trending-section {
        padding: 20px;
        margin: 0 !important;
        width: 80vw !important;
        max-width: 80vw !important;
        flex-basis: 80vw !important;
    }
    
    .trending-header h2 {
        font-size: 1.5rem;
        color: #ffffff;
    }
    

    
    .update-time {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .trending-container {
        gap: 10px;
    }
    
    .trending-item {
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .trending-item .rank {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .trending-item .keyword {
        font-size: 0.9rem;
        color: #ffffff;
    }
    
    .trending-item .trend-arrow {
        font-size: 1.1rem;
        color: #2ecc71;
    }
}

@media (max-width: 480px) {
    .trending-section {
        padding: 15px;
        width: 80vw !important;
        max-width: 80vw !important;
        flex-basis: 80vw !important;
    }
    
    .trending-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .trending-header h2 {
        font-size: 1.3rem;
        color: #ffffff;
    }
    
    .header-controls {
        width: 100%;
        justify-content: space-between;
    }
    

    

    
    .update-time {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .refresh-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        background: rgba(52, 152, 219, 0.8);
    }
    
    .trending-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .trending-column {
        gap: 8px;
    }
    
    .trending-item {
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .trending-item .rank {
        font-size: 0.9rem;
        margin-right: 8px;
    }
    
    .trending-item .keyword {
        font-size: 0.85rem;
        color: #ffffff;
    }
    
    .trending-item .trend-arrow {
        font-size: 1rem;
        color: #2ecc71;
    }
}

/* 앱 스크린샷 섹션 스타일 */
#app-screenshot {
    padding: 80px 0;
    background: white;
    color: #333;
}

.screenshot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.app-screenshot {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.screenshot-description {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    #app-screenshot {
        padding: 60px 0;
    }
    
    #app-screenshot h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .app-screenshot {
        max-width: 300px;
        border-radius: 15px;
    }
    
    .screenshot-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    #app-screenshot {
        padding: 40px 0;
    }
    
    #app-screenshot h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .app-screenshot {
        max-width: 250px;
        border-radius: 12px;
    }
    
    .screenshot-description {
        font-size: 0.9rem;
        padding: 0 15px;
    }
} 