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

:root {
    --primary: #1d1d1f;
    --secondary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --background: #ffffff;
    --surface: #ffffff;
    --surface-secondary: #f5f5f7;
    --border: #d2d2d7;
    --error: #ff3b30;
    --success: #34c759;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, #8b9cf4 0%, #a78bda 100%);
    --gradient-primary-dark: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
    --gradient-green: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Pages */
.page {
    min-height: 100vh;
}

/* ================================
   LANDING PAGE
   ================================ */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-logo {
    font-size: 24px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo img {
    height: 40px;
    width: auto;   /* 가로 비율은 자동으로 유지 */
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface-secondary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Hero Title Group */
.hero-title-group {
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-title-line {
    font-size: clamp(44px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Elements - 자연스럽게 흩어진 배치 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 질문 버블 - Glassmorphism */
.float-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    opacity: 0;
}

.bubble-icon {
    font-size: 16px;
}

.float-bubble.bubble-1 {
    top: 28%;
    left:20%;
    animation: floatIn 0.8s ease-out 0.5s forwards;
    /*animation: floatIn 0.8s ease-out 0.3s forwards, gentleFloat 6s ease-in-out 1.1s infinite;*/
}

.float-bubble.bubble-2 {
    top: 35%;
    left: 23%;
    animation: floatIn 0.8s ease-out 1s forwards;
    /*animation: floatIn 0.8s ease-out 0.5s forwards, gentleFloat 6s ease-in-out 1.3s infinite;*/
    /*animation-delay: 0.5s, 1.5s;*/
}

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

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

/* 솔루션 카드 - 세련된 디자인 */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    opacity: 0.9;
}

.card-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.card-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.card-icon.green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.float-card.card-1 {
    top: 33%;
    left: 85%;
    animation: cardSlideIn 0.7s ease-out 0.7s forwards, cardFloat 5s ease-in-out 1.4s infinite;
}

.float-card.card-2 {
    top: 40%;
    left: 85%;
    animation: cardSlideIn 0.9s ease-out 0.9s forwards, cardFloat 5s ease-in-out 1.6s infinite;
}

.float-card.card-3 {
    top: 30%;
    left: 75%;
    animation: cardBlink 4s ease-out 2.0s infinite;
    /*animation: cardSlideIn 1.1s ease-out 1.1s forwards, cardFloat 5s ease-in-out 1.8s infinite;*/
}
@keyframes cardBlink {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }
  10% {
    opacity: 0.9; /* 나타나는 시점 */
    transform: translateX(0) scale(1);
  }
  60% {
    opacity: 0.9; /* 2초 유지 */
    transform: translateX(0) scale(1);
  }
  70% {
    opacity: 0; /* 사라지기 시작 */
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(0) scale(1);
  }
  }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 0.9;
        transform: translateX(0) scale(1);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.5;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

/* App Preview Mockup */
.hero-visual {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-40%);
    pointer-events: none;
    z-index: 0;
}

/* Chat Bubbles - 말풍선 */
.chat-bubbles {
    position: absolute;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 200px;
}

.chat-bubble {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* 말풍선 꼬리 */
.chat-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
}

.chat-bubble.bubble-question {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
}

.chat-bubble.bubble-question::after {
    border-left-color: #fde68a;
}

.chat-bubble.bubble-1 {
    top: 15%;
    right: 0;
    animation: floatBubble 5s ease-in-out infinite;
}

.chat-bubble.bubble-2 {
    top: 45%;
    right: 20px;
    animation: floatBubble 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.chat-bubble.bubble-3 {
    top: 75%;
    right: -10px;
    animation: floatBubble 5s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px) scale(1.02);
        opacity: 0.9;
    }
}

/* Info Cards - 정보 카드 */
.info-cards {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    white-space: nowrap;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.info-card-icon.purple {
    background: var(--gradient-purple);
}

.info-card-icon.green {
    background: var(--gradient-green);
}

.info-card.card-location {
    animation: slideInCard 0.6s ease-out forwards, floatCard 4s ease-in-out infinite;
    animation-delay: 0.2s, 0.8s;
    opacity: 0;
}

.info-card.card-time {
    animation: slideInCard 0.6s ease-out forwards, floatCard 4s ease-in-out infinite;
    animation-delay: 0.4s, 1s;
    opacity: 0;
    margin-left: 20px;
}

.info-card.card-members {
    animation: slideInCard 0.6s ease-out forwards, floatCard 4s ease-in-out infinite;
    animation-delay: 0.6s, 1.2s;
    opacity: 0;
}

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

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.app-preview {
    width: 320px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: floatPreview 6s ease-in-out infinite;
}

@keyframes floatPreview {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
}

.preview-title {
    font-weight: 600;
    font-size: 15px;
}

.preview-time {
    font-size: 13px;
    opacity: 0.9;
}

.preview-map {
    padding: 16px;
    background: #f0f4f8;
}

.map-placeholder {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 100%);
    border-radius: 12px;
    overflow: hidden;
}

/* 지도 그리드 패턴 */
.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 도로 패턴 */
.map-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255,255,255,0.8);
    transform: translateY(-50%);
}

