
    /* Reset & Base Styles */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    :root {
      --primary: #bc4b21;
      --primary-hover: #9c3a17;
      --primary-light: #fbeadd;
      --secondary: #1e5b55;
      --accent: #d97706;
      --success: #2f7d4f;
      --danger: #c2410c;
      --bg: #faf6ee;
      --card-bg: #fffdf8;
      --text-main: #231a13;
      --text-muted: #7d7163;
      --border: #e9dfcb;
      --border-focus: #bc4b21;
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
      --radius-sm: 6px;
      --radius: 12px;
      --radius-lg: 18px;
      --radius-full: 9999px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
      background-color: var(--bg);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input, select, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    /* Layout Container */
    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Navigation */
    header {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
      transition: all 0.3s;
    }

    .nav-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 1.35rem;
      color: var(--primary);
      letter-spacing: -0.5px;
      cursor: pointer;
    }

    .brand .logo-icon {
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, #0284c7, #0f766e);
      color: white;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 10px rgba(2, 132, 199, 0.28);
    }

    .brand span.domain {
      font-weight: 400;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-left: 2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
    }

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

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 9px 18px;
      font-weight: 600;
      font-size: 0.95rem;
      border-radius: var(--radius);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      border: 1px solid transparent;
      outline: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, #0284c7, #0369a1);
      color: white;
      box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #0369a1, #075985);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
    }

    .btn-secondary {
      background: white;
      border-color: var(--border);
      color: var(--text-main);
    }

    .btn-secondary:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
    }

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

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

    .btn-sm {
      padding: 6px 12px;
      font-size: 0.85rem;
      border-radius: var(--radius-sm);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: var(--radius-full);
      background: #f1f5f9;
      color: var(--text-muted);
    }

    .badge-primary {
      background: var(--primary-light);
      color: var(--primary);
    }

    .badge-accent {
      background: #fef3c7;
      color: #b45309;
    }

    /* User Profile Chip in Nav */
    .user-profile-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 12px 5px 6px;
      background: #f1f5f9;
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      cursor: pointer;
      transition: all 0.2s;
    }

    .user-profile-badge:hover {
      background: #e2e8f0;
      border-color: #cbd5e1;
    }

    .user-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, #0284c7, #10b981);
      color: white;
      font-size: 0.8rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .user-name-text {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-main);
    }

    /* Hero Section */
    .hero {
      position: relative;
      padding: 60px 0 40px;
      overflow: hidden;
      background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, rgba(15, 118, 110, 0.04) 90%);
    }

    .hero-content {
      text-align: center;
      max-width: 820px;
      margin: 0 auto 40px;
    }

    .hero-title {
      font-size: 2.9rem;
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -1px;
      color: #0f172a;
      margin-bottom: 16px;
    }

    .hero-title span.highlight {
      background: linear-gradient(135deg, #0284c7, #0f766e);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Planner Form Card */
    .planner-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-xl);
      padding: 32px;
      margin-bottom: 40px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      margin-bottom: 24px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-label {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .form-control {
      width: 100%;
      height: 48px;
      padding: 10px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      background: #ffffff;
      color: var(--text-main);
      font-size: 0.95rem;
      transition: all 0.2s;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    }

    /* Quick Destination Chips */
    .quick-destinations {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .dest-chip {
      padding: 6px 12px;
      font-size: 0.82rem;
      font-weight: 500;
      background: #f1f5f9;
      border: 1px solid transparent;
      border-radius: var(--radius-full);
      cursor: pointer;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .dest-chip:hover {
      background: var(--primary-light);
      color: var(--primary);
      border-color: #bae6fd;
    }

    .dest-chip.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    /* Style Selector Pills */
    .pills-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill-btn {
      padding: 8px 14px;
      font-size: 0.88rem;
      font-weight: 500;
      background: #f8fafc;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      cursor: pointer;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .pill-btn:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
    }

    .pill-btn.active {
      background: #e0f2fe;
      border-color: var(--primary);
      color: var(--primary);
      font-weight: 600;
    }

    .planner-submit-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 20px;
      border-top: 1px solid var(--border);
      flex-wrap: wrap;
      gap: 16px;
    }

    .ai-hint {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* Loading Overlay */
    .loading-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(8px);
      z-index: 100;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      color: white;
    }

    .loading-box {
      background: white;
      color: var(--text-main);
      padding: 36px 40px;
      border-radius: var(--radius-lg);
      text-align: center;
      max-width: 440px;
      width: 90%;
      box-shadow: var(--shadow-xl);
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 4px solid var(--primary-light);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 1s infinite linear;
      margin: 0 auto 20px;
    }

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

    .loading-steps {
      margin-top: 20px;
      text-align: left;
      font-size: 0.9rem;
    }

    .loading-step-item {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
      color: var(--text-muted);
    }

    .loading-step-item.active {
      color: var(--primary);
      font-weight: 600;
    }

    .loading-step-item.done {
      color: var(--success);
    }

    /* Itinerary Dashboard */
    #itinerarySection {
      display: none;
      margin-bottom: 80px;
    }

    .itinerary-header-card {
      background: white;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      padding: 28px;
      margin-bottom: 24px;
      box-shadow: var(--shadow);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .weather-strip {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px 20px;
      margin-bottom: 24px;
      box-shadow: var(--shadow);
    }
    .weather-title {
      font-weight: 800;
      font-size: 1rem;
      color: var(--text-main);
      margin-bottom: 10px;
    }
    .weather-loc {
      color: var(--text-muted);
      font-weight: 400;
      font-size: 0.85rem;
      margin-left: 6px;
    }
    .weather-chips {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
    }
    .weather-chip {
      min-width: 88px;
      text-align: center;
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 6px;
      display: flex;
      flex-direction: column;
      gap: 3px;
      flex-shrink: 0;
    }
    .w-date { font-size: 0.78rem; color: var(--text-muted); }
    .w-emoji { font-size: 1.5rem; line-height: 1.2; }
    .w-temp { font-weight: 800; font-size: 0.88rem; color: var(--text-main); }
    .w-label { font-size: 0.72rem; color: var(--text-muted); }
    .maps-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 600;
      white-space: nowrap;
    }
    .maps-link:hover { text-decoration: underline; }

    .trip-meta h2 {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .trip-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .itinerary-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* Day Navigation Tabs */
    .day-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 12px;
      margin-bottom: 24px;
    }

    .day-tab {
      padding: 10px 20px;
      background: white;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .day-tab span.date-sub {
      font-size: 0.75rem;
      font-weight: 400;
      color: var(--text-muted);
    }

    .day-tab:hover {
      border-color: #cbd5e1;
      background: #f8fafc;
    }

    .day-tab.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
      box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
    }

    .day-tab.active span.date-sub {
      color: rgba(255, 255, 255, 0.8);
    }

    /* Main Grid: Timeline + Map & Tools */
    .dashboard-layout {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 24px;
    }

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

    /* Timeline Cards */
    .day-content-view {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .timeline-node {
      position: relative;
      display: flex;
      gap: 16px;
    }

    .timeline-node::before {
      content: '';
      position: absolute;
      left: 19px;
      top: 36px;
      bottom: -20px;
      width: 2px;
      background: #e2e8f0;
    }

    .timeline-node:last-child::before {
      display: none;
    }

    .node-icon-box {
      width: 40px;
      height: 40px;
      background: white;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
      flex-shrink: 0;
      z-index: 2;
      box-shadow: var(--shadow-sm);
    }

    .activity-card {
      flex: 1;
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 18px 20px;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s;
    }

    .activity-card:hover {
      box-shadow: var(--shadow);
      border-color: #cbd5e1;
    }

    .activity-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 8px;
    }

    .activity-time-tag {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 2px;
    }

    .activity-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .activity-badge-row {
      display: flex;
      gap: 6px;
      margin-top: 4px;
    }

    .ai-tip-box {
      background: #f0fdf4;
      border-left: 3px solid var(--success);
      padding: 8px 12px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-size: 0.85rem;
      color: #166534;
      margin-top: 10px;
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    .activity-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px dashed var(--border);
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .activity-actions {
      display: flex;
      gap: 6px;
    }

    .action-icon-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      padding: 4px 6px;
      border-radius: 4px;
      transition: all 0.2s;
    }

    .action-icon-btn:hover {
      background: #f1f5f9;
      color: var(--text-main);
    }

    .action-icon-btn.delete:hover {
      color: var(--danger);
      background: #fee2e2;
    }

    .transit-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 4px 0 4px 56px;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .transit-line {
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }

    /* Sidebar Widgets */
    .sidebar-widget {
      background: white;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 22px;
      margin-bottom: 20px;
      box-shadow: var(--shadow-sm);
    }

    .widget-title {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* Interactive Map Canvas Simulation */
    .route-map-canvas {
      width: 100%;
      height: 220px;
      background: #f1f5f9;
      border-radius: var(--radius-sm);
      overflow: hidden;
      position: relative;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .svg-map-overlay {
      width: 100%;
      height: 100%;
    }

    /* Budget Breakdown */
    .budget-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .budget-item {
      display: flex;
      justify-content: space-between;
      font-size: 0.9rem;
      padding-bottom: 8px;
      border-bottom: 1px solid #f1f5f9;
    }

    .budget-bar-container {
      width: 100%;
      height: 8px;
      background: #e2e8f0;
      border-radius: 4px;
      overflow: hidden;
      display: flex;
      margin-top: 12px;
    }

    .budget-bar-seg {
      height: 100%;
      transition: width 0.3s;
    }

    .seg-lodging { background: #0284c7; }
    .seg-food { background: #10b981; }
    .seg-transit { background: #f59e0b; }
    .seg-activity { background: #8b5cf6; }

    /* Checklist */
    .checklist {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .check-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      cursor: pointer;
    }

    .check-item input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--primary);
    }

    .check-item.done span {
      text-decoration: line-through;
      color: var(--text-muted);
    }

    /* Modal Dialogs */
    .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(4px);
      z-index: 110;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal-card {
      background: white;
      border-radius: var(--radius-lg);
      max-width: 480px;
      width: 100%;
      padding: 30px;
      box-shadow: var(--shadow-xl);
      max-height: 90vh;
      overflow-y: auto;
    }

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

    .modal-title {
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: -0.5px;
    }

    .close-btn {
      background: transparent;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-muted);
      line-height: 1;
    }

    .auth-toggle-hint {
      text-align: center;
      font-size: 0.88rem;
      color: var(--text-muted);
      margin-top: 18px;
    }

    .auth-toggle-hint a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: underline;
    }

    .demo-login-box {
      background: #f8fafc;
      border: 1px dashed #cbd5e1;
      border-radius: var(--radius);
      padding: 12px 14px;
      margin-top: 16px;
      text-align: center;
    }

    /* Popular Destinations Grid Section */
    .dest-section {
      padding: 50px 0 70px;
    }

    .section-title {
      font-family: "Noto Serif KR", "Apple SD Gothic Neo", serif;
      font-size: 1.85rem;
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .hero-title, .page-head h1, .cta-band .section-title {
      font-family: "Noto Serif KR", "Apple SD Gothic Neo", serif;
      letter-spacing: -0.02em;
    }

    .section-desc {
      color: var(--text-muted);
      margin-bottom: 30px;
    }

    .dest-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
    }

    .dest-card {
      background: white;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s;
      cursor: pointer;
    }

    .dest-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: #cbd5e1;
    }

    .dest-img-box {
      height: 150px;
      background: linear-gradient(135deg, #0ea5e9, #0f766e);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 2.5rem;
      position: relative;
    }

    .dest-info {
      padding: 18px;
    }

    .dest-name {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .dest-tagline {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    /* Footer */
    footer {
      background: #0f172a;
      color: #94a3b8;
      padding: 50px 0 30px;
      font-size: 0.9rem;
      margin-top: 80px;
    }

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

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

    .footer-brand {
      color: white;
      font-weight: 800;
      font-size: 1.25rem;
      margin-bottom: 10px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding-top: 20px;
      text-align: center;
      font-size: 0.8rem;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #0f172a;
      color: white;
      padding: 12px 20px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      font-size: 0.9rem;
      font-weight: 500;
      z-index: 200;
      display: none;
      align-items: center;
      gap: 8px;
      animation: fadeIn 0.2s ease-out;
    }

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

    /* Print Styles */
    @media print {
      header, .hero, .planner-card, .itinerary-actions, footer, .action-icon-btn, .sidebar-widget, .dest-section {
        display: none !important;
      }
      body {
        background: white;
        color: black;
      }
      #itinerarySection {
        display: block !important;
      }
      .dashboard-layout {
        display: block;
      }
      .timeline-node {
        page-break-inside: avoid;
      }
      .activity-card {
        border: 1px solid #ccc;
        box-shadow: none;
      }
    }
  
/* ---------- multi-page landing additions ---------- */
.btn-lg { padding: 14px 32px !important; font-size: 1.1rem !important; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow); }
.feature-card .f-emoji { font-size: 2rem; margin-bottom: 10px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.step-card { text-align: center; padding: 10px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; color: var(--text-main); }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.faq-wrap { max-width: 760px; margin: 28px auto 0; }
.faq-wrap details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-wrap summary { font-weight: 800; cursor: pointer; color: var(--text-main); }
.faq-wrap details p { margin-top: 10px; font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; }
.cta-band { text-align: center; padding: 56px 0 64px; }
.landing-section { padding: 56px 0; }
.saved-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.saved-card { border: 1px solid var(--border); padding: 16px 18px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; background: #fff; box-shadow: var(--shadow); flex-wrap: wrap; gap: 10px; }
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 1.9rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.page-head p { color: var(--text-muted); }
.notfound { text-align: center; padding: 100px 20px; }
.notfound h1 { font-size: 3rem; font-weight: 800; margin-bottom: 12px; }
/* ---------- v4 additions: day header / regen / map / rain / photo / sample ---------- */
.day-head-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.day-head-info h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin: 0 0 4px; }
.day-date { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.day-budget { display: inline-block; margin-top: 4px; font-size: 0.9rem; font-weight: 700; color: var(--primary); background: #f0fdf4; border: 1px solid #bbf7d0; padding: 4px 12px; border-radius: 999px; }
.regen-row { display: flex; gap: 8px; margin-bottom: 14px; }
.regen-row input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 0.92rem; }
.day-map { height: 230px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 16px; z-index: 0; }
.day-map.leaflet-container { font-family: inherit; }
.map-num-icon { background: var(--primary); color: #fff; border-radius: 50%; width: 26px !important; height: 26px !important; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.rain-alt-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.rain-alt-box h4 { margin: 0 0 8px; font-size: 0.98rem; color: #1d4ed8; }
.rain-alt-item { font-size: 0.9rem; color: var(--text-main); padding: 6px 0; border-top: 1px dashed #bfdbfe; }
.rain-alt-item:first-of-type { border-top: none; }
.spot-photo-box { margin: 10px 0; border-radius: 10px; overflow: hidden; }
.spot-photo-box img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.hero { background-size: cover; background-position: center; position: relative; background-color:#14343f; }
.hero::before { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)); }
.hero .container { position:relative; z-index:1; }
.hero .hero-title, .hero .hero-subtitle { color:#fff !important; text-shadow:0 2px 12px rgba(0,0,0,.4); }
.hero .highlight { color:#fde68a !important; }
.dest-img-box { height:170px; overflow:hidden; border-radius:12px 12px 0 0; background:#e5e7eb; }
.dest-img-box img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.dest-card:hover .dest-img-box img { transform:scale(1.05); }
.nav-toggle { display:none; background:none; border:1px solid var(--border); border-radius:8px; font-size:1.3rem; padding:6px 12px; cursor:pointer; color:var(--text-main); }
@media (max-width: 768px) {
  .nav-toggle { display:block; }
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; padding:12px 20px 16px; border-bottom:1px solid var(--border); box-shadow:0 8px 20px rgba(0,0,0,.08); z-index:50; }
  .nav-links.open { display:flex; }
  .nav-wrapper { position:relative; }
  .hero-title { font-size:2rem !important; }
  .hero { padding:44px 0 32px; }
}
/* ---------- de-slop: editorial warm theme ---------- */
.hero-content { text-align: left; margin: 0 0 40px 0; max-width: 660px; }
.hero-kicker { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; color: #fcd9a8; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ''; display: inline-block; width: 34px; height: 2px; background: #fcd9a8; }
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; justify-content: flex-start; }
.hero-micro { margin-top: 16px; color: rgba(255,255,255,.75); font-size: 0.9rem; }
.landing-section .section-title, .landing-section .section-desc { text-align: left; }
.f-num { font-family: "Noto Serif KR", serif; font-size: 1.65rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1; }
.feature-card { border-radius: 14px; }
.step-num { background: var(--primary); }
.dest-card { border-radius: 14px; }
.cta-band { background: #f3ead9 !important; border-radius: 20px; }
.cta-band .btn-primary { box-shadow: none; }
.page-head h1 { letter-spacing: -0.02em; }
.ai-notice { background:#fffbeb; border:1px solid #fde68a; border-radius:10px; padding:10px 14px; font-size:0.88rem; color:#92400e; margin:0 0 14px; line-height:1.6; }
.sample-banner { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: 0.93rem; color: #92400e; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .btn, .action-icon-btn, .maps-link,
  #regenRow, .day-head-row .btn, .regen-row, #dayMap, .toast,
  .itinerary-actions, .checklist-section, .weather-strip { display: none !important; }
  body { background: #fff; }
  .container { max-width: 100%; padding: 0; }
  .activity-card, .itinerary-header-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .timeline-node { break-inside: avoid; }
  .spot-photo-box img { max-height: 160px; }
}