.map-pin.destination {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ef4444;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.friend-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 5;
}

.friend-marker.marker-1 {
    top: 25%;
    left: 20%;
    animation: moveMarker1 4s ease-in-out infinite;
}

.friend-marker.marker-2 {
    top: 35%;
    right: 25%;
    background: var(--gradient-purple);
    animation: moveMarker2 3s ease-in-out infinite;
}

.friend-marker.marker-3 {
    top: 48%;
    left: 48%;
    background: var(--gradient-green);
}

.friend-marker.arrived {
    animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes moveMarker1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 10px); }
}

@keyframes moveMarker2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 8px); }
}

@keyframes pulse-marker {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Status List */
.status-list {
    padding: 8px 12px 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 6px;
    background: var(--surface-secondary);
    transition: all 0.3s ease;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-item.arrived {
    background: rgba(34, 197, 94, 0.1);
}

.status-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.status-avatar.purple {
    background: var(--gradient-purple);
}

.status-avatar.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.status-avatar.gray {
    background: #9ca3af;
}

.status-info {
    flex: 1;
    min-width: 0;
}

.status-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-text {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.success {
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
}

.status-badge.eta {
    background: var(--gradient-primary);
    color: white;
}

.status-badge.waiting-badge {
    background: #e5e7eb;
    color: #6b7280;
}

/* Features Section */
.features-section {
    padding: 120px 24px;
    background: var(--surface-secondary);
}

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

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

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: white;
    margin: 0 auto 24px;
}

.feature-icon.purple {
    background: var(--gradient-purple);
}

.feature-icon.green {
    background: var(--gradient-green);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Footer */
.landing-footer {
    padding: 60px 24px 40px;
    background: var(--text-primary);
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    gap: 64px;
}

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

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-column a:hover {
    color: white;
}

.footer-column a svg {
    opacity: 0.7;
}

.footer-column a:hover svg {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
}

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

.footer-author {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    /*transition: all 0.2s ease;*/
     transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-text {
    background: none;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-icon {
    background: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.btn-icon:hover {
    color: var(--accent);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.header-logo {
    font-size: 28px;
    font-weight: 400;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-title {
    font-size: 16px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Content */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

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

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
}

/* Meeting List */
.meeting-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meeting-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.meeting-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.meeting-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meeting-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.meeting-card-meta svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Detail Page */
.detail-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.detail-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.detail-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

.detail-info {
    padding: 20px 24px;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.detail-info-item:last-child {
    border-bottom: none;
}

.detail-info-icon {
    width: 40px;
    height: 40px;
    background: var(--background);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.detail-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.detail-info-content h4 {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-info-content p {
    font-size: 15px;
    color: var(--text-primary);
}

.detail-users {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.detail-users h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--background);
    border-radius: 20px;
    font-size: 14px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* Form */
.form-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: var(--surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

.modal-content {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    z-index: 2000;
    animation: slideUp 0.3s ease;
}

.toast.error {
    background: var(--error);
}

.toast.success {
    background: var(--success);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Map & Location Search */
.location-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.location-search input {
    flex: 1;
}

.location-search .search-btn {
    background: var(--accent);
    color: white;
    padding: 12px;
    border-radius: var(--radius);
}

.location-search .search-btn:hover {
    background: var(--accent-hover);
    color: white;
}

.search-results {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--background);
}

.search-result-item .place-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.search-result-item .place-address {
    font-size: 12px;
    color: var(--text-secondary);
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.detail-map-container {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
}

.selected-location {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-location::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Add Member Modal */
.modal-lg {
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-actions .btn {
    flex: 1;
}

.modal-actions .btn-secondary {
    background: var(--background);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.modal-actions .btn-secondary:hover {
    background: var(--border);
}

.user-select-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.user-select-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s ease;
}

.user-select-item:last-child {
    border-bottom: none;
}

.user-select-item:hover {
    background: var(--background);
}

.user-select-item.selected {
    background: rgba(0, 149, 246, 0.1);
}

.user-select-item .checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.user-select-item.selected .checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.user-select-item.selected .checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.user-select-item .user-info {
    flex: 1;
    min-width: 0;
}

.user-select-item .user-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-select-item .user-email {
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-users-container {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.selected-users-container h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.selected-users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-user-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent);
    color: white;
    border-radius: 16px;
    font-size: 13px;
}

.selected-user-tag .remove-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.selected-user-tag .remove-btn:hover {
    opacity: 1;
}

.add-member-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 16px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.add-member-btn:hover {
    background: var(--background);
    border-color: var(--accent);
}

.detail-users-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.detail-users-header h3 {
    margin-bottom: 0;
}

/* New Button Styles for Landing */
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: var(--surface-secondary);
    transform: none;
    box-shadow: none;
}

.btn-pill {
    background: var(--text-primary);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
}

.btn-pill:hover {
    background: #000;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-large.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-large.btn-primary:hover {
    background: #000;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--surface-secondary);
    border-color: var(--text-secondary);
}

.btn-white {
    background: white;
    color: var(--text-primary);
}

.btn-white:hover {
    background: var(--surface-secondary);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-visual {
        right: 4%;
    }

    .app-preview {
        width: 280px;
    }
}

@media (max-width: 1400px) {
    .chat-bubbles {
        display: none;
    }

    .info-cards {
        left: -180px;
    }
}

@media (max-width: 1200px) {
    .info-cards {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .floating-elements {
        display: none;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding-left: 24px;
        max-width: 100%;
    }

    .hero-title-group {
        text-align: center;
    }

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

@media (max-width: 640px) {
    .hero-title-line {
        font-size: clamp(36px, 12vw, 52px);
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 12px 20px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .features-section {
        padding: 80px 20px;
    }

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

    .cta-section {
        padding: 80px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-lg {
        max-height: 90vh;
    }

    .feature-card {
        padding: 32px 24px;
    }
}

/* ================================
   MEETING DETAIL - APP PREVIEW STYLE
   ================================ */

.app-preview-detail {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.preview-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--gradient-primary);
    color: white;
}

.preview-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-header-detail .preview-title {
    font-weight: 600;
    font-size: 18px;
}

.preview-header-detail .preview-time {
    font-size: 14px;
    opacity: 0.9;
}

/* D-day Tag Styles */
.dday-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dday-today {
    background: #ef4444;
    color: white;
    animation: pulse-dday 2s ease-in-out infinite;
}

.dday-future {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.dday-past {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.dday-pending {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

@keyframes pulse-dday {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Description */
.preview-description {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--surface-secondary);
    border-bottom: 1px solid var(--border);
}

/* Map in Detail */
.app-preview-detail .preview-map {
    padding: 16px;
    background: #f0f4f8;
}

.detail-map-container-new {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

/* Status List in Detail */
.status-list-detail {
    padding: 16px 20px 20px;
}

.status-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.status-list-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.add-member-btn-small {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-member-btn-small:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Status Item Styles for Detail */
.status-list-detail .status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    background: var(--surface-secondary);
    transition: all 0.3s ease;
}

.status-list-detail .status-item:last-child {
    margin-bottom: 0;
}

.status-list-detail .status-item.arrived {
    background: rgba(34, 197, 94, 0.1);
}

.status-list-detail .status-item.moving {
    background: rgba(102, 126, 234, 0.1);
}

.status-list-detail .status-item.paused {
    background: rgba(251, 191, 36, 0.1);
}

.status-list-detail .status-item.waiting {
    background: var(--surface-secondary);
}

/* Avatar colors */
.status-avatar.green {
    background: var(--gradient-green);
}

/* Status Badge Styles */
.status-badge.paused-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

/* Creator Badge */
.creator-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin-left: 6px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    vertical-align: middle;
}

/* Me Badge - 나 표시 */
.me-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin-left: 6px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    vertical-align: middle;
}

/* 본인 참가자 스타일 */
.status-item.is-me {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* 이동중 유저 수 배지 */
.moving-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive for Detail */
@media (max-width: 480px) {
    .app-preview-detail {
        border-radius: 0;
        box-shadow: none;
    }

    .preview-header-detail {
        padding: 16px 20px;
    }

    .preview-header-left {
        gap: 8px;
    }

    .preview-header-detail .preview-title {
        font-size: 16px;
    }

    .dday-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* ================================
   UNIFIED APP STYLE - HEADERS
   ================================ */

.header-clean {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-pill-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--text-primary);
    color: white;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

.btn-pill-small:hover {
    background: #000;
}

.header-gradient-full {
    background: var(--gradient-primary);
    border-bottom: none;
}

.header-logo-white {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    background-clip: unset;
    color: white;
}

.header-title-white {
    color: white;
}

.btn-white-icon {
    color: white;
}

.btn-white-icon:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.btn-text-white {
    color: rgba(255, 255, 255, 0.9);
}

.btn-text-white:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ================================
   MAIN PAGE - NEW STYLE
   ================================ */

.main-content-new {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px;
}

.section-header-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.section-header-new h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Meeting Tabs */
.meeting-tabs {
    display: flex;
    gap: 4px;
    background: var(--surface-secondary);
    padding: 4px;
    border-radius: 12px;
}

.meeting-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.meeting-tab:hover {
    color: var(--text-primary);
}

.meeting-tab.active {
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.meeting-count {
    padding: 4px 10px;
    background: var(--surface-secondary);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.meeting-list-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Meeting Card - New Style */
.meeting-card-new {
    background: white;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.meeting-card-new:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.meeting-card-header {
    padding: 18px 20px 14px;
}

.meeting-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.meeting-card-new .meeting-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.meeting-card-new .meeting-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meeting-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--surface-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.meeting-card-new .meeting-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.meeting-card-new .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meeting-card-new .meta-item svg {
    color: var(--accent);
}

.meeting-card-arrow {
    color: var(--text-secondary);
}

/* Meeting Card Actions - 리스트 내 액션 버튼 */
.meeting-card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.15);
}

.btn-departure-small {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-departure-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-realtime-small {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-realtime-small:hover {
    background: var(--surface-secondary);
    border-color: var(--accent);
    color: var(--accent);
}

/* D-day Tag Small */
.dday-tag-small {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.dday-tag-small.dday-today {
    background: #ef4444;
    color: white;
}

.dday-tag-small.dday-future {
    background: var(--gradient-primary);
    color: white;
}

.dday-tag-small.dday-past {
    background: #9ca3af;
    color: white;
}

.dday-tag-small.dday-pending {
    background: #e5e7eb;
    color: #6b7280;
}

/* Empty State - New */
.empty-state-new {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
}

.empty-state-new h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-new p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

/* ================================
   DETAIL PAGE - NEW STYLE
   ================================ */

.detail-content-new {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* ================================
   CREATE PAGE - NEW STYLE
   ================================ */

.form-content-new {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px;
}

.create-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.form-section-header svg {
    color: var(--accent);
}

.form-group-new {
    margin-bottom: 12px;
}

.form-group-new:last-child {
    margin-bottom: 0;
}

.form-group-new input,
.form-group-new textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--surface-secondary);
}

.form-group-new input:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
    color: var(--text-secondary);
}

/* Search Box - New */
.search-box-new {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 4px 16px;
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.search-box-new svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.search-box-new input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 0;
    font-size: 15px;
    outline: none;
}

.search-btn-new {
    padding: 10px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn-new:hover {
    opacity: 0.9;
}

/* Search Results - New */
.search-results-new {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Map Container - New */
.map-container-new {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

/* Selected Location - New */
.selected-location-new {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 10px;
}

.selected-location-new:empty {
    display: none;
}

.selected-location-new::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Create Button */
.btn-create {
    margin: 20px 24px 24px;
    width: calc(100% - 48px);
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ================================
   MODAL - NEW APP STYLE
   ================================ */

.modal-app-style {
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    max-width: 420px;
}

.modal-header-gradient {
    background: var(--gradient-primary);
    padding: 32px 32px 28px;
    text-align: center;
    color: white;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.modal-header-gradient h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.modal-header-gradient p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.modal-body {
    padding: 28px 32px;
}

.modal-body .form-group-new {
    margin-bottom: 16px;
}

/* Input with Icon */
.input-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.input-icon-wrapper:focus-within {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.input-icon-wrapper svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.input-icon-wrapper input {
    flex: 1;
    border: none;
    background: none;
    padding: 14px 0;
    font-size: 15px;
    outline: none;
}

/* Gradient Button */
.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-footer-new {
    text-align: center;
    padding: 0 32px 28px;
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-footer-new a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer-new a:hover {
    text-decoration: underline;
}

/* Modal Actions - New */
.modal-actions-new {
    display: flex;
    gap: 12px;
    padding: 20px 32px 28px;
    border-top: 1px solid var(--border);
}

.modal-actions-new .btn {
    flex: 1;
    padding: 14px;
}

.btn-cancel {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: var(--border);
}

/* Add Member Modal - Layout Fix */
#add-member-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

#add-member-modal .modal-header-gradient {
    flex-shrink: 0;
    padding: 24px 32px 20px;
}

#add-member-modal .modal-header-gradient .modal-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}

#add-member-modal .modal-header-gradient h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

#add-member-modal .modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

#add-member-modal .search-box-new {
    flex-shrink: 0;
}

#add-member-modal .modal-actions-new {
    flex-shrink: 0;
}

/* User Select List - New */
.user-select-list-new {
    max-height: 200px;
    min-height: 80px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    flex: 1;
    min-height: 0;
}

/* Selected Users Container - Fixed at bottom */
#add-member-modal .selected-users-container-new {
    flex-shrink: 0;
    max-height: 100px;
    overflow-y: auto;
}

.user-select-list-new .user-select-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-select-list-new .user-select-item:last-child {
    border-bottom: none;
}

.user-select-list-new .user-select-item:hover {
    background: var(--surface-secondary);
}

.user-select-list-new .user-select-item.selected {
    background: rgba(102, 126, 234, 0.1);
}

.user-select-list-new .checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.user-select-list-new .user-select-item.selected .checkbox {
    background: var(--gradient-primary);
    border-color: transparent;
}

.user-select-list-new .user-select-item.selected .checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.user-select-list-new .status-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-right: 12px;
}

.user-select-list-new .user-info {
    flex: 1;
    min-width: 0;
}

.user-select-list-new .user-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-select-list-new .user-email {
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Selected Users Container - New */
.selected-users-container-new {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.selected-users-container-new h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

/* ================================
   RESPONSIVE - NEW STYLES
   ================================ */

@media (max-width: 480px) {
    .main-content-new {
        padding: 20px 16px;
    }

    .meeting-card-header {
        padding: 16px 18px 12px;
    }

    .meeting-card-footer {
        padding: 10px 18px;
    }

    .form-content-new {
        padding: 20px 16px;
    }

    .create-form-card {
        border-radius: 16px;
    }

    .form-section {
        padding: 18px 20px;
    }

    .btn-create {
        margin: 18px 20px 20px;
        width: calc(100% - 40px);
    }

    .modal-app-style {
        border-radius: 20px;
        margin: 16px;
    }

    .modal-header-gradient {
        padding: 28px 24px 24px;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-actions-new {
        padding: 18px 24px 24px;
    }

    .modal-footer-new {
        padding: 0 24px 24px;
    }
}

/* ================================
   REALTIME LOCATION PAGE
   ================================ */

/* Connection Status */
.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.connection-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}

.connection-status.connected .status-dot {
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

.connection-status.disconnected .status-dot {
    background: #ef4444;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Realtime Content */
.realtime-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
}

.realtime-map-container {
    flex: 1;
    min-height: 300px;
}

/* Realtime Member List */
.realtime-member-list {
    background: white;
    border-top: 1px solid var(--border);
    padding: 16px;
    max-height: 40vh;
    overflow-y: auto;
}

.realtime-member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: var(--surface-secondary);
    transition: all 0.2s ease;
}

.realtime-member-item:last-child {
    margin-bottom: 0;
}

.realtime-member-item.current-user {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.realtime-member-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.realtime-member-info {
    flex: 1;
    min-width: 0;
}

.realtime-member-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.realtime-member-status {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.realtime-member-distance {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    min-width: 60px;
    text-align: right;
}

/* Departure Control */
.departure-control {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.btn-departure {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-departure:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Map Markers */
.destination-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}

.realtime-member-marker {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.realtime-member-marker.current-user {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    animation: pulse-marker 2s ease-in-out infinite;
}

/* Detail Action Buttons */
.detail-action-buttons {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface-secondary);
    border-bottom: 1px solid var(--border);
}

.btn-departure-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-departure-main:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-realtime {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-realtime:hover {
    background: var(--surface-secondary);
    border-color: var(--accent);
    color: var(--accent);
}

/* Transport Selection Modal */
.modal-sm {
    max-width: 360px;
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 24px !important;
}

.transport-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--surface-secondary);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.transport-option:hover {
    background: white;
    border-color: var(--accent);
}

.transport-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.transport-option:hover .transport-icon {
    background: var(--gradient-primary);
    color: white;
}

.transport-option span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive for Realtime Page */
@media (max-width: 480px) {
    .realtime-member-list {
        padding: 12px;
    }

    .realtime-member-item {
        padding: 10px;
    }

    .detail-action-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }

    .departure-control {
        padding: 14px 16px;
    }
}

/* ================================
   LOAD MORE BUTTON
   ================================ */

.btn-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover:not(:disabled) {
    background: white;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-load-more:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ================================
   TYPING ANIMATION
   ================================ */

.typing-text {
    overflow: hidden;
    white-space: nowrap;
}

.typing-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charReveal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

/* ================================
   SCROLL FADE ANIMATION (Apple Style)
   ================================ */

.scroll-fade {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Feature cards stagger effect */
.feature-card.scroll-fade {
    transition-delay: var(--delay, 0ms);
}

/* Smooth scale effect for cards */
.feature-card.scroll-fade.visible {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: var(--delay, 0ms);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}